Skip to content

API ReferenceSetup and configurationVariable

mintableTokenAbi

const mintableTokenAbi: readonly [
{
inputs: readonly [
{
name: '_name';
type: 'string';
},
{
name: '_symbol';
type: 'string';
},
{
name: '_decimals';
type: 'uint8';
},
];
stateMutability: 'nonpayable';
type: 'constructor';
},
{
inputs: readonly [
{
name: 'spender';
type: 'address';
},
{
name: 'allowance';
type: 'uint256';
},
{
name: 'needed';
type: 'uint256';
},
];
name: 'ERC20InsufficientAllowance';
type: 'error';
},
{
inputs: readonly [
{
name: 'sender';
type: 'address';
},
{
name: 'balance';
type: 'uint256';
},
{
name: 'needed';
type: 'uint256';
},
];
name: 'ERC20InsufficientBalance';
type: 'error';
},
{
inputs: readonly [
{
name: 'approver';
type: 'address';
},
];
name: 'ERC20InvalidApprover';
type: 'error';
},
{
inputs: readonly [
{
name: 'receiver';
type: 'address';
},
];
name: 'ERC20InvalidReceiver';
type: 'error';
},
{
inputs: readonly [
{
name: 'sender';
type: 'address';
},
];
name: 'ERC20InvalidSender';
type: 'error';
},
{
inputs: readonly [
{
name: 'spender';
type: 'address';
},
];
name: 'ERC20InvalidSpender';
type: 'error';
},
{
inputs: readonly [
{
name: 'owner';
type: 'address';
},
];
name: 'OwnableInvalidOwner';
type: 'error';
},
{
inputs: readonly [
{
name: 'account';
type: 'address';
},
];
name: 'OwnableUnauthorizedAccount';
type: 'error';
},
{
inputs: readonly [
{
indexed: true;
name: 'owner';
type: 'address';
},
{
indexed: true;
name: 'spender';
type: 'address';
},
{
name: 'value';
type: 'uint256';
},
];
name: 'Approval';
type: 'event';
},
{
inputs: readonly [
{
indexed: true;
name: 'previousOwner';
type: 'address';
},
{
indexed: true;
name: 'newOwner';
type: 'address';
},
];
name: 'OwnershipTransferred';
type: 'event';
},
{
inputs: readonly [
{
indexed: true;
name: 'from';
type: 'address';
},
{
indexed: true;
name: 'to';
type: 'address';
},
{
name: 'value';
type: 'uint256';
},
];
name: 'Transfer';
type: 'event';
},
{
inputs: readonly [
{
name: 'owner';
type: 'address';
},
{
name: 'spender';
type: 'address';
},
];
name: 'allowance';
outputs: readonly [
{
type: 'uint256';
},
];
stateMutability: 'view';
type: 'function';
},
{
inputs: readonly [
{
name: 'spender';
type: 'address';
},
{
name: 'value';
type: 'uint256';
},
];
name: 'approve';
outputs: readonly [
{
type: 'bool';
},
];
stateMutability: 'nonpayable';
type: 'function';
},
{
inputs: readonly [
{
name: 'account';
type: 'address';
},
];
name: 'balanceOf';
outputs: readonly [
{
type: 'uint256';
},
];
stateMutability: 'view';
type: 'function';
},
{
inputs: readonly [];
name: 'decimals';
outputs: readonly [
{
type: 'uint8';
},
];
stateMutability: 'view';
type: 'function';
},
{
inputs: readonly [
{
name: '_to';
type: 'address';
},
{
name: '_amount';
type: 'uint256';
},
];
name: 'mint';
outputs: readonly [];
stateMutability: 'nonpayable';
type: 'function';
},
{
inputs: readonly [];
name: 'name';
outputs: readonly [
{
type: 'string';
},
];
stateMutability: 'view';
type: 'function';
},
{
inputs: readonly [];
name: 'owner';
outputs: readonly [
{
type: 'address';
},
];
stateMutability: 'view';
type: 'function';
},
{
inputs: readonly [];
name: 'renounceOwnership';
outputs: readonly [];
stateMutability: 'nonpayable';
type: 'function';
},
{
inputs: readonly [];
name: 'symbol';
outputs: readonly [
{
type: 'string';
},
];
stateMutability: 'view';
type: 'function';
},
{
inputs: readonly [];
name: 'totalSupply';
outputs: readonly [
{
type: 'uint256';
},
];
stateMutability: 'view';
type: 'function';
},
{
inputs: readonly [
{
name: 'to';
type: 'address';
},
{
name: 'value';
type: 'uint256';
},
];
name: 'transfer';
outputs: readonly [
{
type: 'bool';
},
];
stateMutability: 'nonpayable';
type: 'function';
},
{
inputs: readonly [
{
name: 'from';
type: 'address';
},
{
name: 'to';
type: 'address';
},
{
name: 'value';
type: 'uint256';
},
];
name: 'transferFrom';
outputs: readonly [
{
type: 'bool';
},
];
stateMutability: 'nonpayable';
type: 'function';
},
{
inputs: readonly [
{
name: 'newOwner';
type: 'address';
},
];
name: 'transferOwnership';
outputs: readonly [];
stateMutability: 'nonpayable';
type: 'function';
},
];