tokenWrapper

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2021 License: Apache-2.0 Imports: 8 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const TokenWrapperABI = "" /* 8654-byte string literal not displayed */

TokenWrapperABI is the input ABI used to generate the binding from.

Variables

View Source
var TokenWrapperBin = "" /* 31032-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) 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)

func (*TokenWrapperCaller) Paused

func (_TokenWrapper *TokenWrapperCaller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

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) 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) (*TokenWrapperGenerateUTokensIterator, error)

FilterGenerateUTokens is a free log retrieval operation binding the contract event 0x572f067f64ae57ed816b7e9b5424a87d97035d68384f149586cba42b4192c9d8.

Solidity: event GenerateUTokens(address indexed accountAddress, uint256 indexed tokens, uint256 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 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) (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 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

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

func (*TokenWrapperGenerateUTokensIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenWrapperGenerateUTokensIterator) Next

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

type 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

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

func (*TokenWrapperRoleAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenWrapperRoleAdminChangedIterator) Next

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

type 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

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

func (*TokenWrapperRoleGrantedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenWrapperRoleGrantedIterator) Next

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

type 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

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

func (*TokenWrapperRoleRevokedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenWrapperRoleRevokedIterator) Next

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

type 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) 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

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

func (*TokenWrapperSetMinimumValuesIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenWrapperSetMinimumValuesIterator) Next

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

type 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

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

func (*TokenWrapperSetUTokensContractIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenWrapperSetUTokensContractIterator) Next

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

type 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

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

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

func (*TokenWrapperWithdrawUTokensIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenWrapperWithdrawUTokensIterator) Next

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

Jump to

Keyboard shortcuts

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