Documentation ¶
Index ¶
- Variables
- type IZKMECrossChainUpgradeable
- type IZKMECrossChainUpgradeableCaller
- func (_IZKMECrossChainUpgradeable *IZKMECrossChainUpgradeableCaller) GetCrossChainSequence(opts *bind.CallOpts, chainId uint32) (*big.Int, error)
- func (_IZKMECrossChainUpgradeable *IZKMECrossChainUpgradeableCaller) GetCrossChainStatus(opts *bind.CallOpts, chainId uint32, user common.Address) (uint8, error)
- type IZKMECrossChainUpgradeableCallerRaw
- type IZKMECrossChainUpgradeableCallerSession
- type IZKMECrossChainUpgradeableFilterer
- func (_IZKMECrossChainUpgradeable *IZKMECrossChainUpgradeableFilterer) FilterZkmeSBTCrossChainPackage(opts *bind.FilterOpts, destChainId []uint32, channelId []uint32, ...) (*IZKMECrossChainUpgradeableZkmeSBTCrossChainPackageIterator, error)
- func (_IZKMECrossChainUpgradeable *IZKMECrossChainUpgradeableFilterer) ParseZkmeSBTCrossChainPackage(log types.Log) (*IZKMECrossChainUpgradeableZkmeSBTCrossChainPackage, error)
- func (_IZKMECrossChainUpgradeable *IZKMECrossChainUpgradeableFilterer) WatchZkmeSBTCrossChainPackage(opts *bind.WatchOpts, ...) (event.Subscription, error)
- type IZKMECrossChainUpgradeableRaw
- func (_IZKMECrossChainUpgradeable *IZKMECrossChainUpgradeableRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IZKMECrossChainUpgradeable *IZKMECrossChainUpgradeableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IZKMECrossChainUpgradeable *IZKMECrossChainUpgradeableRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IZKMECrossChainUpgradeableSession
- func (_IZKMECrossChainUpgradeable *IZKMECrossChainUpgradeableSession) AckMinted(chainId uint32, user common.Address, status uint8) (*types.Transaction, error)
- func (_IZKMECrossChainUpgradeable *IZKMECrossChainUpgradeableSession) Forward(chainId uint32, srcUser common.Address, destUser common.Address) (*types.Transaction, error)
- func (_IZKMECrossChainUpgradeable *IZKMECrossChainUpgradeableSession) GetCrossChainSequence(chainId uint32) (*big.Int, error)
- func (_IZKMECrossChainUpgradeable *IZKMECrossChainUpgradeableSession) GetCrossChainStatus(chainId uint32, user common.Address) (uint8, error)
- type IZKMECrossChainUpgradeableTransactor
- func (_IZKMECrossChainUpgradeable *IZKMECrossChainUpgradeableTransactor) AckMinted(opts *bind.TransactOpts, chainId uint32, user common.Address, status uint8) (*types.Transaction, error)
- func (_IZKMECrossChainUpgradeable *IZKMECrossChainUpgradeableTransactor) Forward(opts *bind.TransactOpts, chainId uint32, srcUser common.Address, ...) (*types.Transaction, error)
- type IZKMECrossChainUpgradeableTransactorRaw
- func (_IZKMECrossChainUpgradeable *IZKMECrossChainUpgradeableTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IZKMECrossChainUpgradeable *IZKMECrossChainUpgradeableTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IZKMECrossChainUpgradeableTransactorSession
- func (_IZKMECrossChainUpgradeable *IZKMECrossChainUpgradeableTransactorSession) AckMinted(chainId uint32, user common.Address, status uint8) (*types.Transaction, error)
- func (_IZKMECrossChainUpgradeable *IZKMECrossChainUpgradeableTransactorSession) Forward(chainId uint32, srcUser common.Address, destUser common.Address) (*types.Transaction, error)
- type IZKMECrossChainUpgradeableZkmeSBTCrossChainPackage
- type IZKMECrossChainUpgradeableZkmeSBTCrossChainPackageIterator
- type KYCDataLibEventData
Constants ¶
This section is empty.
Variables ¶
var IZKMECrossChainUpgradeableABI = IZKMECrossChainUpgradeableMetaData.ABI
IZKMECrossChainUpgradeableABI is the input ABI used to generate the binding from. Deprecated: Use IZKMECrossChainUpgradeableMetaData.ABI instead.
var IZKMECrossChainUpgradeableMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"srcChainId\",\"type\":\"uint32\"},{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"destChainId\",\"type\":\"uint32\"},{\"indexed\":true,\"internalType\":\"uint32\",\"name\":\"channelId\",\"type\":\"uint32\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"sequence\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"}],\"name\":\"ZkmeSBTCrossChainPackage\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"chainId\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"uint8\",\"name\":\"status\",\"type\":\"uint8\"}],\"name\":\"ackMinted\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"chainId\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"srcUser\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"destUser\",\"type\":\"address\"}],\"name\":\"forward\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"chainId\",\"type\":\"uint32\"}],\"name\":\"getCrossChainSequence\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32\",\"name\":\"chainId\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"getCrossChainStatus\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
IZKMECrossChainUpgradeableMetaData contains all meta data concerning the IZKMECrossChainUpgradeable contract.
Functions ¶
This section is empty.
Types ¶
type IZKMECrossChainUpgradeable ¶
type IZKMECrossChainUpgradeable struct { IZKMECrossChainUpgradeableCaller // Read-only binding to the contract IZKMECrossChainUpgradeableTransactor // Write-only binding to the contract IZKMECrossChainUpgradeableFilterer // Log filterer for contract events }
IZKMECrossChainUpgradeable is an auto generated Go binding around an Ethereum contract.
func NewIZKMECrossChainUpgradeable ¶
func NewIZKMECrossChainUpgradeable(address common.Address, backend bind.ContractBackend) (*IZKMECrossChainUpgradeable, error)
NewIZKMECrossChainUpgradeable creates a new instance of IZKMECrossChainUpgradeable, bound to a specific deployed contract.
type IZKMECrossChainUpgradeableCaller ¶
type IZKMECrossChainUpgradeableCaller struct {
// contains filtered or unexported fields
}
IZKMECrossChainUpgradeableCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIZKMECrossChainUpgradeableCaller ¶
func NewIZKMECrossChainUpgradeableCaller(address common.Address, caller bind.ContractCaller) (*IZKMECrossChainUpgradeableCaller, error)
NewIZKMECrossChainUpgradeableCaller creates a new read-only instance of IZKMECrossChainUpgradeable, bound to a specific deployed contract.
func (*IZKMECrossChainUpgradeableCaller) GetCrossChainSequence ¶
func (_IZKMECrossChainUpgradeable *IZKMECrossChainUpgradeableCaller) GetCrossChainSequence(opts *bind.CallOpts, chainId uint32) (*big.Int, error)
GetCrossChainSequence is a free data retrieval call binding the contract method 0xd8b2a23b.
Solidity: function getCrossChainSequence(uint32 chainId) view returns(uint256)
func (*IZKMECrossChainUpgradeableCaller) GetCrossChainStatus ¶
func (_IZKMECrossChainUpgradeable *IZKMECrossChainUpgradeableCaller) GetCrossChainStatus(opts *bind.CallOpts, chainId uint32, user common.Address) (uint8, error)
GetCrossChainStatus is a free data retrieval call binding the contract method 0xfbdafb72.
Solidity: function getCrossChainStatus(uint32 chainId, address user) view returns(uint8)
type IZKMECrossChainUpgradeableCallerRaw ¶
type IZKMECrossChainUpgradeableCallerRaw struct {
Contract *IZKMECrossChainUpgradeableCaller // Generic read-only contract binding to access the raw methods on
}
IZKMECrossChainUpgradeableCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IZKMECrossChainUpgradeableCallerRaw) Call ¶
func (_IZKMECrossChainUpgradeable *IZKMECrossChainUpgradeableCallerRaw) 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 IZKMECrossChainUpgradeableCallerSession ¶
type IZKMECrossChainUpgradeableCallerSession struct { Contract *IZKMECrossChainUpgradeableCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IZKMECrossChainUpgradeableCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IZKMECrossChainUpgradeableCallerSession) GetCrossChainSequence ¶
func (_IZKMECrossChainUpgradeable *IZKMECrossChainUpgradeableCallerSession) GetCrossChainSequence(chainId uint32) (*big.Int, error)
GetCrossChainSequence is a free data retrieval call binding the contract method 0xd8b2a23b.
Solidity: function getCrossChainSequence(uint32 chainId) view returns(uint256)
func (*IZKMECrossChainUpgradeableCallerSession) GetCrossChainStatus ¶
func (_IZKMECrossChainUpgradeable *IZKMECrossChainUpgradeableCallerSession) GetCrossChainStatus(chainId uint32, user common.Address) (uint8, error)
GetCrossChainStatus is a free data retrieval call binding the contract method 0xfbdafb72.
Solidity: function getCrossChainStatus(uint32 chainId, address user) view returns(uint8)
type IZKMECrossChainUpgradeableFilterer ¶
type IZKMECrossChainUpgradeableFilterer struct {
// contains filtered or unexported fields
}
IZKMECrossChainUpgradeableFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIZKMECrossChainUpgradeableFilterer ¶
func NewIZKMECrossChainUpgradeableFilterer(address common.Address, filterer bind.ContractFilterer) (*IZKMECrossChainUpgradeableFilterer, error)
NewIZKMECrossChainUpgradeableFilterer creates a new log filterer instance of IZKMECrossChainUpgradeable, bound to a specific deployed contract.
func (*IZKMECrossChainUpgradeableFilterer) FilterZkmeSBTCrossChainPackage ¶
func (_IZKMECrossChainUpgradeable *IZKMECrossChainUpgradeableFilterer) FilterZkmeSBTCrossChainPackage(opts *bind.FilterOpts, destChainId []uint32, channelId []uint32, sequence []*big.Int) (*IZKMECrossChainUpgradeableZkmeSBTCrossChainPackageIterator, error)
FilterZkmeSBTCrossChainPackage is a free log retrieval operation binding the contract event 0xc9f87fd9c5d4247a74066dab91cf75ddcd8d8ffd96b65be03729ffb11c9aed7f.
Solidity: event ZkmeSBTCrossChainPackage(uint32 srcChainId, uint32 indexed destChainId, uint32 indexed channelId, uint256 indexed sequence, bytes payload)
func (*IZKMECrossChainUpgradeableFilterer) ParseZkmeSBTCrossChainPackage ¶
func (_IZKMECrossChainUpgradeable *IZKMECrossChainUpgradeableFilterer) ParseZkmeSBTCrossChainPackage(log types.Log) (*IZKMECrossChainUpgradeableZkmeSBTCrossChainPackage, error)
ParseZkmeSBTCrossChainPackage is a log parse operation binding the contract event 0xc9f87fd9c5d4247a74066dab91cf75ddcd8d8ffd96b65be03729ffb11c9aed7f.
Solidity: event ZkmeSBTCrossChainPackage(uint32 srcChainId, uint32 indexed destChainId, uint32 indexed channelId, uint256 indexed sequence, bytes payload)
func (*IZKMECrossChainUpgradeableFilterer) WatchZkmeSBTCrossChainPackage ¶
func (_IZKMECrossChainUpgradeable *IZKMECrossChainUpgradeableFilterer) WatchZkmeSBTCrossChainPackage(opts *bind.WatchOpts, sink chan<- *IZKMECrossChainUpgradeableZkmeSBTCrossChainPackage, destChainId []uint32, channelId []uint32, sequence []*big.Int) (event.Subscription, error)
WatchZkmeSBTCrossChainPackage is a free log subscription operation binding the contract event 0xc9f87fd9c5d4247a74066dab91cf75ddcd8d8ffd96b65be03729ffb11c9aed7f.
Solidity: event ZkmeSBTCrossChainPackage(uint32 srcChainId, uint32 indexed destChainId, uint32 indexed channelId, uint256 indexed sequence, bytes payload)
type IZKMECrossChainUpgradeableRaw ¶
type IZKMECrossChainUpgradeableRaw struct {
Contract *IZKMECrossChainUpgradeable // Generic contract binding to access the raw methods on
}
IZKMECrossChainUpgradeableRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IZKMECrossChainUpgradeableRaw) Call ¶
func (_IZKMECrossChainUpgradeable *IZKMECrossChainUpgradeableRaw) 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 (*IZKMECrossChainUpgradeableRaw) Transact ¶
func (_IZKMECrossChainUpgradeable *IZKMECrossChainUpgradeableRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IZKMECrossChainUpgradeableRaw) Transfer ¶
func (_IZKMECrossChainUpgradeable *IZKMECrossChainUpgradeableRaw) 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 IZKMECrossChainUpgradeableSession ¶
type IZKMECrossChainUpgradeableSession struct { Contract *IZKMECrossChainUpgradeable // 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 }
IZKMECrossChainUpgradeableSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IZKMECrossChainUpgradeableSession) AckMinted ¶
func (_IZKMECrossChainUpgradeable *IZKMECrossChainUpgradeableSession) AckMinted(chainId uint32, user common.Address, status uint8) (*types.Transaction, error)
AckMinted is a paid mutator transaction binding the contract method 0xa7d7f87c.
Solidity: function ackMinted(uint32 chainId, address user, uint8 status) returns()
func (*IZKMECrossChainUpgradeableSession) Forward ¶
func (_IZKMECrossChainUpgradeable *IZKMECrossChainUpgradeableSession) Forward(chainId uint32, srcUser common.Address, destUser common.Address) (*types.Transaction, error)
Forward is a paid mutator transaction binding the contract method 0x04b2c8df.
Solidity: function forward(uint32 chainId, address srcUser, address destUser) returns()
func (*IZKMECrossChainUpgradeableSession) GetCrossChainSequence ¶
func (_IZKMECrossChainUpgradeable *IZKMECrossChainUpgradeableSession) GetCrossChainSequence(chainId uint32) (*big.Int, error)
GetCrossChainSequence is a free data retrieval call binding the contract method 0xd8b2a23b.
Solidity: function getCrossChainSequence(uint32 chainId) view returns(uint256)
func (*IZKMECrossChainUpgradeableSession) GetCrossChainStatus ¶
func (_IZKMECrossChainUpgradeable *IZKMECrossChainUpgradeableSession) GetCrossChainStatus(chainId uint32, user common.Address) (uint8, error)
GetCrossChainStatus is a free data retrieval call binding the contract method 0xfbdafb72.
Solidity: function getCrossChainStatus(uint32 chainId, address user) view returns(uint8)
type IZKMECrossChainUpgradeableTransactor ¶
type IZKMECrossChainUpgradeableTransactor struct {
// contains filtered or unexported fields
}
IZKMECrossChainUpgradeableTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIZKMECrossChainUpgradeableTransactor ¶
func NewIZKMECrossChainUpgradeableTransactor(address common.Address, transactor bind.ContractTransactor) (*IZKMECrossChainUpgradeableTransactor, error)
NewIZKMECrossChainUpgradeableTransactor creates a new write-only instance of IZKMECrossChainUpgradeable, bound to a specific deployed contract.
func (*IZKMECrossChainUpgradeableTransactor) AckMinted ¶
func (_IZKMECrossChainUpgradeable *IZKMECrossChainUpgradeableTransactor) AckMinted(opts *bind.TransactOpts, chainId uint32, user common.Address, status uint8) (*types.Transaction, error)
AckMinted is a paid mutator transaction binding the contract method 0xa7d7f87c.
Solidity: function ackMinted(uint32 chainId, address user, uint8 status) returns()
func (*IZKMECrossChainUpgradeableTransactor) Forward ¶
func (_IZKMECrossChainUpgradeable *IZKMECrossChainUpgradeableTransactor) Forward(opts *bind.TransactOpts, chainId uint32, srcUser common.Address, destUser common.Address) (*types.Transaction, error)
Forward is a paid mutator transaction binding the contract method 0x04b2c8df.
Solidity: function forward(uint32 chainId, address srcUser, address destUser) returns()
type IZKMECrossChainUpgradeableTransactorRaw ¶
type IZKMECrossChainUpgradeableTransactorRaw struct {
Contract *IZKMECrossChainUpgradeableTransactor // Generic write-only contract binding to access the raw methods on
}
IZKMECrossChainUpgradeableTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IZKMECrossChainUpgradeableTransactorRaw) Transact ¶
func (_IZKMECrossChainUpgradeable *IZKMECrossChainUpgradeableTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IZKMECrossChainUpgradeableTransactorRaw) Transfer ¶
func (_IZKMECrossChainUpgradeable *IZKMECrossChainUpgradeableTransactorRaw) 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 IZKMECrossChainUpgradeableTransactorSession ¶
type IZKMECrossChainUpgradeableTransactorSession struct { Contract *IZKMECrossChainUpgradeableTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IZKMECrossChainUpgradeableTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*IZKMECrossChainUpgradeableTransactorSession) AckMinted ¶
func (_IZKMECrossChainUpgradeable *IZKMECrossChainUpgradeableTransactorSession) AckMinted(chainId uint32, user common.Address, status uint8) (*types.Transaction, error)
AckMinted is a paid mutator transaction binding the contract method 0xa7d7f87c.
Solidity: function ackMinted(uint32 chainId, address user, uint8 status) returns()
func (*IZKMECrossChainUpgradeableTransactorSession) Forward ¶
func (_IZKMECrossChainUpgradeable *IZKMECrossChainUpgradeableTransactorSession) Forward(chainId uint32, srcUser common.Address, destUser common.Address) (*types.Transaction, error)
Forward is a paid mutator transaction binding the contract method 0x04b2c8df.
Solidity: function forward(uint32 chainId, address srcUser, address destUser) returns()
type IZKMECrossChainUpgradeableZkmeSBTCrossChainPackage ¶
type IZKMECrossChainUpgradeableZkmeSBTCrossChainPackage struct { SrcChainId uint32 DestChainId uint32 ChannelId uint32 Sequence *big.Int Payload []byte Raw types.Log // Blockchain specific contextual infos }
IZKMECrossChainUpgradeableZkmeSBTCrossChainPackage represents a ZkmeSBTCrossChainPackage event raised by the IZKMECrossChainUpgradeable contract.
type IZKMECrossChainUpgradeableZkmeSBTCrossChainPackageIterator ¶
type IZKMECrossChainUpgradeableZkmeSBTCrossChainPackageIterator struct { Event *IZKMECrossChainUpgradeableZkmeSBTCrossChainPackage // Event containing the contract specifics and raw log // contains filtered or unexported fields }
IZKMECrossChainUpgradeableZkmeSBTCrossChainPackageIterator is returned from FilterZkmeSBTCrossChainPackage and is used to iterate over the raw logs and unpacked data for ZkmeSBTCrossChainPackage events raised by the IZKMECrossChainUpgradeable contract.
func (*IZKMECrossChainUpgradeableZkmeSBTCrossChainPackageIterator) Close ¶
func (it *IZKMECrossChainUpgradeableZkmeSBTCrossChainPackageIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*IZKMECrossChainUpgradeableZkmeSBTCrossChainPackageIterator) Error ¶
func (it *IZKMECrossChainUpgradeableZkmeSBTCrossChainPackageIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*IZKMECrossChainUpgradeableZkmeSBTCrossChainPackageIterator) Next ¶
func (it *IZKMECrossChainUpgradeableZkmeSBTCrossChainPackageIterator) 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.