UNPKG

@broxus/js-core

Version:

MobX-based JavaScript Core library

113 lines (112 loc) 3.78 kB
/** * **TokenFactory ABI v2.2** * * This ABI is used for interacting with the `TokenFactory` contract on the TVM blockchain. * @see [TokenFactory](https://github.com/broxus/tip3/blob/master/build/TokenFactory.abi.json) */ export const TokenFactoryV22Abi = { 'ABI version': 2, version: '2.2', header: ['time'], functions: [ { name: 'constructor', inputs: [{ name: '_owner', type: 'address' }], outputs: [], }, { name: 'owner', inputs: [{ name: 'answerId', type: 'uint32' }], outputs: [{ name: 'value0', type: 'address' }], }, { name: 'pendingOwner', inputs: [{ name: 'answerId', type: 'uint32' }], outputs: [{ name: 'value0', type: 'address' }], }, { name: 'rootCode', inputs: [{ name: 'answerId', type: 'uint32' }], outputs: [{ name: 'value0', type: 'cell' }], }, { name: 'walletCode', inputs: [{ name: 'answerId', type: 'uint32' }], outputs: [{ name: 'value0', type: 'cell' }], }, { name: 'walletPlatformCode', inputs: [{ name: 'answerId', type: 'uint32' }], outputs: [{ name: 'value0', type: 'cell' }], }, { name: 'createToken', inputs: [ { name: 'callId', type: 'uint32' }, { name: 'name', type: 'string' }, { name: 'symbol', type: 'string' }, { name: 'decimals', type: 'uint8' }, { name: 'initialSupplyTo', type: 'address' }, { name: 'initialSupply', type: 'uint128' }, { name: 'deployWalletValue', type: 'uint128' }, { name: 'mintDisabled', type: 'bool' }, { name: 'burnByRootDisabled', type: 'bool' }, { name: 'burnPaused', type: 'bool' }, { name: 'remainingGasTo', type: 'address' }, ], outputs: [], }, { name: 'transferOwner', inputs: [ { name: 'answerId', type: 'uint32' }, { name: 'newOwner', type: 'address' }, ], outputs: [{ name: 'value0', type: 'address' }], }, { name: 'acceptOwner', inputs: [{ name: 'answerId', type: 'uint32' }], outputs: [{ name: 'value0', type: 'address' }], }, { name: 'setRootCode', inputs: [{ name: '_rootCode', type: 'cell' }], outputs: [], }, { name: 'setWalletCode', inputs: [{ name: '_walletCode', type: 'cell' }], outputs: [], }, { name: 'setWalletPlatformCode', inputs: [{ name: '_walletPlatformCode', type: 'cell' }], outputs: [], }, { name: 'upgrade', inputs: [{ name: 'code', type: 'cell' }], outputs: [], }, ], data: [{ key: 1, name: 'randomNonce_', type: 'uint32' }], events: [ { name: 'TokenCreated', inputs: [{ name: 'tokenRoot', type: 'address' }], outputs: [], }, ], fields: [ { name: '_pubkey', type: 'uint256' }, { name: '_timestamp', type: 'uint64' }, { name: '_constructorFlag', type: 'bool' }, { name: 'randomNonce_', type: 'uint32' }, { name: 'owner_', type: 'address' }, { name: 'pendingOwner_', type: 'address' }, { name: 'rootCode_', type: 'cell' }, { name: 'walletCode_', type: 'cell' }, { name: 'walletPlatformCode_', type: 'cell' }, ], };