Skip to content

Commit

Permalink
reintroduce support for dynamic types
Browse files Browse the repository at this point in the history
  • Loading branch information
rvullriede committed Feb 13, 2024
1 parent 25fe8cb commit 4072101
Showing 1 changed file with 263 additions and 0 deletions.
263 changes: 263 additions & 0 deletions src/test/resources/abiFiles/SereshForwarder.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,263 @@
[
{
"inputs": [
{
"internalType": "uint256",
"name": "_chainId",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "constructor"
}, {
"inputs": [],
"name": "InvalidShortString",
"type": "error"
}, {
"inputs": [
{
"internalType": "string",
"name": "str",
"type": "string"
}
],
"name": "StringTooLong",
"type": "error"
}, {
"anonymous": false,
"inputs": [],
"name": "EIP712DomainChanged",
"type": "event"
}, {
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "previousOwner",
"type": "address"
}, {
"indexed": true,
"internalType": "address",
"name": "newOwner",
"type": "address"
}
],
"name": "OwnershipTransferred",
"type": "event"
}, {
"inputs": [],
"name": "chainId",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
}, {
"inputs": [],
"name": "eip712Domain",
"outputs": [
{
"internalType": "bytes1",
"name": "fields",
"type": "bytes1"
}, {
"internalType": "string",
"name": "name",
"type": "string"
}, {
"internalType": "string",
"name": "version",
"type": "string"
}, {
"internalType": "uint256",
"name": "chainId",
"type": "uint256"
}, {
"internalType": "address",
"name": "verifyingContract",
"type": "address"
}, {
"internalType": "bytes32",
"name": "salt",
"type": "bytes32"
}, {
"internalType": "uint256[]",
"name": "extensions",
"type": "uint256[]"
}
],
"stateMutability": "view",
"type": "function"
}, {
"inputs": [
{
"components": [
{
"internalType": "address",
"name": "from",
"type": "address"
}, {
"internalType": "address",
"name": "to",
"type": "address"
}, {
"internalType": "uint256",
"name": "value",
"type": "uint256"
}, {
"internalType": "uint256",
"name": "gas",
"type": "uint256"
}, {
"internalType": "uint256",
"name": "nonce",
"type": "uint256"
}, {
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"internalType": "struct SereshForwarder.ForwardRequest",
"name": "req",
"type": "tuple"
}, {
"internalType": "bytes32",
"name": "sigR",
"type": "bytes32"
}, {
"internalType": "bytes32",
"name": "sigS",
"type": "bytes32"
}, {
"internalType": "uint8",
"name": "sigV",
"type": "uint8"
}
],
"name": "execute",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}, {
"internalType": "bytes",
"name": "",
"type": "bytes"
}
],
"stateMutability": "payable",
"type": "function"
}, {
"inputs": [
{
"internalType": "address",
"name": "from",
"type": "address"
}
],
"name": "getNonce",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
}, {
"inputs": [],
"name": "owner",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
}, {
"inputs": [],
"name": "renounceOwnership",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}, {
"inputs": [
{
"internalType": "address",
"name": "newOwner",
"type": "address"
}
],
"name": "transferOwnership",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}, {
"inputs": [
{
"components": [
{
"internalType": "address",
"name": "from",
"type": "address"
}, {
"internalType": "address",
"name": "to",
"type": "address"
}, {
"internalType": "uint256",
"name": "value",
"type": "uint256"
}, {
"internalType": "uint256",
"name": "gas",
"type": "uint256"
}, {
"internalType": "uint256",
"name": "nonce",
"type": "uint256"
}, {
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"internalType": "struct SereshForwarder.ForwardRequest",
"name": "req",
"type": "tuple"
}, {
"internalType": "bytes32",
"name": "sigR",
"type": "bytes32"
}, {
"internalType": "bytes32",
"name": "sigS",
"type": "bytes32"
}, {
"internalType": "uint8",
"name": "sigV",
"type": "uint8"
}
],
"name": "verify",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"stateMutability": "view",
"type": "function"
}
]

0 comments on commit 4072101

Please sign in to comment.