tokenmanager

package
v0.0.0-...-eeca3e0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const TokenmanagerABI = "" /* 11197-byte string literal not displayed */

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

Variables

This section is empty.

Functions

This section is empty.

Types

type Tokenmanager

type Tokenmanager struct {
	TokenmanagerCaller     // Read-only binding to the contract
	TokenmanagerTransactor // Write-only binding to the contract
	TokenmanagerFilterer   // Log filterer for contract events
}

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

func NewTokenmanager

func NewTokenmanager(address common.Address, backend bind.ContractBackend) (*Tokenmanager, error)

NewTokenmanager creates a new instance of Tokenmanager, bound to a specific deployed contract.

type TokenmanagerBindFailure

type TokenmanagerBindFailure struct {
	ContractAddr common.Address
	Bep2Symbol   string
	FailedReason uint32
	Raw          types.Log // Blockchain specific contextual infos
}

TokenmanagerBindFailure represents a BindFailure event raised by the Tokenmanager contract.

type TokenmanagerBindFailureIterator

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

TokenmanagerBindFailureIterator is returned from FilterBindFailure and is used to iterate over the raw logs and unpacked data for BindFailure events raised by the Tokenmanager contract.

func (*TokenmanagerBindFailureIterator) Close

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

func (*TokenmanagerBindFailureIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenmanagerBindFailureIterator) 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 TokenmanagerBindSuccess

type TokenmanagerBindSuccess struct {
	ContractAddr common.Address
	Bep2Symbol   string
	TotalSupply  *big.Int
	PeggyAmount  *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

TokenmanagerBindSuccess represents a BindSuccess event raised by the Tokenmanager contract.

type TokenmanagerBindSuccessIterator

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

TokenmanagerBindSuccessIterator is returned from FilterBindSuccess and is used to iterate over the raw logs and unpacked data for BindSuccess events raised by the Tokenmanager contract.

func (*TokenmanagerBindSuccessIterator) Close

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

func (*TokenmanagerBindSuccessIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenmanagerBindSuccessIterator) 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 TokenmanagerCaller

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

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

func NewTokenmanagerCaller

func NewTokenmanagerCaller(address common.Address, caller bind.ContractCaller) (*TokenmanagerCaller, error)

NewTokenmanagerCaller creates a new read-only instance of Tokenmanager, bound to a specific deployed contract.

func (*TokenmanagerCaller) AlreadyInit

func (_Tokenmanager *TokenmanagerCaller) AlreadyInit(opts *bind.CallOpts) (bool, error)

AlreadyInit is a free data retrieval call binding the contract method 0xa78abc16.

Solidity: function alreadyInit() view returns(bool)

func (*TokenmanagerCaller) BINDCHANNELID

func (_Tokenmanager *TokenmanagerCaller) BINDCHANNELID(opts *bind.CallOpts) (uint8, error)

BINDCHANNELID is a free data retrieval call binding the contract method 0x3dffc387.

Solidity: function BIND_CHANNELID() view returns(uint8)

func (*TokenmanagerCaller) BINDPACKAGE

func (_Tokenmanager *TokenmanagerCaller) BINDPACKAGE(opts *bind.CallOpts) (uint8, error)

BINDPACKAGE is a free data retrieval call binding the contract method 0xfe3a2af5.

Solidity: function BIND_PACKAGE() view returns(uint8)

func (*TokenmanagerCaller) BINDSTATUSALREADYBOUNDTOKEN

func (_Tokenmanager *TokenmanagerCaller) BINDSTATUSALREADYBOUNDTOKEN(opts *bind.CallOpts) (uint8, error)

BINDSTATUSALREADYBOUNDTOKEN is a free data retrieval call binding the contract method 0x0f212b1b.

Solidity: function BIND_STATUS_ALREADY_BOUND_TOKEN() view returns(uint8)

func (*TokenmanagerCaller) BINDSTATUSDECIMALSMISMATCH

func (_Tokenmanager *TokenmanagerCaller) BINDSTATUSDECIMALSMISMATCH(opts *bind.CallOpts) (uint8, error)

BINDSTATUSDECIMALSMISMATCH is a free data retrieval call binding the contract method 0x4bc81c00.

Solidity: function BIND_STATUS_DECIMALS_MISMATCH() view returns(uint8)

func (*TokenmanagerCaller) BINDSTATUSREJECTED

func (_Tokenmanager *TokenmanagerCaller) BINDSTATUSREJECTED(opts *bind.CallOpts) (uint8, error)

BINDSTATUSREJECTED is a free data retrieval call binding the contract method 0x95b9ad26.

Solidity: function BIND_STATUS_REJECTED() view returns(uint8)

func (*TokenmanagerCaller) BINDSTATUSSUCCESS

func (_Tokenmanager *TokenmanagerCaller) BINDSTATUSSUCCESS(opts *bind.CallOpts) (uint8, error)

BINDSTATUSSUCCESS is a free data retrieval call binding the contract method 0x4a688818.

Solidity: function BIND_STATUS_SUCCESS() view returns(uint8)

func (*TokenmanagerCaller) BINDSTATUSSYMBOLMISMATCH

func (_Tokenmanager *TokenmanagerCaller) BINDSTATUSSYMBOLMISMATCH(opts *bind.CallOpts) (uint8, error)

BINDSTATUSSYMBOLMISMATCH is a free data retrieval call binding the contract method 0x5f558f86.

Solidity: function BIND_STATUS_SYMBOL_MISMATCH() view returns(uint8)

func (*TokenmanagerCaller) BINDSTATUSTIMEOUT

func (_Tokenmanager *TokenmanagerCaller) BINDSTATUSTIMEOUT(opts *bind.CallOpts) (uint8, error)

BINDSTATUSTIMEOUT is a free data retrieval call binding the contract method 0x7d078e13.

Solidity: function BIND_STATUS_TIMEOUT() view returns(uint8)

func (*TokenmanagerCaller) BINDSTATUSTOOMUCHTOKENHUBBALANCE

func (_Tokenmanager *TokenmanagerCaller) BINDSTATUSTOOMUCHTOKENHUBBALANCE(opts *bind.CallOpts) (uint8, error)

BINDSTATUSTOOMUCHTOKENHUBBALANCE is a free data retrieval call binding the contract method 0xc8e704a4.

Solidity: function BIND_STATUS_TOO_MUCH_TOKENHUB_BALANCE() view returns(uint8)

func (*TokenmanagerCaller) BINDSTATUSTOTALSUPPLYMISMATCH

func (_Tokenmanager *TokenmanagerCaller) BINDSTATUSTOTALSUPPLYMISMATCH(opts *bind.CallOpts) (uint8, error)

BINDSTATUSTOTALSUPPLYMISMATCH is a free data retrieval call binding the contract method 0x1f91600b.

Solidity: function BIND_STATUS_TOTAL_SUPPLY_MISMATCH() view returns(uint8)

func (*TokenmanagerCaller) BindPackageRecord

func (_Tokenmanager *TokenmanagerCaller) BindPackageRecord(opts *bind.CallOpts, arg0 [32]byte) (struct {
	PackageType     uint8
	Bep2TokenSymbol [32]byte
	ContractAddr    common.Address
	TotalSupply     *big.Int
	PeggyAmount     *big.Int
	Bep20Decimals   uint8
	ExpireTime      uint64
}, error)

BindPackageRecord is a free data retrieval call binding the contract method 0xd117a110.

Solidity: function bindPackageRecord(bytes32 ) view returns(uint8 packageType, bytes32 bep2TokenSymbol, address contractAddr, uint256 totalSupply, uint256 peggyAmount, uint8 bep20Decimals, uint64 expireTime)

func (*TokenmanagerCaller) BscChainID

func (_Tokenmanager *TokenmanagerCaller) BscChainID(opts *bind.CallOpts) (uint16, error)

BscChainID is a free data retrieval call binding the contract method 0x493279b1.

Solidity: function bscChainID() view returns(uint16)

func (*TokenmanagerCaller) CODEOK

func (_Tokenmanager *TokenmanagerCaller) CODEOK(opts *bind.CallOpts) (uint32, error)

CODEOK is a free data retrieval call binding the contract method 0xab51bb96.

Solidity: function CODE_OK() view returns(uint32)

func (*TokenmanagerCaller) CROSSCHAINCONTRACTADDR

func (_Tokenmanager *TokenmanagerCaller) CROSSCHAINCONTRACTADDR(opts *bind.CallOpts) (common.Address, error)

CROSSCHAINCONTRACTADDR is a free data retrieval call binding the contract method 0x51e80672.

Solidity: function CROSS_CHAIN_CONTRACT_ADDR() view returns(address)

func (*TokenmanagerCaller) ERRORFAILDECODE

func (_Tokenmanager *TokenmanagerCaller) ERRORFAILDECODE(opts *bind.CallOpts) (uint32, error)

ERRORFAILDECODE is a free data retrieval call binding the contract method 0x0bee7a67.

Solidity: function ERROR_FAIL_DECODE() view returns(uint32)

func (*TokenmanagerCaller) GOVCHANNELID

func (_Tokenmanager *TokenmanagerCaller) GOVCHANNELID(opts *bind.CallOpts) (uint8, error)

GOVCHANNELID is a free data retrieval call binding the contract method 0x96713da9.

Solidity: function GOV_CHANNELID() view returns(uint8)

func (*TokenmanagerCaller) GOVHUBADDR

func (_Tokenmanager *TokenmanagerCaller) GOVHUBADDR(opts *bind.CallOpts) (common.Address, error)

GOVHUBADDR is a free data retrieval call binding the contract method 0x9dc09262.

Solidity: function GOV_HUB_ADDR() view returns(address)

func (*TokenmanagerCaller) INCENTIVIZEADDR

func (_Tokenmanager *TokenmanagerCaller) INCENTIVIZEADDR(opts *bind.CallOpts) (common.Address, error)

INCENTIVIZEADDR is a free data retrieval call binding the contract method 0x6e47b482.

Solidity: function INCENTIVIZE_ADDR() view returns(address)

func (*TokenmanagerCaller) LIGHTCLIENTADDR

func (_Tokenmanager *TokenmanagerCaller) LIGHTCLIENTADDR(opts *bind.CallOpts) (common.Address, error)

LIGHTCLIENTADDR is a free data retrieval call binding the contract method 0xdc927faf.

Solidity: function LIGHT_CLIENT_ADDR() view returns(address)

func (*TokenmanagerCaller) MAXIMUMBEP20SYMBOLLEN

func (_Tokenmanager *TokenmanagerCaller) MAXIMUMBEP20SYMBOLLEN(opts *bind.CallOpts) (uint8, error)

MAXIMUMBEP20SYMBOLLEN is a free data retrieval call binding the contract method 0xd9e6dae9.

Solidity: function MAXIMUM_BEP20_SYMBOL_LEN() view returns(uint8)

func (*TokenmanagerCaller) MINIMUMBEP20SYMBOLLEN

func (_Tokenmanager *TokenmanagerCaller) MINIMUMBEP20SYMBOLLEN(opts *bind.CallOpts) (uint8, error)

MINIMUMBEP20SYMBOLLEN is a free data retrieval call binding the contract method 0x66dea52a.

Solidity: function MINIMUM_BEP20_SYMBOL_LEN() view returns(uint8)

func (*TokenmanagerCaller) QueryRequiredLockAmountForBind

func (_Tokenmanager *TokenmanagerCaller) QueryRequiredLockAmountForBind(opts *bind.CallOpts, symbol string) (*big.Int, error)

QueryRequiredLockAmountForBind is a free data retrieval call binding the contract method 0x445fcefe.

Solidity: function queryRequiredLockAmountForBind(string symbol) view returns(uint256)

func (*TokenmanagerCaller) RELAYERHUBCONTRACTADDR

func (_Tokenmanager *TokenmanagerCaller) RELAYERHUBCONTRACTADDR(opts *bind.CallOpts) (common.Address, error)

RELAYERHUBCONTRACTADDR is a free data retrieval call binding the contract method 0xa1a11bf5.

Solidity: function RELAYERHUB_CONTRACT_ADDR() view returns(address)

func (*TokenmanagerCaller) SLASHCHANNELID

func (_Tokenmanager *TokenmanagerCaller) SLASHCHANNELID(opts *bind.CallOpts) (uint8, error)

SLASHCHANNELID is a free data retrieval call binding the contract method 0x7942fd05.

Solidity: function SLASH_CHANNELID() view returns(uint8)

func (*TokenmanagerCaller) SLASHCONTRACTADDR

func (_Tokenmanager *TokenmanagerCaller) SLASHCONTRACTADDR(opts *bind.CallOpts) (common.Address, error)

SLASHCONTRACTADDR is a free data retrieval call binding the contract method 0x43756e5c.

Solidity: function SLASH_CONTRACT_ADDR() view returns(address)

func (*TokenmanagerCaller) STAKINGCHANNELID

func (_Tokenmanager *TokenmanagerCaller) STAKINGCHANNELID(opts *bind.CallOpts) (uint8, error)

STAKINGCHANNELID is a free data retrieval call binding the contract method 0x4bf6c882.

Solidity: function STAKING_CHANNELID() view returns(uint8)

func (*TokenmanagerCaller) SYSTEMREWARDADDR

func (_Tokenmanager *TokenmanagerCaller) SYSTEMREWARDADDR(opts *bind.CallOpts) (common.Address, error)

SYSTEMREWARDADDR is a free data retrieval call binding the contract method 0xc81b1662.

Solidity: function SYSTEM_REWARD_ADDR() view returns(address)

func (*TokenmanagerCaller) TENDECIMALS

func (_Tokenmanager *TokenmanagerCaller) TENDECIMALS(opts *bind.CallOpts) (*big.Int, error)

TENDECIMALS is a free data retrieval call binding the contract method 0x5d499b1b.

Solidity: function TEN_DECIMALS() view returns(uint256)

func (*TokenmanagerCaller) TOKENHUBADDR

func (_Tokenmanager *TokenmanagerCaller) TOKENHUBADDR(opts *bind.CallOpts) (common.Address, error)

TOKENHUBADDR is a free data retrieval call binding the contract method 0xfd6a6879.

Solidity: function TOKEN_HUB_ADDR() view returns(address)

func (*TokenmanagerCaller) TOKENMANAGERADDR

func (_Tokenmanager *TokenmanagerCaller) TOKENMANAGERADDR(opts *bind.CallOpts) (common.Address, error)

TOKENMANAGERADDR is a free data retrieval call binding the contract method 0x75d47a0a.

Solidity: function TOKEN_MANAGER_ADDR() view returns(address)

func (*TokenmanagerCaller) TRANSFERINCHANNELID

func (_Tokenmanager *TokenmanagerCaller) TRANSFERINCHANNELID(opts *bind.CallOpts) (uint8, error)

TRANSFERINCHANNELID is a free data retrieval call binding the contract method 0x70fd5bad.

Solidity: function TRANSFER_IN_CHANNELID() view returns(uint8)

func (*TokenmanagerCaller) TRANSFEROUTCHANNELID

func (_Tokenmanager *TokenmanagerCaller) TRANSFEROUTCHANNELID(opts *bind.CallOpts) (uint8, error)

TRANSFEROUTCHANNELID is a free data retrieval call binding the contract method 0xfc3e5908.

Solidity: function TRANSFER_OUT_CHANNELID() view returns(uint8)

func (*TokenmanagerCaller) UNBINDPACKAGE

func (_Tokenmanager *TokenmanagerCaller) UNBINDPACKAGE(opts *bind.CallOpts) (uint8, error)

UNBINDPACKAGE is a free data retrieval call binding the contract method 0x23996b53.

Solidity: function UNBIND_PACKAGE() view returns(uint8)

func (*TokenmanagerCaller) VALIDATORCONTRACTADDR

func (_Tokenmanager *TokenmanagerCaller) VALIDATORCONTRACTADDR(opts *bind.CallOpts) (common.Address, error)

VALIDATORCONTRACTADDR is a free data retrieval call binding the contract method 0xf9a2bbc7.

Solidity: function VALIDATOR_CONTRACT_ADDR() view returns(address)

type TokenmanagerCallerRaw

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

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

func (*TokenmanagerCallerRaw) Call

func (_Tokenmanager *TokenmanagerCallerRaw) 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 TokenmanagerCallerSession

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

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

func (*TokenmanagerCallerSession) AlreadyInit

func (_Tokenmanager *TokenmanagerCallerSession) AlreadyInit() (bool, error)

AlreadyInit is a free data retrieval call binding the contract method 0xa78abc16.

Solidity: function alreadyInit() view returns(bool)

func (*TokenmanagerCallerSession) BINDCHANNELID

func (_Tokenmanager *TokenmanagerCallerSession) BINDCHANNELID() (uint8, error)

BINDCHANNELID is a free data retrieval call binding the contract method 0x3dffc387.

Solidity: function BIND_CHANNELID() view returns(uint8)

func (*TokenmanagerCallerSession) BINDPACKAGE

func (_Tokenmanager *TokenmanagerCallerSession) BINDPACKAGE() (uint8, error)

BINDPACKAGE is a free data retrieval call binding the contract method 0xfe3a2af5.

Solidity: function BIND_PACKAGE() view returns(uint8)

func (*TokenmanagerCallerSession) BINDSTATUSALREADYBOUNDTOKEN

func (_Tokenmanager *TokenmanagerCallerSession) BINDSTATUSALREADYBOUNDTOKEN() (uint8, error)

BINDSTATUSALREADYBOUNDTOKEN is a free data retrieval call binding the contract method 0x0f212b1b.

Solidity: function BIND_STATUS_ALREADY_BOUND_TOKEN() view returns(uint8)

func (*TokenmanagerCallerSession) BINDSTATUSDECIMALSMISMATCH

func (_Tokenmanager *TokenmanagerCallerSession) BINDSTATUSDECIMALSMISMATCH() (uint8, error)

BINDSTATUSDECIMALSMISMATCH is a free data retrieval call binding the contract method 0x4bc81c00.

Solidity: function BIND_STATUS_DECIMALS_MISMATCH() view returns(uint8)

func (*TokenmanagerCallerSession) BINDSTATUSREJECTED

func (_Tokenmanager *TokenmanagerCallerSession) BINDSTATUSREJECTED() (uint8, error)

BINDSTATUSREJECTED is a free data retrieval call binding the contract method 0x95b9ad26.

Solidity: function BIND_STATUS_REJECTED() view returns(uint8)

func (*TokenmanagerCallerSession) BINDSTATUSSUCCESS

func (_Tokenmanager *TokenmanagerCallerSession) BINDSTATUSSUCCESS() (uint8, error)

BINDSTATUSSUCCESS is a free data retrieval call binding the contract method 0x4a688818.

Solidity: function BIND_STATUS_SUCCESS() view returns(uint8)

func (*TokenmanagerCallerSession) BINDSTATUSSYMBOLMISMATCH

func (_Tokenmanager *TokenmanagerCallerSession) BINDSTATUSSYMBOLMISMATCH() (uint8, error)

BINDSTATUSSYMBOLMISMATCH is a free data retrieval call binding the contract method 0x5f558f86.

Solidity: function BIND_STATUS_SYMBOL_MISMATCH() view returns(uint8)

func (*TokenmanagerCallerSession) BINDSTATUSTIMEOUT

func (_Tokenmanager *TokenmanagerCallerSession) BINDSTATUSTIMEOUT() (uint8, error)

BINDSTATUSTIMEOUT is a free data retrieval call binding the contract method 0x7d078e13.

Solidity: function BIND_STATUS_TIMEOUT() view returns(uint8)

func (*TokenmanagerCallerSession) BINDSTATUSTOOMUCHTOKENHUBBALANCE

func (_Tokenmanager *TokenmanagerCallerSession) BINDSTATUSTOOMUCHTOKENHUBBALANCE() (uint8, error)

BINDSTATUSTOOMUCHTOKENHUBBALANCE is a free data retrieval call binding the contract method 0xc8e704a4.

Solidity: function BIND_STATUS_TOO_MUCH_TOKENHUB_BALANCE() view returns(uint8)

func (*TokenmanagerCallerSession) BINDSTATUSTOTALSUPPLYMISMATCH

func (_Tokenmanager *TokenmanagerCallerSession) BINDSTATUSTOTALSUPPLYMISMATCH() (uint8, error)

BINDSTATUSTOTALSUPPLYMISMATCH is a free data retrieval call binding the contract method 0x1f91600b.

Solidity: function BIND_STATUS_TOTAL_SUPPLY_MISMATCH() view returns(uint8)

func (*TokenmanagerCallerSession) BindPackageRecord

func (_Tokenmanager *TokenmanagerCallerSession) BindPackageRecord(arg0 [32]byte) (struct {
	PackageType     uint8
	Bep2TokenSymbol [32]byte
	ContractAddr    common.Address
	TotalSupply     *big.Int
	PeggyAmount     *big.Int
	Bep20Decimals   uint8
	ExpireTime      uint64
}, error)

BindPackageRecord is a free data retrieval call binding the contract method 0xd117a110.

Solidity: function bindPackageRecord(bytes32 ) view returns(uint8 packageType, bytes32 bep2TokenSymbol, address contractAddr, uint256 totalSupply, uint256 peggyAmount, uint8 bep20Decimals, uint64 expireTime)

func (*TokenmanagerCallerSession) BscChainID

func (_Tokenmanager *TokenmanagerCallerSession) BscChainID() (uint16, error)

BscChainID is a free data retrieval call binding the contract method 0x493279b1.

Solidity: function bscChainID() view returns(uint16)

func (*TokenmanagerCallerSession) CODEOK

func (_Tokenmanager *TokenmanagerCallerSession) CODEOK() (uint32, error)

CODEOK is a free data retrieval call binding the contract method 0xab51bb96.

Solidity: function CODE_OK() view returns(uint32)

func (*TokenmanagerCallerSession) CROSSCHAINCONTRACTADDR

func (_Tokenmanager *TokenmanagerCallerSession) CROSSCHAINCONTRACTADDR() (common.Address, error)

CROSSCHAINCONTRACTADDR is a free data retrieval call binding the contract method 0x51e80672.

Solidity: function CROSS_CHAIN_CONTRACT_ADDR() view returns(address)

func (*TokenmanagerCallerSession) ERRORFAILDECODE

func (_Tokenmanager *TokenmanagerCallerSession) ERRORFAILDECODE() (uint32, error)

ERRORFAILDECODE is a free data retrieval call binding the contract method 0x0bee7a67.

Solidity: function ERROR_FAIL_DECODE() view returns(uint32)

func (*TokenmanagerCallerSession) GOVCHANNELID

func (_Tokenmanager *TokenmanagerCallerSession) GOVCHANNELID() (uint8, error)

GOVCHANNELID is a free data retrieval call binding the contract method 0x96713da9.

Solidity: function GOV_CHANNELID() view returns(uint8)

func (*TokenmanagerCallerSession) GOVHUBADDR

func (_Tokenmanager *TokenmanagerCallerSession) GOVHUBADDR() (common.Address, error)

GOVHUBADDR is a free data retrieval call binding the contract method 0x9dc09262.

Solidity: function GOV_HUB_ADDR() view returns(address)

func (*TokenmanagerCallerSession) INCENTIVIZEADDR

func (_Tokenmanager *TokenmanagerCallerSession) INCENTIVIZEADDR() (common.Address, error)

INCENTIVIZEADDR is a free data retrieval call binding the contract method 0x6e47b482.

Solidity: function INCENTIVIZE_ADDR() view returns(address)

func (*TokenmanagerCallerSession) LIGHTCLIENTADDR

func (_Tokenmanager *TokenmanagerCallerSession) LIGHTCLIENTADDR() (common.Address, error)

LIGHTCLIENTADDR is a free data retrieval call binding the contract method 0xdc927faf.

Solidity: function LIGHT_CLIENT_ADDR() view returns(address)

func (*TokenmanagerCallerSession) MAXIMUMBEP20SYMBOLLEN

func (_Tokenmanager *TokenmanagerCallerSession) MAXIMUMBEP20SYMBOLLEN() (uint8, error)

MAXIMUMBEP20SYMBOLLEN is a free data retrieval call binding the contract method 0xd9e6dae9.

Solidity: function MAXIMUM_BEP20_SYMBOL_LEN() view returns(uint8)

func (*TokenmanagerCallerSession) MINIMUMBEP20SYMBOLLEN

func (_Tokenmanager *TokenmanagerCallerSession) MINIMUMBEP20SYMBOLLEN() (uint8, error)

MINIMUMBEP20SYMBOLLEN is a free data retrieval call binding the contract method 0x66dea52a.

Solidity: function MINIMUM_BEP20_SYMBOL_LEN() view returns(uint8)

func (*TokenmanagerCallerSession) QueryRequiredLockAmountForBind

func (_Tokenmanager *TokenmanagerCallerSession) QueryRequiredLockAmountForBind(symbol string) (*big.Int, error)

QueryRequiredLockAmountForBind is a free data retrieval call binding the contract method 0x445fcefe.

Solidity: function queryRequiredLockAmountForBind(string symbol) view returns(uint256)

func (*TokenmanagerCallerSession) RELAYERHUBCONTRACTADDR

func (_Tokenmanager *TokenmanagerCallerSession) RELAYERHUBCONTRACTADDR() (common.Address, error)

RELAYERHUBCONTRACTADDR is a free data retrieval call binding the contract method 0xa1a11bf5.

Solidity: function RELAYERHUB_CONTRACT_ADDR() view returns(address)

func (*TokenmanagerCallerSession) SLASHCHANNELID

func (_Tokenmanager *TokenmanagerCallerSession) SLASHCHANNELID() (uint8, error)

SLASHCHANNELID is a free data retrieval call binding the contract method 0x7942fd05.

Solidity: function SLASH_CHANNELID() view returns(uint8)

func (*TokenmanagerCallerSession) SLASHCONTRACTADDR

func (_Tokenmanager *TokenmanagerCallerSession) SLASHCONTRACTADDR() (common.Address, error)

SLASHCONTRACTADDR is a free data retrieval call binding the contract method 0x43756e5c.

Solidity: function SLASH_CONTRACT_ADDR() view returns(address)

func (*TokenmanagerCallerSession) STAKINGCHANNELID

func (_Tokenmanager *TokenmanagerCallerSession) STAKINGCHANNELID() (uint8, error)

STAKINGCHANNELID is a free data retrieval call binding the contract method 0x4bf6c882.

Solidity: function STAKING_CHANNELID() view returns(uint8)

func (*TokenmanagerCallerSession) SYSTEMREWARDADDR

func (_Tokenmanager *TokenmanagerCallerSession) SYSTEMREWARDADDR() (common.Address, error)

SYSTEMREWARDADDR is a free data retrieval call binding the contract method 0xc81b1662.

Solidity: function SYSTEM_REWARD_ADDR() view returns(address)

func (*TokenmanagerCallerSession) TENDECIMALS

func (_Tokenmanager *TokenmanagerCallerSession) TENDECIMALS() (*big.Int, error)

TENDECIMALS is a free data retrieval call binding the contract method 0x5d499b1b.

Solidity: function TEN_DECIMALS() view returns(uint256)

func (*TokenmanagerCallerSession) TOKENHUBADDR

func (_Tokenmanager *TokenmanagerCallerSession) TOKENHUBADDR() (common.Address, error)

TOKENHUBADDR is a free data retrieval call binding the contract method 0xfd6a6879.

Solidity: function TOKEN_HUB_ADDR() view returns(address)

func (*TokenmanagerCallerSession) TOKENMANAGERADDR

func (_Tokenmanager *TokenmanagerCallerSession) TOKENMANAGERADDR() (common.Address, error)

TOKENMANAGERADDR is a free data retrieval call binding the contract method 0x75d47a0a.

Solidity: function TOKEN_MANAGER_ADDR() view returns(address)

func (*TokenmanagerCallerSession) TRANSFERINCHANNELID

func (_Tokenmanager *TokenmanagerCallerSession) TRANSFERINCHANNELID() (uint8, error)

TRANSFERINCHANNELID is a free data retrieval call binding the contract method 0x70fd5bad.

Solidity: function TRANSFER_IN_CHANNELID() view returns(uint8)

func (*TokenmanagerCallerSession) TRANSFEROUTCHANNELID

func (_Tokenmanager *TokenmanagerCallerSession) TRANSFEROUTCHANNELID() (uint8, error)

TRANSFEROUTCHANNELID is a free data retrieval call binding the contract method 0xfc3e5908.

Solidity: function TRANSFER_OUT_CHANNELID() view returns(uint8)

func (*TokenmanagerCallerSession) UNBINDPACKAGE

func (_Tokenmanager *TokenmanagerCallerSession) UNBINDPACKAGE() (uint8, error)

UNBINDPACKAGE is a free data retrieval call binding the contract method 0x23996b53.

Solidity: function UNBIND_PACKAGE() view returns(uint8)

func (*TokenmanagerCallerSession) VALIDATORCONTRACTADDR

func (_Tokenmanager *TokenmanagerCallerSession) VALIDATORCONTRACTADDR() (common.Address, error)

VALIDATORCONTRACTADDR is a free data retrieval call binding the contract method 0xf9a2bbc7.

Solidity: function VALIDATOR_CONTRACT_ADDR() view returns(address)

type TokenmanagerFilterer

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

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

func NewTokenmanagerFilterer

func NewTokenmanagerFilterer(address common.Address, filterer bind.ContractFilterer) (*TokenmanagerFilterer, error)

NewTokenmanagerFilterer creates a new log filterer instance of Tokenmanager, bound to a specific deployed contract.

func (*TokenmanagerFilterer) FilterBindFailure

func (_Tokenmanager *TokenmanagerFilterer) FilterBindFailure(opts *bind.FilterOpts, contractAddr []common.Address) (*TokenmanagerBindFailureIterator, error)

FilterBindFailure is a free log retrieval operation binding the contract event 0x831c0ef4d93bda3bce08b69ae3f29ef1a6e052b833200988554158494405a107.

Solidity: event bindFailure(address indexed contractAddr, string bep2Symbol, uint32 failedReason)

func (*TokenmanagerFilterer) FilterBindSuccess

func (_Tokenmanager *TokenmanagerFilterer) FilterBindSuccess(opts *bind.FilterOpts, contractAddr []common.Address) (*TokenmanagerBindSuccessIterator, error)

FilterBindSuccess is a free log retrieval operation binding the contract event 0x78e7dd9aefcdbf795c4936a66f7dc6d41bb56637b54f561a6bf7829dca3348a8.

Solidity: event bindSuccess(address indexed contractAddr, string bep2Symbol, uint256 totalSupply, uint256 peggyAmount)

func (*TokenmanagerFilterer) FilterUnexpectedPackage

func (_Tokenmanager *TokenmanagerFilterer) FilterUnexpectedPackage(opts *bind.FilterOpts) (*TokenmanagerUnexpectedPackageIterator, error)

FilterUnexpectedPackage is a free log retrieval operation binding the contract event 0x41ce201247b6ceb957dcdb217d0b8acb50b9ea0e12af9af4f5e7f38902101605.

Solidity: event unexpectedPackage(uint8 channelId, bytes msgBytes)

func (*TokenmanagerFilterer) ParseBindFailure

func (_Tokenmanager *TokenmanagerFilterer) ParseBindFailure(log types.Log) (*TokenmanagerBindFailure, error)

ParseBindFailure is a log parse operation binding the contract event 0x831c0ef4d93bda3bce08b69ae3f29ef1a6e052b833200988554158494405a107.

Solidity: event bindFailure(address indexed contractAddr, string bep2Symbol, uint32 failedReason)

func (*TokenmanagerFilterer) ParseBindSuccess

func (_Tokenmanager *TokenmanagerFilterer) ParseBindSuccess(log types.Log) (*TokenmanagerBindSuccess, error)

ParseBindSuccess is a log parse operation binding the contract event 0x78e7dd9aefcdbf795c4936a66f7dc6d41bb56637b54f561a6bf7829dca3348a8.

Solidity: event bindSuccess(address indexed contractAddr, string bep2Symbol, uint256 totalSupply, uint256 peggyAmount)

func (*TokenmanagerFilterer) ParseUnexpectedPackage

func (_Tokenmanager *TokenmanagerFilterer) ParseUnexpectedPackage(log types.Log) (*TokenmanagerUnexpectedPackage, error)

ParseUnexpectedPackage is a log parse operation binding the contract event 0x41ce201247b6ceb957dcdb217d0b8acb50b9ea0e12af9af4f5e7f38902101605.

Solidity: event unexpectedPackage(uint8 channelId, bytes msgBytes)

func (*TokenmanagerFilterer) WatchBindFailure

func (_Tokenmanager *TokenmanagerFilterer) WatchBindFailure(opts *bind.WatchOpts, sink chan<- *TokenmanagerBindFailure, contractAddr []common.Address) (event.Subscription, error)

WatchBindFailure is a free log subscription operation binding the contract event 0x831c0ef4d93bda3bce08b69ae3f29ef1a6e052b833200988554158494405a107.

Solidity: event bindFailure(address indexed contractAddr, string bep2Symbol, uint32 failedReason)

func (*TokenmanagerFilterer) WatchBindSuccess

func (_Tokenmanager *TokenmanagerFilterer) WatchBindSuccess(opts *bind.WatchOpts, sink chan<- *TokenmanagerBindSuccess, contractAddr []common.Address) (event.Subscription, error)

WatchBindSuccess is a free log subscription operation binding the contract event 0x78e7dd9aefcdbf795c4936a66f7dc6d41bb56637b54f561a6bf7829dca3348a8.

Solidity: event bindSuccess(address indexed contractAddr, string bep2Symbol, uint256 totalSupply, uint256 peggyAmount)

func (*TokenmanagerFilterer) WatchUnexpectedPackage

func (_Tokenmanager *TokenmanagerFilterer) WatchUnexpectedPackage(opts *bind.WatchOpts, sink chan<- *TokenmanagerUnexpectedPackage) (event.Subscription, error)

WatchUnexpectedPackage is a free log subscription operation binding the contract event 0x41ce201247b6ceb957dcdb217d0b8acb50b9ea0e12af9af4f5e7f38902101605.

Solidity: event unexpectedPackage(uint8 channelId, bytes msgBytes)

type TokenmanagerRaw

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

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

func (*TokenmanagerRaw) Call

func (_Tokenmanager *TokenmanagerRaw) 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 (*TokenmanagerRaw) Transact

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

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

func (*TokenmanagerRaw) Transfer

func (_Tokenmanager *TokenmanagerRaw) 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 TokenmanagerSession

type TokenmanagerSession struct {
	Contract     *Tokenmanager     // 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
}

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

func (*TokenmanagerSession) AlreadyInit

func (_Tokenmanager *TokenmanagerSession) AlreadyInit() (bool, error)

AlreadyInit is a free data retrieval call binding the contract method 0xa78abc16.

Solidity: function alreadyInit() view returns(bool)

func (*TokenmanagerSession) ApproveBind

func (_Tokenmanager *TokenmanagerSession) ApproveBind(contractAddr common.Address, bep2Symbol string) (*types.Transaction, error)

ApproveBind is a paid mutator transaction binding the contract method 0x6b3f1307.

Solidity: function approveBind(address contractAddr, string bep2Symbol) payable returns(bool)

func (*TokenmanagerSession) BINDCHANNELID

func (_Tokenmanager *TokenmanagerSession) BINDCHANNELID() (uint8, error)

BINDCHANNELID is a free data retrieval call binding the contract method 0x3dffc387.

Solidity: function BIND_CHANNELID() view returns(uint8)

func (*TokenmanagerSession) BINDPACKAGE

func (_Tokenmanager *TokenmanagerSession) BINDPACKAGE() (uint8, error)

BINDPACKAGE is a free data retrieval call binding the contract method 0xfe3a2af5.

Solidity: function BIND_PACKAGE() view returns(uint8)

func (*TokenmanagerSession) BINDSTATUSALREADYBOUNDTOKEN

func (_Tokenmanager *TokenmanagerSession) BINDSTATUSALREADYBOUNDTOKEN() (uint8, error)

BINDSTATUSALREADYBOUNDTOKEN is a free data retrieval call binding the contract method 0x0f212b1b.

Solidity: function BIND_STATUS_ALREADY_BOUND_TOKEN() view returns(uint8)

func (*TokenmanagerSession) BINDSTATUSDECIMALSMISMATCH

func (_Tokenmanager *TokenmanagerSession) BINDSTATUSDECIMALSMISMATCH() (uint8, error)

BINDSTATUSDECIMALSMISMATCH is a free data retrieval call binding the contract method 0x4bc81c00.

Solidity: function BIND_STATUS_DECIMALS_MISMATCH() view returns(uint8)

func (*TokenmanagerSession) BINDSTATUSREJECTED

func (_Tokenmanager *TokenmanagerSession) BINDSTATUSREJECTED() (uint8, error)

BINDSTATUSREJECTED is a free data retrieval call binding the contract method 0x95b9ad26.

Solidity: function BIND_STATUS_REJECTED() view returns(uint8)

func (*TokenmanagerSession) BINDSTATUSSUCCESS

func (_Tokenmanager *TokenmanagerSession) BINDSTATUSSUCCESS() (uint8, error)

BINDSTATUSSUCCESS is a free data retrieval call binding the contract method 0x4a688818.

Solidity: function BIND_STATUS_SUCCESS() view returns(uint8)

func (*TokenmanagerSession) BINDSTATUSSYMBOLMISMATCH

func (_Tokenmanager *TokenmanagerSession) BINDSTATUSSYMBOLMISMATCH() (uint8, error)

BINDSTATUSSYMBOLMISMATCH is a free data retrieval call binding the contract method 0x5f558f86.

Solidity: function BIND_STATUS_SYMBOL_MISMATCH() view returns(uint8)

func (*TokenmanagerSession) BINDSTATUSTIMEOUT

func (_Tokenmanager *TokenmanagerSession) BINDSTATUSTIMEOUT() (uint8, error)

BINDSTATUSTIMEOUT is a free data retrieval call binding the contract method 0x7d078e13.

Solidity: function BIND_STATUS_TIMEOUT() view returns(uint8)

func (*TokenmanagerSession) BINDSTATUSTOOMUCHTOKENHUBBALANCE

func (_Tokenmanager *TokenmanagerSession) BINDSTATUSTOOMUCHTOKENHUBBALANCE() (uint8, error)

BINDSTATUSTOOMUCHTOKENHUBBALANCE is a free data retrieval call binding the contract method 0xc8e704a4.

Solidity: function BIND_STATUS_TOO_MUCH_TOKENHUB_BALANCE() view returns(uint8)

func (*TokenmanagerSession) BINDSTATUSTOTALSUPPLYMISMATCH

func (_Tokenmanager *TokenmanagerSession) BINDSTATUSTOTALSUPPLYMISMATCH() (uint8, error)

BINDSTATUSTOTALSUPPLYMISMATCH is a free data retrieval call binding the contract method 0x1f91600b.

Solidity: function BIND_STATUS_TOTAL_SUPPLY_MISMATCH() view returns(uint8)

func (*TokenmanagerSession) BindPackageRecord

func (_Tokenmanager *TokenmanagerSession) BindPackageRecord(arg0 [32]byte) (struct {
	PackageType     uint8
	Bep2TokenSymbol [32]byte
	ContractAddr    common.Address
	TotalSupply     *big.Int
	PeggyAmount     *big.Int
	Bep20Decimals   uint8
	ExpireTime      uint64
}, error)

BindPackageRecord is a free data retrieval call binding the contract method 0xd117a110.

Solidity: function bindPackageRecord(bytes32 ) view returns(uint8 packageType, bytes32 bep2TokenSymbol, address contractAddr, uint256 totalSupply, uint256 peggyAmount, uint8 bep20Decimals, uint64 expireTime)

func (*TokenmanagerSession) BscChainID

func (_Tokenmanager *TokenmanagerSession) BscChainID() (uint16, error)

BscChainID is a free data retrieval call binding the contract method 0x493279b1.

Solidity: function bscChainID() view returns(uint16)

func (*TokenmanagerSession) CODEOK

func (_Tokenmanager *TokenmanagerSession) CODEOK() (uint32, error)

CODEOK is a free data retrieval call binding the contract method 0xab51bb96.

Solidity: function CODE_OK() view returns(uint32)

func (*TokenmanagerSession) CROSSCHAINCONTRACTADDR

func (_Tokenmanager *TokenmanagerSession) CROSSCHAINCONTRACTADDR() (common.Address, error)

CROSSCHAINCONTRACTADDR is a free data retrieval call binding the contract method 0x51e80672.

Solidity: function CROSS_CHAIN_CONTRACT_ADDR() view returns(address)

func (*TokenmanagerSession) ERRORFAILDECODE

func (_Tokenmanager *TokenmanagerSession) ERRORFAILDECODE() (uint32, error)

ERRORFAILDECODE is a free data retrieval call binding the contract method 0x0bee7a67.

Solidity: function ERROR_FAIL_DECODE() view returns(uint32)

func (*TokenmanagerSession) ExpireBind

func (_Tokenmanager *TokenmanagerSession) ExpireBind(bep2Symbol string) (*types.Transaction, error)

ExpireBind is a paid mutator transaction binding the contract method 0x72c4e086.

Solidity: function expireBind(string bep2Symbol) payable returns(bool)

func (*TokenmanagerSession) GOVCHANNELID

func (_Tokenmanager *TokenmanagerSession) GOVCHANNELID() (uint8, error)

GOVCHANNELID is a free data retrieval call binding the contract method 0x96713da9.

Solidity: function GOV_CHANNELID() view returns(uint8)

func (*TokenmanagerSession) GOVHUBADDR

func (_Tokenmanager *TokenmanagerSession) GOVHUBADDR() (common.Address, error)

GOVHUBADDR is a free data retrieval call binding the contract method 0x9dc09262.

Solidity: function GOV_HUB_ADDR() view returns(address)

func (*TokenmanagerSession) HandleAckPackage

func (_Tokenmanager *TokenmanagerSession) HandleAckPackage(channelId uint8, msgBytes []byte) (*types.Transaction, error)

HandleAckPackage is a paid mutator transaction binding the contract method 0x831d65d1.

Solidity: function handleAckPackage(uint8 channelId, bytes msgBytes) returns()

func (*TokenmanagerSession) HandleFailAckPackage

func (_Tokenmanager *TokenmanagerSession) HandleFailAckPackage(channelId uint8, msgBytes []byte) (*types.Transaction, error)

HandleFailAckPackage is a paid mutator transaction binding the contract method 0xc8509d81.

Solidity: function handleFailAckPackage(uint8 channelId, bytes msgBytes) returns()

func (*TokenmanagerSession) HandleSynPackage

func (_Tokenmanager *TokenmanagerSession) HandleSynPackage(arg0 uint8, msgBytes []byte) (*types.Transaction, error)

HandleSynPackage is a paid mutator transaction binding the contract method 0x1182b875.

Solidity: function handleSynPackage(uint8 , bytes msgBytes) returns(bytes)

func (*TokenmanagerSession) INCENTIVIZEADDR

func (_Tokenmanager *TokenmanagerSession) INCENTIVIZEADDR() (common.Address, error)

INCENTIVIZEADDR is a free data retrieval call binding the contract method 0x6e47b482.

Solidity: function INCENTIVIZE_ADDR() view returns(address)

func (*TokenmanagerSession) LIGHTCLIENTADDR

func (_Tokenmanager *TokenmanagerSession) LIGHTCLIENTADDR() (common.Address, error)

LIGHTCLIENTADDR is a free data retrieval call binding the contract method 0xdc927faf.

Solidity: function LIGHT_CLIENT_ADDR() view returns(address)

func (*TokenmanagerSession) MAXIMUMBEP20SYMBOLLEN

func (_Tokenmanager *TokenmanagerSession) MAXIMUMBEP20SYMBOLLEN() (uint8, error)

MAXIMUMBEP20SYMBOLLEN is a free data retrieval call binding the contract method 0xd9e6dae9.

Solidity: function MAXIMUM_BEP20_SYMBOL_LEN() view returns(uint8)

func (*TokenmanagerSession) MINIMUMBEP20SYMBOLLEN

func (_Tokenmanager *TokenmanagerSession) MINIMUMBEP20SYMBOLLEN() (uint8, error)

MINIMUMBEP20SYMBOLLEN is a free data retrieval call binding the contract method 0x66dea52a.

Solidity: function MINIMUM_BEP20_SYMBOL_LEN() view returns(uint8)

func (*TokenmanagerSession) QueryRequiredLockAmountForBind

func (_Tokenmanager *TokenmanagerSession) QueryRequiredLockAmountForBind(symbol string) (*big.Int, error)

QueryRequiredLockAmountForBind is a free data retrieval call binding the contract method 0x445fcefe.

Solidity: function queryRequiredLockAmountForBind(string symbol) view returns(uint256)

func (*TokenmanagerSession) RELAYERHUBCONTRACTADDR

func (_Tokenmanager *TokenmanagerSession) RELAYERHUBCONTRACTADDR() (common.Address, error)

RELAYERHUBCONTRACTADDR is a free data retrieval call binding the contract method 0xa1a11bf5.

Solidity: function RELAYERHUB_CONTRACT_ADDR() view returns(address)

func (*TokenmanagerSession) RejectBind

func (_Tokenmanager *TokenmanagerSession) RejectBind(contractAddr common.Address, bep2Symbol string) (*types.Transaction, error)

RejectBind is a paid mutator transaction binding the contract method 0x77d9dae8.

Solidity: function rejectBind(address contractAddr, string bep2Symbol) payable returns(bool)

func (*TokenmanagerSession) SLASHCHANNELID

func (_Tokenmanager *TokenmanagerSession) SLASHCHANNELID() (uint8, error)

SLASHCHANNELID is a free data retrieval call binding the contract method 0x7942fd05.

Solidity: function SLASH_CHANNELID() view returns(uint8)

func (*TokenmanagerSession) SLASHCONTRACTADDR

func (_Tokenmanager *TokenmanagerSession) SLASHCONTRACTADDR() (common.Address, error)

SLASHCONTRACTADDR is a free data retrieval call binding the contract method 0x43756e5c.

Solidity: function SLASH_CONTRACT_ADDR() view returns(address)

func (*TokenmanagerSession) STAKINGCHANNELID

func (_Tokenmanager *TokenmanagerSession) STAKINGCHANNELID() (uint8, error)

STAKINGCHANNELID is a free data retrieval call binding the contract method 0x4bf6c882.

Solidity: function STAKING_CHANNELID() view returns(uint8)

func (*TokenmanagerSession) SYSTEMREWARDADDR

func (_Tokenmanager *TokenmanagerSession) SYSTEMREWARDADDR() (common.Address, error)

SYSTEMREWARDADDR is a free data retrieval call binding the contract method 0xc81b1662.

Solidity: function SYSTEM_REWARD_ADDR() view returns(address)

func (*TokenmanagerSession) TENDECIMALS

func (_Tokenmanager *TokenmanagerSession) TENDECIMALS() (*big.Int, error)

TENDECIMALS is a free data retrieval call binding the contract method 0x5d499b1b.

Solidity: function TEN_DECIMALS() view returns(uint256)

func (*TokenmanagerSession) TOKENHUBADDR

func (_Tokenmanager *TokenmanagerSession) TOKENHUBADDR() (common.Address, error)

TOKENHUBADDR is a free data retrieval call binding the contract method 0xfd6a6879.

Solidity: function TOKEN_HUB_ADDR() view returns(address)

func (*TokenmanagerSession) TOKENMANAGERADDR

func (_Tokenmanager *TokenmanagerSession) TOKENMANAGERADDR() (common.Address, error)

TOKENMANAGERADDR is a free data retrieval call binding the contract method 0x75d47a0a.

Solidity: function TOKEN_MANAGER_ADDR() view returns(address)

func (*TokenmanagerSession) TRANSFERINCHANNELID

func (_Tokenmanager *TokenmanagerSession) TRANSFERINCHANNELID() (uint8, error)

TRANSFERINCHANNELID is a free data retrieval call binding the contract method 0x70fd5bad.

Solidity: function TRANSFER_IN_CHANNELID() view returns(uint8)

func (*TokenmanagerSession) TRANSFEROUTCHANNELID

func (_Tokenmanager *TokenmanagerSession) TRANSFEROUTCHANNELID() (uint8, error)

TRANSFEROUTCHANNELID is a free data retrieval call binding the contract method 0xfc3e5908.

Solidity: function TRANSFER_OUT_CHANNELID() view returns(uint8)

func (*TokenmanagerSession) UNBINDPACKAGE

func (_Tokenmanager *TokenmanagerSession) UNBINDPACKAGE() (uint8, error)

UNBINDPACKAGE is a free data retrieval call binding the contract method 0x23996b53.

Solidity: function UNBIND_PACKAGE() view returns(uint8)

func (*TokenmanagerSession) VALIDATORCONTRACTADDR

func (_Tokenmanager *TokenmanagerSession) VALIDATORCONTRACTADDR() (common.Address, error)

VALIDATORCONTRACTADDR is a free data retrieval call binding the contract method 0xf9a2bbc7.

Solidity: function VALIDATOR_CONTRACT_ADDR() view returns(address)

type TokenmanagerTransactor

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

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

func NewTokenmanagerTransactor

func NewTokenmanagerTransactor(address common.Address, transactor bind.ContractTransactor) (*TokenmanagerTransactor, error)

NewTokenmanagerTransactor creates a new write-only instance of Tokenmanager, bound to a specific deployed contract.

func (*TokenmanagerTransactor) ApproveBind

func (_Tokenmanager *TokenmanagerTransactor) ApproveBind(opts *bind.TransactOpts, contractAddr common.Address, bep2Symbol string) (*types.Transaction, error)

ApproveBind is a paid mutator transaction binding the contract method 0x6b3f1307.

Solidity: function approveBind(address contractAddr, string bep2Symbol) payable returns(bool)

func (*TokenmanagerTransactor) ExpireBind

func (_Tokenmanager *TokenmanagerTransactor) ExpireBind(opts *bind.TransactOpts, bep2Symbol string) (*types.Transaction, error)

ExpireBind is a paid mutator transaction binding the contract method 0x72c4e086.

Solidity: function expireBind(string bep2Symbol) payable returns(bool)

func (*TokenmanagerTransactor) HandleAckPackage

func (_Tokenmanager *TokenmanagerTransactor) HandleAckPackage(opts *bind.TransactOpts, channelId uint8, msgBytes []byte) (*types.Transaction, error)

HandleAckPackage is a paid mutator transaction binding the contract method 0x831d65d1.

Solidity: function handleAckPackage(uint8 channelId, bytes msgBytes) returns()

func (*TokenmanagerTransactor) HandleFailAckPackage

func (_Tokenmanager *TokenmanagerTransactor) HandleFailAckPackage(opts *bind.TransactOpts, channelId uint8, msgBytes []byte) (*types.Transaction, error)

HandleFailAckPackage is a paid mutator transaction binding the contract method 0xc8509d81.

Solidity: function handleFailAckPackage(uint8 channelId, bytes msgBytes) returns()

func (*TokenmanagerTransactor) HandleSynPackage

func (_Tokenmanager *TokenmanagerTransactor) HandleSynPackage(opts *bind.TransactOpts, arg0 uint8, msgBytes []byte) (*types.Transaction, error)

HandleSynPackage is a paid mutator transaction binding the contract method 0x1182b875.

Solidity: function handleSynPackage(uint8 , bytes msgBytes) returns(bytes)

func (*TokenmanagerTransactor) RejectBind

func (_Tokenmanager *TokenmanagerTransactor) RejectBind(opts *bind.TransactOpts, contractAddr common.Address, bep2Symbol string) (*types.Transaction, error)

RejectBind is a paid mutator transaction binding the contract method 0x77d9dae8.

Solidity: function rejectBind(address contractAddr, string bep2Symbol) payable returns(bool)

type TokenmanagerTransactorRaw

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

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

func (*TokenmanagerTransactorRaw) Transact

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

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

func (*TokenmanagerTransactorRaw) Transfer

func (_Tokenmanager *TokenmanagerTransactorRaw) 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 TokenmanagerTransactorSession

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

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

func (*TokenmanagerTransactorSession) ApproveBind

func (_Tokenmanager *TokenmanagerTransactorSession) ApproveBind(contractAddr common.Address, bep2Symbol string) (*types.Transaction, error)

ApproveBind is a paid mutator transaction binding the contract method 0x6b3f1307.

Solidity: function approveBind(address contractAddr, string bep2Symbol) payable returns(bool)

func (*TokenmanagerTransactorSession) ExpireBind

func (_Tokenmanager *TokenmanagerTransactorSession) ExpireBind(bep2Symbol string) (*types.Transaction, error)

ExpireBind is a paid mutator transaction binding the contract method 0x72c4e086.

Solidity: function expireBind(string bep2Symbol) payable returns(bool)

func (*TokenmanagerTransactorSession) HandleAckPackage

func (_Tokenmanager *TokenmanagerTransactorSession) HandleAckPackage(channelId uint8, msgBytes []byte) (*types.Transaction, error)

HandleAckPackage is a paid mutator transaction binding the contract method 0x831d65d1.

Solidity: function handleAckPackage(uint8 channelId, bytes msgBytes) returns()

func (*TokenmanagerTransactorSession) HandleFailAckPackage

func (_Tokenmanager *TokenmanagerTransactorSession) HandleFailAckPackage(channelId uint8, msgBytes []byte) (*types.Transaction, error)

HandleFailAckPackage is a paid mutator transaction binding the contract method 0xc8509d81.

Solidity: function handleFailAckPackage(uint8 channelId, bytes msgBytes) returns()

func (*TokenmanagerTransactorSession) HandleSynPackage

func (_Tokenmanager *TokenmanagerTransactorSession) HandleSynPackage(arg0 uint8, msgBytes []byte) (*types.Transaction, error)

HandleSynPackage is a paid mutator transaction binding the contract method 0x1182b875.

Solidity: function handleSynPackage(uint8 , bytes msgBytes) returns(bytes)

func (*TokenmanagerTransactorSession) RejectBind

func (_Tokenmanager *TokenmanagerTransactorSession) RejectBind(contractAddr common.Address, bep2Symbol string) (*types.Transaction, error)

RejectBind is a paid mutator transaction binding the contract method 0x77d9dae8.

Solidity: function rejectBind(address contractAddr, string bep2Symbol) payable returns(bool)

type TokenmanagerUnexpectedPackage

type TokenmanagerUnexpectedPackage struct {
	ChannelId uint8
	MsgBytes  []byte
	Raw       types.Log // Blockchain specific contextual infos
}

TokenmanagerUnexpectedPackage represents a UnexpectedPackage event raised by the Tokenmanager contract.

type TokenmanagerUnexpectedPackageIterator

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

TokenmanagerUnexpectedPackageIterator is returned from FilterUnexpectedPackage and is used to iterate over the raw logs and unpacked data for UnexpectedPackage events raised by the Tokenmanager contract.

func (*TokenmanagerUnexpectedPackageIterator) Close

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

func (*TokenmanagerUnexpectedPackageIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TokenmanagerUnexpectedPackageIterator) 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