executionfeesmock

package
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Code generated by synapse abigen DO NOT EDIT.

Package executionfeesmock provides a mock for the ExecutionFees contract.

Index

Constants

This section is empty.

Variables

View Source
var Contracts map[string]*compiler.Contract

Contracts are unmarshalled on start

View Source
var ExecutionFeesMockABI = ExecutionFeesMockMetaData.ABI

ExecutionFeesMockABI is the input ABI used to generate the binding from. Deprecated: Use ExecutionFeesMockMetaData.ABI instead.

View Source
var ExecutionFeesMockBin = ExecutionFeesMockMetaData.Bin

ExecutionFeesMockBin is the compiled bytecode used for deploying new contracts. Deprecated: Use ExecutionFeesMockMetaData.Bin instead.

View Source
var ExecutionFeesMockFuncSigs = ExecutionFeesMockMetaData.Sigs

Deprecated: Use ExecutionFeesMockMetaData.Sigs instead. ExecutionFeesMockFuncSigs maps the 4-byte function signature to its string representation.

View Source
var ExecutionFeesMockMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"dstChainId\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"executor\",\"type\":\"address\"}],\"name\":\"ExecutionFees__AlreadyRecorded\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ExecutionFees__ZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ExecutionFees__ZeroAmount\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"executor\",\"type\":\"address\"}],\"name\":\"accumulatedRewards\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"accumulated\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"dstChainId\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"}],\"name\":\"addExecutionFee\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"executor\",\"type\":\"address\"}],\"name\":\"claimExecutionFees\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"dstChainId\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"}],\"name\":\"executionFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"dstChainId\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"executor\",\"type\":\"address\"}],\"name\":\"recordExecutor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"dstChainId\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"}],\"name\":\"recordedExecutor\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"executor\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"executor\",\"type\":\"address\"}],\"name\":\"unclaimedRewards\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"unclaimed\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"73f273fc": "accumulatedRewards(address)",
		"7b18c25c": "addExecutionFee(uint64,bytes32)",
		"4e497dac": "claimExecutionFees(address)",
		"656a96d9": "executionFee(uint64,bytes32)",
		"fd411b43": "recordExecutor(uint64,bytes32,address)",
		"c2bc3357": "recordedExecutor(uint64,bytes32)",
		"949813b8": "unclaimedRewards(address)",
	},
	Bin: "0x608060405234801561001057600080fd5b5061025d806100206000396000f3fe6080604052600436106100705760003560e01c80637b18c25c1161004e5780637b18c25c146100ec578063949813b8146100cb578063c2bc3357146100fe578063fd411b431461013e57600080fd5b80634e497dac14610075578063656a96d91461009557806373f273fc146100cb575b600080fd5b34801561008157600080fd5b50610093610090366004610187565b50565b005b3480156100a157600080fd5b506100b86100b03660046101c1565b600092915050565b6040519081526020015b60405180910390f35b3480156100d757600080fd5b506100b86100e6366004610187565b50600090565b6100936100fa3660046101c1565b5050565b34801561010a57600080fd5b506101196100b03660046101c1565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100c2565b34801561014a57600080fd5b506100936101593660046101eb565b505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461018257600080fd5b919050565b60006020828403121561019957600080fd5b6101a28261015e565b9392505050565b803567ffffffffffffffff8116811461018257600080fd5b600080604083850312156101d457600080fd5b6101dd836101a9565b946020939093013593505050565b60008060006060848603121561020057600080fd5b610209846101a9565b92506020840135915061021e6040850161015e565b9050925092509256fea2646970667358221220eed4b061a2e1f9d5d4ec4069a18a2b9b43e9c4813a7e6f2f7639a225fb8120d064736f6c63430008140033",
}

ExecutionFeesMockMetaData contains all meta data concerning the ExecutionFeesMock contract.

View Source
var IExecutionFeesABI = IExecutionFeesMetaData.ABI

IExecutionFeesABI is the input ABI used to generate the binding from. Deprecated: Use IExecutionFeesMetaData.ABI instead.

View Source
var IExecutionFeesFuncSigs = IExecutionFeesMetaData.Sigs

Deprecated: Use IExecutionFeesMetaData.Sigs instead. IExecutionFeesFuncSigs maps the 4-byte function signature to its string representation.

View Source
var IExecutionFeesMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"dstChainId\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"executor\",\"type\":\"address\"}],\"name\":\"ExecutionFees__AlreadyRecorded\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ExecutionFees__ZeroAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ExecutionFees__ZeroAmount\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"executor\",\"type\":\"address\"}],\"name\":\"accumulatedRewards\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"accumulated\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"dstChainId\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"}],\"name\":\"addExecutionFee\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"executor\",\"type\":\"address\"}],\"name\":\"claimExecutionFees\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"dstChainId\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"}],\"name\":\"executionFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"dstChainId\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"executor\",\"type\":\"address\"}],\"name\":\"recordExecutor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"dstChainId\",\"type\":\"uint64\"},{\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"}],\"name\":\"recordedExecutor\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"executor\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"executor\",\"type\":\"address\"}],\"name\":\"unclaimedRewards\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"unclaimed\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
	Sigs: map[string]string{
		"73f273fc": "accumulatedRewards(address)",
		"7b18c25c": "addExecutionFee(uint64,bytes32)",
		"4e497dac": "claimExecutionFees(address)",
		"656a96d9": "executionFee(uint64,bytes32)",
		"fd411b43": "recordExecutor(uint64,bytes32,address)",
		"c2bc3357": "recordedExecutor(uint64,bytes32)",
		"949813b8": "unclaimedRewards(address)",
	},
}

IExecutionFeesMetaData contains all meta data concerning the IExecutionFees contract.

Functions

This section is empty.

Types

type ExecutionFeesMock

type ExecutionFeesMock struct {
	ExecutionFeesMockCaller     // Read-only binding to the contract
	ExecutionFeesMockTransactor // Write-only binding to the contract
	ExecutionFeesMockFilterer   // Log filterer for contract events
}

ExecutionFeesMock is an auto generated Go binding around an Ethereum contract.

func DeployExecutionFeesMock

func DeployExecutionFeesMock(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ExecutionFeesMock, error)

DeployExecutionFeesMock deploys a new Ethereum contract, binding an instance of ExecutionFeesMock to it.

func NewExecutionFeesMock

func NewExecutionFeesMock(address common.Address, backend bind.ContractBackend) (*ExecutionFeesMock, error)

NewExecutionFeesMock creates a new instance of ExecutionFeesMock, bound to a specific deployed contract.

type ExecutionFeesMockCaller

type ExecutionFeesMockCaller struct {
	// contains filtered or unexported fields
}

ExecutionFeesMockCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewExecutionFeesMockCaller

func NewExecutionFeesMockCaller(address common.Address, caller bind.ContractCaller) (*ExecutionFeesMockCaller, error)

NewExecutionFeesMockCaller creates a new read-only instance of ExecutionFeesMock, bound to a specific deployed contract.

func (*ExecutionFeesMockCaller) AccumulatedRewards

func (_ExecutionFeesMock *ExecutionFeesMockCaller) AccumulatedRewards(opts *bind.CallOpts, executor common.Address) (*big.Int, error)

AccumulatedRewards is a free data retrieval call binding the contract method 0x73f273fc.

Solidity: function accumulatedRewards(address executor) view returns(uint256 accumulated)

func (*ExecutionFeesMockCaller) ExecutionFee

func (_ExecutionFeesMock *ExecutionFeesMockCaller) ExecutionFee(opts *bind.CallOpts, dstChainId uint64, transactionId [32]byte) (*big.Int, error)

ExecutionFee is a free data retrieval call binding the contract method 0x656a96d9.

Solidity: function executionFee(uint64 dstChainId, bytes32 transactionId) view returns(uint256 fee)

func (*ExecutionFeesMockCaller) RecordedExecutor

func (_ExecutionFeesMock *ExecutionFeesMockCaller) RecordedExecutor(opts *bind.CallOpts, dstChainId uint64, transactionId [32]byte) (common.Address, error)

RecordedExecutor is a free data retrieval call binding the contract method 0xc2bc3357.

Solidity: function recordedExecutor(uint64 dstChainId, bytes32 transactionId) view returns(address executor)

func (*ExecutionFeesMockCaller) UnclaimedRewards

func (_ExecutionFeesMock *ExecutionFeesMockCaller) UnclaimedRewards(opts *bind.CallOpts, executor common.Address) (*big.Int, error)

UnclaimedRewards is a free data retrieval call binding the contract method 0x949813b8.

Solidity: function unclaimedRewards(address executor) view returns(uint256 unclaimed)

type ExecutionFeesMockCallerRaw

type ExecutionFeesMockCallerRaw struct {
	Contract *ExecutionFeesMockCaller // Generic read-only contract binding to access the raw methods on
}

ExecutionFeesMockCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*ExecutionFeesMockCallerRaw) Call

func (_ExecutionFeesMock *ExecutionFeesMockCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type ExecutionFeesMockCallerSession

type ExecutionFeesMockCallerSession struct {
	Contract *ExecutionFeesMockCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts            // Call options to use throughout this session
}

ExecutionFeesMockCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*ExecutionFeesMockCallerSession) AccumulatedRewards

func (_ExecutionFeesMock *ExecutionFeesMockCallerSession) AccumulatedRewards(executor common.Address) (*big.Int, error)

AccumulatedRewards is a free data retrieval call binding the contract method 0x73f273fc.

Solidity: function accumulatedRewards(address executor) view returns(uint256 accumulated)

func (*ExecutionFeesMockCallerSession) ExecutionFee

func (_ExecutionFeesMock *ExecutionFeesMockCallerSession) ExecutionFee(dstChainId uint64, transactionId [32]byte) (*big.Int, error)

ExecutionFee is a free data retrieval call binding the contract method 0x656a96d9.

Solidity: function executionFee(uint64 dstChainId, bytes32 transactionId) view returns(uint256 fee)

func (*ExecutionFeesMockCallerSession) RecordedExecutor

func (_ExecutionFeesMock *ExecutionFeesMockCallerSession) RecordedExecutor(dstChainId uint64, transactionId [32]byte) (common.Address, error)

RecordedExecutor is a free data retrieval call binding the contract method 0xc2bc3357.

Solidity: function recordedExecutor(uint64 dstChainId, bytes32 transactionId) view returns(address executor)

func (*ExecutionFeesMockCallerSession) UnclaimedRewards

func (_ExecutionFeesMock *ExecutionFeesMockCallerSession) UnclaimedRewards(executor common.Address) (*big.Int, error)

UnclaimedRewards is a free data retrieval call binding the contract method 0x949813b8.

Solidity: function unclaimedRewards(address executor) view returns(uint256 unclaimed)

type ExecutionFeesMockFilterer

type ExecutionFeesMockFilterer struct {
	// contains filtered or unexported fields
}

ExecutionFeesMockFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewExecutionFeesMockFilterer

func NewExecutionFeesMockFilterer(address common.Address, filterer bind.ContractFilterer) (*ExecutionFeesMockFilterer, error)

NewExecutionFeesMockFilterer creates a new log filterer instance of ExecutionFeesMock, bound to a specific deployed contract.

type ExecutionFeesMockRaw

type ExecutionFeesMockRaw struct {
	Contract *ExecutionFeesMock // Generic contract binding to access the raw methods on
}

ExecutionFeesMockRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*ExecutionFeesMockRaw) Call

func (_ExecutionFeesMock *ExecutionFeesMockRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*ExecutionFeesMockRaw) Transact

func (_ExecutionFeesMock *ExecutionFeesMockRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ExecutionFeesMockRaw) Transfer

func (_ExecutionFeesMock *ExecutionFeesMockRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type ExecutionFeesMockRef

type ExecutionFeesMockRef struct {
	*ExecutionFeesMock
	// contains filtered or unexported fields
}

ExecutionFeesMockRef is a reference to a Executionfeesmock. nolint: golint

func NewExecutionfeesMockRef

func NewExecutionfeesMockRef(address common.Address, backend bind.ContractBackend) (*ExecutionFeesMockRef, error)

NewExecutionfeesMockRef creates a new Executionfeesmock with a contract ref.

func (*ExecutionFeesMockRef) Address

func (s *ExecutionFeesMockRef) Address() common.Address

Address is the contract address.

type ExecutionFeesMockSession

type ExecutionFeesMockSession struct {
	Contract     *ExecutionFeesMock // Generic contract binding to set the session for
	CallOpts     bind.CallOpts      // Call options to use throughout this session
	TransactOpts bind.TransactOpts  // Transaction auth options to use throughout this session
}

ExecutionFeesMockSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*ExecutionFeesMockSession) AccumulatedRewards

func (_ExecutionFeesMock *ExecutionFeesMockSession) AccumulatedRewards(executor common.Address) (*big.Int, error)

AccumulatedRewards is a free data retrieval call binding the contract method 0x73f273fc.

Solidity: function accumulatedRewards(address executor) view returns(uint256 accumulated)

func (*ExecutionFeesMockSession) AddExecutionFee

func (_ExecutionFeesMock *ExecutionFeesMockSession) AddExecutionFee(dstChainId uint64, transactionId [32]byte) (*types.Transaction, error)

AddExecutionFee is a paid mutator transaction binding the contract method 0x7b18c25c.

Solidity: function addExecutionFee(uint64 dstChainId, bytes32 transactionId) payable returns()

func (*ExecutionFeesMockSession) ClaimExecutionFees

func (_ExecutionFeesMock *ExecutionFeesMockSession) ClaimExecutionFees(executor common.Address) (*types.Transaction, error)

ClaimExecutionFees is a paid mutator transaction binding the contract method 0x4e497dac.

Solidity: function claimExecutionFees(address executor) returns()

func (*ExecutionFeesMockSession) ExecutionFee

func (_ExecutionFeesMock *ExecutionFeesMockSession) ExecutionFee(dstChainId uint64, transactionId [32]byte) (*big.Int, error)

ExecutionFee is a free data retrieval call binding the contract method 0x656a96d9.

Solidity: function executionFee(uint64 dstChainId, bytes32 transactionId) view returns(uint256 fee)

func (*ExecutionFeesMockSession) RecordExecutor

func (_ExecutionFeesMock *ExecutionFeesMockSession) RecordExecutor(dstChainId uint64, transactionId [32]byte, executor common.Address) (*types.Transaction, error)

RecordExecutor is a paid mutator transaction binding the contract method 0xfd411b43.

Solidity: function recordExecutor(uint64 dstChainId, bytes32 transactionId, address executor) returns()

func (*ExecutionFeesMockSession) RecordedExecutor

func (_ExecutionFeesMock *ExecutionFeesMockSession) RecordedExecutor(dstChainId uint64, transactionId [32]byte) (common.Address, error)

RecordedExecutor is a free data retrieval call binding the contract method 0xc2bc3357.

Solidity: function recordedExecutor(uint64 dstChainId, bytes32 transactionId) view returns(address executor)

func (*ExecutionFeesMockSession) UnclaimedRewards

func (_ExecutionFeesMock *ExecutionFeesMockSession) UnclaimedRewards(executor common.Address) (*big.Int, error)

UnclaimedRewards is a free data retrieval call binding the contract method 0x949813b8.

Solidity: function unclaimedRewards(address executor) view returns(uint256 unclaimed)

type ExecutionFeesMockTransactor

type ExecutionFeesMockTransactor struct {
	// contains filtered or unexported fields
}

ExecutionFeesMockTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewExecutionFeesMockTransactor

func NewExecutionFeesMockTransactor(address common.Address, transactor bind.ContractTransactor) (*ExecutionFeesMockTransactor, error)

NewExecutionFeesMockTransactor creates a new write-only instance of ExecutionFeesMock, bound to a specific deployed contract.

func (*ExecutionFeesMockTransactor) AddExecutionFee

func (_ExecutionFeesMock *ExecutionFeesMockTransactor) AddExecutionFee(opts *bind.TransactOpts, dstChainId uint64, transactionId [32]byte) (*types.Transaction, error)

AddExecutionFee is a paid mutator transaction binding the contract method 0x7b18c25c.

Solidity: function addExecutionFee(uint64 dstChainId, bytes32 transactionId) payable returns()

func (*ExecutionFeesMockTransactor) ClaimExecutionFees

func (_ExecutionFeesMock *ExecutionFeesMockTransactor) ClaimExecutionFees(opts *bind.TransactOpts, executor common.Address) (*types.Transaction, error)

ClaimExecutionFees is a paid mutator transaction binding the contract method 0x4e497dac.

Solidity: function claimExecutionFees(address executor) returns()

func (*ExecutionFeesMockTransactor) RecordExecutor

func (_ExecutionFeesMock *ExecutionFeesMockTransactor) RecordExecutor(opts *bind.TransactOpts, dstChainId uint64, transactionId [32]byte, executor common.Address) (*types.Transaction, error)

RecordExecutor is a paid mutator transaction binding the contract method 0xfd411b43.

Solidity: function recordExecutor(uint64 dstChainId, bytes32 transactionId, address executor) returns()

type ExecutionFeesMockTransactorRaw

type ExecutionFeesMockTransactorRaw struct {
	Contract *ExecutionFeesMockTransactor // Generic write-only contract binding to access the raw methods on
}

ExecutionFeesMockTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*ExecutionFeesMockTransactorRaw) Transact

func (_ExecutionFeesMock *ExecutionFeesMockTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ExecutionFeesMockTransactorRaw) Transfer

func (_ExecutionFeesMock *ExecutionFeesMockTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type ExecutionFeesMockTransactorSession

type ExecutionFeesMockTransactorSession struct {
	Contract     *ExecutionFeesMockTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts            // Transaction auth options to use throughout this session
}

ExecutionFeesMockTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*ExecutionFeesMockTransactorSession) AddExecutionFee

func (_ExecutionFeesMock *ExecutionFeesMockTransactorSession) AddExecutionFee(dstChainId uint64, transactionId [32]byte) (*types.Transaction, error)

AddExecutionFee is a paid mutator transaction binding the contract method 0x7b18c25c.

Solidity: function addExecutionFee(uint64 dstChainId, bytes32 transactionId) payable returns()

func (*ExecutionFeesMockTransactorSession) ClaimExecutionFees

func (_ExecutionFeesMock *ExecutionFeesMockTransactorSession) ClaimExecutionFees(executor common.Address) (*types.Transaction, error)

ClaimExecutionFees is a paid mutator transaction binding the contract method 0x4e497dac.

Solidity: function claimExecutionFees(address executor) returns()

func (*ExecutionFeesMockTransactorSession) RecordExecutor

func (_ExecutionFeesMock *ExecutionFeesMockTransactorSession) RecordExecutor(dstChainId uint64, transactionId [32]byte, executor common.Address) (*types.Transaction, error)

RecordExecutor is a paid mutator transaction binding the contract method 0xfd411b43.

Solidity: function recordExecutor(uint64 dstChainId, bytes32 transactionId, address executor) returns()

type IExecutionFees

type IExecutionFees struct {
	IExecutionFeesCaller     // Read-only binding to the contract
	IExecutionFeesTransactor // Write-only binding to the contract
	IExecutionFeesFilterer   // Log filterer for contract events
}

IExecutionFees is an auto generated Go binding around an Ethereum contract.

func NewIExecutionFees

func NewIExecutionFees(address common.Address, backend bind.ContractBackend) (*IExecutionFees, error)

NewIExecutionFees creates a new instance of IExecutionFees, bound to a specific deployed contract.

type IExecutionFeesCaller

type IExecutionFeesCaller struct {
	// contains filtered or unexported fields
}

IExecutionFeesCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewIExecutionFeesCaller

func NewIExecutionFeesCaller(address common.Address, caller bind.ContractCaller) (*IExecutionFeesCaller, error)

NewIExecutionFeesCaller creates a new read-only instance of IExecutionFees, bound to a specific deployed contract.

func (*IExecutionFeesCaller) AccumulatedRewards

func (_IExecutionFees *IExecutionFeesCaller) AccumulatedRewards(opts *bind.CallOpts, executor common.Address) (*big.Int, error)

AccumulatedRewards is a free data retrieval call binding the contract method 0x73f273fc.

Solidity: function accumulatedRewards(address executor) view returns(uint256 accumulated)

func (*IExecutionFeesCaller) ExecutionFee

func (_IExecutionFees *IExecutionFeesCaller) ExecutionFee(opts *bind.CallOpts, dstChainId uint64, transactionId [32]byte) (*big.Int, error)

ExecutionFee is a free data retrieval call binding the contract method 0x656a96d9.

Solidity: function executionFee(uint64 dstChainId, bytes32 transactionId) view returns(uint256 fee)

func (*IExecutionFeesCaller) RecordedExecutor

func (_IExecutionFees *IExecutionFeesCaller) RecordedExecutor(opts *bind.CallOpts, dstChainId uint64, transactionId [32]byte) (common.Address, error)

RecordedExecutor is a free data retrieval call binding the contract method 0xc2bc3357.

Solidity: function recordedExecutor(uint64 dstChainId, bytes32 transactionId) view returns(address executor)

func (*IExecutionFeesCaller) UnclaimedRewards

func (_IExecutionFees *IExecutionFeesCaller) UnclaimedRewards(opts *bind.CallOpts, executor common.Address) (*big.Int, error)

UnclaimedRewards is a free data retrieval call binding the contract method 0x949813b8.

Solidity: function unclaimedRewards(address executor) view returns(uint256 unclaimed)

type IExecutionFeesCallerRaw

type IExecutionFeesCallerRaw struct {
	Contract *IExecutionFeesCaller // Generic read-only contract binding to access the raw methods on
}

IExecutionFeesCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*IExecutionFeesCallerRaw) Call

func (_IExecutionFees *IExecutionFeesCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type IExecutionFeesCallerSession

type IExecutionFeesCallerSession struct {
	Contract *IExecutionFeesCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts         // Call options to use throughout this session
}

IExecutionFeesCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*IExecutionFeesCallerSession) AccumulatedRewards

func (_IExecutionFees *IExecutionFeesCallerSession) AccumulatedRewards(executor common.Address) (*big.Int, error)

AccumulatedRewards is a free data retrieval call binding the contract method 0x73f273fc.

Solidity: function accumulatedRewards(address executor) view returns(uint256 accumulated)

func (*IExecutionFeesCallerSession) ExecutionFee

func (_IExecutionFees *IExecutionFeesCallerSession) ExecutionFee(dstChainId uint64, transactionId [32]byte) (*big.Int, error)

ExecutionFee is a free data retrieval call binding the contract method 0x656a96d9.

Solidity: function executionFee(uint64 dstChainId, bytes32 transactionId) view returns(uint256 fee)

func (*IExecutionFeesCallerSession) RecordedExecutor

func (_IExecutionFees *IExecutionFeesCallerSession) RecordedExecutor(dstChainId uint64, transactionId [32]byte) (common.Address, error)

RecordedExecutor is a free data retrieval call binding the contract method 0xc2bc3357.

Solidity: function recordedExecutor(uint64 dstChainId, bytes32 transactionId) view returns(address executor)

func (*IExecutionFeesCallerSession) UnclaimedRewards

func (_IExecutionFees *IExecutionFeesCallerSession) UnclaimedRewards(executor common.Address) (*big.Int, error)

UnclaimedRewards is a free data retrieval call binding the contract method 0x949813b8.

Solidity: function unclaimedRewards(address executor) view returns(uint256 unclaimed)

type IExecutionFeesFilterer

type IExecutionFeesFilterer struct {
	// contains filtered or unexported fields
}

IExecutionFeesFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewIExecutionFeesFilterer

func NewIExecutionFeesFilterer(address common.Address, filterer bind.ContractFilterer) (*IExecutionFeesFilterer, error)

NewIExecutionFeesFilterer creates a new log filterer instance of IExecutionFees, bound to a specific deployed contract.

type IExecutionFeesRaw

type IExecutionFeesRaw struct {
	Contract *IExecutionFees // Generic contract binding to access the raw methods on
}

IExecutionFeesRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*IExecutionFeesRaw) Call

func (_IExecutionFees *IExecutionFeesRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*IExecutionFeesRaw) Transact

func (_IExecutionFees *IExecutionFeesRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*IExecutionFeesRaw) Transfer

func (_IExecutionFees *IExecutionFeesRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type IExecutionFeesSession

type IExecutionFeesSession struct {
	Contract     *IExecutionFees   // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

IExecutionFeesSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*IExecutionFeesSession) AccumulatedRewards

func (_IExecutionFees *IExecutionFeesSession) AccumulatedRewards(executor common.Address) (*big.Int, error)

AccumulatedRewards is a free data retrieval call binding the contract method 0x73f273fc.

Solidity: function accumulatedRewards(address executor) view returns(uint256 accumulated)

func (*IExecutionFeesSession) AddExecutionFee

func (_IExecutionFees *IExecutionFeesSession) AddExecutionFee(dstChainId uint64, transactionId [32]byte) (*types.Transaction, error)

AddExecutionFee is a paid mutator transaction binding the contract method 0x7b18c25c.

Solidity: function addExecutionFee(uint64 dstChainId, bytes32 transactionId) payable returns()

func (*IExecutionFeesSession) ClaimExecutionFees

func (_IExecutionFees *IExecutionFeesSession) ClaimExecutionFees(executor common.Address) (*types.Transaction, error)

ClaimExecutionFees is a paid mutator transaction binding the contract method 0x4e497dac.

Solidity: function claimExecutionFees(address executor) returns()

func (*IExecutionFeesSession) ExecutionFee

func (_IExecutionFees *IExecutionFeesSession) ExecutionFee(dstChainId uint64, transactionId [32]byte) (*big.Int, error)

ExecutionFee is a free data retrieval call binding the contract method 0x656a96d9.

Solidity: function executionFee(uint64 dstChainId, bytes32 transactionId) view returns(uint256 fee)

func (*IExecutionFeesSession) RecordExecutor

func (_IExecutionFees *IExecutionFeesSession) RecordExecutor(dstChainId uint64, transactionId [32]byte, executor common.Address) (*types.Transaction, error)

RecordExecutor is a paid mutator transaction binding the contract method 0xfd411b43.

Solidity: function recordExecutor(uint64 dstChainId, bytes32 transactionId, address executor) returns()

func (*IExecutionFeesSession) RecordedExecutor

func (_IExecutionFees *IExecutionFeesSession) RecordedExecutor(dstChainId uint64, transactionId [32]byte) (common.Address, error)

RecordedExecutor is a free data retrieval call binding the contract method 0xc2bc3357.

Solidity: function recordedExecutor(uint64 dstChainId, bytes32 transactionId) view returns(address executor)

func (*IExecutionFeesSession) UnclaimedRewards

func (_IExecutionFees *IExecutionFeesSession) UnclaimedRewards(executor common.Address) (*big.Int, error)

UnclaimedRewards is a free data retrieval call binding the contract method 0x949813b8.

Solidity: function unclaimedRewards(address executor) view returns(uint256 unclaimed)

type IExecutionFeesTransactor

type IExecutionFeesTransactor struct {
	// contains filtered or unexported fields
}

IExecutionFeesTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewIExecutionFeesTransactor

func NewIExecutionFeesTransactor(address common.Address, transactor bind.ContractTransactor) (*IExecutionFeesTransactor, error)

NewIExecutionFeesTransactor creates a new write-only instance of IExecutionFees, bound to a specific deployed contract.

func (*IExecutionFeesTransactor) AddExecutionFee

func (_IExecutionFees *IExecutionFeesTransactor) AddExecutionFee(opts *bind.TransactOpts, dstChainId uint64, transactionId [32]byte) (*types.Transaction, error)

AddExecutionFee is a paid mutator transaction binding the contract method 0x7b18c25c.

Solidity: function addExecutionFee(uint64 dstChainId, bytes32 transactionId) payable returns()

func (*IExecutionFeesTransactor) ClaimExecutionFees

func (_IExecutionFees *IExecutionFeesTransactor) ClaimExecutionFees(opts *bind.TransactOpts, executor common.Address) (*types.Transaction, error)

ClaimExecutionFees is a paid mutator transaction binding the contract method 0x4e497dac.

Solidity: function claimExecutionFees(address executor) returns()

func (*IExecutionFeesTransactor) RecordExecutor

func (_IExecutionFees *IExecutionFeesTransactor) RecordExecutor(opts *bind.TransactOpts, dstChainId uint64, transactionId [32]byte, executor common.Address) (*types.Transaction, error)

RecordExecutor is a paid mutator transaction binding the contract method 0xfd411b43.

Solidity: function recordExecutor(uint64 dstChainId, bytes32 transactionId, address executor) returns()

type IExecutionFeesTransactorRaw

type IExecutionFeesTransactorRaw struct {
	Contract *IExecutionFeesTransactor // Generic write-only contract binding to access the raw methods on
}

IExecutionFeesTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*IExecutionFeesTransactorRaw) Transact

func (_IExecutionFees *IExecutionFeesTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*IExecutionFeesTransactorRaw) Transfer

func (_IExecutionFees *IExecutionFeesTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type IExecutionFeesTransactorSession

type IExecutionFeesTransactorSession struct {
	Contract     *IExecutionFeesTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts         // Transaction auth options to use throughout this session
}

IExecutionFeesTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*IExecutionFeesTransactorSession) AddExecutionFee

func (_IExecutionFees *IExecutionFeesTransactorSession) AddExecutionFee(dstChainId uint64, transactionId [32]byte) (*types.Transaction, error)

AddExecutionFee is a paid mutator transaction binding the contract method 0x7b18c25c.

Solidity: function addExecutionFee(uint64 dstChainId, bytes32 transactionId) payable returns()

func (*IExecutionFeesTransactorSession) ClaimExecutionFees

func (_IExecutionFees *IExecutionFeesTransactorSession) ClaimExecutionFees(executor common.Address) (*types.Transaction, error)

ClaimExecutionFees is a paid mutator transaction binding the contract method 0x4e497dac.

Solidity: function claimExecutionFees(address executor) returns()

func (*IExecutionFeesTransactorSession) RecordExecutor

func (_IExecutionFees *IExecutionFeesTransactorSession) RecordExecutor(dstChainId uint64, transactionId [32]byte, executor common.Address) (*types.Transaction, error)

RecordExecutor is a paid mutator transaction binding the contract method 0xfd411b43.

Solidity: function recordExecutor(uint64 dstChainId, bytes32 transactionId, address executor) returns()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL