contracts

package
v0.0.0-...-49ff922 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2023 License: LGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BeefyClientABI = BeefyClientMetaData.ABI

BeefyClientABI is the input ABI used to generate the binding from. Deprecated: Use BeefyClientMetaData.ABI instead.

View Source
var BeefyClientMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_randaoCommitDelay\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_randaoCommitExpiration\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"InvalidBitfield\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidCommitment\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidMMRLeaf\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidMMRLeafProof\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSignature\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidTask\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidValidatorProof\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotEnoughClaims\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PrevRandaoAlreadyCaptured\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PrevRandaoNotCaptured\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"StaleCommitment\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TaskExpired\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"WaitPeriodNotOver\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"mmrRoot\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"blockNumber\",\"type\":\"uint64\"}],\"name\":\"NewMMRRoot\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"commitmentHash\",\"type\":\"bytes32\"}],\"name\":\"commitPrevRandao\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"commitmentHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256[]\",\"name\":\"bitfield\",\"type\":\"uint256[]\"}],\"name\":\"createFinalBitfield\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"bitsToSet\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"length\",\"type\":\"uint256\"}],\"name\":\"createInitialBitfield\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"currentValidatorSet\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"id\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"length\",\"type\":\"uint128\"},{\"internalType\":\"bytes32\",\"name\":\"root\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"_initialBeefyBlock\",\"type\":\"uint64\"},{\"components\":[{\"internalType\":\"uint128\",\"name\":\"id\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"length\",\"type\":\"uint128\"},{\"internalType\":\"bytes32\",\"name\":\"root\",\"type\":\"bytes32\"}],\"internalType\":\"structBeefyClient.ValidatorSet\",\"name\":\"_initialValidatorSet\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint128\",\"name\":\"id\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"length\",\"type\":\"uint128\"},{\"internalType\":\"bytes32\",\"name\":\"root\",\"type\":\"bytes32\"}],\"internalType\":\"structBeefyClient.ValidatorSet\",\"name\":\"_nextValidatorSet\",\"type\":\"tuple\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"latestBeefyBlock\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"latestMMRRoot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nextValidatorSet\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"id\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"length\",\"type\":\"uint128\"},{\"internalType\":\"bytes32\",\"name\":\"root\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"randaoCommitDelay\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"randaoCommitExpiration\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint32\",\"name\":\"blockNumber\",\"type\":\"uint32\"},{\"internalType\":\"uint64\",\"name\":\"validatorSetID\",\"type\":\"uint64\"},{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"mmrRootHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"prefix\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"suffix\",\"type\":\"bytes\"}],\"internalType\":\"structBeefyClient.Payload\",\"name\":\"payload\",\"type\":\"tuple\"}],\"internalType\":\"structBeefyClient.Commitment\",\"name\":\"commitment\",\"type\":\"tuple\"},{\"internalType\":\"uint256[]\",\"name\":\"bitfield\",\"type\":\"uint256[]\"},{\"components\":[{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"}],\"internalType\":\"structBeefyClient.ValidatorProof[]\",\"name\":\"proofs\",\"type\":\"tuple[]\"}],\"name\":\"submitFinal\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint32\",\"name\":\"blockNumber\",\"type\":\"uint32\"},{\"internalType\":\"uint64\",\"name\":\"validatorSetID\",\"type\":\"uint64\"},{\"components\":[{\"internalType\":\"bytes32\",\"name\":\"mmrRootHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"prefix\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"suffix\",\"type\":\"bytes\"}],\"internalType\":\"structBeefyClient.Payload\",\"name\":\"payload\",\"type\":\"tuple\"}],\"internalType\":\"structBeefyClient.Commitment\",\"name\":\"commitment\",\"type\":\"tuple\"},{\"internalType\":\"uint256[]\",\"name\":\"bitfield\",\"type\":\"uint256[]\"},{\"components\":[{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"}],\"internalType\":\"structBeefyClient.ValidatorProof[]\",\"name\":\"proofs\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"},{\"internalType\":\"uint32\",\"name\":\"parentNumber\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"parentHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint64\",\"name\":\"nextAuthoritySetID\",\"type\":\"uint64\"},{\"internalType\":\"uint32\",\"name\":\"nextAuthoritySetLen\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"nextAuthoritySetRoot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"parachainHeadsRoot\",\"type\":\"bytes32\"}],\"internalType\":\"structBeefyClient.MMRLeaf\",\"name\":\"leaf\",\"type\":\"tuple\"},{\"internalType\":\"bytes32[]\",\"name\":\"leafProof\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint256\",\"name\":\"leafProofOrder\",\"type\":\"uint256\"}],\"name\":\"submitFinalWithHandover\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"commitmentHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256[]\",\"name\":\"bitfield\",\"type\":\"uint256[]\"},{\"components\":[{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"}],\"internalType\":\"structBeefyClient.ValidatorProof\",\"name\":\"proof\",\"type\":\"tuple\"}],\"name\":\"submitInitial\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"commitmentHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256[]\",\"name\":\"bitfield\",\"type\":\"uint256[]\"},{\"components\":[{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"}],\"internalType\":\"structBeefyClient.ValidatorProof\",\"name\":\"proof\",\"type\":\"tuple\"}],\"name\":\"submitInitialWithHandover\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"tasks\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint64\",\"name\":\"blockNumber\",\"type\":\"uint64\"},{\"internalType\":\"uint32\",\"name\":\"validatorSetLen\",\"type\":\"uint32\"},{\"internalType\":\"uint256\",\"name\":\"prevRandao\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"bitfieldHash\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"leafHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint256\",\"name\":\"proofOrder\",\"type\":\"uint256\"}],\"name\":\"verifyMMRLeafProof\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

BeefyClientMetaData contains all meta data concerning the BeefyClient contract.

View Source
var InboundQueueABI = InboundQueueMetaData.ABI

InboundQueueABI is the input ABI used to generate the binding from. Deprecated: Use InboundQueueMetaData.ABI instead.

View Source
var InboundQueueMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractIParachainClient\",\"name\":\"_parachainClient\",\"type\":\"address\"},{\"internalType\":\"contractIVault\",\"name\":\"_vault\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_reward\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"InvalidHandler\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidNonce\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidProof\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotEnoughGas\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"id\",\"type\":\"uint16\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"gasToForward\",\"type\":\"uint32\"}],\"indexed\":false,\"internalType\":\"structInboundQueue.Handler\",\"name\":\"handler\",\"type\":\"tuple\"}],\"name\":\"HandlerUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"ParaID\",\"name\":\"origin\",\"type\":\"uint32\"},{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"nonce\",\"type\":\"uint64\"},{\"components\":[{\"internalType\":\"enumInboundQueue.DispatchStatus\",\"name\":\"status\",\"type\":\"uint8\"},{\"internalType\":\"bytes\",\"name\":\"reason\",\"type\":\"bytes\"}],\"indexed\":false,\"internalType\":\"structInboundQueue.DispatchResult\",\"name\":\"result\",\"type\":\"tuple\"}],\"name\":\"MessageDispatched\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"parachainClient\",\"type\":\"address\"}],\"name\":\"ParachainClientUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"reward\",\"type\":\"uint256\"}],\"name\":\"RewardUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"vault\",\"type\":\"address\"}],\"name\":\"VaultUpdated\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"GAS_BUFFER\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"handlerID\",\"type\":\"uint16\"}],\"name\":\"handlers\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"gasToForward\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ParaID\",\"name\":\"origin\",\"type\":\"uint32\"}],\"name\":\"nonce\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"parachainClient\",\"outputs\":[{\"internalType\":\"contractIParachainClient\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"reward\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"ParaID\",\"name\":\"origin\",\"type\":\"uint32\"},{\"internalType\":\"uint64\",\"name\":\"nonce\",\"type\":\"uint64\"},{\"internalType\":\"uint16\",\"name\":\"handler\",\"type\":\"uint16\"},{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"internalType\":\"structInboundQueue.Message\",\"name\":\"message\",\"type\":\"tuple\"},{\"internalType\":\"bytes32[]\",\"name\":\"leafProof\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes\",\"name\":\"headerProof\",\"type\":\"bytes\"}],\"name\":\"submit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"id\",\"type\":\"uint16\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint32\",\"name\":\"gasToForward\",\"type\":\"uint32\"}],\"internalType\":\"structInboundQueue.Handler\",\"name\":\"handler\",\"type\":\"tuple\"}],\"name\":\"updateHandler\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIParachainClient\",\"name\":\"_parachainClient\",\"type\":\"address\"}],\"name\":\"updateParachainClient\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_reward\",\"type\":\"uint256\"}],\"name\":\"updateReward\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIVault\",\"name\":\"_vault\",\"type\":\"address\"}],\"name\":\"updateVault\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"vault\",\"outputs\":[{\"internalType\":\"contractIVault\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

InboundQueueMetaData contains all meta data concerning the InboundQueue contract.

View Source
var OpaqueProofABI = OpaqueProofMetaData.ABI

OpaqueProofABI is the input ABI used to generate the binding from. Deprecated: Use OpaqueProofMetaData.ABI instead.

View Source
var OpaqueProofMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"components\":[{\"internalType\":\"bytes\",\"name\":\"headPrefix\",\"type\":\"bytes\"},{\"internalType\":\"bytes\",\"name\":\"headSuffix\",\"type\":\"bytes\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"pos\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"width\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"proof\",\"type\":\"bytes32[]\"}],\"internalType\":\"structParachainClient.HeadProof\",\"name\":\"headProof\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"},{\"internalType\":\"uint32\",\"name\":\"parentNumber\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"parentHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint64\",\"name\":\"nextAuthoritySetID\",\"type\":\"uint64\"},{\"internalType\":\"uint32\",\"name\":\"nextAuthoritySetLen\",\"type\":\"uint32\"},{\"internalType\":\"bytes32\",\"name\":\"nextAuthoritySetRoot\",\"type\":\"bytes32\"}],\"internalType\":\"structParachainClient.MMRLeafPartial\",\"name\":\"leafPartial\",\"type\":\"tuple\"},{\"internalType\":\"bytes32[]\",\"name\":\"leafProof\",\"type\":\"bytes32[]\"},{\"internalType\":\"uint256\",\"name\":\"leafProofOrder\",\"type\":\"uint256\"}],\"internalType\":\"structParachainClient.Proof\",\"name\":\"proof\",\"type\":\"tuple\"}],\"name\":\"dummy\",\"outputs\":[],\"stateMutability\":\"pure\",\"type\":\"function\"}]",
}

OpaqueProofMetaData contains all meta data concerning the OpaqueProof contract.

View Source
var OutboundQueueABI = OutboundQueueMetaData.ABI

OutboundQueueABI is the input ABI used to generate the binding from. Deprecated: Use OutboundQueueMetaData.ABI instead.

View Source
var OutboundQueueMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractIVault\",\"name\":\"_vault\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_fee\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"FeePaymentToLow\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fee\",\"type\":\"uint256\"}],\"name\":\"FeeUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"ParaID\",\"name\":\"dest\",\"type\":\"uint32\"},{\"indexed\":true,\"internalType\":\"uint64\",\"name\":\"nonce\",\"type\":\"uint64\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"Message\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"SUBMIT_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fee\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ParaID\",\"name\":\"dest\",\"type\":\"uint32\"}],\"name\":\"nonce\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"ParaID\",\"name\":\"dest\",\"type\":\"uint32\"},{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"submit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newFee\",\"type\":\"uint256\"}],\"name\":\"updateFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"vault\",\"outputs\":[{\"internalType\":\"contractIVault\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

OutboundQueueMetaData contains all meta data concerning the OutboundQueue contract.

Functions

This section is empty.

Types

type BeefyClient

type BeefyClient struct {
	BeefyClientCaller     // Read-only binding to the contract
	BeefyClientTransactor // Write-only binding to the contract
	BeefyClientFilterer   // Log filterer for contract events
}

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

func NewBeefyClient

func NewBeefyClient(address common.Address, backend bind.ContractBackend) (*BeefyClient, error)

NewBeefyClient creates a new instance of BeefyClient, bound to a specific deployed contract.

type BeefyClientCaller

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

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

func NewBeefyClientCaller

func NewBeefyClientCaller(address common.Address, caller bind.ContractCaller) (*BeefyClientCaller, error)

NewBeefyClientCaller creates a new read-only instance of BeefyClient, bound to a specific deployed contract.

func (*BeefyClientCaller) CreateFinalBitfield

func (_BeefyClient *BeefyClientCaller) CreateFinalBitfield(opts *bind.CallOpts, commitmentHash [32]byte, bitfield []*big.Int) ([]*big.Int, error)

CreateFinalBitfield is a free data retrieval call binding the contract method 0x8ab81d13.

Solidity: function createFinalBitfield(bytes32 commitmentHash, uint256[] bitfield) view returns(uint256[])

func (*BeefyClientCaller) CreateInitialBitfield

func (_BeefyClient *BeefyClientCaller) CreateInitialBitfield(opts *bind.CallOpts, bitsToSet []*big.Int, length *big.Int) ([]*big.Int, error)

CreateInitialBitfield is a free data retrieval call binding the contract method 0x5da57fe9.

Solidity: function createInitialBitfield(uint256[] bitsToSet, uint256 length) pure returns(uint256[])

func (*BeefyClientCaller) CurrentValidatorSet

func (_BeefyClient *BeefyClientCaller) CurrentValidatorSet(opts *bind.CallOpts) (struct {
	Id     *big.Int
	Length *big.Int
	Root   [32]byte
}, error)

CurrentValidatorSet is a free data retrieval call binding the contract method 0x2cdea717.

Solidity: function currentValidatorSet() view returns(uint128 id, uint128 length, bytes32 root)

func (*BeefyClientCaller) LatestBeefyBlock

func (_BeefyClient *BeefyClientCaller) LatestBeefyBlock(opts *bind.CallOpts) (uint64, error)

LatestBeefyBlock is a free data retrieval call binding the contract method 0x66ae69a0.

Solidity: function latestBeefyBlock() view returns(uint64)

func (*BeefyClientCaller) LatestMMRRoot

func (_BeefyClient *BeefyClientCaller) LatestMMRRoot(opts *bind.CallOpts) ([32]byte, error)

LatestMMRRoot is a free data retrieval call binding the contract method 0x41c9634e.

Solidity: function latestMMRRoot() view returns(bytes32)

func (*BeefyClientCaller) NextValidatorSet

func (_BeefyClient *BeefyClientCaller) NextValidatorSet(opts *bind.CallOpts) (struct {
	Id     *big.Int
	Length *big.Int
	Root   [32]byte
}, error)

NextValidatorSet is a free data retrieval call binding the contract method 0x36667513.

Solidity: function nextValidatorSet() view returns(uint128 id, uint128 length, bytes32 root)

func (*BeefyClientCaller) Owner

func (_BeefyClient *BeefyClientCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*BeefyClientCaller) RandaoCommitDelay

func (_BeefyClient *BeefyClientCaller) RandaoCommitDelay(opts *bind.CallOpts) (*big.Int, error)

RandaoCommitDelay is a free data retrieval call binding the contract method 0x591d99ee.

Solidity: function randaoCommitDelay() view returns(uint256)

func (*BeefyClientCaller) RandaoCommitExpiration

func (_BeefyClient *BeefyClientCaller) RandaoCommitExpiration(opts *bind.CallOpts) (*big.Int, error)

RandaoCommitExpiration is a free data retrieval call binding the contract method 0xad209a9b.

Solidity: function randaoCommitExpiration() view returns(uint256)

func (*BeefyClientCaller) Tasks

func (_BeefyClient *BeefyClientCaller) Tasks(opts *bind.CallOpts, arg0 [32]byte) (struct {
	Account         common.Address
	BlockNumber     uint64
	ValidatorSetLen uint32
	PrevRandao      *big.Int
	BitfieldHash    [32]byte
}, error)

Tasks is a free data retrieval call binding the contract method 0xe579f500.

Solidity: function tasks(bytes32 ) view returns(address account, uint64 blockNumber, uint32 validatorSetLen, uint256 prevRandao, bytes32 bitfieldHash)

func (*BeefyClientCaller) VerifyMMRLeafProof

func (_BeefyClient *BeefyClientCaller) VerifyMMRLeafProof(opts *bind.CallOpts, leafHash [32]byte, proof [][32]byte, proofOrder *big.Int) (bool, error)

VerifyMMRLeafProof is a free data retrieval call binding the contract method 0xa401662b.

Solidity: function verifyMMRLeafProof(bytes32 leafHash, bytes32[] proof, uint256 proofOrder) view returns(bool)

type BeefyClientCallerRaw

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

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

func (*BeefyClientCallerRaw) Call

func (_BeefyClient *BeefyClientCallerRaw) 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 BeefyClientCallerSession

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

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

func (*BeefyClientCallerSession) CreateFinalBitfield

func (_BeefyClient *BeefyClientCallerSession) CreateFinalBitfield(commitmentHash [32]byte, bitfield []*big.Int) ([]*big.Int, error)

CreateFinalBitfield is a free data retrieval call binding the contract method 0x8ab81d13.

Solidity: function createFinalBitfield(bytes32 commitmentHash, uint256[] bitfield) view returns(uint256[])

func (*BeefyClientCallerSession) CreateInitialBitfield

func (_BeefyClient *BeefyClientCallerSession) CreateInitialBitfield(bitsToSet []*big.Int, length *big.Int) ([]*big.Int, error)

CreateInitialBitfield is a free data retrieval call binding the contract method 0x5da57fe9.

Solidity: function createInitialBitfield(uint256[] bitsToSet, uint256 length) pure returns(uint256[])

func (*BeefyClientCallerSession) CurrentValidatorSet

func (_BeefyClient *BeefyClientCallerSession) CurrentValidatorSet() (struct {
	Id     *big.Int
	Length *big.Int
	Root   [32]byte
}, error)

CurrentValidatorSet is a free data retrieval call binding the contract method 0x2cdea717.

Solidity: function currentValidatorSet() view returns(uint128 id, uint128 length, bytes32 root)

func (*BeefyClientCallerSession) LatestBeefyBlock

func (_BeefyClient *BeefyClientCallerSession) LatestBeefyBlock() (uint64, error)

LatestBeefyBlock is a free data retrieval call binding the contract method 0x66ae69a0.

Solidity: function latestBeefyBlock() view returns(uint64)

func (*BeefyClientCallerSession) LatestMMRRoot

func (_BeefyClient *BeefyClientCallerSession) LatestMMRRoot() ([32]byte, error)

LatestMMRRoot is a free data retrieval call binding the contract method 0x41c9634e.

Solidity: function latestMMRRoot() view returns(bytes32)

func (*BeefyClientCallerSession) NextValidatorSet

func (_BeefyClient *BeefyClientCallerSession) NextValidatorSet() (struct {
	Id     *big.Int
	Length *big.Int
	Root   [32]byte
}, error)

NextValidatorSet is a free data retrieval call binding the contract method 0x36667513.

Solidity: function nextValidatorSet() view returns(uint128 id, uint128 length, bytes32 root)

func (*BeefyClientCallerSession) Owner

func (_BeefyClient *BeefyClientCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*BeefyClientCallerSession) RandaoCommitDelay

func (_BeefyClient *BeefyClientCallerSession) RandaoCommitDelay() (*big.Int, error)

RandaoCommitDelay is a free data retrieval call binding the contract method 0x591d99ee.

Solidity: function randaoCommitDelay() view returns(uint256)

func (*BeefyClientCallerSession) RandaoCommitExpiration

func (_BeefyClient *BeefyClientCallerSession) RandaoCommitExpiration() (*big.Int, error)

RandaoCommitExpiration is a free data retrieval call binding the contract method 0xad209a9b.

Solidity: function randaoCommitExpiration() view returns(uint256)

func (*BeefyClientCallerSession) Tasks

func (_BeefyClient *BeefyClientCallerSession) Tasks(arg0 [32]byte) (struct {
	Account         common.Address
	BlockNumber     uint64
	ValidatorSetLen uint32
	PrevRandao      *big.Int
	BitfieldHash    [32]byte
}, error)

Tasks is a free data retrieval call binding the contract method 0xe579f500.

Solidity: function tasks(bytes32 ) view returns(address account, uint64 blockNumber, uint32 validatorSetLen, uint256 prevRandao, bytes32 bitfieldHash)

func (*BeefyClientCallerSession) VerifyMMRLeafProof

func (_BeefyClient *BeefyClientCallerSession) VerifyMMRLeafProof(leafHash [32]byte, proof [][32]byte, proofOrder *big.Int) (bool, error)

VerifyMMRLeafProof is a free data retrieval call binding the contract method 0xa401662b.

Solidity: function verifyMMRLeafProof(bytes32 leafHash, bytes32[] proof, uint256 proofOrder) view returns(bool)

type BeefyClientCommitment

type BeefyClientCommitment struct {
	BlockNumber    uint32
	ValidatorSetID uint64
	Payload        BeefyClientPayload
}

BeefyClientCommitment is an auto generated low-level Go binding around an user-defined struct.

type BeefyClientFilterer

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

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

func NewBeefyClientFilterer

func NewBeefyClientFilterer(address common.Address, filterer bind.ContractFilterer) (*BeefyClientFilterer, error)

NewBeefyClientFilterer creates a new log filterer instance of BeefyClient, bound to a specific deployed contract.

func (*BeefyClientFilterer) FilterNewMMRRoot

func (_BeefyClient *BeefyClientFilterer) FilterNewMMRRoot(opts *bind.FilterOpts) (*BeefyClientNewMMRRootIterator, error)

FilterNewMMRRoot is a free log retrieval operation binding the contract event 0xd95fe1258d152dc91c81b09380498adc76ed36a6079bcb2ed31eff622ae2d0f1.

Solidity: event NewMMRRoot(bytes32 mmrRoot, uint64 blockNumber)

func (*BeefyClientFilterer) FilterOwnershipTransferred

func (_BeefyClient *BeefyClientFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*BeefyClientOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*BeefyClientFilterer) ParseNewMMRRoot

func (_BeefyClient *BeefyClientFilterer) ParseNewMMRRoot(log types.Log) (*BeefyClientNewMMRRoot, error)

ParseNewMMRRoot is a log parse operation binding the contract event 0xd95fe1258d152dc91c81b09380498adc76ed36a6079bcb2ed31eff622ae2d0f1.

Solidity: event NewMMRRoot(bytes32 mmrRoot, uint64 blockNumber)

func (*BeefyClientFilterer) ParseOwnershipTransferred

func (_BeefyClient *BeefyClientFilterer) ParseOwnershipTransferred(log types.Log) (*BeefyClientOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*BeefyClientFilterer) WatchNewMMRRoot

func (_BeefyClient *BeefyClientFilterer) WatchNewMMRRoot(opts *bind.WatchOpts, sink chan<- *BeefyClientNewMMRRoot) (event.Subscription, error)

WatchNewMMRRoot is a free log subscription operation binding the contract event 0xd95fe1258d152dc91c81b09380498adc76ed36a6079bcb2ed31eff622ae2d0f1.

Solidity: event NewMMRRoot(bytes32 mmrRoot, uint64 blockNumber)

func (*BeefyClientFilterer) WatchOwnershipTransferred

func (_BeefyClient *BeefyClientFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *BeefyClientOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

type BeefyClientMMRLeaf

type BeefyClientMMRLeaf struct {
	Version              uint8
	ParentNumber         uint32
	ParentHash           [32]byte
	NextAuthoritySetID   uint64
	NextAuthoritySetLen  uint32
	NextAuthoritySetRoot [32]byte
	ParachainHeadsRoot   [32]byte
}

BeefyClientMMRLeaf is an auto generated low-level Go binding around an user-defined struct.

type BeefyClientNewMMRRoot

type BeefyClientNewMMRRoot struct {
	MmrRoot     [32]byte
	BlockNumber uint64
	Raw         types.Log // Blockchain specific contextual infos
}

BeefyClientNewMMRRoot represents a NewMMRRoot event raised by the BeefyClient contract.

type BeefyClientNewMMRRootIterator

type BeefyClientNewMMRRootIterator struct {
	Event *BeefyClientNewMMRRoot // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BeefyClientNewMMRRootIterator is returned from FilterNewMMRRoot and is used to iterate over the raw logs and unpacked data for NewMMRRoot events raised by the BeefyClient contract.

func (*BeefyClientNewMMRRootIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BeefyClientNewMMRRootIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BeefyClientNewMMRRootIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BeefyClientOwnershipTransferred

type BeefyClientOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

BeefyClientOwnershipTransferred represents a OwnershipTransferred event raised by the BeefyClient contract.

type BeefyClientOwnershipTransferredIterator

type BeefyClientOwnershipTransferredIterator struct {
	Event *BeefyClientOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BeefyClientOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the BeefyClient contract.

func (*BeefyClientOwnershipTransferredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BeefyClientOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BeefyClientOwnershipTransferredIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BeefyClientPayload

type BeefyClientPayload struct {
	MmrRootHash [32]byte
	Prefix      []byte
	Suffix      []byte
}

BeefyClientPayload is an auto generated low-level Go binding around an user-defined struct.

type BeefyClientRaw

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

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

func (*BeefyClientRaw) Call

func (_BeefyClient *BeefyClientRaw) 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 (*BeefyClientRaw) Transact

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

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

func (*BeefyClientRaw) Transfer

func (_BeefyClient *BeefyClientRaw) 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 BeefyClientSession

type BeefyClientSession struct {
	Contract     *BeefyClient      // 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
}

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

func (*BeefyClientSession) CommitPrevRandao

func (_BeefyClient *BeefyClientSession) CommitPrevRandao(commitmentHash [32]byte) (*types.Transaction, error)

CommitPrevRandao is a paid mutator transaction binding the contract method 0xa77cf3d2.

Solidity: function commitPrevRandao(bytes32 commitmentHash) returns()

func (*BeefyClientSession) CreateFinalBitfield

func (_BeefyClient *BeefyClientSession) CreateFinalBitfield(commitmentHash [32]byte, bitfield []*big.Int) ([]*big.Int, error)

CreateFinalBitfield is a free data retrieval call binding the contract method 0x8ab81d13.

Solidity: function createFinalBitfield(bytes32 commitmentHash, uint256[] bitfield) view returns(uint256[])

func (*BeefyClientSession) CreateInitialBitfield

func (_BeefyClient *BeefyClientSession) CreateInitialBitfield(bitsToSet []*big.Int, length *big.Int) ([]*big.Int, error)

CreateInitialBitfield is a free data retrieval call binding the contract method 0x5da57fe9.

Solidity: function createInitialBitfield(uint256[] bitsToSet, uint256 length) pure returns(uint256[])

func (*BeefyClientSession) CurrentValidatorSet

func (_BeefyClient *BeefyClientSession) CurrentValidatorSet() (struct {
	Id     *big.Int
	Length *big.Int
	Root   [32]byte
}, error)

CurrentValidatorSet is a free data retrieval call binding the contract method 0x2cdea717.

Solidity: function currentValidatorSet() view returns(uint128 id, uint128 length, bytes32 root)

func (*BeefyClientSession) Initialize

func (_BeefyClient *BeefyClientSession) Initialize(_initialBeefyBlock uint64, _initialValidatorSet BeefyClientValidatorSet, _nextValidatorSet BeefyClientValidatorSet) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xe104815d.

Solidity: function initialize(uint64 _initialBeefyBlock, (uint128,uint128,bytes32) _initialValidatorSet, (uint128,uint128,bytes32) _nextValidatorSet) returns()

func (*BeefyClientSession) LatestBeefyBlock

func (_BeefyClient *BeefyClientSession) LatestBeefyBlock() (uint64, error)

LatestBeefyBlock is a free data retrieval call binding the contract method 0x66ae69a0.

Solidity: function latestBeefyBlock() view returns(uint64)

func (*BeefyClientSession) LatestMMRRoot

func (_BeefyClient *BeefyClientSession) LatestMMRRoot() ([32]byte, error)

LatestMMRRoot is a free data retrieval call binding the contract method 0x41c9634e.

Solidity: function latestMMRRoot() view returns(bytes32)

func (*BeefyClientSession) NextValidatorSet

func (_BeefyClient *BeefyClientSession) NextValidatorSet() (struct {
	Id     *big.Int
	Length *big.Int
	Root   [32]byte
}, error)

NextValidatorSet is a free data retrieval call binding the contract method 0x36667513.

Solidity: function nextValidatorSet() view returns(uint128 id, uint128 length, bytes32 root)

func (*BeefyClientSession) Owner

func (_BeefyClient *BeefyClientSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*BeefyClientSession) RandaoCommitDelay

func (_BeefyClient *BeefyClientSession) RandaoCommitDelay() (*big.Int, error)

RandaoCommitDelay is a free data retrieval call binding the contract method 0x591d99ee.

Solidity: function randaoCommitDelay() view returns(uint256)

func (*BeefyClientSession) RandaoCommitExpiration

func (_BeefyClient *BeefyClientSession) RandaoCommitExpiration() (*big.Int, error)

RandaoCommitExpiration is a free data retrieval call binding the contract method 0xad209a9b.

Solidity: function randaoCommitExpiration() view returns(uint256)

func (*BeefyClientSession) RenounceOwnership

func (_BeefyClient *BeefyClientSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*BeefyClientSession) SubmitFinal

func (_BeefyClient *BeefyClientSession) SubmitFinal(commitment BeefyClientCommitment, bitfield []*big.Int, proofs []BeefyClientValidatorProof) (*types.Transaction, error)

SubmitFinal is a paid mutator transaction binding the contract method 0xc46af85d.

Solidity: function submitFinal((uint32,uint64,(bytes32,bytes,bytes)) commitment, uint256[] bitfield, (uint8,bytes32,bytes32,uint256,address,bytes32[])[] proofs) returns()

func (*BeefyClientSession) SubmitFinalWithHandover

func (_BeefyClient *BeefyClientSession) SubmitFinalWithHandover(commitment BeefyClientCommitment, bitfield []*big.Int, proofs []BeefyClientValidatorProof, leaf BeefyClientMMRLeaf, leafProof [][32]byte, leafProofOrder *big.Int) (*types.Transaction, error)

SubmitFinalWithHandover is a paid mutator transaction binding the contract method 0x8114d5e8.

Solidity: function submitFinalWithHandover((uint32,uint64,(bytes32,bytes,bytes)) commitment, uint256[] bitfield, (uint8,bytes32,bytes32,uint256,address,bytes32[])[] proofs, (uint8,uint32,bytes32,uint64,uint32,bytes32,bytes32) leaf, bytes32[] leafProof, uint256 leafProofOrder) returns()

func (*BeefyClientSession) SubmitInitial

func (_BeefyClient *BeefyClientSession) SubmitInitial(commitmentHash [32]byte, bitfield []*big.Int, proof BeefyClientValidatorProof) (*types.Transaction, error)

SubmitInitial is a paid mutator transaction binding the contract method 0x06a9eff7.

Solidity: function submitInitial(bytes32 commitmentHash, uint256[] bitfield, (uint8,bytes32,bytes32,uint256,address,bytes32[]) proof) payable returns()

func (*BeefyClientSession) SubmitInitialWithHandover

func (_BeefyClient *BeefyClientSession) SubmitInitialWithHandover(commitmentHash [32]byte, bitfield []*big.Int, proof BeefyClientValidatorProof) (*types.Transaction, error)

SubmitInitialWithHandover is a paid mutator transaction binding the contract method 0x61de6237.

Solidity: function submitInitialWithHandover(bytes32 commitmentHash, uint256[] bitfield, (uint8,bytes32,bytes32,uint256,address,bytes32[]) proof) payable returns()

func (*BeefyClientSession) Tasks

func (_BeefyClient *BeefyClientSession) Tasks(arg0 [32]byte) (struct {
	Account         common.Address
	BlockNumber     uint64
	ValidatorSetLen uint32
	PrevRandao      *big.Int
	BitfieldHash    [32]byte
}, error)

Tasks is a free data retrieval call binding the contract method 0xe579f500.

Solidity: function tasks(bytes32 ) view returns(address account, uint64 blockNumber, uint32 validatorSetLen, uint256 prevRandao, bytes32 bitfieldHash)

func (*BeefyClientSession) TransferOwnership

func (_BeefyClient *BeefyClientSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*BeefyClientSession) VerifyMMRLeafProof

func (_BeefyClient *BeefyClientSession) VerifyMMRLeafProof(leafHash [32]byte, proof [][32]byte, proofOrder *big.Int) (bool, error)

VerifyMMRLeafProof is a free data retrieval call binding the contract method 0xa401662b.

Solidity: function verifyMMRLeafProof(bytes32 leafHash, bytes32[] proof, uint256 proofOrder) view returns(bool)

type BeefyClientTransactor

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

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

func NewBeefyClientTransactor

func NewBeefyClientTransactor(address common.Address, transactor bind.ContractTransactor) (*BeefyClientTransactor, error)

NewBeefyClientTransactor creates a new write-only instance of BeefyClient, bound to a specific deployed contract.

func (*BeefyClientTransactor) CommitPrevRandao

func (_BeefyClient *BeefyClientTransactor) CommitPrevRandao(opts *bind.TransactOpts, commitmentHash [32]byte) (*types.Transaction, error)

CommitPrevRandao is a paid mutator transaction binding the contract method 0xa77cf3d2.

Solidity: function commitPrevRandao(bytes32 commitmentHash) returns()

func (*BeefyClientTransactor) Initialize

func (_BeefyClient *BeefyClientTransactor) Initialize(opts *bind.TransactOpts, _initialBeefyBlock uint64, _initialValidatorSet BeefyClientValidatorSet, _nextValidatorSet BeefyClientValidatorSet) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xe104815d.

Solidity: function initialize(uint64 _initialBeefyBlock, (uint128,uint128,bytes32) _initialValidatorSet, (uint128,uint128,bytes32) _nextValidatorSet) returns()

func (*BeefyClientTransactor) RenounceOwnership

func (_BeefyClient *BeefyClientTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*BeefyClientTransactor) SubmitFinal

func (_BeefyClient *BeefyClientTransactor) SubmitFinal(opts *bind.TransactOpts, commitment BeefyClientCommitment, bitfield []*big.Int, proofs []BeefyClientValidatorProof) (*types.Transaction, error)

SubmitFinal is a paid mutator transaction binding the contract method 0xc46af85d.

Solidity: function submitFinal((uint32,uint64,(bytes32,bytes,bytes)) commitment, uint256[] bitfield, (uint8,bytes32,bytes32,uint256,address,bytes32[])[] proofs) returns()

func (*BeefyClientTransactor) SubmitFinalWithHandover

func (_BeefyClient *BeefyClientTransactor) SubmitFinalWithHandover(opts *bind.TransactOpts, commitment BeefyClientCommitment, bitfield []*big.Int, proofs []BeefyClientValidatorProof, leaf BeefyClientMMRLeaf, leafProof [][32]byte, leafProofOrder *big.Int) (*types.Transaction, error)

SubmitFinalWithHandover is a paid mutator transaction binding the contract method 0x8114d5e8.

Solidity: function submitFinalWithHandover((uint32,uint64,(bytes32,bytes,bytes)) commitment, uint256[] bitfield, (uint8,bytes32,bytes32,uint256,address,bytes32[])[] proofs, (uint8,uint32,bytes32,uint64,uint32,bytes32,bytes32) leaf, bytes32[] leafProof, uint256 leafProofOrder) returns()

func (*BeefyClientTransactor) SubmitInitial

func (_BeefyClient *BeefyClientTransactor) SubmitInitial(opts *bind.TransactOpts, commitmentHash [32]byte, bitfield []*big.Int, proof BeefyClientValidatorProof) (*types.Transaction, error)

SubmitInitial is a paid mutator transaction binding the contract method 0x06a9eff7.

Solidity: function submitInitial(bytes32 commitmentHash, uint256[] bitfield, (uint8,bytes32,bytes32,uint256,address,bytes32[]) proof) payable returns()

func (*BeefyClientTransactor) SubmitInitialWithHandover

func (_BeefyClient *BeefyClientTransactor) SubmitInitialWithHandover(opts *bind.TransactOpts, commitmentHash [32]byte, bitfield []*big.Int, proof BeefyClientValidatorProof) (*types.Transaction, error)

SubmitInitialWithHandover is a paid mutator transaction binding the contract method 0x61de6237.

Solidity: function submitInitialWithHandover(bytes32 commitmentHash, uint256[] bitfield, (uint8,bytes32,bytes32,uint256,address,bytes32[]) proof) payable returns()

func (*BeefyClientTransactor) TransferOwnership

func (_BeefyClient *BeefyClientTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type BeefyClientTransactorRaw

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

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

func (*BeefyClientTransactorRaw) Transact

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

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

func (*BeefyClientTransactorRaw) Transfer

func (_BeefyClient *BeefyClientTransactorRaw) 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 BeefyClientTransactorSession

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

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

func (*BeefyClientTransactorSession) CommitPrevRandao

func (_BeefyClient *BeefyClientTransactorSession) CommitPrevRandao(commitmentHash [32]byte) (*types.Transaction, error)

CommitPrevRandao is a paid mutator transaction binding the contract method 0xa77cf3d2.

Solidity: function commitPrevRandao(bytes32 commitmentHash) returns()

func (*BeefyClientTransactorSession) Initialize

func (_BeefyClient *BeefyClientTransactorSession) Initialize(_initialBeefyBlock uint64, _initialValidatorSet BeefyClientValidatorSet, _nextValidatorSet BeefyClientValidatorSet) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xe104815d.

Solidity: function initialize(uint64 _initialBeefyBlock, (uint128,uint128,bytes32) _initialValidatorSet, (uint128,uint128,bytes32) _nextValidatorSet) returns()

func (*BeefyClientTransactorSession) RenounceOwnership

func (_BeefyClient *BeefyClientTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*BeefyClientTransactorSession) SubmitFinal

func (_BeefyClient *BeefyClientTransactorSession) SubmitFinal(commitment BeefyClientCommitment, bitfield []*big.Int, proofs []BeefyClientValidatorProof) (*types.Transaction, error)

SubmitFinal is a paid mutator transaction binding the contract method 0xc46af85d.

Solidity: function submitFinal((uint32,uint64,(bytes32,bytes,bytes)) commitment, uint256[] bitfield, (uint8,bytes32,bytes32,uint256,address,bytes32[])[] proofs) returns()

func (*BeefyClientTransactorSession) SubmitFinalWithHandover

func (_BeefyClient *BeefyClientTransactorSession) SubmitFinalWithHandover(commitment BeefyClientCommitment, bitfield []*big.Int, proofs []BeefyClientValidatorProof, leaf BeefyClientMMRLeaf, leafProof [][32]byte, leafProofOrder *big.Int) (*types.Transaction, error)

SubmitFinalWithHandover is a paid mutator transaction binding the contract method 0x8114d5e8.

Solidity: function submitFinalWithHandover((uint32,uint64,(bytes32,bytes,bytes)) commitment, uint256[] bitfield, (uint8,bytes32,bytes32,uint256,address,bytes32[])[] proofs, (uint8,uint32,bytes32,uint64,uint32,bytes32,bytes32) leaf, bytes32[] leafProof, uint256 leafProofOrder) returns()

func (*BeefyClientTransactorSession) SubmitInitial

func (_BeefyClient *BeefyClientTransactorSession) SubmitInitial(commitmentHash [32]byte, bitfield []*big.Int, proof BeefyClientValidatorProof) (*types.Transaction, error)

SubmitInitial is a paid mutator transaction binding the contract method 0x06a9eff7.

Solidity: function submitInitial(bytes32 commitmentHash, uint256[] bitfield, (uint8,bytes32,bytes32,uint256,address,bytes32[]) proof) payable returns()

func (*BeefyClientTransactorSession) SubmitInitialWithHandover

func (_BeefyClient *BeefyClientTransactorSession) SubmitInitialWithHandover(commitmentHash [32]byte, bitfield []*big.Int, proof BeefyClientValidatorProof) (*types.Transaction, error)

SubmitInitialWithHandover is a paid mutator transaction binding the contract method 0x61de6237.

Solidity: function submitInitialWithHandover(bytes32 commitmentHash, uint256[] bitfield, (uint8,bytes32,bytes32,uint256,address,bytes32[]) proof) payable returns()

func (*BeefyClientTransactorSession) TransferOwnership

func (_BeefyClient *BeefyClientTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

type BeefyClientValidatorProof

type BeefyClientValidatorProof struct {
	V       uint8
	R       [32]byte
	S       [32]byte
	Index   *big.Int
	Account common.Address
	Proof   [][32]byte
}

BeefyClientValidatorProof is an auto generated low-level Go binding around an user-defined struct.

type BeefyClientValidatorSet

type BeefyClientValidatorSet struct {
	Id     *big.Int
	Length *big.Int
	Root   [32]byte
}

BeefyClientValidatorSet is an auto generated low-level Go binding around an user-defined struct.

type InboundQueue

type InboundQueue struct {
	InboundQueueCaller     // Read-only binding to the contract
	InboundQueueTransactor // Write-only binding to the contract
	InboundQueueFilterer   // Log filterer for contract events
}

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

func NewInboundQueue

func NewInboundQueue(address common.Address, backend bind.ContractBackend) (*InboundQueue, error)

NewInboundQueue creates a new instance of InboundQueue, bound to a specific deployed contract.

type InboundQueueCaller

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

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

func NewInboundQueueCaller

func NewInboundQueueCaller(address common.Address, caller bind.ContractCaller) (*InboundQueueCaller, error)

NewInboundQueueCaller creates a new read-only instance of InboundQueue, bound to a specific deployed contract.

func (*InboundQueueCaller) ADMINROLE

func (_InboundQueue *InboundQueueCaller) ADMINROLE(opts *bind.CallOpts) ([32]byte, error)

ADMINROLE is a free data retrieval call binding the contract method 0x75b238fc.

Solidity: function ADMIN_ROLE() view returns(bytes32)

func (*InboundQueueCaller) DEFAULTADMINROLE

func (_InboundQueue *InboundQueueCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*InboundQueueCaller) GASBUFFER

func (_InboundQueue *InboundQueueCaller) GASBUFFER(opts *bind.CallOpts) (*big.Int, error)

GASBUFFER is a free data retrieval call binding the contract method 0xc7e67360.

Solidity: function GAS_BUFFER() view returns(uint256)

func (*InboundQueueCaller) GetRoleAdmin

func (_InboundQueue *InboundQueueCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*InboundQueueCaller) Handlers

func (_InboundQueue *InboundQueueCaller) Handlers(opts *bind.CallOpts, handlerID uint16) (struct {
	Recipient    common.Address
	GasToForward uint32
}, error)

Handlers is a free data retrieval call binding the contract method 0x0d20fb87.

Solidity: function handlers(uint16 handlerID) view returns(address recipient, uint32 gasToForward)

func (*InboundQueueCaller) HasRole

func (_InboundQueue *InboundQueueCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*InboundQueueCaller) Nonce

func (_InboundQueue *InboundQueueCaller) Nonce(opts *bind.CallOpts, origin uint32) (uint64, error)

Nonce is a free data retrieval call binding the contract method 0x141c4985.

Solidity: function nonce(uint32 origin) view returns(uint64)

func (*InboundQueueCaller) ParachainClient

func (_InboundQueue *InboundQueueCaller) ParachainClient(opts *bind.CallOpts) (common.Address, error)

ParachainClient is a free data retrieval call binding the contract method 0x1674f9b7.

Solidity: function parachainClient() view returns(address)

func (*InboundQueueCaller) Reward

func (_InboundQueue *InboundQueueCaller) Reward(opts *bind.CallOpts) (*big.Int, error)

Reward is a free data retrieval call binding the contract method 0x228cb733.

Solidity: function reward() view returns(uint256)

func (*InboundQueueCaller) SupportsInterface

func (_InboundQueue *InboundQueueCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*InboundQueueCaller) Vault

func (_InboundQueue *InboundQueueCaller) Vault(opts *bind.CallOpts) (common.Address, error)

Vault is a free data retrieval call binding the contract method 0xfbfa77cf.

Solidity: function vault() view returns(address)

type InboundQueueCallerRaw

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

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

func (*InboundQueueCallerRaw) Call

func (_InboundQueue *InboundQueueCallerRaw) 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 InboundQueueCallerSession

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

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

func (*InboundQueueCallerSession) ADMINROLE

func (_InboundQueue *InboundQueueCallerSession) ADMINROLE() ([32]byte, error)

ADMINROLE is a free data retrieval call binding the contract method 0x75b238fc.

Solidity: function ADMIN_ROLE() view returns(bytes32)

func (*InboundQueueCallerSession) DEFAULTADMINROLE

func (_InboundQueue *InboundQueueCallerSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*InboundQueueCallerSession) GASBUFFER

func (_InboundQueue *InboundQueueCallerSession) GASBUFFER() (*big.Int, error)

GASBUFFER is a free data retrieval call binding the contract method 0xc7e67360.

Solidity: function GAS_BUFFER() view returns(uint256)

func (*InboundQueueCallerSession) GetRoleAdmin

func (_InboundQueue *InboundQueueCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*InboundQueueCallerSession) Handlers

func (_InboundQueue *InboundQueueCallerSession) Handlers(handlerID uint16) (struct {
	Recipient    common.Address
	GasToForward uint32
}, error)

Handlers is a free data retrieval call binding the contract method 0x0d20fb87.

Solidity: function handlers(uint16 handlerID) view returns(address recipient, uint32 gasToForward)

func (*InboundQueueCallerSession) HasRole

func (_InboundQueue *InboundQueueCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*InboundQueueCallerSession) Nonce

func (_InboundQueue *InboundQueueCallerSession) Nonce(origin uint32) (uint64, error)

Nonce is a free data retrieval call binding the contract method 0x141c4985.

Solidity: function nonce(uint32 origin) view returns(uint64)

func (*InboundQueueCallerSession) ParachainClient

func (_InboundQueue *InboundQueueCallerSession) ParachainClient() (common.Address, error)

ParachainClient is a free data retrieval call binding the contract method 0x1674f9b7.

Solidity: function parachainClient() view returns(address)

func (*InboundQueueCallerSession) Reward

func (_InboundQueue *InboundQueueCallerSession) Reward() (*big.Int, error)

Reward is a free data retrieval call binding the contract method 0x228cb733.

Solidity: function reward() view returns(uint256)

func (*InboundQueueCallerSession) SupportsInterface

func (_InboundQueue *InboundQueueCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*InboundQueueCallerSession) Vault

func (_InboundQueue *InboundQueueCallerSession) Vault() (common.Address, error)

Vault is a free data retrieval call binding the contract method 0xfbfa77cf.

Solidity: function vault() view returns(address)

type InboundQueueDispatchResult

type InboundQueueDispatchResult struct {
	Status uint8
	Reason []byte
}

InboundQueueDispatchResult is an auto generated low-level Go binding around an user-defined struct.

type InboundQueueFilterer

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

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

func NewInboundQueueFilterer

func NewInboundQueueFilterer(address common.Address, filterer bind.ContractFilterer) (*InboundQueueFilterer, error)

NewInboundQueueFilterer creates a new log filterer instance of InboundQueue, bound to a specific deployed contract.

func (*InboundQueueFilterer) FilterHandlerUpdated

func (_InboundQueue *InboundQueueFilterer) FilterHandlerUpdated(opts *bind.FilterOpts) (*InboundQueueHandlerUpdatedIterator, error)

FilterHandlerUpdated is a free log retrieval operation binding the contract event 0x6c2fc0cb577f29b9193278b7dacc4fb7e2e96a881a16c58e9fb8b4a60ad44c02.

Solidity: event HandlerUpdated(uint16 id, (address,uint32) handler)

func (*InboundQueueFilterer) FilterMessageDispatched

func (_InboundQueue *InboundQueueFilterer) FilterMessageDispatched(opts *bind.FilterOpts, origin []uint32, nonce []uint64) (*InboundQueueMessageDispatchedIterator, error)

FilterMessageDispatched is a free log retrieval operation binding the contract event 0xfe994320f30edf6213b4278a312807d89cd54c2af4cba2fd530fc0267668f967.

Solidity: event MessageDispatched(uint32 indexed origin, uint64 indexed nonce, (uint8,bytes) result)

func (*InboundQueueFilterer) FilterParachainClientUpdated

func (_InboundQueue *InboundQueueFilterer) FilterParachainClientUpdated(opts *bind.FilterOpts) (*InboundQueueParachainClientUpdatedIterator, error)

FilterParachainClientUpdated is a free log retrieval operation binding the contract event 0x2eb3efb9388b586c251856bc1b31af67a4015796cf665e600df15d2a42e2ba41.

Solidity: event ParachainClientUpdated(address parachainClient)

func (*InboundQueueFilterer) FilterRewardUpdated

func (_InboundQueue *InboundQueueFilterer) FilterRewardUpdated(opts *bind.FilterOpts) (*InboundQueueRewardUpdatedIterator, error)

FilterRewardUpdated is a free log retrieval operation binding the contract event 0xcb94909754d27c309adf4167150f1f7aa04de40b6a0e6bb98b2ae80a2bf438f6.

Solidity: event RewardUpdated(uint256 reward)

func (*InboundQueueFilterer) FilterRoleAdminChanged

func (_InboundQueue *InboundQueueFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*InboundQueueRoleAdminChangedIterator, error)

FilterRoleAdminChanged is a free log retrieval operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*InboundQueueFilterer) FilterRoleGranted

func (_InboundQueue *InboundQueueFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*InboundQueueRoleGrantedIterator, error)

FilterRoleGranted is a free log retrieval operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*InboundQueueFilterer) FilterRoleRevoked

func (_InboundQueue *InboundQueueFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*InboundQueueRoleRevokedIterator, error)

FilterRoleRevoked is a free log retrieval operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*InboundQueueFilterer) FilterVaultUpdated

func (_InboundQueue *InboundQueueFilterer) FilterVaultUpdated(opts *bind.FilterOpts) (*InboundQueueVaultUpdatedIterator, error)

FilterVaultUpdated is a free log retrieval operation binding the contract event 0x161584aed96e7f34998117c9ad67e2d21ff46d2a42775c22b11ed282f3c7b2cd.

Solidity: event VaultUpdated(address vault)

func (*InboundQueueFilterer) ParseHandlerUpdated

func (_InboundQueue *InboundQueueFilterer) ParseHandlerUpdated(log types.Log) (*InboundQueueHandlerUpdated, error)

ParseHandlerUpdated is a log parse operation binding the contract event 0x6c2fc0cb577f29b9193278b7dacc4fb7e2e96a881a16c58e9fb8b4a60ad44c02.

Solidity: event HandlerUpdated(uint16 id, (address,uint32) handler)

func (*InboundQueueFilterer) ParseMessageDispatched

func (_InboundQueue *InboundQueueFilterer) ParseMessageDispatched(log types.Log) (*InboundQueueMessageDispatched, error)

ParseMessageDispatched is a log parse operation binding the contract event 0xfe994320f30edf6213b4278a312807d89cd54c2af4cba2fd530fc0267668f967.

Solidity: event MessageDispatched(uint32 indexed origin, uint64 indexed nonce, (uint8,bytes) result)

func (*InboundQueueFilterer) ParseParachainClientUpdated

func (_InboundQueue *InboundQueueFilterer) ParseParachainClientUpdated(log types.Log) (*InboundQueueParachainClientUpdated, error)

ParseParachainClientUpdated is a log parse operation binding the contract event 0x2eb3efb9388b586c251856bc1b31af67a4015796cf665e600df15d2a42e2ba41.

Solidity: event ParachainClientUpdated(address parachainClient)

func (*InboundQueueFilterer) ParseRewardUpdated

func (_InboundQueue *InboundQueueFilterer) ParseRewardUpdated(log types.Log) (*InboundQueueRewardUpdated, error)

ParseRewardUpdated is a log parse operation binding the contract event 0xcb94909754d27c309adf4167150f1f7aa04de40b6a0e6bb98b2ae80a2bf438f6.

Solidity: event RewardUpdated(uint256 reward)

func (*InboundQueueFilterer) ParseRoleAdminChanged

func (_InboundQueue *InboundQueueFilterer) ParseRoleAdminChanged(log types.Log) (*InboundQueueRoleAdminChanged, error)

ParseRoleAdminChanged is a log parse operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*InboundQueueFilterer) ParseRoleGranted

func (_InboundQueue *InboundQueueFilterer) ParseRoleGranted(log types.Log) (*InboundQueueRoleGranted, error)

ParseRoleGranted is a log parse operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*InboundQueueFilterer) ParseRoleRevoked

func (_InboundQueue *InboundQueueFilterer) ParseRoleRevoked(log types.Log) (*InboundQueueRoleRevoked, error)

ParseRoleRevoked is a log parse operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*InboundQueueFilterer) ParseVaultUpdated

func (_InboundQueue *InboundQueueFilterer) ParseVaultUpdated(log types.Log) (*InboundQueueVaultUpdated, error)

ParseVaultUpdated is a log parse operation binding the contract event 0x161584aed96e7f34998117c9ad67e2d21ff46d2a42775c22b11ed282f3c7b2cd.

Solidity: event VaultUpdated(address vault)

func (*InboundQueueFilterer) WatchHandlerUpdated

func (_InboundQueue *InboundQueueFilterer) WatchHandlerUpdated(opts *bind.WatchOpts, sink chan<- *InboundQueueHandlerUpdated) (event.Subscription, error)

WatchHandlerUpdated is a free log subscription operation binding the contract event 0x6c2fc0cb577f29b9193278b7dacc4fb7e2e96a881a16c58e9fb8b4a60ad44c02.

Solidity: event HandlerUpdated(uint16 id, (address,uint32) handler)

func (*InboundQueueFilterer) WatchMessageDispatched

func (_InboundQueue *InboundQueueFilterer) WatchMessageDispatched(opts *bind.WatchOpts, sink chan<- *InboundQueueMessageDispatched, origin []uint32, nonce []uint64) (event.Subscription, error)

WatchMessageDispatched is a free log subscription operation binding the contract event 0xfe994320f30edf6213b4278a312807d89cd54c2af4cba2fd530fc0267668f967.

Solidity: event MessageDispatched(uint32 indexed origin, uint64 indexed nonce, (uint8,bytes) result)

func (*InboundQueueFilterer) WatchParachainClientUpdated

func (_InboundQueue *InboundQueueFilterer) WatchParachainClientUpdated(opts *bind.WatchOpts, sink chan<- *InboundQueueParachainClientUpdated) (event.Subscription, error)

WatchParachainClientUpdated is a free log subscription operation binding the contract event 0x2eb3efb9388b586c251856bc1b31af67a4015796cf665e600df15d2a42e2ba41.

Solidity: event ParachainClientUpdated(address parachainClient)

func (*InboundQueueFilterer) WatchRewardUpdated

func (_InboundQueue *InboundQueueFilterer) WatchRewardUpdated(opts *bind.WatchOpts, sink chan<- *InboundQueueRewardUpdated) (event.Subscription, error)

WatchRewardUpdated is a free log subscription operation binding the contract event 0xcb94909754d27c309adf4167150f1f7aa04de40b6a0e6bb98b2ae80a2bf438f6.

Solidity: event RewardUpdated(uint256 reward)

func (*InboundQueueFilterer) WatchRoleAdminChanged

func (_InboundQueue *InboundQueueFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *InboundQueueRoleAdminChanged, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (event.Subscription, error)

WatchRoleAdminChanged is a free log subscription operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*InboundQueueFilterer) WatchRoleGranted

func (_InboundQueue *InboundQueueFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *InboundQueueRoleGranted, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleGranted is a free log subscription operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*InboundQueueFilterer) WatchRoleRevoked

func (_InboundQueue *InboundQueueFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *InboundQueueRoleRevoked, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleRevoked is a free log subscription operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*InboundQueueFilterer) WatchVaultUpdated

func (_InboundQueue *InboundQueueFilterer) WatchVaultUpdated(opts *bind.WatchOpts, sink chan<- *InboundQueueVaultUpdated) (event.Subscription, error)

WatchVaultUpdated is a free log subscription operation binding the contract event 0x161584aed96e7f34998117c9ad67e2d21ff46d2a42775c22b11ed282f3c7b2cd.

Solidity: event VaultUpdated(address vault)

type InboundQueueHandler

type InboundQueueHandler struct {
	Recipient    common.Address
	GasToForward uint32
}

InboundQueueHandler is an auto generated low-level Go binding around an user-defined struct.

type InboundQueueHandlerUpdated

type InboundQueueHandlerUpdated struct {
	Id      uint16
	Handler InboundQueueHandler
	Raw     types.Log // Blockchain specific contextual infos
}

InboundQueueHandlerUpdated represents a HandlerUpdated event raised by the InboundQueue contract.

type InboundQueueHandlerUpdatedIterator

type InboundQueueHandlerUpdatedIterator struct {
	Event *InboundQueueHandlerUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

InboundQueueHandlerUpdatedIterator is returned from FilterHandlerUpdated and is used to iterate over the raw logs and unpacked data for HandlerUpdated events raised by the InboundQueue contract.

func (*InboundQueueHandlerUpdatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*InboundQueueHandlerUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*InboundQueueHandlerUpdatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type InboundQueueMessage

type InboundQueueMessage struct {
	Origin  uint32
	Nonce   uint64
	Handler uint16
	Payload []byte
}

InboundQueueMessage is an auto generated low-level Go binding around an user-defined struct.

type InboundQueueMessageDispatched

type InboundQueueMessageDispatched struct {
	Origin uint32
	Nonce  uint64
	Result InboundQueueDispatchResult
	Raw    types.Log // Blockchain specific contextual infos
}

InboundQueueMessageDispatched represents a MessageDispatched event raised by the InboundQueue contract.

type InboundQueueMessageDispatchedIterator

type InboundQueueMessageDispatchedIterator struct {
	Event *InboundQueueMessageDispatched // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

InboundQueueMessageDispatchedIterator is returned from FilterMessageDispatched and is used to iterate over the raw logs and unpacked data for MessageDispatched events raised by the InboundQueue contract.

func (*InboundQueueMessageDispatchedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*InboundQueueMessageDispatchedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*InboundQueueMessageDispatchedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type InboundQueueParachainClientUpdated

type InboundQueueParachainClientUpdated struct {
	ParachainClient common.Address
	Raw             types.Log // Blockchain specific contextual infos
}

InboundQueueParachainClientUpdated represents a ParachainClientUpdated event raised by the InboundQueue contract.

type InboundQueueParachainClientUpdatedIterator

type InboundQueueParachainClientUpdatedIterator struct {
	Event *InboundQueueParachainClientUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

InboundQueueParachainClientUpdatedIterator is returned from FilterParachainClientUpdated and is used to iterate over the raw logs and unpacked data for ParachainClientUpdated events raised by the InboundQueue contract.

func (*InboundQueueParachainClientUpdatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*InboundQueueParachainClientUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*InboundQueueParachainClientUpdatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type InboundQueueRaw

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

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

func (*InboundQueueRaw) Call

func (_InboundQueue *InboundQueueRaw) 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 (*InboundQueueRaw) Transact

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

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

func (*InboundQueueRaw) Transfer

func (_InboundQueue *InboundQueueRaw) 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 InboundQueueRewardUpdated

type InboundQueueRewardUpdated struct {
	Reward *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

InboundQueueRewardUpdated represents a RewardUpdated event raised by the InboundQueue contract.

type InboundQueueRewardUpdatedIterator

type InboundQueueRewardUpdatedIterator struct {
	Event *InboundQueueRewardUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

InboundQueueRewardUpdatedIterator is returned from FilterRewardUpdated and is used to iterate over the raw logs and unpacked data for RewardUpdated events raised by the InboundQueue contract.

func (*InboundQueueRewardUpdatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*InboundQueueRewardUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*InboundQueueRewardUpdatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type InboundQueueRoleAdminChanged

type InboundQueueRoleAdminChanged struct {
	Role              [32]byte
	PreviousAdminRole [32]byte
	NewAdminRole      [32]byte
	Raw               types.Log // Blockchain specific contextual infos
}

InboundQueueRoleAdminChanged represents a RoleAdminChanged event raised by the InboundQueue contract.

type InboundQueueRoleAdminChangedIterator

type InboundQueueRoleAdminChangedIterator struct {
	Event *InboundQueueRoleAdminChanged // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

InboundQueueRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the InboundQueue contract.

func (*InboundQueueRoleAdminChangedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*InboundQueueRoleAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*InboundQueueRoleAdminChangedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type InboundQueueRoleGranted

type InboundQueueRoleGranted struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

InboundQueueRoleGranted represents a RoleGranted event raised by the InboundQueue contract.

type InboundQueueRoleGrantedIterator

type InboundQueueRoleGrantedIterator struct {
	Event *InboundQueueRoleGranted // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

InboundQueueRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the InboundQueue contract.

func (*InboundQueueRoleGrantedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*InboundQueueRoleGrantedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*InboundQueueRoleGrantedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type InboundQueueRoleRevoked

type InboundQueueRoleRevoked struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

InboundQueueRoleRevoked represents a RoleRevoked event raised by the InboundQueue contract.

type InboundQueueRoleRevokedIterator

type InboundQueueRoleRevokedIterator struct {
	Event *InboundQueueRoleRevoked // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

InboundQueueRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the InboundQueue contract.

func (*InboundQueueRoleRevokedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*InboundQueueRoleRevokedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*InboundQueueRoleRevokedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type InboundQueueSession

type InboundQueueSession struct {
	Contract     *InboundQueue     // 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
}

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

func (*InboundQueueSession) ADMINROLE

func (_InboundQueue *InboundQueueSession) ADMINROLE() ([32]byte, error)

ADMINROLE is a free data retrieval call binding the contract method 0x75b238fc.

Solidity: function ADMIN_ROLE() view returns(bytes32)

func (*InboundQueueSession) DEFAULTADMINROLE

func (_InboundQueue *InboundQueueSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*InboundQueueSession) GASBUFFER

func (_InboundQueue *InboundQueueSession) GASBUFFER() (*big.Int, error)

GASBUFFER is a free data retrieval call binding the contract method 0xc7e67360.

Solidity: function GAS_BUFFER() view returns(uint256)

func (*InboundQueueSession) GetRoleAdmin

func (_InboundQueue *InboundQueueSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*InboundQueueSession) GrantRole

func (_InboundQueue *InboundQueueSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*InboundQueueSession) Handlers

func (_InboundQueue *InboundQueueSession) Handlers(handlerID uint16) (struct {
	Recipient    common.Address
	GasToForward uint32
}, error)

Handlers is a free data retrieval call binding the contract method 0x0d20fb87.

Solidity: function handlers(uint16 handlerID) view returns(address recipient, uint32 gasToForward)

func (*InboundQueueSession) HasRole

func (_InboundQueue *InboundQueueSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*InboundQueueSession) Nonce

func (_InboundQueue *InboundQueueSession) Nonce(origin uint32) (uint64, error)

Nonce is a free data retrieval call binding the contract method 0x141c4985.

Solidity: function nonce(uint32 origin) view returns(uint64)

func (*InboundQueueSession) ParachainClient

func (_InboundQueue *InboundQueueSession) ParachainClient() (common.Address, error)

ParachainClient is a free data retrieval call binding the contract method 0x1674f9b7.

Solidity: function parachainClient() view returns(address)

func (*InboundQueueSession) RenounceRole

func (_InboundQueue *InboundQueueSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*InboundQueueSession) RevokeRole

func (_InboundQueue *InboundQueueSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*InboundQueueSession) Reward

func (_InboundQueue *InboundQueueSession) Reward() (*big.Int, error)

Reward is a free data retrieval call binding the contract method 0x228cb733.

Solidity: function reward() view returns(uint256)

func (*InboundQueueSession) Submit

func (_InboundQueue *InboundQueueSession) Submit(message InboundQueueMessage, leafProof [][32]byte, headerProof []byte) (*types.Transaction, error)

Submit is a paid mutator transaction binding the contract method 0x052c6867.

Solidity: function submit((uint32,uint64,uint16,bytes) message, bytes32[] leafProof, bytes headerProof) returns()

func (*InboundQueueSession) SupportsInterface

func (_InboundQueue *InboundQueueSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*InboundQueueSession) UpdateHandler

func (_InboundQueue *InboundQueueSession) UpdateHandler(id uint16, handler InboundQueueHandler) (*types.Transaction, error)

UpdateHandler is a paid mutator transaction binding the contract method 0x094440f3.

Solidity: function updateHandler(uint16 id, (address,uint32) handler) returns()

func (*InboundQueueSession) UpdateParachainClient

func (_InboundQueue *InboundQueueSession) UpdateParachainClient(_parachainClient common.Address) (*types.Transaction, error)

UpdateParachainClient is a paid mutator transaction binding the contract method 0x33b9d6ee.

Solidity: function updateParachainClient(address _parachainClient) returns()

func (*InboundQueueSession) UpdateReward

func (_InboundQueue *InboundQueueSession) UpdateReward(_reward *big.Int) (*types.Transaction, error)

UpdateReward is a paid mutator transaction binding the contract method 0x425c8abd.

Solidity: function updateReward(uint256 _reward) returns()

func (*InboundQueueSession) UpdateVault

func (_InboundQueue *InboundQueueSession) UpdateVault(_vault common.Address) (*types.Transaction, error)

UpdateVault is a paid mutator transaction binding the contract method 0xe7563f3f.

Solidity: function updateVault(address _vault) returns()

func (*InboundQueueSession) Vault

func (_InboundQueue *InboundQueueSession) Vault() (common.Address, error)

Vault is a free data retrieval call binding the contract method 0xfbfa77cf.

Solidity: function vault() view returns(address)

type InboundQueueTransactor

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

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

func NewInboundQueueTransactor

func NewInboundQueueTransactor(address common.Address, transactor bind.ContractTransactor) (*InboundQueueTransactor, error)

NewInboundQueueTransactor creates a new write-only instance of InboundQueue, bound to a specific deployed contract.

func (*InboundQueueTransactor) GrantRole

func (_InboundQueue *InboundQueueTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*InboundQueueTransactor) RenounceRole

func (_InboundQueue *InboundQueueTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*InboundQueueTransactor) RevokeRole

func (_InboundQueue *InboundQueueTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*InboundQueueTransactor) Submit

func (_InboundQueue *InboundQueueTransactor) Submit(opts *bind.TransactOpts, message InboundQueueMessage, leafProof [][32]byte, headerProof []byte) (*types.Transaction, error)

Submit is a paid mutator transaction binding the contract method 0x052c6867.

Solidity: function submit((uint32,uint64,uint16,bytes) message, bytes32[] leafProof, bytes headerProof) returns()

func (*InboundQueueTransactor) UpdateHandler

func (_InboundQueue *InboundQueueTransactor) UpdateHandler(opts *bind.TransactOpts, id uint16, handler InboundQueueHandler) (*types.Transaction, error)

UpdateHandler is a paid mutator transaction binding the contract method 0x094440f3.

Solidity: function updateHandler(uint16 id, (address,uint32) handler) returns()

func (*InboundQueueTransactor) UpdateParachainClient

func (_InboundQueue *InboundQueueTransactor) UpdateParachainClient(opts *bind.TransactOpts, _parachainClient common.Address) (*types.Transaction, error)

UpdateParachainClient is a paid mutator transaction binding the contract method 0x33b9d6ee.

Solidity: function updateParachainClient(address _parachainClient) returns()

func (*InboundQueueTransactor) UpdateReward

func (_InboundQueue *InboundQueueTransactor) UpdateReward(opts *bind.TransactOpts, _reward *big.Int) (*types.Transaction, error)

UpdateReward is a paid mutator transaction binding the contract method 0x425c8abd.

Solidity: function updateReward(uint256 _reward) returns()

func (*InboundQueueTransactor) UpdateVault

func (_InboundQueue *InboundQueueTransactor) UpdateVault(opts *bind.TransactOpts, _vault common.Address) (*types.Transaction, error)

UpdateVault is a paid mutator transaction binding the contract method 0xe7563f3f.

Solidity: function updateVault(address _vault) returns()

type InboundQueueTransactorRaw

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

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

func (*InboundQueueTransactorRaw) Transact

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

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

func (*InboundQueueTransactorRaw) Transfer

func (_InboundQueue *InboundQueueTransactorRaw) 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 InboundQueueTransactorSession

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

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

func (*InboundQueueTransactorSession) GrantRole

func (_InboundQueue *InboundQueueTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*InboundQueueTransactorSession) RenounceRole

func (_InboundQueue *InboundQueueTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*InboundQueueTransactorSession) RevokeRole

func (_InboundQueue *InboundQueueTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*InboundQueueTransactorSession) Submit

func (_InboundQueue *InboundQueueTransactorSession) Submit(message InboundQueueMessage, leafProof [][32]byte, headerProof []byte) (*types.Transaction, error)

Submit is a paid mutator transaction binding the contract method 0x052c6867.

Solidity: function submit((uint32,uint64,uint16,bytes) message, bytes32[] leafProof, bytes headerProof) returns()

func (*InboundQueueTransactorSession) UpdateHandler

func (_InboundQueue *InboundQueueTransactorSession) UpdateHandler(id uint16, handler InboundQueueHandler) (*types.Transaction, error)

UpdateHandler is a paid mutator transaction binding the contract method 0x094440f3.

Solidity: function updateHandler(uint16 id, (address,uint32) handler) returns()

func (*InboundQueueTransactorSession) UpdateParachainClient

func (_InboundQueue *InboundQueueTransactorSession) UpdateParachainClient(_parachainClient common.Address) (*types.Transaction, error)

UpdateParachainClient is a paid mutator transaction binding the contract method 0x33b9d6ee.

Solidity: function updateParachainClient(address _parachainClient) returns()

func (*InboundQueueTransactorSession) UpdateReward

func (_InboundQueue *InboundQueueTransactorSession) UpdateReward(_reward *big.Int) (*types.Transaction, error)

UpdateReward is a paid mutator transaction binding the contract method 0x425c8abd.

Solidity: function updateReward(uint256 _reward) returns()

func (*InboundQueueTransactorSession) UpdateVault

func (_InboundQueue *InboundQueueTransactorSession) UpdateVault(_vault common.Address) (*types.Transaction, error)

UpdateVault is a paid mutator transaction binding the contract method 0xe7563f3f.

Solidity: function updateVault(address _vault) returns()

type InboundQueueVaultUpdated

type InboundQueueVaultUpdated struct {
	Vault common.Address
	Raw   types.Log // Blockchain specific contextual infos
}

InboundQueueVaultUpdated represents a VaultUpdated event raised by the InboundQueue contract.

type InboundQueueVaultUpdatedIterator

type InboundQueueVaultUpdatedIterator struct {
	Event *InboundQueueVaultUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

InboundQueueVaultUpdatedIterator is returned from FilterVaultUpdated and is used to iterate over the raw logs and unpacked data for VaultUpdated events raised by the InboundQueue contract.

func (*InboundQueueVaultUpdatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*InboundQueueVaultUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*InboundQueueVaultUpdatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type OpaqueProof

type OpaqueProof struct {
	OpaqueProofCaller     // Read-only binding to the contract
	OpaqueProofTransactor // Write-only binding to the contract
	OpaqueProofFilterer   // Log filterer for contract events
}

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

func NewOpaqueProof

func NewOpaqueProof(address common.Address, backend bind.ContractBackend) (*OpaqueProof, error)

NewOpaqueProof creates a new instance of OpaqueProof, bound to a specific deployed contract.

type OpaqueProofCaller

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

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

func NewOpaqueProofCaller

func NewOpaqueProofCaller(address common.Address, caller bind.ContractCaller) (*OpaqueProofCaller, error)

NewOpaqueProofCaller creates a new read-only instance of OpaqueProof, bound to a specific deployed contract.

func (*OpaqueProofCaller) Dummy

func (_OpaqueProof *OpaqueProofCaller) Dummy(opts *bind.CallOpts, proof ParachainClientProof) error

Dummy is a free data retrieval call binding the contract method 0x821d9b05.

Solidity: function dummy((bytes,bytes,(uint256,uint256,bytes32[]),(uint8,uint32,bytes32,uint64,uint32,bytes32),bytes32[],uint256) proof) pure returns()

type OpaqueProofCallerRaw

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

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

func (*OpaqueProofCallerRaw) Call

func (_OpaqueProof *OpaqueProofCallerRaw) 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 OpaqueProofCallerSession

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

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

func (*OpaqueProofCallerSession) Dummy

func (_OpaqueProof *OpaqueProofCallerSession) Dummy(proof ParachainClientProof) error

Dummy is a free data retrieval call binding the contract method 0x821d9b05.

Solidity: function dummy((bytes,bytes,(uint256,uint256,bytes32[]),(uint8,uint32,bytes32,uint64,uint32,bytes32),bytes32[],uint256) proof) pure returns()

type OpaqueProofFilterer

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

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

func NewOpaqueProofFilterer

func NewOpaqueProofFilterer(address common.Address, filterer bind.ContractFilterer) (*OpaqueProofFilterer, error)

NewOpaqueProofFilterer creates a new log filterer instance of OpaqueProof, bound to a specific deployed contract.

type OpaqueProofRaw

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

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

func (*OpaqueProofRaw) Call

func (_OpaqueProof *OpaqueProofRaw) 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 (*OpaqueProofRaw) Transact

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

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

func (*OpaqueProofRaw) Transfer

func (_OpaqueProof *OpaqueProofRaw) 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 OpaqueProofSession

type OpaqueProofSession struct {
	Contract     *OpaqueProof      // 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
}

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

func (*OpaqueProofSession) Dummy

func (_OpaqueProof *OpaqueProofSession) Dummy(proof ParachainClientProof) error

Dummy is a free data retrieval call binding the contract method 0x821d9b05.

Solidity: function dummy((bytes,bytes,(uint256,uint256,bytes32[]),(uint8,uint32,bytes32,uint64,uint32,bytes32),bytes32[],uint256) proof) pure returns()

type OpaqueProofTransactor

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

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

func NewOpaqueProofTransactor

func NewOpaqueProofTransactor(address common.Address, transactor bind.ContractTransactor) (*OpaqueProofTransactor, error)

NewOpaqueProofTransactor creates a new write-only instance of OpaqueProof, bound to a specific deployed contract.

type OpaqueProofTransactorRaw

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

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

func (*OpaqueProofTransactorRaw) Transact

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

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

func (*OpaqueProofTransactorRaw) Transfer

func (_OpaqueProof *OpaqueProofTransactorRaw) 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 OpaqueProofTransactorSession

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

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

type OutboundQueue

type OutboundQueue struct {
	OutboundQueueCaller     // Read-only binding to the contract
	OutboundQueueTransactor // Write-only binding to the contract
	OutboundQueueFilterer   // Log filterer for contract events
}

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

func NewOutboundQueue

func NewOutboundQueue(address common.Address, backend bind.ContractBackend) (*OutboundQueue, error)

NewOutboundQueue creates a new instance of OutboundQueue, bound to a specific deployed contract.

type OutboundQueueCaller

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

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

func NewOutboundQueueCaller

func NewOutboundQueueCaller(address common.Address, caller bind.ContractCaller) (*OutboundQueueCaller, error)

NewOutboundQueueCaller creates a new read-only instance of OutboundQueue, bound to a specific deployed contract.

func (*OutboundQueueCaller) ADMINROLE

func (_OutboundQueue *OutboundQueueCaller) ADMINROLE(opts *bind.CallOpts) ([32]byte, error)

ADMINROLE is a free data retrieval call binding the contract method 0x75b238fc.

Solidity: function ADMIN_ROLE() view returns(bytes32)

func (*OutboundQueueCaller) DEFAULTADMINROLE

func (_OutboundQueue *OutboundQueueCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*OutboundQueueCaller) Fee

func (_OutboundQueue *OutboundQueueCaller) Fee(opts *bind.CallOpts) (*big.Int, error)

Fee is a free data retrieval call binding the contract method 0xddca3f43.

Solidity: function fee() view returns(uint256)

func (*OutboundQueueCaller) GetRoleAdmin

func (_OutboundQueue *OutboundQueueCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*OutboundQueueCaller) HasRole

func (_OutboundQueue *OutboundQueueCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*OutboundQueueCaller) Nonce

func (_OutboundQueue *OutboundQueueCaller) Nonce(opts *bind.CallOpts, dest uint32) (uint64, error)

Nonce is a free data retrieval call binding the contract method 0x141c4985.

Solidity: function nonce(uint32 dest) view returns(uint64)

func (*OutboundQueueCaller) SUBMITROLE

func (_OutboundQueue *OutboundQueueCaller) SUBMITROLE(opts *bind.CallOpts) ([32]byte, error)

SUBMITROLE is a free data retrieval call binding the contract method 0xa9c0c694.

Solidity: function SUBMIT_ROLE() view returns(bytes32)

func (*OutboundQueueCaller) SupportsInterface

func (_OutboundQueue *OutboundQueueCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*OutboundQueueCaller) Vault

func (_OutboundQueue *OutboundQueueCaller) Vault(opts *bind.CallOpts) (common.Address, error)

Vault is a free data retrieval call binding the contract method 0xfbfa77cf.

Solidity: function vault() view returns(address)

type OutboundQueueCallerRaw

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

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

func (*OutboundQueueCallerRaw) Call

func (_OutboundQueue *OutboundQueueCallerRaw) 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 OutboundQueueCallerSession

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

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

func (*OutboundQueueCallerSession) ADMINROLE

func (_OutboundQueue *OutboundQueueCallerSession) ADMINROLE() ([32]byte, error)

ADMINROLE is a free data retrieval call binding the contract method 0x75b238fc.

Solidity: function ADMIN_ROLE() view returns(bytes32)

func (*OutboundQueueCallerSession) DEFAULTADMINROLE

func (_OutboundQueue *OutboundQueueCallerSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*OutboundQueueCallerSession) Fee

func (_OutboundQueue *OutboundQueueCallerSession) Fee() (*big.Int, error)

Fee is a free data retrieval call binding the contract method 0xddca3f43.

Solidity: function fee() view returns(uint256)

func (*OutboundQueueCallerSession) GetRoleAdmin

func (_OutboundQueue *OutboundQueueCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*OutboundQueueCallerSession) HasRole

func (_OutboundQueue *OutboundQueueCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*OutboundQueueCallerSession) Nonce

func (_OutboundQueue *OutboundQueueCallerSession) Nonce(dest uint32) (uint64, error)

Nonce is a free data retrieval call binding the contract method 0x141c4985.

Solidity: function nonce(uint32 dest) view returns(uint64)

func (*OutboundQueueCallerSession) SUBMITROLE

func (_OutboundQueue *OutboundQueueCallerSession) SUBMITROLE() ([32]byte, error)

SUBMITROLE is a free data retrieval call binding the contract method 0xa9c0c694.

Solidity: function SUBMIT_ROLE() view returns(bytes32)

func (*OutboundQueueCallerSession) SupportsInterface

func (_OutboundQueue *OutboundQueueCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*OutboundQueueCallerSession) Vault

func (_OutboundQueue *OutboundQueueCallerSession) Vault() (common.Address, error)

Vault is a free data retrieval call binding the contract method 0xfbfa77cf.

Solidity: function vault() view returns(address)

type OutboundQueueFeeUpdated

type OutboundQueueFeeUpdated struct {
	Fee *big.Int
	Raw types.Log // Blockchain specific contextual infos
}

OutboundQueueFeeUpdated represents a FeeUpdated event raised by the OutboundQueue contract.

type OutboundQueueFeeUpdatedIterator

type OutboundQueueFeeUpdatedIterator struct {
	Event *OutboundQueueFeeUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

OutboundQueueFeeUpdatedIterator is returned from FilterFeeUpdated and is used to iterate over the raw logs and unpacked data for FeeUpdated events raised by the OutboundQueue contract.

func (*OutboundQueueFeeUpdatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*OutboundQueueFeeUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OutboundQueueFeeUpdatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type OutboundQueueFilterer

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

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

func NewOutboundQueueFilterer

func NewOutboundQueueFilterer(address common.Address, filterer bind.ContractFilterer) (*OutboundQueueFilterer, error)

NewOutboundQueueFilterer creates a new log filterer instance of OutboundQueue, bound to a specific deployed contract.

func (*OutboundQueueFilterer) FilterFeeUpdated

func (_OutboundQueue *OutboundQueueFilterer) FilterFeeUpdated(opts *bind.FilterOpts) (*OutboundQueueFeeUpdatedIterator, error)

FilterFeeUpdated is a free log retrieval operation binding the contract event 0x8c4d35e54a3f2ef1134138fd8ea3daee6a3c89e10d2665996babdf70261e2c76.

Solidity: event FeeUpdated(uint256 fee)

func (*OutboundQueueFilterer) FilterMessage

func (_OutboundQueue *OutboundQueueFilterer) FilterMessage(opts *bind.FilterOpts, dest []uint32, nonce []uint64) (*OutboundQueueMessageIterator, error)

FilterMessage is a free log retrieval operation binding the contract event 0x1b11dcf133cc240f682dab2d3a8e4cd35c5da8c9cf99adac4336f8512584c5ad.

Solidity: event Message(uint32 indexed dest, uint64 indexed nonce, bytes payload)

func (*OutboundQueueFilterer) FilterRoleAdminChanged

func (_OutboundQueue *OutboundQueueFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*OutboundQueueRoleAdminChangedIterator, error)

FilterRoleAdminChanged is a free log retrieval operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*OutboundQueueFilterer) FilterRoleGranted

func (_OutboundQueue *OutboundQueueFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*OutboundQueueRoleGrantedIterator, error)

FilterRoleGranted is a free log retrieval operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*OutboundQueueFilterer) FilterRoleRevoked

func (_OutboundQueue *OutboundQueueFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*OutboundQueueRoleRevokedIterator, error)

FilterRoleRevoked is a free log retrieval operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*OutboundQueueFilterer) ParseFeeUpdated

func (_OutboundQueue *OutboundQueueFilterer) ParseFeeUpdated(log types.Log) (*OutboundQueueFeeUpdated, error)

ParseFeeUpdated is a log parse operation binding the contract event 0x8c4d35e54a3f2ef1134138fd8ea3daee6a3c89e10d2665996babdf70261e2c76.

Solidity: event FeeUpdated(uint256 fee)

func (*OutboundQueueFilterer) ParseMessage

func (_OutboundQueue *OutboundQueueFilterer) ParseMessage(log types.Log) (*OutboundQueueMessage, error)

ParseMessage is a log parse operation binding the contract event 0x1b11dcf133cc240f682dab2d3a8e4cd35c5da8c9cf99adac4336f8512584c5ad.

Solidity: event Message(uint32 indexed dest, uint64 indexed nonce, bytes payload)

func (*OutboundQueueFilterer) ParseRoleAdminChanged

func (_OutboundQueue *OutboundQueueFilterer) ParseRoleAdminChanged(log types.Log) (*OutboundQueueRoleAdminChanged, error)

ParseRoleAdminChanged is a log parse operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*OutboundQueueFilterer) ParseRoleGranted

func (_OutboundQueue *OutboundQueueFilterer) ParseRoleGranted(log types.Log) (*OutboundQueueRoleGranted, error)

ParseRoleGranted is a log parse operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*OutboundQueueFilterer) ParseRoleRevoked

func (_OutboundQueue *OutboundQueueFilterer) ParseRoleRevoked(log types.Log) (*OutboundQueueRoleRevoked, error)

ParseRoleRevoked is a log parse operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*OutboundQueueFilterer) WatchFeeUpdated

func (_OutboundQueue *OutboundQueueFilterer) WatchFeeUpdated(opts *bind.WatchOpts, sink chan<- *OutboundQueueFeeUpdated) (event.Subscription, error)

WatchFeeUpdated is a free log subscription operation binding the contract event 0x8c4d35e54a3f2ef1134138fd8ea3daee6a3c89e10d2665996babdf70261e2c76.

Solidity: event FeeUpdated(uint256 fee)

func (*OutboundQueueFilterer) WatchMessage

func (_OutboundQueue *OutboundQueueFilterer) WatchMessage(opts *bind.WatchOpts, sink chan<- *OutboundQueueMessage, dest []uint32, nonce []uint64) (event.Subscription, error)

WatchMessage is a free log subscription operation binding the contract event 0x1b11dcf133cc240f682dab2d3a8e4cd35c5da8c9cf99adac4336f8512584c5ad.

Solidity: event Message(uint32 indexed dest, uint64 indexed nonce, bytes payload)

func (*OutboundQueueFilterer) WatchRoleAdminChanged

func (_OutboundQueue *OutboundQueueFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *OutboundQueueRoleAdminChanged, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (event.Subscription, error)

WatchRoleAdminChanged is a free log subscription operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*OutboundQueueFilterer) WatchRoleGranted

func (_OutboundQueue *OutboundQueueFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *OutboundQueueRoleGranted, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleGranted is a free log subscription operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*OutboundQueueFilterer) WatchRoleRevoked

func (_OutboundQueue *OutboundQueueFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *OutboundQueueRoleRevoked, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleRevoked is a free log subscription operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

type OutboundQueueMessage

type OutboundQueueMessage struct {
	Dest    uint32
	Nonce   uint64
	Payload []byte
	Raw     types.Log // Blockchain specific contextual infos
}

OutboundQueueMessage represents a Message event raised by the OutboundQueue contract.

type OutboundQueueMessageIterator

type OutboundQueueMessageIterator struct {
	Event *OutboundQueueMessage // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

OutboundQueueMessageIterator is returned from FilterMessage and is used to iterate over the raw logs and unpacked data for Message events raised by the OutboundQueue contract.

func (*OutboundQueueMessageIterator) Close

func (it *OutboundQueueMessageIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*OutboundQueueMessageIterator) Error

func (it *OutboundQueueMessageIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*OutboundQueueMessageIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type OutboundQueueRaw

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

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

func (*OutboundQueueRaw) Call

func (_OutboundQueue *OutboundQueueRaw) 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 (*OutboundQueueRaw) Transact

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

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

func (*OutboundQueueRaw) Transfer

func (_OutboundQueue *OutboundQueueRaw) 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 OutboundQueueRoleAdminChanged

type OutboundQueueRoleAdminChanged struct {
	Role              [32]byte
	PreviousAdminRole [32]byte
	NewAdminRole      [32]byte
	Raw               types.Log // Blockchain specific contextual infos
}

OutboundQueueRoleAdminChanged represents a RoleAdminChanged event raised by the OutboundQueue contract.

type OutboundQueueRoleAdminChangedIterator

type OutboundQueueRoleAdminChangedIterator struct {
	Event *OutboundQueueRoleAdminChanged // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

OutboundQueueRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the OutboundQueue contract.

func (*OutboundQueueRoleAdminChangedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*OutboundQueueRoleAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OutboundQueueRoleAdminChangedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type OutboundQueueRoleGranted

type OutboundQueueRoleGranted struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

OutboundQueueRoleGranted represents a RoleGranted event raised by the OutboundQueue contract.

type OutboundQueueRoleGrantedIterator

type OutboundQueueRoleGrantedIterator struct {
	Event *OutboundQueueRoleGranted // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

OutboundQueueRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the OutboundQueue contract.

func (*OutboundQueueRoleGrantedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*OutboundQueueRoleGrantedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OutboundQueueRoleGrantedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type OutboundQueueRoleRevoked

type OutboundQueueRoleRevoked struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

OutboundQueueRoleRevoked represents a RoleRevoked event raised by the OutboundQueue contract.

type OutboundQueueRoleRevokedIterator

type OutboundQueueRoleRevokedIterator struct {
	Event *OutboundQueueRoleRevoked // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

OutboundQueueRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the OutboundQueue contract.

func (*OutboundQueueRoleRevokedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*OutboundQueueRoleRevokedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*OutboundQueueRoleRevokedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type OutboundQueueSession

type OutboundQueueSession struct {
	Contract     *OutboundQueue    // 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
}

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

func (*OutboundQueueSession) ADMINROLE

func (_OutboundQueue *OutboundQueueSession) ADMINROLE() ([32]byte, error)

ADMINROLE is a free data retrieval call binding the contract method 0x75b238fc.

Solidity: function ADMIN_ROLE() view returns(bytes32)

func (*OutboundQueueSession) DEFAULTADMINROLE

func (_OutboundQueue *OutboundQueueSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*OutboundQueueSession) Fee

func (_OutboundQueue *OutboundQueueSession) Fee() (*big.Int, error)

Fee is a free data retrieval call binding the contract method 0xddca3f43.

Solidity: function fee() view returns(uint256)

func (*OutboundQueueSession) GetRoleAdmin

func (_OutboundQueue *OutboundQueueSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*OutboundQueueSession) GrantRole

func (_OutboundQueue *OutboundQueueSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*OutboundQueueSession) HasRole

func (_OutboundQueue *OutboundQueueSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*OutboundQueueSession) Nonce

func (_OutboundQueue *OutboundQueueSession) Nonce(dest uint32) (uint64, error)

Nonce is a free data retrieval call binding the contract method 0x141c4985.

Solidity: function nonce(uint32 dest) view returns(uint64)

func (*OutboundQueueSession) RenounceRole

func (_OutboundQueue *OutboundQueueSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*OutboundQueueSession) RevokeRole

func (_OutboundQueue *OutboundQueueSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*OutboundQueueSession) SUBMITROLE

func (_OutboundQueue *OutboundQueueSession) SUBMITROLE() ([32]byte, error)

SUBMITROLE is a free data retrieval call binding the contract method 0xa9c0c694.

Solidity: function SUBMIT_ROLE() view returns(bytes32)

func (*OutboundQueueSession) Submit

func (_OutboundQueue *OutboundQueueSession) Submit(dest uint32, payload []byte) (*types.Transaction, error)

Submit is a paid mutator transaction binding the contract method 0xa0397a86.

Solidity: function submit(uint32 dest, bytes payload) payable returns()

func (*OutboundQueueSession) SupportsInterface

func (_OutboundQueue *OutboundQueueSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*OutboundQueueSession) UpdateFee

func (_OutboundQueue *OutboundQueueSession) UpdateFee(newFee *big.Int) (*types.Transaction, error)

UpdateFee is a paid mutator transaction binding the contract method 0x9012c4a8.

Solidity: function updateFee(uint256 newFee) returns()

func (*OutboundQueueSession) Vault

func (_OutboundQueue *OutboundQueueSession) Vault() (common.Address, error)

Vault is a free data retrieval call binding the contract method 0xfbfa77cf.

Solidity: function vault() view returns(address)

type OutboundQueueTransactor

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

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

func NewOutboundQueueTransactor

func NewOutboundQueueTransactor(address common.Address, transactor bind.ContractTransactor) (*OutboundQueueTransactor, error)

NewOutboundQueueTransactor creates a new write-only instance of OutboundQueue, bound to a specific deployed contract.

func (*OutboundQueueTransactor) GrantRole

func (_OutboundQueue *OutboundQueueTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*OutboundQueueTransactor) RenounceRole

func (_OutboundQueue *OutboundQueueTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*OutboundQueueTransactor) RevokeRole

func (_OutboundQueue *OutboundQueueTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*OutboundQueueTransactor) Submit

func (_OutboundQueue *OutboundQueueTransactor) Submit(opts *bind.TransactOpts, dest uint32, payload []byte) (*types.Transaction, error)

Submit is a paid mutator transaction binding the contract method 0xa0397a86.

Solidity: function submit(uint32 dest, bytes payload) payable returns()

func (*OutboundQueueTransactor) UpdateFee

func (_OutboundQueue *OutboundQueueTransactor) UpdateFee(opts *bind.TransactOpts, newFee *big.Int) (*types.Transaction, error)

UpdateFee is a paid mutator transaction binding the contract method 0x9012c4a8.

Solidity: function updateFee(uint256 newFee) returns()

type OutboundQueueTransactorRaw

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

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

func (*OutboundQueueTransactorRaw) Transact

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

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

func (*OutboundQueueTransactorRaw) Transfer

func (_OutboundQueue *OutboundQueueTransactorRaw) 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 OutboundQueueTransactorSession

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

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

func (*OutboundQueueTransactorSession) GrantRole

func (_OutboundQueue *OutboundQueueTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*OutboundQueueTransactorSession) RenounceRole

func (_OutboundQueue *OutboundQueueTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*OutboundQueueTransactorSession) RevokeRole

func (_OutboundQueue *OutboundQueueTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*OutboundQueueTransactorSession) Submit

func (_OutboundQueue *OutboundQueueTransactorSession) Submit(dest uint32, payload []byte) (*types.Transaction, error)

Submit is a paid mutator transaction binding the contract method 0xa0397a86.

Solidity: function submit(uint32 dest, bytes payload) payable returns()

func (*OutboundQueueTransactorSession) UpdateFee

func (_OutboundQueue *OutboundQueueTransactorSession) UpdateFee(newFee *big.Int) (*types.Transaction, error)

UpdateFee is a paid mutator transaction binding the contract method 0x9012c4a8.

Solidity: function updateFee(uint256 newFee) returns()

type ParachainClientHeadProof

type ParachainClientHeadProof struct {
	Pos   *big.Int
	Width *big.Int
	Proof [][32]byte
}

ParachainClientHeadProof is an auto generated low-level Go binding around an user-defined struct.

type ParachainClientMMRLeafPartial

type ParachainClientMMRLeafPartial struct {
	Version              uint8
	ParentNumber         uint32
	ParentHash           [32]byte
	NextAuthoritySetID   uint64
	NextAuthoritySetLen  uint32
	NextAuthoritySetRoot [32]byte
}

ParachainClientMMRLeafPartial is an auto generated low-level Go binding around an user-defined struct.

type ParachainClientProof

type ParachainClientProof struct {
	HeadPrefix     []byte
	HeadSuffix     []byte
	HeadProof      ParachainClientHeadProof
	LeafPartial    ParachainClientMMRLeafPartial
	LeafProof      [][32]byte
	LeafProofOrder *big.Int
}

ParachainClientProof is an auto generated low-level Go binding around an user-defined struct.

Jump to

Keyboard shortcuts

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