Documentation ¶
Index ¶
- Constants
- type Abi
- type AbiAdminChanged
- type AbiAdminChangedIterator
- type AbiBeaconUpgraded
- type AbiBeaconUpgradedIterator
- type AbiCaller
- func (_Abi *AbiCaller) ChainId(opts *bind.CallOpts) (uint16, error)
- func (_Abi *AbiCaller) GetCurrentGuardianSetIndex(opts *bind.CallOpts) (uint32, error)
- func (_Abi *AbiCaller) GetGuardianSet(opts *bind.CallOpts, index uint32) (StructsGuardianSet, error)
- func (_Abi *AbiCaller) GetGuardianSetExpiry(opts *bind.CallOpts) (uint32, error)
- func (_Abi *AbiCaller) GovernanceActionIsConsumed(opts *bind.CallOpts, hash [32]byte) (bool, error)
- func (_Abi *AbiCaller) GovernanceChainId(opts *bind.CallOpts) (uint16, error)
- func (_Abi *AbiCaller) GovernanceContract(opts *bind.CallOpts) ([32]byte, error)
- func (_Abi *AbiCaller) IsInitialized(opts *bind.CallOpts, impl common.Address) (bool, error)
- func (_Abi *AbiCaller) MessageFee(opts *bind.CallOpts) (*big.Int, error)
- func (_Abi *AbiCaller) NextSequence(opts *bind.CallOpts, emitter common.Address) (uint64, error)
- func (_Abi *AbiCaller) ParseAndVerifyVM(opts *bind.CallOpts, encodedVM []byte) (struct{ ... }, error)
- func (_Abi *AbiCaller) ParseContractUpgrade(opts *bind.CallOpts, encodedUpgrade []byte) (GovernanceStructsContractUpgrade, error)
- func (_Abi *AbiCaller) ParseGuardianSetUpgrade(opts *bind.CallOpts, encodedUpgrade []byte) (GovernanceStructsGuardianSetUpgrade, error)
- func (_Abi *AbiCaller) ParseSetMessageFee(opts *bind.CallOpts, encodedSetMessageFee []byte) (GovernanceStructsSetMessageFee, error)
- func (_Abi *AbiCaller) ParseTransferFees(opts *bind.CallOpts, encodedTransferFees []byte) (GovernanceStructsTransferFees, error)
- func (_Abi *AbiCaller) ParseVM(opts *bind.CallOpts, encodedVM []byte) (StructsVM, error)
- func (_Abi *AbiCaller) VerifySignatures(opts *bind.CallOpts, hash [32]byte, signatures []StructsSignature, ...) (struct{ ... }, error)
- func (_Abi *AbiCaller) VerifyVM(opts *bind.CallOpts, vm StructsVM) (struct{ ... }, error)
- type AbiCallerRaw
- type AbiCallerSession
- func (_Abi *AbiCallerSession) ChainId() (uint16, error)
- func (_Abi *AbiCallerSession) GetCurrentGuardianSetIndex() (uint32, error)
- func (_Abi *AbiCallerSession) GetGuardianSet(index uint32) (StructsGuardianSet, error)
- func (_Abi *AbiCallerSession) GetGuardianSetExpiry() (uint32, error)
- func (_Abi *AbiCallerSession) GovernanceActionIsConsumed(hash [32]byte) (bool, error)
- func (_Abi *AbiCallerSession) GovernanceChainId() (uint16, error)
- func (_Abi *AbiCallerSession) GovernanceContract() ([32]byte, error)
- func (_Abi *AbiCallerSession) IsInitialized(impl common.Address) (bool, error)
- func (_Abi *AbiCallerSession) MessageFee() (*big.Int, error)
- func (_Abi *AbiCallerSession) NextSequence(emitter common.Address) (uint64, error)
- func (_Abi *AbiCallerSession) ParseAndVerifyVM(encodedVM []byte) (struct{ ... }, error)
- func (_Abi *AbiCallerSession) ParseContractUpgrade(encodedUpgrade []byte) (GovernanceStructsContractUpgrade, error)
- func (_Abi *AbiCallerSession) ParseGuardianSetUpgrade(encodedUpgrade []byte) (GovernanceStructsGuardianSetUpgrade, error)
- func (_Abi *AbiCallerSession) ParseSetMessageFee(encodedSetMessageFee []byte) (GovernanceStructsSetMessageFee, error)
- func (_Abi *AbiCallerSession) ParseTransferFees(encodedTransferFees []byte) (GovernanceStructsTransferFees, error)
- func (_Abi *AbiCallerSession) ParseVM(encodedVM []byte) (StructsVM, error)
- func (_Abi *AbiCallerSession) VerifySignatures(hash [32]byte, signatures []StructsSignature, guardianSet StructsGuardianSet) (struct{ ... }, error)
- func (_Abi *AbiCallerSession) VerifyVM(vm StructsVM) (struct{ ... }, error)
- type AbiContractUpgraded
- type AbiContractUpgradedIterator
- type AbiFilterer
- func (_Abi *AbiFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*AbiAdminChangedIterator, error)
- func (_Abi *AbiFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*AbiBeaconUpgradedIterator, error)
- func (_Abi *AbiFilterer) FilterContractUpgraded(opts *bind.FilterOpts, oldContract []common.Address, ...) (*AbiContractUpgradedIterator, error)
- func (_Abi *AbiFilterer) FilterGuardianSetAdded(opts *bind.FilterOpts, index []uint32) (*AbiGuardianSetAddedIterator, error)
- func (_Abi *AbiFilterer) FilterLogMessagePublished(opts *bind.FilterOpts, sender []common.Address) (*AbiLogMessagePublishedIterator, error)
- func (_Abi *AbiFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*AbiUpgradedIterator, error)
- func (_Abi *AbiFilterer) ParseAdminChanged(log types.Log) (*AbiAdminChanged, error)
- func (_Abi *AbiFilterer) ParseBeaconUpgraded(log types.Log) (*AbiBeaconUpgraded, error)
- func (_Abi *AbiFilterer) ParseContractUpgraded(log types.Log) (*AbiContractUpgraded, error)
- func (_Abi *AbiFilterer) ParseGuardianSetAdded(log types.Log) (*AbiGuardianSetAdded, error)
- func (_Abi *AbiFilterer) ParseLogMessagePublished(log types.Log) (*AbiLogMessagePublished, error)
- func (_Abi *AbiFilterer) ParseUpgraded(log types.Log) (*AbiUpgraded, error)
- func (_Abi *AbiFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *AbiAdminChanged) (event.Subscription, error)
- func (_Abi *AbiFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *AbiBeaconUpgraded, beacon []common.Address) (event.Subscription, error)
- func (_Abi *AbiFilterer) WatchContractUpgraded(opts *bind.WatchOpts, sink chan<- *AbiContractUpgraded, ...) (event.Subscription, error)
- func (_Abi *AbiFilterer) WatchGuardianSetAdded(opts *bind.WatchOpts, sink chan<- *AbiGuardianSetAdded, index []uint32) (event.Subscription, error)
- func (_Abi *AbiFilterer) WatchLogMessagePublished(opts *bind.WatchOpts, sink chan<- *AbiLogMessagePublished, ...) (event.Subscription, error)
- func (_Abi *AbiFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *AbiUpgraded, ...) (event.Subscription, error)
- type AbiGuardianSetAdded
- type AbiGuardianSetAddedIterator
- type AbiLogMessagePublished
- type AbiLogMessagePublishedIterator
- type AbiRaw
- type AbiSession
- func (_Abi *AbiSession) ChainId() (uint16, error)
- func (_Abi *AbiSession) Fallback(calldata []byte) (*types.Transaction, error)
- func (_Abi *AbiSession) GetCurrentGuardianSetIndex() (uint32, error)
- func (_Abi *AbiSession) GetGuardianSet(index uint32) (StructsGuardianSet, error)
- func (_Abi *AbiSession) GetGuardianSetExpiry() (uint32, error)
- func (_Abi *AbiSession) GovernanceActionIsConsumed(hash [32]byte) (bool, error)
- func (_Abi *AbiSession) GovernanceChainId() (uint16, error)
- func (_Abi *AbiSession) GovernanceContract() ([32]byte, error)
- func (_Abi *AbiSession) Initialize(initialGuardians []common.Address, chainId uint16, governanceChainId uint16, ...) (*types.Transaction, error)
- func (_Abi *AbiSession) IsInitialized(impl common.Address) (bool, error)
- func (_Abi *AbiSession) MessageFee() (*big.Int, error)
- func (_Abi *AbiSession) NextSequence(emitter common.Address) (uint64, error)
- func (_Abi *AbiSession) ParseAndVerifyVM(encodedVM []byte) (struct{ ... }, error)
- func (_Abi *AbiSession) ParseContractUpgrade(encodedUpgrade []byte) (GovernanceStructsContractUpgrade, error)
- func (_Abi *AbiSession) ParseGuardianSetUpgrade(encodedUpgrade []byte) (GovernanceStructsGuardianSetUpgrade, error)
- func (_Abi *AbiSession) ParseSetMessageFee(encodedSetMessageFee []byte) (GovernanceStructsSetMessageFee, error)
- func (_Abi *AbiSession) ParseTransferFees(encodedTransferFees []byte) (GovernanceStructsTransferFees, error)
- func (_Abi *AbiSession) ParseVM(encodedVM []byte) (StructsVM, error)
- func (_Abi *AbiSession) PublishMessage(nonce uint32, payload []byte, consistencyLevel uint8) (*types.Transaction, error)
- func (_Abi *AbiSession) Receive() (*types.Transaction, error)
- func (_Abi *AbiSession) SubmitContractUpgrade(_vm []byte) (*types.Transaction, error)
- func (_Abi *AbiSession) SubmitNewGuardianSet(_vm []byte) (*types.Transaction, error)
- func (_Abi *AbiSession) SubmitSetMessageFee(_vm []byte) (*types.Transaction, error)
- func (_Abi *AbiSession) SubmitTransferFees(_vm []byte) (*types.Transaction, error)
- func (_Abi *AbiSession) VerifySignatures(hash [32]byte, signatures []StructsSignature, guardianSet StructsGuardianSet) (struct{ ... }, error)
- func (_Abi *AbiSession) VerifyVM(vm StructsVM) (struct{ ... }, error)
- type AbiTransactor
- func (_Abi *AbiTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)
- func (_Abi *AbiTransactor) Initialize(opts *bind.TransactOpts, initialGuardians []common.Address, chainId uint16, ...) (*types.Transaction, error)
- func (_Abi *AbiTransactor) PublishMessage(opts *bind.TransactOpts, nonce uint32, payload []byte, consistencyLevel uint8) (*types.Transaction, error)
- func (_Abi *AbiTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Abi *AbiTransactor) SubmitContractUpgrade(opts *bind.TransactOpts, _vm []byte) (*types.Transaction, error)
- func (_Abi *AbiTransactor) SubmitNewGuardianSet(opts *bind.TransactOpts, _vm []byte) (*types.Transaction, error)
- func (_Abi *AbiTransactor) SubmitSetMessageFee(opts *bind.TransactOpts, _vm []byte) (*types.Transaction, error)
- func (_Abi *AbiTransactor) SubmitTransferFees(opts *bind.TransactOpts, _vm []byte) (*types.Transaction, error)
- type AbiTransactorRaw
- type AbiTransactorSession
- func (_Abi *AbiTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)
- func (_Abi *AbiTransactorSession) Initialize(initialGuardians []common.Address, chainId uint16, governanceChainId uint16, ...) (*types.Transaction, error)
- func (_Abi *AbiTransactorSession) PublishMessage(nonce uint32, payload []byte, consistencyLevel uint8) (*types.Transaction, error)
- func (_Abi *AbiTransactorSession) Receive() (*types.Transaction, error)
- func (_Abi *AbiTransactorSession) SubmitContractUpgrade(_vm []byte) (*types.Transaction, error)
- func (_Abi *AbiTransactorSession) SubmitNewGuardianSet(_vm []byte) (*types.Transaction, error)
- func (_Abi *AbiTransactorSession) SubmitSetMessageFee(_vm []byte) (*types.Transaction, error)
- func (_Abi *AbiTransactorSession) SubmitTransferFees(_vm []byte) (*types.Transaction, error)
- type AbiUpgraded
- type AbiUpgradedIterator
- type GovernanceStructsContractUpgrade
- type GovernanceStructsGuardianSetUpgrade
- type GovernanceStructsSetMessageFee
- type GovernanceStructsTransferFees
- type StructsGuardianSet
- type StructsSignature
- type StructsVM
Constants ¶
const AbiABI = "" /* 13528-byte string literal not displayed */
AbiABI is the input ABI used to generate the binding from.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Abi ¶
type Abi struct { AbiCaller // Read-only binding to the contract AbiTransactor // Write-only binding to the contract AbiFilterer // Log filterer for contract events }
Abi is an auto generated Go binding around an Ethereum contract.
type AbiAdminChanged ¶
type AbiAdminChanged struct { PreviousAdmin common.Address NewAdmin common.Address Raw types.Log // Blockchain specific contextual infos }
AbiAdminChanged represents a AdminChanged event raised by the Abi contract.
type AbiAdminChangedIterator ¶
type AbiAdminChangedIterator struct { Event *AbiAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AbiAdminChangedIterator is returned from FilterAdminChanged and is used to iterate over the raw logs and unpacked data for AdminChanged events raised by the Abi contract.
func (*AbiAdminChangedIterator) Close ¶
func (it *AbiAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AbiAdminChangedIterator) Error ¶
func (it *AbiAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AbiAdminChangedIterator) Next ¶
func (it *AbiAdminChangedIterator) Next() bool
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 AbiBeaconUpgraded ¶
type AbiBeaconUpgraded struct { Beacon common.Address Raw types.Log // Blockchain specific contextual infos }
AbiBeaconUpgraded represents a BeaconUpgraded event raised by the Abi contract.
type AbiBeaconUpgradedIterator ¶
type AbiBeaconUpgradedIterator struct { Event *AbiBeaconUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AbiBeaconUpgradedIterator is returned from FilterBeaconUpgraded and is used to iterate over the raw logs and unpacked data for BeaconUpgraded events raised by the Abi contract.
func (*AbiBeaconUpgradedIterator) Close ¶
func (it *AbiBeaconUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AbiBeaconUpgradedIterator) Error ¶
func (it *AbiBeaconUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AbiBeaconUpgradedIterator) Next ¶
func (it *AbiBeaconUpgradedIterator) Next() bool
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 AbiCaller ¶
type AbiCaller struct {
// contains filtered or unexported fields
}
AbiCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewAbiCaller ¶
NewAbiCaller creates a new read-only instance of Abi, bound to a specific deployed contract.
func (*AbiCaller) ChainId ¶
ChainId is a free data retrieval call binding the contract method 0x9a8a0592.
Solidity: function chainId() view returns(uint16)
func (*AbiCaller) GetCurrentGuardianSetIndex ¶
GetCurrentGuardianSetIndex is a free data retrieval call binding the contract method 0x1cfe7951.
Solidity: function getCurrentGuardianSetIndex() view returns(uint32)
func (*AbiCaller) GetGuardianSet ¶
func (_Abi *AbiCaller) GetGuardianSet(opts *bind.CallOpts, index uint32) (StructsGuardianSet, error)
GetGuardianSet is a free data retrieval call binding the contract method 0xf951975a.
Solidity: function getGuardianSet(uint32 index) view returns((address[],uint32))
func (*AbiCaller) GetGuardianSetExpiry ¶
GetGuardianSetExpiry is a free data retrieval call binding the contract method 0xeb8d3f12.
Solidity: function getGuardianSetExpiry() view returns(uint32)
func (*AbiCaller) GovernanceActionIsConsumed ¶
GovernanceActionIsConsumed is a free data retrieval call binding the contract method 0x2c3c02a4.
Solidity: function governanceActionIsConsumed(bytes32 hash) view returns(bool)
func (*AbiCaller) GovernanceChainId ¶
GovernanceChainId is a free data retrieval call binding the contract method 0xfbe3c2cd.
Solidity: function governanceChainId() view returns(uint16)
func (*AbiCaller) GovernanceContract ¶
GovernanceContract is a free data retrieval call binding the contract method 0xb172b222.
Solidity: function governanceContract() view returns(bytes32)
func (*AbiCaller) IsInitialized ¶
IsInitialized is a free data retrieval call binding the contract method 0xd60b347f.
Solidity: function isInitialized(address impl) view returns(bool)
func (*AbiCaller) MessageFee ¶
MessageFee is a free data retrieval call binding the contract method 0x1a90a219.
Solidity: function messageFee() view returns(uint256)
func (*AbiCaller) NextSequence ¶
NextSequence is a free data retrieval call binding the contract method 0x4cf842b5.
Solidity: function nextSequence(address emitter) view returns(uint64)
func (*AbiCaller) ParseAndVerifyVM ¶
func (_Abi *AbiCaller) ParseAndVerifyVM(opts *bind.CallOpts, encodedVM []byte) (struct { Vm StructsVM Valid bool Reason string }, error)
ParseAndVerifyVM is a free data retrieval call binding the contract method 0xc0fd8bde.
Solidity: function parseAndVerifyVM(bytes encodedVM) view returns((uint8,uint32,uint32,uint16,bytes32,uint64,uint8,bytes,uint32,(bytes32,bytes32,uint8,uint8)[],bytes32) vm, bool valid, string reason)
func (*AbiCaller) ParseContractUpgrade ¶
func (_Abi *AbiCaller) ParseContractUpgrade(opts *bind.CallOpts, encodedUpgrade []byte) (GovernanceStructsContractUpgrade, error)
ParseContractUpgrade is a free data retrieval call binding the contract method 0x4fdc60fa.
Solidity: function parseContractUpgrade(bytes encodedUpgrade) pure returns((bytes32,uint8,uint16,address) cu)
func (*AbiCaller) ParseGuardianSetUpgrade ¶
func (_Abi *AbiCaller) ParseGuardianSetUpgrade(opts *bind.CallOpts, encodedUpgrade []byte) (GovernanceStructsGuardianSetUpgrade, error)
ParseGuardianSetUpgrade is a free data retrieval call binding the contract method 0x04ca84cf.
Solidity: function parseGuardianSetUpgrade(bytes encodedUpgrade) pure returns((bytes32,uint8,uint16,(address[],uint32),uint32) gsu)
func (*AbiCaller) ParseSetMessageFee ¶
func (_Abi *AbiCaller) ParseSetMessageFee(opts *bind.CallOpts, encodedSetMessageFee []byte) (GovernanceStructsSetMessageFee, error)
ParseSetMessageFee is a free data retrieval call binding the contract method 0x515f3247.
Solidity: function parseSetMessageFee(bytes encodedSetMessageFee) pure returns((bytes32,uint8,uint16,uint256) smf)
func (*AbiCaller) ParseTransferFees ¶
func (_Abi *AbiCaller) ParseTransferFees(opts *bind.CallOpts, encodedTransferFees []byte) (GovernanceStructsTransferFees, error)
ParseTransferFees is a free data retrieval call binding the contract method 0x0319e59c.
Solidity: function parseTransferFees(bytes encodedTransferFees) pure returns((bytes32,uint8,uint16,uint256,bytes32) tf)
func (*AbiCaller) ParseVM ¶
ParseVM is a free data retrieval call binding the contract method 0xa9e11893.
Solidity: function parseVM(bytes encodedVM) pure returns((uint8,uint32,uint32,uint16,bytes32,uint64,uint8,bytes,uint32,(bytes32,bytes32,uint8,uint8)[],bytes32) vm)
func (*AbiCaller) VerifySignatures ¶
func (_Abi *AbiCaller) VerifySignatures(opts *bind.CallOpts, hash [32]byte, signatures []StructsSignature, guardianSet StructsGuardianSet) (struct { Valid bool Reason string }, error)
VerifySignatures is a free data retrieval call binding the contract method 0xa0cce1b3.
Solidity: function verifySignatures(bytes32 hash, (bytes32,bytes32,uint8,uint8)[] signatures, (address[],uint32) guardianSet) pure returns(bool valid, string reason)
func (*AbiCaller) VerifyVM ¶
func (_Abi *AbiCaller) VerifyVM(opts *bind.CallOpts, vm StructsVM) (struct { Valid bool Reason string }, error)
VerifyVM is a free data retrieval call binding the contract method 0x875be02a.
Solidity: function verifyVM((uint8,uint32,uint32,uint16,bytes32,uint64,uint8,bytes,uint32,(bytes32,bytes32,uint8,uint8)[],bytes32) vm) view returns(bool valid, string reason)
type AbiCallerRaw ¶
type AbiCallerRaw struct {
Contract *AbiCaller // Generic read-only contract binding to access the raw methods on
}
AbiCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*AbiCallerRaw) Call ¶
func (_Abi *AbiCallerRaw) 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 AbiCallerSession ¶
type AbiCallerSession struct { Contract *AbiCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
AbiCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*AbiCallerSession) ChainId ¶
func (_Abi *AbiCallerSession) ChainId() (uint16, error)
ChainId is a free data retrieval call binding the contract method 0x9a8a0592.
Solidity: function chainId() view returns(uint16)
func (*AbiCallerSession) GetCurrentGuardianSetIndex ¶
func (_Abi *AbiCallerSession) GetCurrentGuardianSetIndex() (uint32, error)
GetCurrentGuardianSetIndex is a free data retrieval call binding the contract method 0x1cfe7951.
Solidity: function getCurrentGuardianSetIndex() view returns(uint32)
func (*AbiCallerSession) GetGuardianSet ¶
func (_Abi *AbiCallerSession) GetGuardianSet(index uint32) (StructsGuardianSet, error)
GetGuardianSet is a free data retrieval call binding the contract method 0xf951975a.
Solidity: function getGuardianSet(uint32 index) view returns((address[],uint32))
func (*AbiCallerSession) GetGuardianSetExpiry ¶
func (_Abi *AbiCallerSession) GetGuardianSetExpiry() (uint32, error)
GetGuardianSetExpiry is a free data retrieval call binding the contract method 0xeb8d3f12.
Solidity: function getGuardianSetExpiry() view returns(uint32)
func (*AbiCallerSession) GovernanceActionIsConsumed ¶
func (_Abi *AbiCallerSession) GovernanceActionIsConsumed(hash [32]byte) (bool, error)
GovernanceActionIsConsumed is a free data retrieval call binding the contract method 0x2c3c02a4.
Solidity: function governanceActionIsConsumed(bytes32 hash) view returns(bool)
func (*AbiCallerSession) GovernanceChainId ¶
func (_Abi *AbiCallerSession) GovernanceChainId() (uint16, error)
GovernanceChainId is a free data retrieval call binding the contract method 0xfbe3c2cd.
Solidity: function governanceChainId() view returns(uint16)
func (*AbiCallerSession) GovernanceContract ¶
func (_Abi *AbiCallerSession) GovernanceContract() ([32]byte, error)
GovernanceContract is a free data retrieval call binding the contract method 0xb172b222.
Solidity: function governanceContract() view returns(bytes32)
func (*AbiCallerSession) IsInitialized ¶
func (_Abi *AbiCallerSession) IsInitialized(impl common.Address) (bool, error)
IsInitialized is a free data retrieval call binding the contract method 0xd60b347f.
Solidity: function isInitialized(address impl) view returns(bool)
func (*AbiCallerSession) MessageFee ¶
func (_Abi *AbiCallerSession) MessageFee() (*big.Int, error)
MessageFee is a free data retrieval call binding the contract method 0x1a90a219.
Solidity: function messageFee() view returns(uint256)
func (*AbiCallerSession) NextSequence ¶
func (_Abi *AbiCallerSession) NextSequence(emitter common.Address) (uint64, error)
NextSequence is a free data retrieval call binding the contract method 0x4cf842b5.
Solidity: function nextSequence(address emitter) view returns(uint64)
func (*AbiCallerSession) ParseAndVerifyVM ¶
func (_Abi *AbiCallerSession) ParseAndVerifyVM(encodedVM []byte) (struct { Vm StructsVM Valid bool Reason string }, error)
ParseAndVerifyVM is a free data retrieval call binding the contract method 0xc0fd8bde.
Solidity: function parseAndVerifyVM(bytes encodedVM) view returns((uint8,uint32,uint32,uint16,bytes32,uint64,uint8,bytes,uint32,(bytes32,bytes32,uint8,uint8)[],bytes32) vm, bool valid, string reason)
func (*AbiCallerSession) ParseContractUpgrade ¶
func (_Abi *AbiCallerSession) ParseContractUpgrade(encodedUpgrade []byte) (GovernanceStructsContractUpgrade, error)
ParseContractUpgrade is a free data retrieval call binding the contract method 0x4fdc60fa.
Solidity: function parseContractUpgrade(bytes encodedUpgrade) pure returns((bytes32,uint8,uint16,address) cu)
func (*AbiCallerSession) ParseGuardianSetUpgrade ¶
func (_Abi *AbiCallerSession) ParseGuardianSetUpgrade(encodedUpgrade []byte) (GovernanceStructsGuardianSetUpgrade, error)
ParseGuardianSetUpgrade is a free data retrieval call binding the contract method 0x04ca84cf.
Solidity: function parseGuardianSetUpgrade(bytes encodedUpgrade) pure returns((bytes32,uint8,uint16,(address[],uint32),uint32) gsu)
func (*AbiCallerSession) ParseSetMessageFee ¶
func (_Abi *AbiCallerSession) ParseSetMessageFee(encodedSetMessageFee []byte) (GovernanceStructsSetMessageFee, error)
ParseSetMessageFee is a free data retrieval call binding the contract method 0x515f3247.
Solidity: function parseSetMessageFee(bytes encodedSetMessageFee) pure returns((bytes32,uint8,uint16,uint256) smf)
func (*AbiCallerSession) ParseTransferFees ¶
func (_Abi *AbiCallerSession) ParseTransferFees(encodedTransferFees []byte) (GovernanceStructsTransferFees, error)
ParseTransferFees is a free data retrieval call binding the contract method 0x0319e59c.
Solidity: function parseTransferFees(bytes encodedTransferFees) pure returns((bytes32,uint8,uint16,uint256,bytes32) tf)
func (*AbiCallerSession) ParseVM ¶
func (_Abi *AbiCallerSession) ParseVM(encodedVM []byte) (StructsVM, error)
ParseVM is a free data retrieval call binding the contract method 0xa9e11893.
Solidity: function parseVM(bytes encodedVM) pure returns((uint8,uint32,uint32,uint16,bytes32,uint64,uint8,bytes,uint32,(bytes32,bytes32,uint8,uint8)[],bytes32) vm)
func (*AbiCallerSession) VerifySignatures ¶
func (_Abi *AbiCallerSession) VerifySignatures(hash [32]byte, signatures []StructsSignature, guardianSet StructsGuardianSet) (struct { Valid bool Reason string }, error)
VerifySignatures is a free data retrieval call binding the contract method 0xa0cce1b3.
Solidity: function verifySignatures(bytes32 hash, (bytes32,bytes32,uint8,uint8)[] signatures, (address[],uint32) guardianSet) pure returns(bool valid, string reason)
func (*AbiCallerSession) VerifyVM ¶
func (_Abi *AbiCallerSession) VerifyVM(vm StructsVM) (struct { Valid bool Reason string }, error)
VerifyVM is a free data retrieval call binding the contract method 0x875be02a.
Solidity: function verifyVM((uint8,uint32,uint32,uint16,bytes32,uint64,uint8,bytes,uint32,(bytes32,bytes32,uint8,uint8)[],bytes32) vm) view returns(bool valid, string reason)
type AbiContractUpgraded ¶
type AbiContractUpgraded struct { OldContract common.Address NewContract common.Address Raw types.Log // Blockchain specific contextual infos }
AbiContractUpgraded represents a ContractUpgraded event raised by the Abi contract.
type AbiContractUpgradedIterator ¶
type AbiContractUpgradedIterator struct { Event *AbiContractUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AbiContractUpgradedIterator is returned from FilterContractUpgraded and is used to iterate over the raw logs and unpacked data for ContractUpgraded events raised by the Abi contract.
func (*AbiContractUpgradedIterator) Close ¶
func (it *AbiContractUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AbiContractUpgradedIterator) Error ¶
func (it *AbiContractUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AbiContractUpgradedIterator) Next ¶
func (it *AbiContractUpgradedIterator) Next() bool
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 AbiFilterer ¶
type AbiFilterer struct {
// contains filtered or unexported fields
}
AbiFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewAbiFilterer ¶
func NewAbiFilterer(address common.Address, filterer bind.ContractFilterer) (*AbiFilterer, error)
NewAbiFilterer creates a new log filterer instance of Abi, bound to a specific deployed contract.
func (*AbiFilterer) FilterAdminChanged ¶
func (_Abi *AbiFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*AbiAdminChangedIterator, error)
FilterAdminChanged is a free log retrieval operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*AbiFilterer) FilterBeaconUpgraded ¶
func (_Abi *AbiFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*AbiBeaconUpgradedIterator, error)
FilterBeaconUpgraded is a free log retrieval operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*AbiFilterer) FilterContractUpgraded ¶
func (_Abi *AbiFilterer) FilterContractUpgraded(opts *bind.FilterOpts, oldContract []common.Address, newContract []common.Address) (*AbiContractUpgradedIterator, error)
FilterContractUpgraded is a free log retrieval operation binding the contract event 0x2e4cc16c100f0b55e2df82ab0b1a7e294aa9cbd01b48fbaf622683fbc0507a49.
Solidity: event ContractUpgraded(address indexed oldContract, address indexed newContract)
func (*AbiFilterer) FilterGuardianSetAdded ¶
func (_Abi *AbiFilterer) FilterGuardianSetAdded(opts *bind.FilterOpts, index []uint32) (*AbiGuardianSetAddedIterator, error)
FilterGuardianSetAdded is a free log retrieval operation binding the contract event 0x2384dbc52f7b617fb7c5aa71e5455a21ff21d58604bb6daef6af2bb44aadebdd.
Solidity: event GuardianSetAdded(uint32 indexed index)
func (*AbiFilterer) FilterLogMessagePublished ¶
func (_Abi *AbiFilterer) FilterLogMessagePublished(opts *bind.FilterOpts, sender []common.Address) (*AbiLogMessagePublishedIterator, error)
FilterLogMessagePublished is a free log retrieval operation binding the contract event 0x6eb224fb001ed210e379b335e35efe88672a8ce935d981a6896b27ffdf52a3b2.
Solidity: event LogMessagePublished(address indexed sender, uint64 sequence, uint32 nonce, bytes payload, uint8 consistencyLevel)
func (*AbiFilterer) FilterUpgraded ¶
func (_Abi *AbiFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*AbiUpgradedIterator, error)
FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*AbiFilterer) ParseAdminChanged ¶
func (_Abi *AbiFilterer) ParseAdminChanged(log types.Log) (*AbiAdminChanged, error)
ParseAdminChanged is a log parse operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*AbiFilterer) ParseBeaconUpgraded ¶
func (_Abi *AbiFilterer) ParseBeaconUpgraded(log types.Log) (*AbiBeaconUpgraded, error)
ParseBeaconUpgraded is a log parse operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*AbiFilterer) ParseContractUpgraded ¶
func (_Abi *AbiFilterer) ParseContractUpgraded(log types.Log) (*AbiContractUpgraded, error)
ParseContractUpgraded is a log parse operation binding the contract event 0x2e4cc16c100f0b55e2df82ab0b1a7e294aa9cbd01b48fbaf622683fbc0507a49.
Solidity: event ContractUpgraded(address indexed oldContract, address indexed newContract)
func (*AbiFilterer) ParseGuardianSetAdded ¶
func (_Abi *AbiFilterer) ParseGuardianSetAdded(log types.Log) (*AbiGuardianSetAdded, error)
ParseGuardianSetAdded is a log parse operation binding the contract event 0x2384dbc52f7b617fb7c5aa71e5455a21ff21d58604bb6daef6af2bb44aadebdd.
Solidity: event GuardianSetAdded(uint32 indexed index)
func (*AbiFilterer) ParseLogMessagePublished ¶
func (_Abi *AbiFilterer) ParseLogMessagePublished(log types.Log) (*AbiLogMessagePublished, error)
ParseLogMessagePublished is a log parse operation binding the contract event 0x6eb224fb001ed210e379b335e35efe88672a8ce935d981a6896b27ffdf52a3b2.
Solidity: event LogMessagePublished(address indexed sender, uint64 sequence, uint32 nonce, bytes payload, uint8 consistencyLevel)
func (*AbiFilterer) ParseUpgraded ¶
func (_Abi *AbiFilterer) ParseUpgraded(log types.Log) (*AbiUpgraded, error)
ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*AbiFilterer) WatchAdminChanged ¶
func (_Abi *AbiFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *AbiAdminChanged) (event.Subscription, error)
WatchAdminChanged is a free log subscription operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*AbiFilterer) WatchBeaconUpgraded ¶
func (_Abi *AbiFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *AbiBeaconUpgraded, beacon []common.Address) (event.Subscription, error)
WatchBeaconUpgraded is a free log subscription operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*AbiFilterer) WatchContractUpgraded ¶
func (_Abi *AbiFilterer) WatchContractUpgraded(opts *bind.WatchOpts, sink chan<- *AbiContractUpgraded, oldContract []common.Address, newContract []common.Address) (event.Subscription, error)
WatchContractUpgraded is a free log subscription operation binding the contract event 0x2e4cc16c100f0b55e2df82ab0b1a7e294aa9cbd01b48fbaf622683fbc0507a49.
Solidity: event ContractUpgraded(address indexed oldContract, address indexed newContract)
func (*AbiFilterer) WatchGuardianSetAdded ¶
func (_Abi *AbiFilterer) WatchGuardianSetAdded(opts *bind.WatchOpts, sink chan<- *AbiGuardianSetAdded, index []uint32) (event.Subscription, error)
WatchGuardianSetAdded is a free log subscription operation binding the contract event 0x2384dbc52f7b617fb7c5aa71e5455a21ff21d58604bb6daef6af2bb44aadebdd.
Solidity: event GuardianSetAdded(uint32 indexed index)
func (*AbiFilterer) WatchLogMessagePublished ¶
func (_Abi *AbiFilterer) WatchLogMessagePublished(opts *bind.WatchOpts, sink chan<- *AbiLogMessagePublished, sender []common.Address) (event.Subscription, error)
WatchLogMessagePublished is a free log subscription operation binding the contract event 0x6eb224fb001ed210e379b335e35efe88672a8ce935d981a6896b27ffdf52a3b2.
Solidity: event LogMessagePublished(address indexed sender, uint64 sequence, uint32 nonce, bytes payload, uint8 consistencyLevel)
func (*AbiFilterer) WatchUpgraded ¶
func (_Abi *AbiFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *AbiUpgraded, implementation []common.Address) (event.Subscription, error)
WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
type AbiGuardianSetAdded ¶
type AbiGuardianSetAdded struct { Index uint32 Raw types.Log // Blockchain specific contextual infos }
AbiGuardianSetAdded represents a GuardianSetAdded event raised by the Abi contract.
type AbiGuardianSetAddedIterator ¶
type AbiGuardianSetAddedIterator struct { Event *AbiGuardianSetAdded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AbiGuardianSetAddedIterator is returned from FilterGuardianSetAdded and is used to iterate over the raw logs and unpacked data for GuardianSetAdded events raised by the Abi contract.
func (*AbiGuardianSetAddedIterator) Close ¶
func (it *AbiGuardianSetAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AbiGuardianSetAddedIterator) Error ¶
func (it *AbiGuardianSetAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AbiGuardianSetAddedIterator) Next ¶
func (it *AbiGuardianSetAddedIterator) Next() bool
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 AbiLogMessagePublished ¶
type AbiLogMessagePublished struct { Sender common.Address Sequence uint64 Nonce uint32 Payload []byte ConsistencyLevel uint8 Raw types.Log // Blockchain specific contextual infos }
AbiLogMessagePublished represents a LogMessagePublished event raised by the Abi contract.
type AbiLogMessagePublishedIterator ¶
type AbiLogMessagePublishedIterator struct { Event *AbiLogMessagePublished // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AbiLogMessagePublishedIterator is returned from FilterLogMessagePublished and is used to iterate over the raw logs and unpacked data for LogMessagePublished events raised by the Abi contract.
func (*AbiLogMessagePublishedIterator) Close ¶
func (it *AbiLogMessagePublishedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AbiLogMessagePublishedIterator) Error ¶
func (it *AbiLogMessagePublishedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AbiLogMessagePublishedIterator) Next ¶
func (it *AbiLogMessagePublishedIterator) Next() bool
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 AbiRaw ¶
type AbiRaw struct {
Contract *Abi // Generic contract binding to access the raw methods on
}
AbiRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*AbiRaw) Call ¶
func (_Abi *AbiRaw) 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 (*AbiRaw) Transact ¶
func (_Abi *AbiRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AbiRaw) Transfer ¶
func (_Abi *AbiRaw) 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 AbiSession ¶
type AbiSession struct { Contract *Abi // 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 }
AbiSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*AbiSession) ChainId ¶
func (_Abi *AbiSession) ChainId() (uint16, error)
ChainId is a free data retrieval call binding the contract method 0x9a8a0592.
Solidity: function chainId() view returns(uint16)
func (*AbiSession) Fallback ¶
func (_Abi *AbiSession) Fallback(calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*AbiSession) GetCurrentGuardianSetIndex ¶
func (_Abi *AbiSession) GetCurrentGuardianSetIndex() (uint32, error)
GetCurrentGuardianSetIndex is a free data retrieval call binding the contract method 0x1cfe7951.
Solidity: function getCurrentGuardianSetIndex() view returns(uint32)
func (*AbiSession) GetGuardianSet ¶
func (_Abi *AbiSession) GetGuardianSet(index uint32) (StructsGuardianSet, error)
GetGuardianSet is a free data retrieval call binding the contract method 0xf951975a.
Solidity: function getGuardianSet(uint32 index) view returns((address[],uint32))
func (*AbiSession) GetGuardianSetExpiry ¶
func (_Abi *AbiSession) GetGuardianSetExpiry() (uint32, error)
GetGuardianSetExpiry is a free data retrieval call binding the contract method 0xeb8d3f12.
Solidity: function getGuardianSetExpiry() view returns(uint32)
func (*AbiSession) GovernanceActionIsConsumed ¶
func (_Abi *AbiSession) GovernanceActionIsConsumed(hash [32]byte) (bool, error)
GovernanceActionIsConsumed is a free data retrieval call binding the contract method 0x2c3c02a4.
Solidity: function governanceActionIsConsumed(bytes32 hash) view returns(bool)
func (*AbiSession) GovernanceChainId ¶
func (_Abi *AbiSession) GovernanceChainId() (uint16, error)
GovernanceChainId is a free data retrieval call binding the contract method 0xfbe3c2cd.
Solidity: function governanceChainId() view returns(uint16)
func (*AbiSession) GovernanceContract ¶
func (_Abi *AbiSession) GovernanceContract() ([32]byte, error)
GovernanceContract is a free data retrieval call binding the contract method 0xb172b222.
Solidity: function governanceContract() view returns(bytes32)
func (*AbiSession) Initialize ¶
func (_Abi *AbiSession) Initialize(initialGuardians []common.Address, chainId uint16, governanceChainId uint16, governanceContract [32]byte) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xf6079017.
Solidity: function initialize(address[] initialGuardians, uint16 chainId, uint16 governanceChainId, bytes32 governanceContract) returns()
func (*AbiSession) IsInitialized ¶
func (_Abi *AbiSession) IsInitialized(impl common.Address) (bool, error)
IsInitialized is a free data retrieval call binding the contract method 0xd60b347f.
Solidity: function isInitialized(address impl) view returns(bool)
func (*AbiSession) MessageFee ¶
func (_Abi *AbiSession) MessageFee() (*big.Int, error)
MessageFee is a free data retrieval call binding the contract method 0x1a90a219.
Solidity: function messageFee() view returns(uint256)
func (*AbiSession) NextSequence ¶
func (_Abi *AbiSession) NextSequence(emitter common.Address) (uint64, error)
NextSequence is a free data retrieval call binding the contract method 0x4cf842b5.
Solidity: function nextSequence(address emitter) view returns(uint64)
func (*AbiSession) ParseAndVerifyVM ¶
func (_Abi *AbiSession) ParseAndVerifyVM(encodedVM []byte) (struct { Vm StructsVM Valid bool Reason string }, error)
ParseAndVerifyVM is a free data retrieval call binding the contract method 0xc0fd8bde.
Solidity: function parseAndVerifyVM(bytes encodedVM) view returns((uint8,uint32,uint32,uint16,bytes32,uint64,uint8,bytes,uint32,(bytes32,bytes32,uint8,uint8)[],bytes32) vm, bool valid, string reason)
func (*AbiSession) ParseContractUpgrade ¶
func (_Abi *AbiSession) ParseContractUpgrade(encodedUpgrade []byte) (GovernanceStructsContractUpgrade, error)
ParseContractUpgrade is a free data retrieval call binding the contract method 0x4fdc60fa.
Solidity: function parseContractUpgrade(bytes encodedUpgrade) pure returns((bytes32,uint8,uint16,address) cu)
func (*AbiSession) ParseGuardianSetUpgrade ¶
func (_Abi *AbiSession) ParseGuardianSetUpgrade(encodedUpgrade []byte) (GovernanceStructsGuardianSetUpgrade, error)
ParseGuardianSetUpgrade is a free data retrieval call binding the contract method 0x04ca84cf.
Solidity: function parseGuardianSetUpgrade(bytes encodedUpgrade) pure returns((bytes32,uint8,uint16,(address[],uint32),uint32) gsu)
func (*AbiSession) ParseSetMessageFee ¶
func (_Abi *AbiSession) ParseSetMessageFee(encodedSetMessageFee []byte) (GovernanceStructsSetMessageFee, error)
ParseSetMessageFee is a free data retrieval call binding the contract method 0x515f3247.
Solidity: function parseSetMessageFee(bytes encodedSetMessageFee) pure returns((bytes32,uint8,uint16,uint256) smf)
func (*AbiSession) ParseTransferFees ¶
func (_Abi *AbiSession) ParseTransferFees(encodedTransferFees []byte) (GovernanceStructsTransferFees, error)
ParseTransferFees is a free data retrieval call binding the contract method 0x0319e59c.
Solidity: function parseTransferFees(bytes encodedTransferFees) pure returns((bytes32,uint8,uint16,uint256,bytes32) tf)
func (*AbiSession) ParseVM ¶
func (_Abi *AbiSession) ParseVM(encodedVM []byte) (StructsVM, error)
ParseVM is a free data retrieval call binding the contract method 0xa9e11893.
Solidity: function parseVM(bytes encodedVM) pure returns((uint8,uint32,uint32,uint16,bytes32,uint64,uint8,bytes,uint32,(bytes32,bytes32,uint8,uint8)[],bytes32) vm)
func (*AbiSession) PublishMessage ¶
func (_Abi *AbiSession) PublishMessage(nonce uint32, payload []byte, consistencyLevel uint8) (*types.Transaction, error)
PublishMessage is a paid mutator transaction binding the contract method 0xb19a437e.
Solidity: function publishMessage(uint32 nonce, bytes payload, uint8 consistencyLevel) payable returns(uint64 sequence)
func (*AbiSession) Receive ¶
func (_Abi *AbiSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*AbiSession) SubmitContractUpgrade ¶
func (_Abi *AbiSession) SubmitContractUpgrade(_vm []byte) (*types.Transaction, error)
SubmitContractUpgrade is a paid mutator transaction binding the contract method 0x5cb8cae2.
Solidity: function submitContractUpgrade(bytes _vm) returns()
func (*AbiSession) SubmitNewGuardianSet ¶
func (_Abi *AbiSession) SubmitNewGuardianSet(_vm []byte) (*types.Transaction, error)
SubmitNewGuardianSet is a paid mutator transaction binding the contract method 0x6606b4e0.
Solidity: function submitNewGuardianSet(bytes _vm) returns()
func (*AbiSession) SubmitSetMessageFee ¶
func (_Abi *AbiSession) SubmitSetMessageFee(_vm []byte) (*types.Transaction, error)
SubmitSetMessageFee is a paid mutator transaction binding the contract method 0xf42bc641.
Solidity: function submitSetMessageFee(bytes _vm) returns()
func (*AbiSession) SubmitTransferFees ¶
func (_Abi *AbiSession) SubmitTransferFees(_vm []byte) (*types.Transaction, error)
SubmitTransferFees is a paid mutator transaction binding the contract method 0x93df337e.
Solidity: function submitTransferFees(bytes _vm) returns()
func (*AbiSession) VerifySignatures ¶
func (_Abi *AbiSession) VerifySignatures(hash [32]byte, signatures []StructsSignature, guardianSet StructsGuardianSet) (struct { Valid bool Reason string }, error)
VerifySignatures is a free data retrieval call binding the contract method 0xa0cce1b3.
Solidity: function verifySignatures(bytes32 hash, (bytes32,bytes32,uint8,uint8)[] signatures, (address[],uint32) guardianSet) pure returns(bool valid, string reason)
func (*AbiSession) VerifyVM ¶
func (_Abi *AbiSession) VerifyVM(vm StructsVM) (struct { Valid bool Reason string }, error)
VerifyVM is a free data retrieval call binding the contract method 0x875be02a.
Solidity: function verifyVM((uint8,uint32,uint32,uint16,bytes32,uint64,uint8,bytes,uint32,(bytes32,bytes32,uint8,uint8)[],bytes32) vm) view returns(bool valid, string reason)
type AbiTransactor ¶
type AbiTransactor struct {
// contains filtered or unexported fields
}
AbiTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewAbiTransactor ¶
func NewAbiTransactor(address common.Address, transactor bind.ContractTransactor) (*AbiTransactor, error)
NewAbiTransactor creates a new write-only instance of Abi, bound to a specific deployed contract.
func (*AbiTransactor) Fallback ¶
func (_Abi *AbiTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*AbiTransactor) Initialize ¶
func (_Abi *AbiTransactor) Initialize(opts *bind.TransactOpts, initialGuardians []common.Address, chainId uint16, governanceChainId uint16, governanceContract [32]byte) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xf6079017.
Solidity: function initialize(address[] initialGuardians, uint16 chainId, uint16 governanceChainId, bytes32 governanceContract) returns()
func (*AbiTransactor) PublishMessage ¶
func (_Abi *AbiTransactor) PublishMessage(opts *bind.TransactOpts, nonce uint32, payload []byte, consistencyLevel uint8) (*types.Transaction, error)
PublishMessage is a paid mutator transaction binding the contract method 0xb19a437e.
Solidity: function publishMessage(uint32 nonce, bytes payload, uint8 consistencyLevel) payable returns(uint64 sequence)
func (*AbiTransactor) Receive ¶
func (_Abi *AbiTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*AbiTransactor) SubmitContractUpgrade ¶
func (_Abi *AbiTransactor) SubmitContractUpgrade(opts *bind.TransactOpts, _vm []byte) (*types.Transaction, error)
SubmitContractUpgrade is a paid mutator transaction binding the contract method 0x5cb8cae2.
Solidity: function submitContractUpgrade(bytes _vm) returns()
func (*AbiTransactor) SubmitNewGuardianSet ¶
func (_Abi *AbiTransactor) SubmitNewGuardianSet(opts *bind.TransactOpts, _vm []byte) (*types.Transaction, error)
SubmitNewGuardianSet is a paid mutator transaction binding the contract method 0x6606b4e0.
Solidity: function submitNewGuardianSet(bytes _vm) returns()
func (*AbiTransactor) SubmitSetMessageFee ¶
func (_Abi *AbiTransactor) SubmitSetMessageFee(opts *bind.TransactOpts, _vm []byte) (*types.Transaction, error)
SubmitSetMessageFee is a paid mutator transaction binding the contract method 0xf42bc641.
Solidity: function submitSetMessageFee(bytes _vm) returns()
func (*AbiTransactor) SubmitTransferFees ¶
func (_Abi *AbiTransactor) SubmitTransferFees(opts *bind.TransactOpts, _vm []byte) (*types.Transaction, error)
SubmitTransferFees is a paid mutator transaction binding the contract method 0x93df337e.
Solidity: function submitTransferFees(bytes _vm) returns()
type AbiTransactorRaw ¶
type AbiTransactorRaw struct {
Contract *AbiTransactor // Generic write-only contract binding to access the raw methods on
}
AbiTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*AbiTransactorRaw) Transact ¶
func (_Abi *AbiTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AbiTransactorRaw) Transfer ¶
func (_Abi *AbiTransactorRaw) 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 AbiTransactorSession ¶
type AbiTransactorSession struct { Contract *AbiTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
AbiTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*AbiTransactorSession) Fallback ¶
func (_Abi *AbiTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)
Fallback is a paid mutator transaction binding the contract fallback function.
Solidity: fallback() payable returns()
func (*AbiTransactorSession) Initialize ¶
func (_Abi *AbiTransactorSession) Initialize(initialGuardians []common.Address, chainId uint16, governanceChainId uint16, governanceContract [32]byte) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xf6079017.
Solidity: function initialize(address[] initialGuardians, uint16 chainId, uint16 governanceChainId, bytes32 governanceContract) returns()
func (*AbiTransactorSession) PublishMessage ¶
func (_Abi *AbiTransactorSession) PublishMessage(nonce uint32, payload []byte, consistencyLevel uint8) (*types.Transaction, error)
PublishMessage is a paid mutator transaction binding the contract method 0xb19a437e.
Solidity: function publishMessage(uint32 nonce, bytes payload, uint8 consistencyLevel) payable returns(uint64 sequence)
func (*AbiTransactorSession) Receive ¶
func (_Abi *AbiTransactorSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*AbiTransactorSession) SubmitContractUpgrade ¶
func (_Abi *AbiTransactorSession) SubmitContractUpgrade(_vm []byte) (*types.Transaction, error)
SubmitContractUpgrade is a paid mutator transaction binding the contract method 0x5cb8cae2.
Solidity: function submitContractUpgrade(bytes _vm) returns()
func (*AbiTransactorSession) SubmitNewGuardianSet ¶
func (_Abi *AbiTransactorSession) SubmitNewGuardianSet(_vm []byte) (*types.Transaction, error)
SubmitNewGuardianSet is a paid mutator transaction binding the contract method 0x6606b4e0.
Solidity: function submitNewGuardianSet(bytes _vm) returns()
func (*AbiTransactorSession) SubmitSetMessageFee ¶
func (_Abi *AbiTransactorSession) SubmitSetMessageFee(_vm []byte) (*types.Transaction, error)
SubmitSetMessageFee is a paid mutator transaction binding the contract method 0xf42bc641.
Solidity: function submitSetMessageFee(bytes _vm) returns()
func (*AbiTransactorSession) SubmitTransferFees ¶
func (_Abi *AbiTransactorSession) SubmitTransferFees(_vm []byte) (*types.Transaction, error)
SubmitTransferFees is a paid mutator transaction binding the contract method 0x93df337e.
Solidity: function submitTransferFees(bytes _vm) returns()
type AbiUpgraded ¶
type AbiUpgraded struct { Implementation common.Address Raw types.Log // Blockchain specific contextual infos }
AbiUpgraded represents a Upgraded event raised by the Abi contract.
type AbiUpgradedIterator ¶
type AbiUpgradedIterator struct { Event *AbiUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AbiUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the Abi contract.
func (*AbiUpgradedIterator) Close ¶
func (it *AbiUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AbiUpgradedIterator) Error ¶
func (it *AbiUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AbiUpgradedIterator) Next ¶
func (it *AbiUpgradedIterator) Next() bool
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 GovernanceStructsContractUpgrade ¶
type GovernanceStructsContractUpgrade struct { Module [32]byte Action uint8 Chain uint16 NewContract common.Address }
GovernanceStructsContractUpgrade is an auto generated low-level Go binding around an user-defined struct.
type GovernanceStructsGuardianSetUpgrade ¶
type GovernanceStructsGuardianSetUpgrade struct { Module [32]byte Action uint8 Chain uint16 NewGuardianSet StructsGuardianSet NewGuardianSetIndex uint32 }
GovernanceStructsGuardianSetUpgrade is an auto generated low-level Go binding around an user-defined struct.
type GovernanceStructsSetMessageFee ¶
type GovernanceStructsSetMessageFee struct { Module [32]byte Action uint8 Chain uint16 MessageFee *big.Int }
GovernanceStructsSetMessageFee is an auto generated low-level Go binding around an user-defined struct.
type GovernanceStructsTransferFees ¶
type GovernanceStructsTransferFees struct { Module [32]byte Action uint8 Chain uint16 Amount *big.Int Recipient [32]byte }
GovernanceStructsTransferFees is an auto generated low-level Go binding around an user-defined struct.
type StructsGuardianSet ¶
StructsGuardianSet is an auto generated low-level Go binding around an user-defined struct.
type StructsSignature ¶
StructsSignature is an auto generated low-level Go binding around an user-defined struct.
type StructsVM ¶
type StructsVM struct { Version uint8 Timestamp uint32 Nonce uint32 EmitterChainId uint16 EmitterAddress [32]byte Sequence uint64 ConsistencyLevel uint8 Payload []byte GuardianSetIndex uint32 Signatures []StructsSignature Hash [32]byte }
StructsVM is an auto generated low-level Go binding around an user-defined struct.