Documentation ¶
Index ¶
- Variables
- type ChainSpecificUtilHelper
- type ChainSpecificUtilHelperCaller
- func (_ChainSpecificUtilHelper *ChainSpecificUtilHelperCaller) GetBlockNumber(opts *bind.CallOpts) (*big.Int, error)
- func (_ChainSpecificUtilHelper *ChainSpecificUtilHelperCaller) GetBlockhash(opts *bind.CallOpts, blockNumber uint64) ([32]byte, error)
- func (_ChainSpecificUtilHelper *ChainSpecificUtilHelperCaller) GetCurrentTxL1GasFees(opts *bind.CallOpts, txCallData string) (*big.Int, error)
- func (_ChainSpecificUtilHelper *ChainSpecificUtilHelperCaller) GetL1CalldataGasCost(opts *bind.CallOpts, calldataSize *big.Int) (*big.Int, error)
- type ChainSpecificUtilHelperCallerRaw
- type ChainSpecificUtilHelperCallerSession
- func (_ChainSpecificUtilHelper *ChainSpecificUtilHelperCallerSession) GetBlockNumber() (*big.Int, error)
- func (_ChainSpecificUtilHelper *ChainSpecificUtilHelperCallerSession) GetBlockhash(blockNumber uint64) ([32]byte, error)
- func (_ChainSpecificUtilHelper *ChainSpecificUtilHelperCallerSession) GetCurrentTxL1GasFees(txCallData string) (*big.Int, error)
- func (_ChainSpecificUtilHelper *ChainSpecificUtilHelperCallerSession) GetL1CalldataGasCost(calldataSize *big.Int) (*big.Int, error)
- type ChainSpecificUtilHelperFilterer
- type ChainSpecificUtilHelperInterface
- type ChainSpecificUtilHelperRaw
- func (_ChainSpecificUtilHelper *ChainSpecificUtilHelperRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ChainSpecificUtilHelper *ChainSpecificUtilHelperRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ChainSpecificUtilHelper *ChainSpecificUtilHelperRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ChainSpecificUtilHelperSession
- func (_ChainSpecificUtilHelper *ChainSpecificUtilHelperSession) GetBlockNumber() (*big.Int, error)
- func (_ChainSpecificUtilHelper *ChainSpecificUtilHelperSession) GetBlockhash(blockNumber uint64) ([32]byte, error)
- func (_ChainSpecificUtilHelper *ChainSpecificUtilHelperSession) GetCurrentTxL1GasFees(txCallData string) (*big.Int, error)
- func (_ChainSpecificUtilHelper *ChainSpecificUtilHelperSession) GetL1CalldataGasCost(calldataSize *big.Int) (*big.Int, error)
- type ChainSpecificUtilHelperTransactor
- type ChainSpecificUtilHelperTransactorRaw
- func (_ChainSpecificUtilHelper *ChainSpecificUtilHelperTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ChainSpecificUtilHelper *ChainSpecificUtilHelperTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ChainSpecificUtilHelperTransactorSession
Constants ¶
This section is empty.
Variables ¶
View Source
var ChainSpecificUtilHelperABI = ChainSpecificUtilHelperMetaData.ABI
View Source
var ChainSpecificUtilHelperBin = ChainSpecificUtilHelperMetaData.Bin
View Source
var ChainSpecificUtilHelperMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"name\":\"getBlockNumber\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"blockNumber\",\"type\":\"uint64\"}],\"name\":\"getBlockhash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"txCallData\",\"type\":\"string\"}],\"name\":\"getCurrentTxL1GasFees\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"calldataSize\",\"type\":\"uint256\"}],\"name\":\"getL1CalldataGasCost\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
Bin: "0x608060405234801561001057600080fd5b50610c27806100206000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c806342cbb15c1461005157806397e329a91461006b578063b778b1121461007e578063da9027ef14610091575b600080fd5b6100596100a4565b60405190815260200160405180910390f35b6100596100793660046108cc565b6100b3565b61005961008c366004610869565b6100c4565b61005961009f36600461079a565b6100cf565b60006100ae6100da565b905090565b60006100be82610177565b92915050565b60006100be8261027d565b60006100be82610355565b6000466100e681610441565b1561017057606473ffffffffffffffffffffffffffffffffffffffff1663a3b1b31d6040518163ffffffff1660e01b815260040160206040518083038186803b15801561013257600080fd5b505afa158015610146573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061016a9190610781565b91505090565b4391505090565b60004661018381610441565b1561026d576101008367ffffffffffffffff1661019e6100da565b6101a89190610b2d565b11806101c557506101b76100da565b8367ffffffffffffffff1610155b156101d35750600092915050565b6040517f2b407a8200000000000000000000000000000000000000000000000000000000815267ffffffffffffffff84166004820152606490632b407a82906024015b60206040518083038186803b15801561022e57600080fd5b505afa158015610242573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102669190610781565b9392505050565b505067ffffffffffffffff164090565b60004661028981610441565b15610335576000606c73ffffffffffffffffffffffffffffffffffffffff166341b247a86040518163ffffffff1660e01b815260040160c06040518083038186803b1580156102d757600080fd5b505afa1580156102eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061030f9190610882565b5050505091505083608c6103239190610976565b61032d9082610af0565b949350505050565b61033e81610464565b1561034c57610266836104ab565b50600092915050565b60004661036181610441565b156103ad57606c73ffffffffffffffffffffffffffffffffffffffff1663c6f7de0e6040518163ffffffff1660e01b815260040160206040518083038186803b15801561022e57600080fd5b6103b681610464565b1561034c5773420000000000000000000000000000000000000f73ffffffffffffffffffffffffffffffffffffffff166349948e0e84604051806080016040528060488152602001610bd3604891396040516020016104169291906108f6565b6040516020818303038152906040526040518263ffffffff1660e01b81526004016102169190610925565b600061a4b1821480610455575062066eed82145b806100be57505062066eee1490565b6000600a82148061047657506101a482145b80610483575062aa37dc82145b8061048f575061210582145b8061049c575062014a3382145b806100be57505062014a341490565b60008073420000000000000000000000000000000000000f73ffffffffffffffffffffffffffffffffffffffff1663519b4bd36040518163ffffffff1660e01b815260040160206040518083038186803b15801561050857600080fd5b505afa15801561051c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105409190610781565b905060008061054f8186610b2d565b9050600061055e826010610af0565b610569846004610af0565b6105739190610976565b9050600073420000000000000000000000000000000000000f73ffffffffffffffffffffffffffffffffffffffff16630c18c1626040518163ffffffff1660e01b815260040160206040518083038186803b1580156105d157600080fd5b505afa1580156105e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106099190610781565b9050600073420000000000000000000000000000000000000f73ffffffffffffffffffffffffffffffffffffffff1663f45e65d86040518163ffffffff1660e01b815260040160206040518083038186803b15801561066757600080fd5b505afa15801561067b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061069f9190610781565b9050600073420000000000000000000000000000000000000f73ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b1580156106fd57600080fd5b505afa158015610711573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107359190610781565b9050600061074482600a610a2a565b9050600081846107548789610976565b61075e908c610af0565b6107689190610af0565b610772919061098e565b9b9a5050505050505050505050565b60006020828403121561079357600080fd5b5051919050565b6000602082840312156107ac57600080fd5b813567ffffffffffffffff808211156107c457600080fd5b818401915084601f8301126107d857600080fd5b8135818111156107ea576107ea610ba3565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190838211818310171561083057610830610ba3565b8160405282815287602084870101111561084957600080fd5b826020860160208301376000928101602001929092525095945050505050565b60006020828403121561087b57600080fd5b5035919050565b60008060008060008060c0878903121561089b57600080fd5b865195506020870151945060408701519350606087015192506080870151915060a087015190509295509295509295565b6000602082840312156108de57600080fd5b813567ffffffffffffffff8116811461026657600080fd5b60008351610908818460208801610b44565b83519083019061091c818360208801610b44565b01949350505050565b6020815260008251806020840152610944816040850160208701610b44565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b6000821982111561098957610989610b74565b500190565b6000826109c4577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b600181815b80851115610a2257817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115610a0857610a08610b74565b80851615610a1557918102915b93841c93908002906109ce565b509250929050565b60006102668383600082610a40575060016100be565b81610a4d575060006100be565b8160018114610a635760028114610a6d57610a89565b60019150506100be565b60ff841115610a7e57610a7e610b74565b50506001821b6100be565b5060208310610133831016604e8410600b8410161715610aac575081810a6100be565b610ab683836109c9565b807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04821115610ae857610ae8610b74565b029392505050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615610b2857610b28610b74565b500290565b600082821015610b3f57610b3f610b74565b500390565b60005b83811015610b5f578181015183820152602001610b47565b83811115610b6e576000848401525b50505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fdfe307866666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666a164736f6c6343000806000a",
}
Functions ¶
This section is empty.
Types ¶
type ChainSpecificUtilHelper ¶
type ChainSpecificUtilHelper struct { ChainSpecificUtilHelperCaller ChainSpecificUtilHelperTransactor ChainSpecificUtilHelperFilterer // contains filtered or unexported fields }
func DeployChainSpecificUtilHelper ¶
func DeployChainSpecificUtilHelper(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ChainSpecificUtilHelper, error)
func NewChainSpecificUtilHelper ¶
func NewChainSpecificUtilHelper(address common.Address, backend bind.ContractBackend) (*ChainSpecificUtilHelper, error)
func (*ChainSpecificUtilHelper) Address ¶
func (_ChainSpecificUtilHelper *ChainSpecificUtilHelper) Address() common.Address
type ChainSpecificUtilHelperCaller ¶
type ChainSpecificUtilHelperCaller struct {
// contains filtered or unexported fields
}
func NewChainSpecificUtilHelperCaller ¶
func NewChainSpecificUtilHelperCaller(address common.Address, caller bind.ContractCaller) (*ChainSpecificUtilHelperCaller, error)
func (*ChainSpecificUtilHelperCaller) GetBlockNumber ¶
func (*ChainSpecificUtilHelperCaller) GetBlockhash ¶
func (*ChainSpecificUtilHelperCaller) GetCurrentTxL1GasFees ¶
func (*ChainSpecificUtilHelperCaller) GetL1CalldataGasCost ¶
type ChainSpecificUtilHelperCallerRaw ¶
type ChainSpecificUtilHelperCallerRaw struct {
Contract *ChainSpecificUtilHelperCaller
}
type ChainSpecificUtilHelperCallerSession ¶
type ChainSpecificUtilHelperCallerSession struct { Contract *ChainSpecificUtilHelperCaller CallOpts bind.CallOpts }
func (*ChainSpecificUtilHelperCallerSession) GetBlockNumber ¶
func (_ChainSpecificUtilHelper *ChainSpecificUtilHelperCallerSession) GetBlockNumber() (*big.Int, error)
func (*ChainSpecificUtilHelperCallerSession) GetBlockhash ¶
func (_ChainSpecificUtilHelper *ChainSpecificUtilHelperCallerSession) GetBlockhash(blockNumber uint64) ([32]byte, error)
func (*ChainSpecificUtilHelperCallerSession) GetCurrentTxL1GasFees ¶
func (_ChainSpecificUtilHelper *ChainSpecificUtilHelperCallerSession) GetCurrentTxL1GasFees(txCallData string) (*big.Int, error)
func (*ChainSpecificUtilHelperCallerSession) GetL1CalldataGasCost ¶
type ChainSpecificUtilHelperFilterer ¶
type ChainSpecificUtilHelperFilterer struct {
// contains filtered or unexported fields
}
func NewChainSpecificUtilHelperFilterer ¶
func NewChainSpecificUtilHelperFilterer(address common.Address, filterer bind.ContractFilterer) (*ChainSpecificUtilHelperFilterer, error)
type ChainSpecificUtilHelperInterface ¶
type ChainSpecificUtilHelperInterface interface { GetBlockNumber(opts *bind.CallOpts) (*big.Int, error) GetBlockhash(opts *bind.CallOpts, blockNumber uint64) ([32]byte, error) GetCurrentTxL1GasFees(opts *bind.CallOpts, txCallData string) (*big.Int, error) GetL1CalldataGasCost(opts *bind.CallOpts, calldataSize *big.Int) (*big.Int, error) Address() common.Address }
type ChainSpecificUtilHelperRaw ¶
type ChainSpecificUtilHelperRaw struct {
Contract *ChainSpecificUtilHelper
}
func (*ChainSpecificUtilHelperRaw) Call ¶
func (_ChainSpecificUtilHelper *ChainSpecificUtilHelperRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error
func (*ChainSpecificUtilHelperRaw) Transact ¶
func (_ChainSpecificUtilHelper *ChainSpecificUtilHelperRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
func (*ChainSpecificUtilHelperRaw) Transfer ¶
func (_ChainSpecificUtilHelper *ChainSpecificUtilHelperRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
type ChainSpecificUtilHelperSession ¶
type ChainSpecificUtilHelperSession struct { Contract *ChainSpecificUtilHelper CallOpts bind.CallOpts TransactOpts bind.TransactOpts }
func (*ChainSpecificUtilHelperSession) GetBlockNumber ¶
func (_ChainSpecificUtilHelper *ChainSpecificUtilHelperSession) GetBlockNumber() (*big.Int, error)
func (*ChainSpecificUtilHelperSession) GetBlockhash ¶
func (_ChainSpecificUtilHelper *ChainSpecificUtilHelperSession) GetBlockhash(blockNumber uint64) ([32]byte, error)
func (*ChainSpecificUtilHelperSession) GetCurrentTxL1GasFees ¶
func (_ChainSpecificUtilHelper *ChainSpecificUtilHelperSession) GetCurrentTxL1GasFees(txCallData string) (*big.Int, error)
func (*ChainSpecificUtilHelperSession) GetL1CalldataGasCost ¶
type ChainSpecificUtilHelperTransactor ¶
type ChainSpecificUtilHelperTransactor struct {
// contains filtered or unexported fields
}
func NewChainSpecificUtilHelperTransactor ¶
func NewChainSpecificUtilHelperTransactor(address common.Address, transactor bind.ContractTransactor) (*ChainSpecificUtilHelperTransactor, error)
type ChainSpecificUtilHelperTransactorRaw ¶
type ChainSpecificUtilHelperTransactorRaw struct {
Contract *ChainSpecificUtilHelperTransactor
}
func (*ChainSpecificUtilHelperTransactorRaw) Transact ¶
func (_ChainSpecificUtilHelper *ChainSpecificUtilHelperTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
func (*ChainSpecificUtilHelperTransactorRaw) Transfer ¶
func (_ChainSpecificUtilHelper *ChainSpecificUtilHelperTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
type ChainSpecificUtilHelperTransactorSession ¶
type ChainSpecificUtilHelperTransactorSession struct { Contract *ChainSpecificUtilHelperTransactor TransactOpts bind.TransactOpts }
Click to show internal directories.
Click to hide internal directories.