UNPKG

@skalenetwork/ima-js

Version:

Simple TS/JS library to interact with SKALE IMA

2 lines (1 loc) 3.25 kB
export default { abi: [{ type: 'constructor', payable: false, inputs: [{ type: 'string', name: 'contractName' }, { type: 'string', name: 'contractSymbol' }, { type: 'address', name: 'originToken' }] }, { type: 'event', anonymous: false, name: 'Approval', inputs: [{ type: 'address', name: 'owner', indexed: true }, { type: 'address', name: 'spender', indexed: true }, { type: 'uint256', name: 'value', indexed: false }] }, { type: 'event', anonymous: false, name: 'Transfer', inputs: [{ type: 'address', name: 'from', indexed: true }, { type: 'address', name: 'to', indexed: true }, { type: 'uint256', name: 'value', indexed: false }] }, { type: 'function', name: 'allowance', constant: true, stateMutability: 'view', payable: false, inputs: [{ type: 'address', name: 'owner' }, { type: 'address', name: 'spender' }], outputs: [{ type: 'uint256', name: '' }] }, { type: 'function', name: 'approve', constant: false, payable: false, inputs: [{ type: 'address', name: 'spender' }, { type: 'uint256', name: 'amount' }], outputs: [{ type: 'bool', name: '' }] }, { type: 'function', name: 'balanceOf', constant: true, stateMutability: 'view', payable: false, inputs: [{ type: 'address', name: 'account' }], outputs: [{ type: 'uint256', name: '' }] }, { type: 'function', name: 'decimals', constant: true, stateMutability: 'view', payable: false, inputs: [], outputs: [{ type: 'uint8', name: '' }] }, { type: 'function', name: 'decreaseAllowance', constant: false, payable: false, inputs: [{ type: 'address', name: 'spender' }, { type: 'uint256', name: 'subtractedValue' }], outputs: [{ type: 'bool', name: '' }] }, { type: 'function', name: 'depositFor', constant: false, payable: false, inputs: [{ type: 'address', name: 'account' }, { type: 'uint256', name: 'amount' }], outputs: [{ type: 'bool', name: '' }] }, { type: 'function', name: 'increaseAllowance', constant: false, payable: false, inputs: [{ type: 'address', name: 'spender' }, { type: 'uint256', name: 'addedValue' }], outputs: [{ type: 'bool', name: '' }] }, { type: 'function', name: 'name', constant: true, stateMutability: 'view', payable: false, inputs: [], outputs: [{ type: 'string', name: '' }] }, { type: 'function', name: 'symbol', constant: true, stateMutability: 'view', payable: false, inputs: [], outputs: [{ type: 'string', name: '' }] }, { type: 'function', name: 'totalSupply', constant: true, stateMutability: 'view', payable: false, inputs: [], outputs: [{ type: 'uint256', name: '' }] }, { type: 'function', name: 'transfer', constant: false, payable: false, inputs: [{ type: 'address', name: 'to' }, { type: 'uint256', name: 'amount' }], outputs: [{ type: 'bool', name: '' }] }, { type: 'function', name: 'transferFrom', constant: false, payable: false, inputs: [{ type: 'address', name: 'from' }, { type: 'address', name: 'to' }, { type: 'uint256', name: 'amount' }], outputs: [{ type: 'bool', name: '' }] }, { type: 'function', name: 'underlying', constant: true, stateMutability: 'view', payable: false, inputs: [], outputs: [{ type: 'address', name: '' }] }, { type: 'function', name: 'withdrawTo', constant: false, payable: false, inputs: [{ type: 'address', name: 'account' }, { type: 'uint256', name: 'amount' }], outputs: [{ type: 'bool', name: '' }] }] };