Documentation
¶
Index ¶
- Constants
- Variables
- type TokenWrapper
- type TokenWrapperCaller
- func (_TokenWrapper *TokenWrapperCaller) BRIDGEADMINROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_TokenWrapper *TokenWrapperCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_TokenWrapper *TokenWrapperCaller) GetProps(opts *bind.CallOpts) (struct{ ... }, error)
- func (_TokenWrapper *TokenWrapperCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)
- func (_TokenWrapper *TokenWrapperCaller) GetRoleMember(opts *bind.CallOpts, role [32]byte, index *big.Int) (common.Address, error)
- func (_TokenWrapper *TokenWrapperCaller) GetRoleMemberCount(opts *bind.CallOpts, role [32]byte) (*big.Int, error)
- func (_TokenWrapper *TokenWrapperCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)
- func (_TokenWrapper *TokenWrapperCaller) IsBech32Valid(opts *bind.CallOpts, toChainAddress string) (bool, error)
- func (_TokenWrapper *TokenWrapperCaller) PAUSERROLE(opts *bind.CallOpts) ([32]byte, error)
- func (_TokenWrapper *TokenWrapperCaller) Paused(opts *bind.CallOpts) (bool, error)
- type TokenWrapperCallerRaw
- type TokenWrapperCallerSession
- func (_TokenWrapper *TokenWrapperCallerSession) BRIDGEADMINROLE() ([32]byte, error)
- func (_TokenWrapper *TokenWrapperCallerSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_TokenWrapper *TokenWrapperCallerSession) GetProps() (struct{ ... }, error)
- func (_TokenWrapper *TokenWrapperCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_TokenWrapper *TokenWrapperCallerSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
- func (_TokenWrapper *TokenWrapperCallerSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
- func (_TokenWrapper *TokenWrapperCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_TokenWrapper *TokenWrapperCallerSession) IsBech32Valid(toChainAddress string) (bool, error)
- func (_TokenWrapper *TokenWrapperCallerSession) PAUSERROLE() ([32]byte, error)
- func (_TokenWrapper *TokenWrapperCallerSession) Paused() (bool, error)
- type TokenWrapperFilterer
- func (_TokenWrapper *TokenWrapperFilterer) FilterGenerateUTokens(opts *bind.FilterOpts, accountAddress []common.Address, tokens []*big.Int, ...) (*TokenWrapperGenerateUTokensIterator, error)
- func (_TokenWrapper *TokenWrapperFilterer) FilterPaused(opts *bind.FilterOpts) (*TokenWrapperPausedIterator, error)
- func (_TokenWrapper *TokenWrapperFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, ...) (*TokenWrapperRoleAdminChangedIterator, error)
- func (_TokenWrapper *TokenWrapperFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*TokenWrapperRoleGrantedIterator, error)
- func (_TokenWrapper *TokenWrapperFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, ...) (*TokenWrapperRoleRevokedIterator, error)
- func (_TokenWrapper *TokenWrapperFilterer) FilterSetFees(opts *bind.FilterOpts) (*TokenWrapperSetFeesIterator, error)
- func (_TokenWrapper *TokenWrapperFilterer) FilterSetMinimumValues(opts *bind.FilterOpts) (*TokenWrapperSetMinimumValuesIterator, error)
- func (_TokenWrapper *TokenWrapperFilterer) FilterSetUTokensContract(opts *bind.FilterOpts, _contract []common.Address) (*TokenWrapperSetUTokensContractIterator, error)
- func (_TokenWrapper *TokenWrapperFilterer) FilterUnpaused(opts *bind.FilterOpts) (*TokenWrapperUnpausedIterator, error)
- func (_TokenWrapper *TokenWrapperFilterer) FilterWithdrawUTokens(opts *bind.FilterOpts, accountAddress []common.Address, tokens []*big.Int, ...) (*TokenWrapperWithdrawUTokensIterator, error)
- func (_TokenWrapper *TokenWrapperFilterer) ParseGenerateUTokens(log types.Log) (*TokenWrapperGenerateUTokens, error)
- func (_TokenWrapper *TokenWrapperFilterer) ParsePaused(log types.Log) (*TokenWrapperPaused, error)
- func (_TokenWrapper *TokenWrapperFilterer) ParseRoleAdminChanged(log types.Log) (*TokenWrapperRoleAdminChanged, error)
- func (_TokenWrapper *TokenWrapperFilterer) ParseRoleGranted(log types.Log) (*TokenWrapperRoleGranted, error)
- func (_TokenWrapper *TokenWrapperFilterer) ParseRoleRevoked(log types.Log) (*TokenWrapperRoleRevoked, error)
- func (_TokenWrapper *TokenWrapperFilterer) ParseSetFees(log types.Log) (*TokenWrapperSetFees, error)
- func (_TokenWrapper *TokenWrapperFilterer) ParseSetMinimumValues(log types.Log) (*TokenWrapperSetMinimumValues, error)
- func (_TokenWrapper *TokenWrapperFilterer) ParseSetUTokensContract(log types.Log) (*TokenWrapperSetUTokensContract, error)
- func (_TokenWrapper *TokenWrapperFilterer) ParseUnpaused(log types.Log) (*TokenWrapperUnpaused, error)
- func (_TokenWrapper *TokenWrapperFilterer) ParseWithdrawUTokens(log types.Log) (*TokenWrapperWithdrawUTokens, error)
- func (_TokenWrapper *TokenWrapperFilterer) WatchGenerateUTokens(opts *bind.WatchOpts, sink chan<- *TokenWrapperGenerateUTokens, ...) (event.Subscription, error)
- func (_TokenWrapper *TokenWrapperFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *TokenWrapperPaused) (event.Subscription, error)
- func (_TokenWrapper *TokenWrapperFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *TokenWrapperRoleAdminChanged, ...) (event.Subscription, error)
- func (_TokenWrapper *TokenWrapperFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *TokenWrapperRoleGranted, role [][32]byte, ...) (event.Subscription, error)
- func (_TokenWrapper *TokenWrapperFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *TokenWrapperRoleRevoked, role [][32]byte, ...) (event.Subscription, error)
- func (_TokenWrapper *TokenWrapperFilterer) WatchSetFees(opts *bind.WatchOpts, sink chan<- *TokenWrapperSetFees) (event.Subscription, error)
- func (_TokenWrapper *TokenWrapperFilterer) WatchSetMinimumValues(opts *bind.WatchOpts, sink chan<- *TokenWrapperSetMinimumValues) (event.Subscription, error)
- func (_TokenWrapper *TokenWrapperFilterer) WatchSetUTokensContract(opts *bind.WatchOpts, sink chan<- *TokenWrapperSetUTokensContract, ...) (event.Subscription, error)
- func (_TokenWrapper *TokenWrapperFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *TokenWrapperUnpaused) (event.Subscription, error)
- func (_TokenWrapper *TokenWrapperFilterer) WatchWithdrawUTokens(opts *bind.WatchOpts, sink chan<- *TokenWrapperWithdrawUTokens, ...) (event.Subscription, error)
- type TokenWrapperGenerateUTokens
- type TokenWrapperGenerateUTokensIterator
- type TokenWrapperPaused
- type TokenWrapperPausedIterator
- type TokenWrapperRaw
- func (_TokenWrapper *TokenWrapperRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_TokenWrapper *TokenWrapperRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_TokenWrapper *TokenWrapperRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type TokenWrapperRoleAdminChanged
- type TokenWrapperRoleAdminChangedIterator
- type TokenWrapperRoleGranted
- type TokenWrapperRoleGrantedIterator
- type TokenWrapperRoleRevoked
- type TokenWrapperRoleRevokedIterator
- type TokenWrapperSession
- func (_TokenWrapper *TokenWrapperSession) BRIDGEADMINROLE() ([32]byte, error)
- func (_TokenWrapper *TokenWrapperSession) DEFAULTADMINROLE() ([32]byte, error)
- func (_TokenWrapper *TokenWrapperSession) GenerateUTokens(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_TokenWrapper *TokenWrapperSession) GenerateUTokensInBatch(to []common.Address, amount []*big.Int) (*types.Transaction, error)
- func (_TokenWrapper *TokenWrapperSession) GetProps() (struct{ ... }, error)
- func (_TokenWrapper *TokenWrapperSession) GetRoleAdmin(role [32]byte) ([32]byte, error)
- func (_TokenWrapper *TokenWrapperSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
- func (_TokenWrapper *TokenWrapperSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
- func (_TokenWrapper *TokenWrapperSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_TokenWrapper *TokenWrapperSession) HasRole(role [32]byte, account common.Address) (bool, error)
- func (_TokenWrapper *TokenWrapperSession) Initialize(uAddress common.Address, bridgeAdminAddress common.Address, ...) (*types.Transaction, error)
- func (_TokenWrapper *TokenWrapperSession) IsBech32Valid(toChainAddress string) (bool, error)
- func (_TokenWrapper *TokenWrapperSession) PAUSERROLE() ([32]byte, error)
- func (_TokenWrapper *TokenWrapperSession) Pause() (*types.Transaction, error)
- func (_TokenWrapper *TokenWrapperSession) Paused() (bool, error)
- func (_TokenWrapper *TokenWrapperSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_TokenWrapper *TokenWrapperSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_TokenWrapper *TokenWrapperSession) SetFees(depositFee *big.Int, withdrawFee *big.Int) (*types.Transaction, error)
- func (_TokenWrapper *TokenWrapperSession) SetMinimumValues(minDeposit *big.Int, minWithdraw *big.Int) (*types.Transaction, error)
- func (_TokenWrapper *TokenWrapperSession) SetUTokensContract(uAddress common.Address) (*types.Transaction, error)
- func (_TokenWrapper *TokenWrapperSession) Unpause() (*types.Transaction, error)
- func (_TokenWrapper *TokenWrapperSession) WithdrawUTokens(from common.Address, tokens *big.Int, toChainAddress string) (*types.Transaction, error)
- type TokenWrapperSetFees
- type TokenWrapperSetFeesIterator
- type TokenWrapperSetMinimumValues
- type TokenWrapperSetMinimumValuesIterator
- type TokenWrapperSetUTokensContract
- type TokenWrapperSetUTokensContractIterator
- type TokenWrapperTransactor
- func (_TokenWrapper *TokenWrapperTransactor) GenerateUTokens(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_TokenWrapper *TokenWrapperTransactor) GenerateUTokensInBatch(opts *bind.TransactOpts, to []common.Address, amount []*big.Int) (*types.Transaction, error)
- func (_TokenWrapper *TokenWrapperTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_TokenWrapper *TokenWrapperTransactor) Initialize(opts *bind.TransactOpts, uAddress common.Address, ...) (*types.Transaction, error)
- func (_TokenWrapper *TokenWrapperTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_TokenWrapper *TokenWrapperTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_TokenWrapper *TokenWrapperTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)
- func (_TokenWrapper *TokenWrapperTransactor) SetFees(opts *bind.TransactOpts, depositFee *big.Int, withdrawFee *big.Int) (*types.Transaction, error)
- func (_TokenWrapper *TokenWrapperTransactor) SetMinimumValues(opts *bind.TransactOpts, minDeposit *big.Int, minWithdraw *big.Int) (*types.Transaction, error)
- func (_TokenWrapper *TokenWrapperTransactor) SetUTokensContract(opts *bind.TransactOpts, uAddress common.Address) (*types.Transaction, error)
- func (_TokenWrapper *TokenWrapperTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_TokenWrapper *TokenWrapperTransactor) WithdrawUTokens(opts *bind.TransactOpts, from common.Address, tokens *big.Int, ...) (*types.Transaction, error)
- type TokenWrapperTransactorRaw
- type TokenWrapperTransactorSession
- func (_TokenWrapper *TokenWrapperTransactorSession) GenerateUTokens(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_TokenWrapper *TokenWrapperTransactorSession) GenerateUTokensInBatch(to []common.Address, amount []*big.Int) (*types.Transaction, error)
- func (_TokenWrapper *TokenWrapperTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_TokenWrapper *TokenWrapperTransactorSession) Initialize(uAddress common.Address, bridgeAdminAddress common.Address, ...) (*types.Transaction, error)
- func (_TokenWrapper *TokenWrapperTransactorSession) Pause() (*types.Transaction, error)
- func (_TokenWrapper *TokenWrapperTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_TokenWrapper *TokenWrapperTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)
- func (_TokenWrapper *TokenWrapperTransactorSession) SetFees(depositFee *big.Int, withdrawFee *big.Int) (*types.Transaction, error)
- func (_TokenWrapper *TokenWrapperTransactorSession) SetMinimumValues(minDeposit *big.Int, minWithdraw *big.Int) (*types.Transaction, error)
- func (_TokenWrapper *TokenWrapperTransactorSession) SetUTokensContract(uAddress common.Address) (*types.Transaction, error)
- func (_TokenWrapper *TokenWrapperTransactorSession) Unpause() (*types.Transaction, error)
- func (_TokenWrapper *TokenWrapperTransactorSession) WithdrawUTokens(from common.Address, tokens *big.Int, toChainAddress string) (*types.Transaction, error)
- type TokenWrapperUnpaused
- type TokenWrapperUnpausedIterator
- type TokenWrapperWithdrawUTokens
- type TokenWrapperWithdrawUTokensIterator
Constants ¶
const TokenWrapperABI = "" /* 8912-byte string literal not displayed */
TokenWrapperABI is the input ABI used to generate the binding from.
Variables ¶
var TokenWrapperBin = "" /* 32134-byte string literal not displayed */
TokenWrapperBin is the compiled bytecode used for deploying new contracts.
Functions ¶
This section is empty.
Types ¶
type TokenWrapper ¶
type TokenWrapper struct {
TokenWrapperCaller // Read-only binding to the contract
TokenWrapperTransactor // Write-only binding to the contract
TokenWrapperFilterer // Log filterer for contract events
}
TokenWrapper is an auto generated Go binding around an Ethereum contract.
func DeployTokenWrapper ¶
func DeployTokenWrapper(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *TokenWrapper, error)
DeployTokenWrapper deploys a new Ethereum contract, binding an instance of TokenWrapper to it.
func NewTokenWrapper ¶
func NewTokenWrapper(address common.Address, backend bind.ContractBackend) (*TokenWrapper, error)
NewTokenWrapper creates a new instance of TokenWrapper, bound to a specific deployed contract.
type TokenWrapperCaller ¶
type TokenWrapperCaller struct {
// contains filtered or unexported fields
}
TokenWrapperCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewTokenWrapperCaller ¶
func NewTokenWrapperCaller(address common.Address, caller bind.ContractCaller) (*TokenWrapperCaller, error)
NewTokenWrapperCaller creates a new read-only instance of TokenWrapper, bound to a specific deployed contract.
func (*TokenWrapperCaller) BRIDGEADMINROLE ¶
func (_TokenWrapper *TokenWrapperCaller) BRIDGEADMINROLE(opts *bind.CallOpts) ([32]byte, error)
BRIDGEADMINROLE is a free data retrieval call binding the contract method 0x118c38c7.
Solidity: function BRIDGE_ADMIN_ROLE() view returns(bytes32)
func (*TokenWrapperCaller) DEFAULTADMINROLE ¶
func (_TokenWrapper *TokenWrapperCaller) 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 (*TokenWrapperCaller) GetProps ¶
func (_TokenWrapper *TokenWrapperCaller) GetProps(opts *bind.CallOpts) (struct { DepositFee *big.Int WithdrawFee *big.Int MinDeposit *big.Int MinWithdraw *big.Int ValueDivisor *big.Int }, error)
GetProps is a free data retrieval call binding the contract method 0xec1893b4.
Solidity: function getProps() view returns(uint256 depositFee, uint256 withdrawFee, uint256 minDeposit, uint256 minWithdraw, uint256 valueDivisor)
func (*TokenWrapperCaller) GetRoleAdmin ¶
func (_TokenWrapper *TokenWrapperCaller) 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 (*TokenWrapperCaller) GetRoleMember ¶
func (_TokenWrapper *TokenWrapperCaller) GetRoleMember(opts *bind.CallOpts, role [32]byte, index *big.Int) (common.Address, error)
GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.
Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)
func (*TokenWrapperCaller) GetRoleMemberCount ¶
func (_TokenWrapper *TokenWrapperCaller) GetRoleMemberCount(opts *bind.CallOpts, role [32]byte) (*big.Int, error)
GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.
Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)
func (*TokenWrapperCaller) HasRole ¶
func (_TokenWrapper *TokenWrapperCaller) 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 (*TokenWrapperCaller) IsBech32Valid ¶ added in v0.2.1
func (_TokenWrapper *TokenWrapperCaller) IsBech32Valid(opts *bind.CallOpts, toChainAddress string) (bool, error)
IsBech32Valid is a free data retrieval call binding the contract method 0x8f001d4e.
Solidity: function isBech32Valid(string toChainAddress) view returns(bool isAddressValid)
func (*TokenWrapperCaller) PAUSERROLE ¶
func (_TokenWrapper *TokenWrapperCaller) PAUSERROLE(opts *bind.CallOpts) ([32]byte, error)
PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.
Solidity: function PAUSER_ROLE() view returns(bytes32)
type TokenWrapperCallerRaw ¶
type TokenWrapperCallerRaw struct {
Contract *TokenWrapperCaller // Generic read-only contract binding to access the raw methods on
}
TokenWrapperCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*TokenWrapperCallerRaw) Call ¶
func (_TokenWrapper *TokenWrapperCallerRaw) 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 TokenWrapperCallerSession ¶
type TokenWrapperCallerSession struct {
Contract *TokenWrapperCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
TokenWrapperCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*TokenWrapperCallerSession) BRIDGEADMINROLE ¶
func (_TokenWrapper *TokenWrapperCallerSession) BRIDGEADMINROLE() ([32]byte, error)
BRIDGEADMINROLE is a free data retrieval call binding the contract method 0x118c38c7.
Solidity: function BRIDGE_ADMIN_ROLE() view returns(bytes32)
func (*TokenWrapperCallerSession) DEFAULTADMINROLE ¶
func (_TokenWrapper *TokenWrapperCallerSession) 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 (*TokenWrapperCallerSession) GetProps ¶
func (_TokenWrapper *TokenWrapperCallerSession) GetProps() (struct { DepositFee *big.Int WithdrawFee *big.Int MinDeposit *big.Int MinWithdraw *big.Int ValueDivisor *big.Int }, error)
GetProps is a free data retrieval call binding the contract method 0xec1893b4.
Solidity: function getProps() view returns(uint256 depositFee, uint256 withdrawFee, uint256 minDeposit, uint256 minWithdraw, uint256 valueDivisor)
func (*TokenWrapperCallerSession) GetRoleAdmin ¶
func (_TokenWrapper *TokenWrapperCallerSession) 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 (*TokenWrapperCallerSession) GetRoleMember ¶
func (_TokenWrapper *TokenWrapperCallerSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.
Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)
func (*TokenWrapperCallerSession) GetRoleMemberCount ¶
func (_TokenWrapper *TokenWrapperCallerSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.
Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)
func (*TokenWrapperCallerSession) HasRole ¶
func (_TokenWrapper *TokenWrapperCallerSession) 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 (*TokenWrapperCallerSession) IsBech32Valid ¶ added in v0.2.1
func (_TokenWrapper *TokenWrapperCallerSession) IsBech32Valid(toChainAddress string) (bool, error)
IsBech32Valid is a free data retrieval call binding the contract method 0x8f001d4e.
Solidity: function isBech32Valid(string toChainAddress) view returns(bool isAddressValid)
func (*TokenWrapperCallerSession) PAUSERROLE ¶
func (_TokenWrapper *TokenWrapperCallerSession) PAUSERROLE() ([32]byte, error)
PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.
Solidity: function PAUSER_ROLE() view returns(bytes32)
func (*TokenWrapperCallerSession) Paused ¶
func (_TokenWrapper *TokenWrapperCallerSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
type TokenWrapperFilterer ¶
type TokenWrapperFilterer struct {
// contains filtered or unexported fields
}
TokenWrapperFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewTokenWrapperFilterer ¶
func NewTokenWrapperFilterer(address common.Address, filterer bind.ContractFilterer) (*TokenWrapperFilterer, error)
NewTokenWrapperFilterer creates a new log filterer instance of TokenWrapper, bound to a specific deployed contract.
func (*TokenWrapperFilterer) FilterGenerateUTokens ¶
func (_TokenWrapper *TokenWrapperFilterer) FilterGenerateUTokens(opts *bind.FilterOpts, accountAddress []common.Address, tokens []*big.Int, finalTokens []*big.Int) (*TokenWrapperGenerateUTokensIterator, error)
FilterGenerateUTokens is a free log retrieval operation binding the contract event 0x572f067f64ae57ed816b7e9b5424a87d97035d68384f149586cba42b4192c9d8.
Solidity: event GenerateUTokens(address indexed accountAddress, uint256 indexed tokens, uint256 indexed finalTokens, uint256 timestamp)
func (*TokenWrapperFilterer) FilterPaused ¶
func (_TokenWrapper *TokenWrapperFilterer) FilterPaused(opts *bind.FilterOpts) (*TokenWrapperPausedIterator, error)
FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*TokenWrapperFilterer) FilterRoleAdminChanged ¶
func (_TokenWrapper *TokenWrapperFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*TokenWrapperRoleAdminChangedIterator, 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 (*TokenWrapperFilterer) FilterRoleGranted ¶
func (_TokenWrapper *TokenWrapperFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*TokenWrapperRoleGrantedIterator, 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 (*TokenWrapperFilterer) FilterRoleRevoked ¶
func (_TokenWrapper *TokenWrapperFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*TokenWrapperRoleRevokedIterator, 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 (*TokenWrapperFilterer) FilterSetFees ¶
func (_TokenWrapper *TokenWrapperFilterer) FilterSetFees(opts *bind.FilterOpts) (*TokenWrapperSetFeesIterator, error)
FilterSetFees is a free log retrieval operation binding the contract event 0x3be6e637f54f081a2dd12982cfd58481304fc98b604b18fa8ed4aa4e4a9d1532.
Solidity: event SetFees(uint256 depositFee, uint256 withdrawFee)
func (*TokenWrapperFilterer) FilterSetMinimumValues ¶
func (_TokenWrapper *TokenWrapperFilterer) FilterSetMinimumValues(opts *bind.FilterOpts) (*TokenWrapperSetMinimumValuesIterator, error)
FilterSetMinimumValues is a free log retrieval operation binding the contract event 0xa94d40347449ea19b873d64ed55c99772194c49791e82be5c2dc24e4c0044fe3.
Solidity: event SetMinimumValues(uint256 minDeposit, uint256 minWithdraw)
func (*TokenWrapperFilterer) FilterSetUTokensContract ¶
func (_TokenWrapper *TokenWrapperFilterer) FilterSetUTokensContract(opts *bind.FilterOpts, _contract []common.Address) (*TokenWrapperSetUTokensContractIterator, error)
FilterSetUTokensContract is a free log retrieval operation binding the contract event 0xf745c285f36f88bea6af14d4d0f33dd9350cef7895216c1615b1caaee7857e0c.
Solidity: event SetUTokensContract(address indexed _contract)
func (*TokenWrapperFilterer) FilterUnpaused ¶
func (_TokenWrapper *TokenWrapperFilterer) FilterUnpaused(opts *bind.FilterOpts) (*TokenWrapperUnpausedIterator, error)
FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*TokenWrapperFilterer) FilterWithdrawUTokens ¶
func (_TokenWrapper *TokenWrapperFilterer) FilterWithdrawUTokens(opts *bind.FilterOpts, accountAddress []common.Address, tokens []*big.Int, toChainAddress []string) (*TokenWrapperWithdrawUTokensIterator, error)
FilterWithdrawUTokens is a free log retrieval operation binding the contract event 0x0f4363f6961ed151f2cf8f720784b70c0f5573f216fc939f67f2a5d12698e02e.
Solidity: event WithdrawUTokens(address indexed accountAddress, uint256 indexed tokens, uint256 finalTokens, string indexed toChainAddress, uint256 timestamp)
func (*TokenWrapperFilterer) ParseGenerateUTokens ¶
func (_TokenWrapper *TokenWrapperFilterer) ParseGenerateUTokens(log types.Log) (*TokenWrapperGenerateUTokens, error)
ParseGenerateUTokens is a log parse operation binding the contract event 0x572f067f64ae57ed816b7e9b5424a87d97035d68384f149586cba42b4192c9d8.
Solidity: event GenerateUTokens(address indexed accountAddress, uint256 indexed tokens, uint256 indexed finalTokens, uint256 timestamp)
func (*TokenWrapperFilterer) ParsePaused ¶
func (_TokenWrapper *TokenWrapperFilterer) ParsePaused(log types.Log) (*TokenWrapperPaused, error)
ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*TokenWrapperFilterer) ParseRoleAdminChanged ¶
func (_TokenWrapper *TokenWrapperFilterer) ParseRoleAdminChanged(log types.Log) (*TokenWrapperRoleAdminChanged, 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 (*TokenWrapperFilterer) ParseRoleGranted ¶
func (_TokenWrapper *TokenWrapperFilterer) ParseRoleGranted(log types.Log) (*TokenWrapperRoleGranted, 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 (*TokenWrapperFilterer) ParseRoleRevoked ¶
func (_TokenWrapper *TokenWrapperFilterer) ParseRoleRevoked(log types.Log) (*TokenWrapperRoleRevoked, 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 (*TokenWrapperFilterer) ParseSetFees ¶
func (_TokenWrapper *TokenWrapperFilterer) ParseSetFees(log types.Log) (*TokenWrapperSetFees, error)
ParseSetFees is a log parse operation binding the contract event 0x3be6e637f54f081a2dd12982cfd58481304fc98b604b18fa8ed4aa4e4a9d1532.
Solidity: event SetFees(uint256 depositFee, uint256 withdrawFee)
func (*TokenWrapperFilterer) ParseSetMinimumValues ¶
func (_TokenWrapper *TokenWrapperFilterer) ParseSetMinimumValues(log types.Log) (*TokenWrapperSetMinimumValues, error)
ParseSetMinimumValues is a log parse operation binding the contract event 0xa94d40347449ea19b873d64ed55c99772194c49791e82be5c2dc24e4c0044fe3.
Solidity: event SetMinimumValues(uint256 minDeposit, uint256 minWithdraw)
func (*TokenWrapperFilterer) ParseSetUTokensContract ¶
func (_TokenWrapper *TokenWrapperFilterer) ParseSetUTokensContract(log types.Log) (*TokenWrapperSetUTokensContract, error)
ParseSetUTokensContract is a log parse operation binding the contract event 0xf745c285f36f88bea6af14d4d0f33dd9350cef7895216c1615b1caaee7857e0c.
Solidity: event SetUTokensContract(address indexed _contract)
func (*TokenWrapperFilterer) ParseUnpaused ¶
func (_TokenWrapper *TokenWrapperFilterer) ParseUnpaused(log types.Log) (*TokenWrapperUnpaused, error)
ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*TokenWrapperFilterer) ParseWithdrawUTokens ¶
func (_TokenWrapper *TokenWrapperFilterer) ParseWithdrawUTokens(log types.Log) (*TokenWrapperWithdrawUTokens, error)
ParseWithdrawUTokens is a log parse operation binding the contract event 0x0f4363f6961ed151f2cf8f720784b70c0f5573f216fc939f67f2a5d12698e02e.
Solidity: event WithdrawUTokens(address indexed accountAddress, uint256 indexed tokens, uint256 finalTokens, string indexed toChainAddress, uint256 timestamp)
func (*TokenWrapperFilterer) WatchGenerateUTokens ¶
func (_TokenWrapper *TokenWrapperFilterer) WatchGenerateUTokens(opts *bind.WatchOpts, sink chan<- *TokenWrapperGenerateUTokens, accountAddress []common.Address, tokens []*big.Int, finalTokens []*big.Int) (event.Subscription, error)
WatchGenerateUTokens is a free log subscription operation binding the contract event 0x572f067f64ae57ed816b7e9b5424a87d97035d68384f149586cba42b4192c9d8.
Solidity: event GenerateUTokens(address indexed accountAddress, uint256 indexed tokens, uint256 indexed finalTokens, uint256 timestamp)
func (*TokenWrapperFilterer) WatchPaused ¶
func (_TokenWrapper *TokenWrapperFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *TokenWrapperPaused) (event.Subscription, error)
WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*TokenWrapperFilterer) WatchRoleAdminChanged ¶
func (_TokenWrapper *TokenWrapperFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *TokenWrapperRoleAdminChanged, 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 (*TokenWrapperFilterer) WatchRoleGranted ¶
func (_TokenWrapper *TokenWrapperFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *TokenWrapperRoleGranted, 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 (*TokenWrapperFilterer) WatchRoleRevoked ¶
func (_TokenWrapper *TokenWrapperFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *TokenWrapperRoleRevoked, 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 (*TokenWrapperFilterer) WatchSetFees ¶
func (_TokenWrapper *TokenWrapperFilterer) WatchSetFees(opts *bind.WatchOpts, sink chan<- *TokenWrapperSetFees) (event.Subscription, error)
WatchSetFees is a free log subscription operation binding the contract event 0x3be6e637f54f081a2dd12982cfd58481304fc98b604b18fa8ed4aa4e4a9d1532.
Solidity: event SetFees(uint256 depositFee, uint256 withdrawFee)
func (*TokenWrapperFilterer) WatchSetMinimumValues ¶
func (_TokenWrapper *TokenWrapperFilterer) WatchSetMinimumValues(opts *bind.WatchOpts, sink chan<- *TokenWrapperSetMinimumValues) (event.Subscription, error)
WatchSetMinimumValues is a free log subscription operation binding the contract event 0xa94d40347449ea19b873d64ed55c99772194c49791e82be5c2dc24e4c0044fe3.
Solidity: event SetMinimumValues(uint256 minDeposit, uint256 minWithdraw)
func (*TokenWrapperFilterer) WatchSetUTokensContract ¶
func (_TokenWrapper *TokenWrapperFilterer) WatchSetUTokensContract(opts *bind.WatchOpts, sink chan<- *TokenWrapperSetUTokensContract, _contract []common.Address) (event.Subscription, error)
WatchSetUTokensContract is a free log subscription operation binding the contract event 0xf745c285f36f88bea6af14d4d0f33dd9350cef7895216c1615b1caaee7857e0c.
Solidity: event SetUTokensContract(address indexed _contract)
func (*TokenWrapperFilterer) WatchUnpaused ¶
func (_TokenWrapper *TokenWrapperFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *TokenWrapperUnpaused) (event.Subscription, error)
WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*TokenWrapperFilterer) WatchWithdrawUTokens ¶
func (_TokenWrapper *TokenWrapperFilterer) WatchWithdrawUTokens(opts *bind.WatchOpts, sink chan<- *TokenWrapperWithdrawUTokens, accountAddress []common.Address, tokens []*big.Int, toChainAddress []string) (event.Subscription, error)
WatchWithdrawUTokens is a free log subscription operation binding the contract event 0x0f4363f6961ed151f2cf8f720784b70c0f5573f216fc939f67f2a5d12698e02e.
Solidity: event WithdrawUTokens(address indexed accountAddress, uint256 indexed tokens, uint256 finalTokens, string indexed toChainAddress, uint256 timestamp)
type TokenWrapperGenerateUTokens ¶
type TokenWrapperGenerateUTokens struct {
AccountAddress common.Address
Tokens *big.Int
FinalTokens *big.Int
Timestamp *big.Int
Raw types.Log // Blockchain specific contextual infos
}
TokenWrapperGenerateUTokens represents a GenerateUTokens event raised by the TokenWrapper contract.
type TokenWrapperGenerateUTokensIterator ¶
type TokenWrapperGenerateUTokensIterator struct {
Event *TokenWrapperGenerateUTokens // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
TokenWrapperGenerateUTokensIterator is returned from FilterGenerateUTokens and is used to iterate over the raw logs and unpacked data for GenerateUTokens events raised by the TokenWrapper contract.
func (*TokenWrapperGenerateUTokensIterator) Close ¶
func (it *TokenWrapperGenerateUTokensIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenWrapperGenerateUTokensIterator) Error ¶
func (it *TokenWrapperGenerateUTokensIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenWrapperGenerateUTokensIterator) Next ¶
func (it *TokenWrapperGenerateUTokensIterator) 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 TokenWrapperPaused ¶
type TokenWrapperPaused struct {
Account common.Address
Raw types.Log // Blockchain specific contextual infos
}
TokenWrapperPaused represents a Paused event raised by the TokenWrapper contract.
type TokenWrapperPausedIterator ¶
type TokenWrapperPausedIterator struct {
Event *TokenWrapperPaused // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
TokenWrapperPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the TokenWrapper contract.
func (*TokenWrapperPausedIterator) Close ¶
func (it *TokenWrapperPausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenWrapperPausedIterator) Error ¶
func (it *TokenWrapperPausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenWrapperPausedIterator) Next ¶
func (it *TokenWrapperPausedIterator) 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 TokenWrapperRaw ¶
type TokenWrapperRaw struct {
Contract *TokenWrapper // Generic contract binding to access the raw methods on
}
TokenWrapperRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*TokenWrapperRaw) Call ¶
func (_TokenWrapper *TokenWrapperRaw) 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 (*TokenWrapperRaw) Transact ¶
func (_TokenWrapper *TokenWrapperRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TokenWrapperRaw) Transfer ¶
func (_TokenWrapper *TokenWrapperRaw) 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 TokenWrapperRoleAdminChanged ¶
type TokenWrapperRoleAdminChanged struct {
Role [32]byte
PreviousAdminRole [32]byte
NewAdminRole [32]byte
Raw types.Log // Blockchain specific contextual infos
}
TokenWrapperRoleAdminChanged represents a RoleAdminChanged event raised by the TokenWrapper contract.
type TokenWrapperRoleAdminChangedIterator ¶
type TokenWrapperRoleAdminChangedIterator struct {
Event *TokenWrapperRoleAdminChanged // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
TokenWrapperRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the TokenWrapper contract.
func (*TokenWrapperRoleAdminChangedIterator) Close ¶
func (it *TokenWrapperRoleAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenWrapperRoleAdminChangedIterator) Error ¶
func (it *TokenWrapperRoleAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenWrapperRoleAdminChangedIterator) Next ¶
func (it *TokenWrapperRoleAdminChangedIterator) 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 TokenWrapperRoleGranted ¶
type TokenWrapperRoleGranted struct {
Role [32]byte
Account common.Address
Sender common.Address
Raw types.Log // Blockchain specific contextual infos
}
TokenWrapperRoleGranted represents a RoleGranted event raised by the TokenWrapper contract.
type TokenWrapperRoleGrantedIterator ¶
type TokenWrapperRoleGrantedIterator struct {
Event *TokenWrapperRoleGranted // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
TokenWrapperRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the TokenWrapper contract.
func (*TokenWrapperRoleGrantedIterator) Close ¶
func (it *TokenWrapperRoleGrantedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenWrapperRoleGrantedIterator) Error ¶
func (it *TokenWrapperRoleGrantedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenWrapperRoleGrantedIterator) Next ¶
func (it *TokenWrapperRoleGrantedIterator) 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 TokenWrapperRoleRevoked ¶
type TokenWrapperRoleRevoked struct {
Role [32]byte
Account common.Address
Sender common.Address
Raw types.Log // Blockchain specific contextual infos
}
TokenWrapperRoleRevoked represents a RoleRevoked event raised by the TokenWrapper contract.
type TokenWrapperRoleRevokedIterator ¶
type TokenWrapperRoleRevokedIterator struct {
Event *TokenWrapperRoleRevoked // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
TokenWrapperRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the TokenWrapper contract.
func (*TokenWrapperRoleRevokedIterator) Close ¶
func (it *TokenWrapperRoleRevokedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenWrapperRoleRevokedIterator) Error ¶
func (it *TokenWrapperRoleRevokedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenWrapperRoleRevokedIterator) Next ¶
func (it *TokenWrapperRoleRevokedIterator) 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 TokenWrapperSession ¶
type TokenWrapperSession struct {
Contract *TokenWrapper // 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
}
TokenWrapperSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*TokenWrapperSession) BRIDGEADMINROLE ¶
func (_TokenWrapper *TokenWrapperSession) BRIDGEADMINROLE() ([32]byte, error)
BRIDGEADMINROLE is a free data retrieval call binding the contract method 0x118c38c7.
Solidity: function BRIDGE_ADMIN_ROLE() view returns(bytes32)
func (*TokenWrapperSession) DEFAULTADMINROLE ¶
func (_TokenWrapper *TokenWrapperSession) 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 (*TokenWrapperSession) GenerateUTokens ¶
func (_TokenWrapper *TokenWrapperSession) GenerateUTokens(to common.Address, amount *big.Int) (*types.Transaction, error)
GenerateUTokens is a paid mutator transaction binding the contract method 0x22dd9bc3.
Solidity: function generateUTokens(address to, uint256 amount) returns()
func (*TokenWrapperSession) GenerateUTokensInBatch ¶
func (_TokenWrapper *TokenWrapperSession) GenerateUTokensInBatch(to []common.Address, amount []*big.Int) (*types.Transaction, error)
GenerateUTokensInBatch is a paid mutator transaction binding the contract method 0xe7fa0a32.
Solidity: function generateUTokensInBatch(address[] to, uint256[] amount) returns()
func (*TokenWrapperSession) GetProps ¶
func (_TokenWrapper *TokenWrapperSession) GetProps() (struct { DepositFee *big.Int WithdrawFee *big.Int MinDeposit *big.Int MinWithdraw *big.Int ValueDivisor *big.Int }, error)
GetProps is a free data retrieval call binding the contract method 0xec1893b4.
Solidity: function getProps() view returns(uint256 depositFee, uint256 withdrawFee, uint256 minDeposit, uint256 minWithdraw, uint256 valueDivisor)
func (*TokenWrapperSession) GetRoleAdmin ¶
func (_TokenWrapper *TokenWrapperSession) 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 (*TokenWrapperSession) GetRoleMember ¶
func (_TokenWrapper *TokenWrapperSession) GetRoleMember(role [32]byte, index *big.Int) (common.Address, error)
GetRoleMember is a free data retrieval call binding the contract method 0x9010d07c.
Solidity: function getRoleMember(bytes32 role, uint256 index) view returns(address)
func (*TokenWrapperSession) GetRoleMemberCount ¶
func (_TokenWrapper *TokenWrapperSession) GetRoleMemberCount(role [32]byte) (*big.Int, error)
GetRoleMemberCount is a free data retrieval call binding the contract method 0xca15c873.
Solidity: function getRoleMemberCount(bytes32 role) view returns(uint256)
func (*TokenWrapperSession) GrantRole ¶
func (_TokenWrapper *TokenWrapperSession) 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 (*TokenWrapperSession) HasRole ¶
func (_TokenWrapper *TokenWrapperSession) 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 (*TokenWrapperSession) Initialize ¶
func (_TokenWrapper *TokenWrapperSession) Initialize(uAddress common.Address, bridgeAdminAddress common.Address, pauserAddress common.Address, valueDivisor *big.Int) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xcf756fdf.
Solidity: function initialize(address uAddress, address bridgeAdminAddress, address pauserAddress, uint256 valueDivisor) returns()
func (*TokenWrapperSession) IsBech32Valid ¶ added in v0.2.1
func (_TokenWrapper *TokenWrapperSession) IsBech32Valid(toChainAddress string) (bool, error)
IsBech32Valid is a free data retrieval call binding the contract method 0x8f001d4e.
Solidity: function isBech32Valid(string toChainAddress) view returns(bool isAddressValid)
func (*TokenWrapperSession) PAUSERROLE ¶
func (_TokenWrapper *TokenWrapperSession) PAUSERROLE() ([32]byte, error)
PAUSERROLE is a free data retrieval call binding the contract method 0xe63ab1e9.
Solidity: function PAUSER_ROLE() view returns(bytes32)
func (*TokenWrapperSession) Pause ¶
func (_TokenWrapper *TokenWrapperSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns(bool success)
func (*TokenWrapperSession) Paused ¶
func (_TokenWrapper *TokenWrapperSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*TokenWrapperSession) RenounceRole ¶
func (_TokenWrapper *TokenWrapperSession) 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 (*TokenWrapperSession) RevokeRole ¶
func (_TokenWrapper *TokenWrapperSession) 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 (*TokenWrapperSession) SetFees ¶
func (_TokenWrapper *TokenWrapperSession) SetFees(depositFee *big.Int, withdrawFee *big.Int) (*types.Transaction, error)
SetFees is a paid mutator transaction binding the contract method 0x0b78f9c0.
Solidity: function setFees(uint256 depositFee, uint256 withdrawFee) returns(bool success)
func (*TokenWrapperSession) SetMinimumValues ¶
func (_TokenWrapper *TokenWrapperSession) SetMinimumValues(minDeposit *big.Int, minWithdraw *big.Int) (*types.Transaction, error)
SetMinimumValues is a paid mutator transaction binding the contract method 0x51db00e7.
Solidity: function setMinimumValues(uint256 minDeposit, uint256 minWithdraw) returns(bool success)
func (*TokenWrapperSession) SetUTokensContract ¶
func (_TokenWrapper *TokenWrapperSession) SetUTokensContract(uAddress common.Address) (*types.Transaction, error)
SetUTokensContract is a paid mutator transaction binding the contract method 0x21bdf9e5.
Solidity: function setUTokensContract(address uAddress) returns()
func (*TokenWrapperSession) Unpause ¶
func (_TokenWrapper *TokenWrapperSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns(bool success)
func (*TokenWrapperSession) WithdrawUTokens ¶
func (_TokenWrapper *TokenWrapperSession) WithdrawUTokens(from common.Address, tokens *big.Int, toChainAddress string) (*types.Transaction, error)
WithdrawUTokens is a paid mutator transaction binding the contract method 0x428bee9e.
Solidity: function withdrawUTokens(address from, uint256 tokens, string toChainAddress) returns()
type TokenWrapperSetFees ¶
type TokenWrapperSetFees struct {
DepositFee *big.Int
WithdrawFee *big.Int
Raw types.Log // Blockchain specific contextual infos
}
TokenWrapperSetFees represents a SetFees event raised by the TokenWrapper contract.
type TokenWrapperSetFeesIterator ¶
type TokenWrapperSetFeesIterator struct {
Event *TokenWrapperSetFees // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
TokenWrapperSetFeesIterator is returned from FilterSetFees and is used to iterate over the raw logs and unpacked data for SetFees events raised by the TokenWrapper contract.
func (*TokenWrapperSetFeesIterator) Close ¶
func (it *TokenWrapperSetFeesIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenWrapperSetFeesIterator) Error ¶
func (it *TokenWrapperSetFeesIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenWrapperSetFeesIterator) Next ¶
func (it *TokenWrapperSetFeesIterator) 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 TokenWrapperSetMinimumValues ¶
type TokenWrapperSetMinimumValues struct {
MinDeposit *big.Int
MinWithdraw *big.Int
Raw types.Log // Blockchain specific contextual infos
}
TokenWrapperSetMinimumValues represents a SetMinimumValues event raised by the TokenWrapper contract.
type TokenWrapperSetMinimumValuesIterator ¶
type TokenWrapperSetMinimumValuesIterator struct {
Event *TokenWrapperSetMinimumValues // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
TokenWrapperSetMinimumValuesIterator is returned from FilterSetMinimumValues and is used to iterate over the raw logs and unpacked data for SetMinimumValues events raised by the TokenWrapper contract.
func (*TokenWrapperSetMinimumValuesIterator) Close ¶
func (it *TokenWrapperSetMinimumValuesIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenWrapperSetMinimumValuesIterator) Error ¶
func (it *TokenWrapperSetMinimumValuesIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenWrapperSetMinimumValuesIterator) Next ¶
func (it *TokenWrapperSetMinimumValuesIterator) 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 TokenWrapperSetUTokensContract ¶
type TokenWrapperSetUTokensContract struct {
Contract common.Address
Raw types.Log // Blockchain specific contextual infos
}
TokenWrapperSetUTokensContract represents a SetUTokensContract event raised by the TokenWrapper contract.
type TokenWrapperSetUTokensContractIterator ¶
type TokenWrapperSetUTokensContractIterator struct {
Event *TokenWrapperSetUTokensContract // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
TokenWrapperSetUTokensContractIterator is returned from FilterSetUTokensContract and is used to iterate over the raw logs and unpacked data for SetUTokensContract events raised by the TokenWrapper contract.
func (*TokenWrapperSetUTokensContractIterator) Close ¶
func (it *TokenWrapperSetUTokensContractIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenWrapperSetUTokensContractIterator) Error ¶
func (it *TokenWrapperSetUTokensContractIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenWrapperSetUTokensContractIterator) Next ¶
func (it *TokenWrapperSetUTokensContractIterator) 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 TokenWrapperTransactor ¶
type TokenWrapperTransactor struct {
// contains filtered or unexported fields
}
TokenWrapperTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewTokenWrapperTransactor ¶
func NewTokenWrapperTransactor(address common.Address, transactor bind.ContractTransactor) (*TokenWrapperTransactor, error)
NewTokenWrapperTransactor creates a new write-only instance of TokenWrapper, bound to a specific deployed contract.
func (*TokenWrapperTransactor) GenerateUTokens ¶
func (_TokenWrapper *TokenWrapperTransactor) GenerateUTokens(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
GenerateUTokens is a paid mutator transaction binding the contract method 0x22dd9bc3.
Solidity: function generateUTokens(address to, uint256 amount) returns()
func (*TokenWrapperTransactor) GenerateUTokensInBatch ¶
func (_TokenWrapper *TokenWrapperTransactor) GenerateUTokensInBatch(opts *bind.TransactOpts, to []common.Address, amount []*big.Int) (*types.Transaction, error)
GenerateUTokensInBatch is a paid mutator transaction binding the contract method 0xe7fa0a32.
Solidity: function generateUTokensInBatch(address[] to, uint256[] amount) returns()
func (*TokenWrapperTransactor) GrantRole ¶
func (_TokenWrapper *TokenWrapperTransactor) 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 (*TokenWrapperTransactor) Initialize ¶
func (_TokenWrapper *TokenWrapperTransactor) Initialize(opts *bind.TransactOpts, uAddress common.Address, bridgeAdminAddress common.Address, pauserAddress common.Address, valueDivisor *big.Int) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xcf756fdf.
Solidity: function initialize(address uAddress, address bridgeAdminAddress, address pauserAddress, uint256 valueDivisor) returns()
func (*TokenWrapperTransactor) Pause ¶
func (_TokenWrapper *TokenWrapperTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns(bool success)
func (*TokenWrapperTransactor) RenounceRole ¶
func (_TokenWrapper *TokenWrapperTransactor) 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 (*TokenWrapperTransactor) RevokeRole ¶
func (_TokenWrapper *TokenWrapperTransactor) 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 (*TokenWrapperTransactor) SetFees ¶
func (_TokenWrapper *TokenWrapperTransactor) SetFees(opts *bind.TransactOpts, depositFee *big.Int, withdrawFee *big.Int) (*types.Transaction, error)
SetFees is a paid mutator transaction binding the contract method 0x0b78f9c0.
Solidity: function setFees(uint256 depositFee, uint256 withdrawFee) returns(bool success)
func (*TokenWrapperTransactor) SetMinimumValues ¶
func (_TokenWrapper *TokenWrapperTransactor) SetMinimumValues(opts *bind.TransactOpts, minDeposit *big.Int, minWithdraw *big.Int) (*types.Transaction, error)
SetMinimumValues is a paid mutator transaction binding the contract method 0x51db00e7.
Solidity: function setMinimumValues(uint256 minDeposit, uint256 minWithdraw) returns(bool success)
func (*TokenWrapperTransactor) SetUTokensContract ¶
func (_TokenWrapper *TokenWrapperTransactor) SetUTokensContract(opts *bind.TransactOpts, uAddress common.Address) (*types.Transaction, error)
SetUTokensContract is a paid mutator transaction binding the contract method 0x21bdf9e5.
Solidity: function setUTokensContract(address uAddress) returns()
func (*TokenWrapperTransactor) Unpause ¶
func (_TokenWrapper *TokenWrapperTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns(bool success)
func (*TokenWrapperTransactor) WithdrawUTokens ¶
func (_TokenWrapper *TokenWrapperTransactor) WithdrawUTokens(opts *bind.TransactOpts, from common.Address, tokens *big.Int, toChainAddress string) (*types.Transaction, error)
WithdrawUTokens is a paid mutator transaction binding the contract method 0x428bee9e.
Solidity: function withdrawUTokens(address from, uint256 tokens, string toChainAddress) returns()
type TokenWrapperTransactorRaw ¶
type TokenWrapperTransactorRaw struct {
Contract *TokenWrapperTransactor // Generic write-only contract binding to access the raw methods on
}
TokenWrapperTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*TokenWrapperTransactorRaw) Transact ¶
func (_TokenWrapper *TokenWrapperTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TokenWrapperTransactorRaw) Transfer ¶
func (_TokenWrapper *TokenWrapperTransactorRaw) 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 TokenWrapperTransactorSession ¶
type TokenWrapperTransactorSession struct {
Contract *TokenWrapperTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
TokenWrapperTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*TokenWrapperTransactorSession) GenerateUTokens ¶
func (_TokenWrapper *TokenWrapperTransactorSession) GenerateUTokens(to common.Address, amount *big.Int) (*types.Transaction, error)
GenerateUTokens is a paid mutator transaction binding the contract method 0x22dd9bc3.
Solidity: function generateUTokens(address to, uint256 amount) returns()
func (*TokenWrapperTransactorSession) GenerateUTokensInBatch ¶
func (_TokenWrapper *TokenWrapperTransactorSession) GenerateUTokensInBatch(to []common.Address, amount []*big.Int) (*types.Transaction, error)
GenerateUTokensInBatch is a paid mutator transaction binding the contract method 0xe7fa0a32.
Solidity: function generateUTokensInBatch(address[] to, uint256[] amount) returns()
func (*TokenWrapperTransactorSession) GrantRole ¶
func (_TokenWrapper *TokenWrapperTransactorSession) 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 (*TokenWrapperTransactorSession) Initialize ¶
func (_TokenWrapper *TokenWrapperTransactorSession) Initialize(uAddress common.Address, bridgeAdminAddress common.Address, pauserAddress common.Address, valueDivisor *big.Int) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xcf756fdf.
Solidity: function initialize(address uAddress, address bridgeAdminAddress, address pauserAddress, uint256 valueDivisor) returns()
func (*TokenWrapperTransactorSession) Pause ¶
func (_TokenWrapper *TokenWrapperTransactorSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns(bool success)
func (*TokenWrapperTransactorSession) RenounceRole ¶
func (_TokenWrapper *TokenWrapperTransactorSession) 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 (*TokenWrapperTransactorSession) RevokeRole ¶
func (_TokenWrapper *TokenWrapperTransactorSession) 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 (*TokenWrapperTransactorSession) SetFees ¶
func (_TokenWrapper *TokenWrapperTransactorSession) SetFees(depositFee *big.Int, withdrawFee *big.Int) (*types.Transaction, error)
SetFees is a paid mutator transaction binding the contract method 0x0b78f9c0.
Solidity: function setFees(uint256 depositFee, uint256 withdrawFee) returns(bool success)
func (*TokenWrapperTransactorSession) SetMinimumValues ¶
func (_TokenWrapper *TokenWrapperTransactorSession) SetMinimumValues(minDeposit *big.Int, minWithdraw *big.Int) (*types.Transaction, error)
SetMinimumValues is a paid mutator transaction binding the contract method 0x51db00e7.
Solidity: function setMinimumValues(uint256 minDeposit, uint256 minWithdraw) returns(bool success)
func (*TokenWrapperTransactorSession) SetUTokensContract ¶
func (_TokenWrapper *TokenWrapperTransactorSession) SetUTokensContract(uAddress common.Address) (*types.Transaction, error)
SetUTokensContract is a paid mutator transaction binding the contract method 0x21bdf9e5.
Solidity: function setUTokensContract(address uAddress) returns()
func (*TokenWrapperTransactorSession) Unpause ¶
func (_TokenWrapper *TokenWrapperTransactorSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns(bool success)
func (*TokenWrapperTransactorSession) WithdrawUTokens ¶
func (_TokenWrapper *TokenWrapperTransactorSession) WithdrawUTokens(from common.Address, tokens *big.Int, toChainAddress string) (*types.Transaction, error)
WithdrawUTokens is a paid mutator transaction binding the contract method 0x428bee9e.
Solidity: function withdrawUTokens(address from, uint256 tokens, string toChainAddress) returns()
type TokenWrapperUnpaused ¶
type TokenWrapperUnpaused struct {
Account common.Address
Raw types.Log // Blockchain specific contextual infos
}
TokenWrapperUnpaused represents a Unpaused event raised by the TokenWrapper contract.
type TokenWrapperUnpausedIterator ¶
type TokenWrapperUnpausedIterator struct {
Event *TokenWrapperUnpaused // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
TokenWrapperUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the TokenWrapper contract.
func (*TokenWrapperUnpausedIterator) Close ¶
func (it *TokenWrapperUnpausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenWrapperUnpausedIterator) Error ¶
func (it *TokenWrapperUnpausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenWrapperUnpausedIterator) Next ¶
func (it *TokenWrapperUnpausedIterator) 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 TokenWrapperWithdrawUTokens ¶
type TokenWrapperWithdrawUTokens struct {
AccountAddress common.Address
Tokens *big.Int
FinalTokens *big.Int
ToChainAddress common.Hash
Timestamp *big.Int
Raw types.Log // Blockchain specific contextual infos
}
TokenWrapperWithdrawUTokens represents a WithdrawUTokens event raised by the TokenWrapper contract.
type TokenWrapperWithdrawUTokensIterator ¶
type TokenWrapperWithdrawUTokensIterator struct {
Event *TokenWrapperWithdrawUTokens // Event containing the contract specifics and raw log
// contains filtered or unexported fields
}
TokenWrapperWithdrawUTokensIterator is returned from FilterWithdrawUTokens and is used to iterate over the raw logs and unpacked data for WithdrawUTokens events raised by the TokenWrapper contract.
func (*TokenWrapperWithdrawUTokensIterator) Close ¶
func (it *TokenWrapperWithdrawUTokensIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TokenWrapperWithdrawUTokensIterator) Error ¶
func (it *TokenWrapperWithdrawUTokensIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TokenWrapperWithdrawUTokensIterator) Next ¶
func (it *TokenWrapperWithdrawUTokensIterator) 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.