Expand description
Generated by the following Solidity interface…
interface Transactor {
error OnlyGasAdmin();
error PerBlockTransactGasLimit();
error PerTransactGasLimit();
event GasConfigured(uint256 perBlock, uint256 perTransact);
event Transact(uint256 indexed rollupChainId, address indexed sender, address indexed to, bytes data, uint256 value, uint256 gas, uint256 maxFeePerGas);
constructor(uint256 _defaultRollupChainId, address _gasAdmin, address _passage, uint256 _perBlockGasLimit, uint256 _perTransactGasLimit);
function configureGas(uint256 perBlock, uint256 perTransact) external;
function defaultRollupChainId() external view returns (uint256);
function enterTransact(uint256 rollupChainId, address etherRecipient, address to, bytes memory data, uint256 value, uint256 gas, uint256 maxFeePerGas) external payable;
function gasAdmin() external view returns (address);
function passage() external view returns (address);
function perBlockGasLimit() external view returns (uint256);
function perTransactGasLimit() external view returns (uint256);
function transact(address to, bytes memory data, uint256 value, uint256 gas, uint256 maxFeePerGas) external payable;
function transact(uint256 rollupChainId, address to, bytes memory data, uint256 value, uint256 gas, uint256 maxFeePerGas) external payable;
function transactGasUsed(uint256, uint256) external view returns (uint256);
}…which was generated by the following JSON ABI:
[
{
"type": "constructor",
"inputs": [
{
"name": "_defaultRollupChainId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_gasAdmin",
"type": "address",
"internalType": "address"
},
{
"name": "_passage",
"type": "address",
"internalType": "contract Passage"
},
{
"name": "_perBlockGasLimit",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "_perTransactGasLimit",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "configureGas",
"inputs": [
{
"name": "perBlock",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "perTransact",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "defaultRollupChainId",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "enterTransact",
"inputs": [
{
"name": "rollupChainId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "etherRecipient",
"type": "address",
"internalType": "address"
},
{
"name": "to",
"type": "address",
"internalType": "address"
},
{
"name": "data",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "value",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "gas",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "maxFeePerGas",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "payable"
},
{
"type": "function",
"name": "gasAdmin",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "passage",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "contract Passage"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "perBlockGasLimit",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "perTransactGasLimit",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "transact",
"inputs": [
{
"name": "to",
"type": "address",
"internalType": "address"
},
{
"name": "data",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "value",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "gas",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "maxFeePerGas",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "payable"
},
{
"type": "function",
"name": "transact",
"inputs": [
{
"name": "rollupChainId",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "to",
"type": "address",
"internalType": "address"
},
{
"name": "data",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "value",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "gas",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "maxFeePerGas",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "payable"
},
{
"type": "function",
"name": "transactGasUsed",
"inputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "event",
"name": "GasConfigured",
"inputs": [
{
"name": "perBlock",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "perTransact",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"type": "event",
"name": "Transact",
"inputs": [
{
"name": "rollupChainId",
"type": "uint256",
"indexed": true,
"internalType": "uint256"
},
{
"name": "sender",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "to",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "data",
"type": "bytes",
"indexed": false,
"internalType": "bytes"
},
{
"name": "value",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "gas",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "maxFeePerGas",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"type": "error",
"name": "OnlyGasAdmin",
"inputs": []
},
{
"type": "error",
"name": "PerBlockTransactGasLimit",
"inputs": []
},
{
"type": "error",
"name": "PerTransactGasLimit",
"inputs": []
}
]Structs§
- GasConfigured
- Event with signature
GasConfigured(uint256,uint256)and selector0xb6f04ff5ca562fcb4eb8da14a5945aad2022b7bbab3fb76def1c6aefdfb471a1. - Only
GasAdmin - Custom error with signature
OnlyGasAdmin()and selector0x55096d77. - PerBlock
Transact GasLimit - Custom error with signature
PerBlockTransactGasLimit()and selector0xf6b10b96. - PerTransact
GasLimit - Custom error with signature
PerTransactGasLimit()and selector0xa247feb8. - Transact
- Event with signature
Transact(uint256,address,address,bytes,uint256,uint256,uint256)and selector0xcde3b17064c2ae615c0eba2cb3b0a313095890a0ff72076a6242ecdb67d972c2. - Transactor
Instance - A
Transactorinstance. - configure
GasCall - Function with signature
configureGas(uint256,uint256)and selector0xb3a62743. - configure
GasReturn - Container type for the return parameters of the
configureGas(uint256,uint256)function. - constructor
Call - Constructor`.
- default
Rollup Chain IdCall - Function with signature
defaultRollupChainId()and selector0x95577b72. - default
Rollup Chain IdReturn - Container type for the return parameters of the
defaultRollupChainId()function. - enter
Transact Call - Function with signature
enterTransact(uint256,address,address,bytes,uint256,uint256,uint256)and selector0xbf10d652. - enter
Transact Return - Container type for the return parameters of the
enterTransact(uint256,address,address,bytes,uint256,uint256,uint256)function. - gasAdmin
Call - Function with signature
gasAdmin()and selector0xf6c2bd86. - gasAdmin
Return - Container type for the return parameters of the
gasAdmin()function. - passage
Call - Function with signature
passage()and selector0x6b216388. - passage
Return - Container type for the return parameters of the
passage()function. - perBlock
GasLimit Call - Function with signature
perBlockGasLimit()and selector0x6f61d435. - perBlock
GasLimit Return - Container type for the return parameters of the
perBlockGasLimit()function. - perTransact
GasLimit Call - Function with signature
perTransactGasLimit()and selector0x3e7260e4. - perTransact
GasLimit Return - Container type for the return parameters of the
perTransactGasLimit()function. - transact
GasUsed Call - Function with signature
transactGasUsed(uint256,uint256)and selector0xda46fefa. - transact
GasUsed Return - Container type for the return parameters of the
transactGasUsed(uint256,uint256)function. - transact_
0Call - Function with signature
transact(address,bytes,uint256,uint256,uint256)and selector0x7d2ce1fc. - transact_
0Return - Container type for the return parameters of the
transact(address,bytes,uint256,uint256,uint256)function. - transact_
1Call - Function with signature
transact(uint256,address,bytes,uint256,uint256,uint256)and selector0xa5fbe5e4. - transact_
1Return - Container type for the return parameters of the
transact(uint256,address,bytes,uint256,uint256,uint256)function.
Enums§
- Transactor
Calls - Container for all the
Transactorfunction calls. - Transactor
Errors - Container for all the
Transactorcustom errors. - Transactor
Events - Container for all the
Transactorevents.
Functions§
- new
- Creates a new wrapper around an on-chain
Transactorcontract instance.