executionfeesmock

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 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\":\"uint256\",\"name\":\"dstChainId\",\"type\":\"uint256\"},{\"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\":\"uint256\",\"name\":\"dstChainId\",\"type\":\"uint256\"},{\"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\":\"uint256\",\"name\":\"dstChainId\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"}],\"name\":\"executionFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dstChainId\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"executor\",\"type\":\"address\"}],\"name\":\"recordExecutor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dstChainId\",\"type\":\"uint256\"},{\"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)",
		"ffecec7e": "addExecutionFee(uint256,bytes32)",
		"4e497dac": "claimExecutionFees(address)",
		"936fd4db": "executionFee(uint256,bytes32)",
		"0676b706": "recordExecutor(uint256,bytes32,address)",
		"d01e09a6": "recordedExecutor(uint256,bytes32)",
		"949813b8": "unclaimedRewards(address)",
	},
	Bin: "0x608060405234801561001057600080fd5b50610236806100206000396000f3fe6080604052600436106100705760003560e01c8063936fd4db1161004e578063936fd4db146100e9578063949813b8146100b5578063d01e09a61461010c578063ffecec7e1461014c57600080fd5b80630676b706146100755780634e497dac1461009757806373f273fc146100b5575b600080fd5b34801561008157600080fd5b50610095610090366004610187565b505050565b005b3480156100a357600080fd5b506100956100b23660046101bc565b50565b3480156100c157600080fd5b506100d66100d03660046101bc565b50600090565b6040519081526020015b60405180910390f35b3480156100f557600080fd5b506100d66101043660046101de565b600092915050565b34801561011857600080fd5b506101276101043660046101de565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016100e0565b61009561015a3660046101de565b5050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461018257600080fd5b919050565b60008060006060848603121561019c57600080fd5b83359250602084013591506101b36040850161015e565b90509250925092565b6000602082840312156101ce57600080fd5b6101d78261015e565b9392505050565b600080604083850312156101f157600080fd5b5050803592602090910135915056fea2646970667358221220ef14258c87c1c239dbc22292ee7e9a1d84e84da11d9f5b4accd54eb456f3093164736f6c63430008140033",
}

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\":\"uint256\",\"name\":\"dstChainId\",\"type\":\"uint256\"},{\"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\":\"uint256\",\"name\":\"dstChainId\",\"type\":\"uint256\"},{\"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\":\"uint256\",\"name\":\"dstChainId\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"}],\"name\":\"executionFee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dstChainId\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"transactionId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"executor\",\"type\":\"address\"}],\"name\":\"recordExecutor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"dstChainId\",\"type\":\"uint256\"},{\"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)",
		"ffecec7e": "addExecutionFee(uint256,bytes32)",
		"4e497dac": "claimExecutionFees(address)",
		"936fd4db": "executionFee(uint256,bytes32)",
		"0676b706": "recordExecutor(uint256,bytes32,address)",
		"d01e09a6": "recordedExecutor(uint256,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 *big.Int, transactionId [32]byte) (*big.Int, error)

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

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

func (*ExecutionFeesMockCaller) RecordedExecutor

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

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

Solidity: function recordedExecutor(uint256 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 *big.Int, transactionId [32]byte) (*big.Int, error)

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

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

func (*ExecutionFeesMockCallerSession) RecordedExecutor

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

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

Solidity: function recordedExecutor(uint256 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 *big.Int, transactionId [32]byte) (*types.Transaction, error)

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

Solidity: function addExecutionFee(uint256 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 *big.Int, transactionId [32]byte) (*big.Int, error)

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

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

func (*ExecutionFeesMockSession) RecordExecutor

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

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

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

func (*ExecutionFeesMockSession) RecordedExecutor

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

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

Solidity: function recordedExecutor(uint256 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 *big.Int, transactionId [32]byte) (*types.Transaction, error)

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

Solidity: function addExecutionFee(uint256 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 *big.Int, transactionId [32]byte, executor common.Address) (*types.Transaction, error)

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

Solidity: function recordExecutor(uint256 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 *big.Int, transactionId [32]byte) (*types.Transaction, error)

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

Solidity: function addExecutionFee(uint256 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 *big.Int, transactionId [32]byte, executor common.Address) (*types.Transaction, error)

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

Solidity: function recordExecutor(uint256 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 *big.Int, transactionId [32]byte) (*big.Int, error)

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

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

func (*IExecutionFeesCaller) RecordedExecutor

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

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

Solidity: function recordedExecutor(uint256 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 *big.Int, transactionId [32]byte) (*big.Int, error)

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

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

func (*IExecutionFeesCallerSession) RecordedExecutor

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

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

Solidity: function recordedExecutor(uint256 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 *big.Int, transactionId [32]byte) (*types.Transaction, error)

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

Solidity: function addExecutionFee(uint256 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 *big.Int, transactionId [32]byte) (*big.Int, error)

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

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

func (*IExecutionFeesSession) RecordExecutor

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

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

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

func (*IExecutionFeesSession) RecordedExecutor

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

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

Solidity: function recordedExecutor(uint256 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 *big.Int, transactionId [32]byte) (*types.Transaction, error)

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

Solidity: function addExecutionFee(uint256 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 *big.Int, transactionId [32]byte, executor common.Address) (*types.Transaction, error)

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

Solidity: function recordExecutor(uint256 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 *big.Int, transactionId [32]byte) (*types.Transaction, error)

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

Solidity: function addExecutionFee(uint256 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 *big.Int, transactionId [32]byte, executor common.Address) (*types.Transaction, error)

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

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

Jump to

Keyboard shortcuts

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