intents-framework
Version:
A reference ERC7683 implementation with TypeScript support
301 lines • 5.59 kB
JSON
[
{
"type": "function",
"name": "PACKAGE_VERSION",
"inputs": [],
"outputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "domains",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint32[]",
"internalType": "uint32[]"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "enrollRemoteRouter",
"inputs": [
{
"name": "_domain",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "_router",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "enrollRemoteRouters",
"inputs": [
{
"name": "_domains",
"type": "uint32[]",
"internalType": "uint32[]"
},
{
"name": "_addresses",
"type": "bytes32[]",
"internalType": "bytes32[]"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "handle",
"inputs": [
{
"name": "_origin",
"type": "uint32",
"internalType": "uint32"
},
{
"name": "_sender",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "_message",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [],
"stateMutability": "payable"
},
{
"type": "function",
"name": "hook",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "contract IPostDispatchHook"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "interchainSecurityModule",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "contract IInterchainSecurityModule"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "localDomain",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint32",
"internalType": "uint32"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "mailbox",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "contract IMailbox"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "owner",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "renounceOwnership",
"inputs": [],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "routers",
"inputs": [
{
"name": "_domain",
"type": "uint32",
"internalType": "uint32"
}
],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "setHook",
"inputs": [
{
"name": "_hook",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "setInterchainSecurityModule",
"inputs": [
{
"name": "_module",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "transferOwnership",
"inputs": [
{
"name": "newOwner",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "unenrollRemoteRouter",
"inputs": [
{
"name": "_domain",
"type": "uint32",
"internalType": "uint32"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "unenrollRemoteRouters",
"inputs": [
{
"name": "_domains",
"type": "uint32[]",
"internalType": "uint32[]"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "event",
"name": "HookSet",
"inputs": [
{
"name": "_hook",
"type": "address",
"indexed": false,
"internalType": "address"
}
],
"anonymous": false
},
{
"type": "event",
"name": "Initialized",
"inputs": [
{
"name": "version",
"type": "uint8",
"indexed": false,
"internalType": "uint8"
}
],
"anonymous": false
},
{
"type": "event",
"name": "IsmSet",
"inputs": [
{
"name": "_ism",
"type": "address",
"indexed": false,
"internalType": "address"
}
],
"anonymous": false
},
{
"type": "event",
"name": "OwnershipTransferred",
"inputs": [
{
"name": "previousOwner",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "newOwner",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
}
]