UNPKG

intents-framework

Version:

A reference ERC7683 implementation with TypeScript support

134 lines 2.36 kB
[ { "type": "function", "name": "PACKAGE_VERSION", "inputs": [], "outputs": [ { "name": "", "type": "string", "internalType": "string" } ], "stateMutability": "view" }, { "type": "function", "name": "fee", "inputs": [], "outputs": [ { "name": "", "type": "uint256", "internalType": "uint256" } ], "stateMutability": "view" }, { "type": "function", "name": "hookType", "inputs": [], "outputs": [ { "name": "", "type": "uint8", "internalType": "uint8" } ], "stateMutability": "pure" }, { "type": "function", "name": "messageDispatched", "inputs": [ { "name": "messageId", "type": "bytes32", "internalType": "bytes32" } ], "outputs": [ { "name": "dispatched", "type": "bool", "internalType": "bool" } ], "stateMutability": "view" }, { "type": "function", "name": "postDispatch", "inputs": [ { "name": "metadata", "type": "bytes", "internalType": "bytes" }, { "name": "message", "type": "bytes", "internalType": "bytes" } ], "outputs": [], "stateMutability": "payable" }, { "type": "function", "name": "quoteDispatch", "inputs": [ { "name": "metadata", "type": "bytes", "internalType": "bytes" }, { "name": "message", "type": "bytes", "internalType": "bytes" } ], "outputs": [ { "name": "", "type": "uint256", "internalType": "uint256" } ], "stateMutability": "view" }, { "type": "function", "name": "setFee", "inputs": [ { "name": "_fee", "type": "uint256", "internalType": "uint256" } ], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", "name": "supportsMetadata", "inputs": [ { "name": "", "type": "bytes", "internalType": "bytes" } ], "outputs": [ { "name": "", "type": "bool", "internalType": "bool" } ], "stateMutability": "pure" } ]