UNPKG

@roninbuilders/contracts

Version:

Type safe Contract ABIs for Ronin Network

187 lines (185 loc) 5.6 kB
declare const contract: { readonly id: 230; readonly address: "0xf48f2b2d2a534e402487b3ee7c18c33aec0fe5e4"; readonly contract_name: "CompatibilityFallbackHandler"; readonly display_name: "Compatibility Fallback Handler"; readonly is_deprecated: false; readonly is_proxy: false; readonly proxy_to: false; readonly created_at: 1635392419; readonly abi: readonly [{ readonly name: "NAME"; readonly type: "function"; readonly stateMutability: "view"; readonly inputs: readonly []; readonly outputs: readonly [{ readonly type: "string"; }]; }, { readonly name: "VERSION"; readonly type: "function"; readonly stateMutability: "view"; readonly inputs: readonly []; readonly outputs: readonly [{ readonly type: "string"; }]; }, { readonly name: "getMessageHash"; readonly type: "function"; readonly stateMutability: "view"; readonly inputs: readonly [{ readonly type: "bytes"; readonly name: "message"; }]; readonly outputs: readonly [{ readonly type: "bytes32"; }]; }, { readonly name: "getMessageHashForSafe"; readonly type: "function"; readonly stateMutability: "view"; readonly inputs: readonly [{ readonly type: "address"; readonly name: "safe"; }, { readonly type: "bytes"; readonly name: "message"; }]; readonly outputs: readonly [{ readonly type: "bytes32"; }]; }, { readonly name: "getModules"; readonly type: "function"; readonly stateMutability: "view"; readonly inputs: readonly []; readonly outputs: readonly [{ readonly type: "address[]"; }]; }, { readonly name: "isValidSignature"; readonly type: "function"; readonly stateMutability: "view"; readonly inputs: readonly [{ readonly type: "bytes32"; readonly name: "_dataHash"; }, { readonly type: "bytes"; readonly name: "_signature"; }]; readonly outputs: readonly [{ readonly type: "bytes4"; }]; }, { readonly name: "isValidSignature"; readonly type: "function"; readonly stateMutability: "view"; readonly inputs: readonly [{ readonly type: "bytes"; readonly name: "_data"; }, { readonly type: "bytes"; readonly name: "_signature"; }]; readonly outputs: readonly [{ readonly type: "bytes4"; }]; }, { readonly name: "onERC1155BatchReceived"; readonly type: "function"; readonly stateMutability: "pure"; readonly inputs: readonly [{ readonly type: "address"; }, { readonly type: "address"; }, { readonly type: "uint256[]"; }, { readonly type: "uint256[]"; }, { readonly type: "bytes"; }]; readonly outputs: readonly [{ readonly type: "bytes4"; }]; }, { readonly name: "onERC1155Received"; readonly type: "function"; readonly stateMutability: "pure"; readonly inputs: readonly [{ readonly type: "address"; }, { readonly type: "address"; }, { readonly type: "uint256"; }, { readonly type: "uint256"; }, { readonly type: "bytes"; }]; readonly outputs: readonly [{ readonly type: "bytes4"; }]; }, { readonly name: "onERC721Received"; readonly type: "function"; readonly stateMutability: "pure"; readonly inputs: readonly [{ readonly type: "address"; }, { readonly type: "address"; }, { readonly type: "uint256"; }, { readonly type: "bytes"; }]; readonly outputs: readonly [{ readonly type: "bytes4"; }]; }, { readonly name: "simulate"; readonly type: "function"; readonly stateMutability: "nonpayable"; readonly inputs: readonly [{ readonly type: "address"; readonly name: "targetContract"; }, { readonly type: "bytes"; readonly name: "calldataPayload"; }]; readonly outputs: readonly [{ readonly type: "bytes"; readonly name: "response"; }]; }, { readonly name: "supportsInterface"; readonly type: "function"; readonly stateMutability: "view"; readonly inputs: readonly [{ readonly type: "bytes4"; readonly name: "interfaceId"; }]; readonly outputs: readonly [{ readonly type: "bool"; }]; }, { readonly name: "tokensReceived"; readonly type: "function"; readonly stateMutability: "pure"; readonly inputs: readonly [{ readonly type: "address"; }, { readonly type: "address"; }, { readonly type: "address"; }, { readonly type: "uint256"; }, { readonly type: "bytes"; }, { readonly type: "bytes"; }]; readonly outputs: readonly []; }]; }; export { contract as default };