UNPKG

@antefinance/ante-sdk

Version:

Library for interacting with Ante smart contracts

164 lines (163 loc) 2.81 kB
export const AnteTestAbi = [ { anonymous: false, inputs: [ { indexed: true, internalType: 'address', name: 'previousAuthor', type: 'address', }, { indexed: true, internalType: 'address', name: 'newAuthor', type: 'address', }, ], name: 'TestAuthorChanged', type: 'event', }, { inputs: [], name: 'checkTestPasses', outputs: [ { internalType: 'bool', name: 'passes', type: 'bool', }, ], stateMutability: 'nonpayable', type: 'function', }, { inputs: [], name: 'getStateNames', outputs: [ { internalType: 'string', name: '', type: 'string', }, ], stateMutability: 'pure', type: 'function', }, { inputs: [], name: 'getStateTypes', outputs: [ { internalType: 'string', name: '', type: 'string', }, ], stateMutability: 'pure', type: 'function', }, { inputs: [], name: 'getTestedContracts', outputs: [ { internalType: 'address[]', name: '', type: 'address[]', }, ], stateMutability: 'view', type: 'function', }, { inputs: [], name: 'protocolName', outputs: [ { internalType: 'string', name: '', type: 'string', }, ], stateMutability: 'view', type: 'function', }, { inputs: [ { internalType: 'bytes', name: '_state', type: 'bytes', }, ], name: 'setStateAndCheckTestPasses', outputs: [ { internalType: 'bool', name: '', type: 'bool', }, ], stateMutability: 'nonpayable', type: 'function', }, { inputs: [ { internalType: 'address', name: '_testAuthor', type: 'address', }, ], name: 'setTestAuthor', outputs: [], stateMutability: 'nonpayable', type: 'function', }, { inputs: [], name: 'testAuthor', outputs: [ { internalType: 'address', name: '', type: 'address', }, ], stateMutability: 'view', type: 'function', }, { inputs: [], name: 'testName', outputs: [ { internalType: 'string', name: '', type: 'string', }, ], stateMutability: 'view', type: 'function', }, { inputs: [ { internalType: 'uint256', name: '', type: 'uint256', }, ], name: 'testedContracts', outputs: [ { internalType: 'address', name: '', type: 'address', }, ], stateMutability: 'view', type: 'function', }, ] as const;