Documentation ¶
Index ¶
- Constants
- Variables
- type HandlerHelpers
- type HandlerHelpersCaller
- func (_HandlerHelpers *HandlerHelpersCaller) BridgeAddress(opts *bind.CallOpts) (common.Address, error)
- func (_HandlerHelpers *HandlerHelpersCaller) BurnList(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- func (_HandlerHelpers *HandlerHelpersCaller) ContractWhitelist(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- func (_HandlerHelpers *HandlerHelpersCaller) ResourceIDToTokenContractAddress(opts *bind.CallOpts, arg0 [32]byte) (common.Address, error)
- func (_HandlerHelpers *HandlerHelpersCaller) TokenContractAddressToResourceID(opts *bind.CallOpts, arg0 common.Address) ([32]byte, error)
- type HandlerHelpersCallerRaw
- type HandlerHelpersCallerSession
- func (_HandlerHelpers *HandlerHelpersCallerSession) BridgeAddress() (common.Address, error)
- func (_HandlerHelpers *HandlerHelpersCallerSession) BurnList(arg0 common.Address) (bool, error)
- func (_HandlerHelpers *HandlerHelpersCallerSession) ContractWhitelist(arg0 common.Address) (bool, error)
- func (_HandlerHelpers *HandlerHelpersCallerSession) ResourceIDToTokenContractAddress(arg0 [32]byte) (common.Address, error)
- func (_HandlerHelpers *HandlerHelpersCallerSession) TokenContractAddressToResourceID(arg0 common.Address) ([32]byte, error)
- type HandlerHelpersFilterer
- type HandlerHelpersRaw
- func (_HandlerHelpers *HandlerHelpersRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_HandlerHelpers *HandlerHelpersRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_HandlerHelpers *HandlerHelpersRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type HandlerHelpersSession
- func (_HandlerHelpers *HandlerHelpersSession) BridgeAddress() (common.Address, error)
- func (_HandlerHelpers *HandlerHelpersSession) BurnList(arg0 common.Address) (bool, error)
- func (_HandlerHelpers *HandlerHelpersSession) ContractWhitelist(arg0 common.Address) (bool, error)
- func (_HandlerHelpers *HandlerHelpersSession) ResourceIDToTokenContractAddress(arg0 [32]byte) (common.Address, error)
- func (_HandlerHelpers *HandlerHelpersSession) SetBurnable(contractAddress common.Address) (*types.Transaction, error)
- func (_HandlerHelpers *HandlerHelpersSession) SetResource(resourceID [32]byte, contractAddress common.Address) (*types.Transaction, error)
- func (_HandlerHelpers *HandlerHelpersSession) TokenContractAddressToResourceID(arg0 common.Address) ([32]byte, error)
- func (_HandlerHelpers *HandlerHelpersSession) Withdraw(tokenAddress common.Address, recipient common.Address, ...) (*types.Transaction, error)
- type HandlerHelpersTransactor
- func (_HandlerHelpers *HandlerHelpersTransactor) SetBurnable(opts *bind.TransactOpts, contractAddress common.Address) (*types.Transaction, error)
- func (_HandlerHelpers *HandlerHelpersTransactor) SetResource(opts *bind.TransactOpts, resourceID [32]byte, contractAddress common.Address) (*types.Transaction, error)
- func (_HandlerHelpers *HandlerHelpersTransactor) Withdraw(opts *bind.TransactOpts, tokenAddress common.Address, recipient common.Address, ...) (*types.Transaction, error)
- type HandlerHelpersTransactorRaw
- type HandlerHelpersTransactorSession
- func (_HandlerHelpers *HandlerHelpersTransactorSession) SetBurnable(contractAddress common.Address) (*types.Transaction, error)
- func (_HandlerHelpers *HandlerHelpersTransactorSession) SetResource(resourceID [32]byte, contractAddress common.Address) (*types.Transaction, error)
- func (_HandlerHelpers *HandlerHelpersTransactorSession) Withdraw(tokenAddress common.Address, recipient common.Address, ...) (*types.Transaction, error)
Constants ¶
const HandlerHelpersABI = "" /* 1966-byte string literal not displayed */
HandlerHelpersABI is the input ABI used to generate the binding from.
Variables ¶
var HandlerHelpersBin = "" /* 3780-byte string literal not displayed */
HandlerHelpersBin is the compiled bytecode used for deploying new contracts.
Functions ¶
This section is empty.
Types ¶
type HandlerHelpers ¶
type HandlerHelpers struct { HandlerHelpersCaller // Read-only binding to the contract HandlerHelpersTransactor // Write-only binding to the contract HandlerHelpersFilterer // Log filterer for contract events }
HandlerHelpers is an auto generated Go binding around an Ethereum contract.
func DeployHandlerHelpers ¶
func DeployHandlerHelpers(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *HandlerHelpers, error)
DeployHandlerHelpers deploys a new Ethereum contract, binding an instance of HandlerHelpers to it.
func NewHandlerHelpers ¶
func NewHandlerHelpers(address common.Address, backend bind.ContractBackend) (*HandlerHelpers, error)
NewHandlerHelpers creates a new instance of HandlerHelpers, bound to a specific deployed contract.
type HandlerHelpersCaller ¶
type HandlerHelpersCaller struct {
// contains filtered or unexported fields
}
HandlerHelpersCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewHandlerHelpersCaller ¶
func NewHandlerHelpersCaller(address common.Address, caller bind.ContractCaller) (*HandlerHelpersCaller, error)
NewHandlerHelpersCaller creates a new read-only instance of HandlerHelpers, bound to a specific deployed contract.
func (*HandlerHelpersCaller) BridgeAddress ¶
func (_HandlerHelpers *HandlerHelpersCaller) BridgeAddress(opts *bind.CallOpts) (common.Address, error)
BridgeAddress is a free data retrieval call binding the contract method 0x318c136e.
Solidity: function _bridgeAddress() view returns(address)
func (*HandlerHelpersCaller) BurnList ¶
func (_HandlerHelpers *HandlerHelpersCaller) BurnList(opts *bind.CallOpts, arg0 common.Address) (bool, error)
BurnList is a free data retrieval call binding the contract method 0x6a70d081.
Solidity: function _burnList(address ) view returns(bool)
func (*HandlerHelpersCaller) ContractWhitelist ¶
func (_HandlerHelpers *HandlerHelpersCaller) ContractWhitelist(opts *bind.CallOpts, arg0 common.Address) (bool, error)
ContractWhitelist is a free data retrieval call binding the contract method 0x7f79bea8.
Solidity: function _contractWhitelist(address ) view returns(bool)
func (*HandlerHelpersCaller) ResourceIDToTokenContractAddress ¶
func (_HandlerHelpers *HandlerHelpersCaller) ResourceIDToTokenContractAddress(opts *bind.CallOpts, arg0 [32]byte) (common.Address, error)
ResourceIDToTokenContractAddress is a free data retrieval call binding the contract method 0x0a6d55d8.
Solidity: function _resourceIDToTokenContractAddress(bytes32 ) view returns(address)
func (*HandlerHelpersCaller) TokenContractAddressToResourceID ¶
func (_HandlerHelpers *HandlerHelpersCaller) TokenContractAddressToResourceID(opts *bind.CallOpts, arg0 common.Address) ([32]byte, error)
TokenContractAddressToResourceID is a free data retrieval call binding the contract method 0xc8ba6c87.
Solidity: function _tokenContractAddressToResourceID(address ) view returns(bytes32)
type HandlerHelpersCallerRaw ¶
type HandlerHelpersCallerRaw struct {
Contract *HandlerHelpersCaller // Generic read-only contract binding to access the raw methods on
}
HandlerHelpersCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*HandlerHelpersCallerRaw) Call ¶
func (_HandlerHelpers *HandlerHelpersCallerRaw) 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 HandlerHelpersCallerSession ¶
type HandlerHelpersCallerSession struct { Contract *HandlerHelpersCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
HandlerHelpersCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*HandlerHelpersCallerSession) BridgeAddress ¶
func (_HandlerHelpers *HandlerHelpersCallerSession) BridgeAddress() (common.Address, error)
BridgeAddress is a free data retrieval call binding the contract method 0x318c136e.
Solidity: function _bridgeAddress() view returns(address)
func (*HandlerHelpersCallerSession) BurnList ¶
func (_HandlerHelpers *HandlerHelpersCallerSession) BurnList(arg0 common.Address) (bool, error)
BurnList is a free data retrieval call binding the contract method 0x6a70d081.
Solidity: function _burnList(address ) view returns(bool)
func (*HandlerHelpersCallerSession) ContractWhitelist ¶
func (_HandlerHelpers *HandlerHelpersCallerSession) ContractWhitelist(arg0 common.Address) (bool, error)
ContractWhitelist is a free data retrieval call binding the contract method 0x7f79bea8.
Solidity: function _contractWhitelist(address ) view returns(bool)
func (*HandlerHelpersCallerSession) ResourceIDToTokenContractAddress ¶
func (_HandlerHelpers *HandlerHelpersCallerSession) ResourceIDToTokenContractAddress(arg0 [32]byte) (common.Address, error)
ResourceIDToTokenContractAddress is a free data retrieval call binding the contract method 0x0a6d55d8.
Solidity: function _resourceIDToTokenContractAddress(bytes32 ) view returns(address)
func (*HandlerHelpersCallerSession) TokenContractAddressToResourceID ¶
func (_HandlerHelpers *HandlerHelpersCallerSession) TokenContractAddressToResourceID(arg0 common.Address) ([32]byte, error)
TokenContractAddressToResourceID is a free data retrieval call binding the contract method 0xc8ba6c87.
Solidity: function _tokenContractAddressToResourceID(address ) view returns(bytes32)
type HandlerHelpersFilterer ¶
type HandlerHelpersFilterer struct {
// contains filtered or unexported fields
}
HandlerHelpersFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewHandlerHelpersFilterer ¶
func NewHandlerHelpersFilterer(address common.Address, filterer bind.ContractFilterer) (*HandlerHelpersFilterer, error)
NewHandlerHelpersFilterer creates a new log filterer instance of HandlerHelpers, bound to a specific deployed contract.
type HandlerHelpersRaw ¶
type HandlerHelpersRaw struct {
Contract *HandlerHelpers // Generic contract binding to access the raw methods on
}
HandlerHelpersRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*HandlerHelpersRaw) Call ¶
func (_HandlerHelpers *HandlerHelpersRaw) 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 (*HandlerHelpersRaw) Transact ¶
func (_HandlerHelpers *HandlerHelpersRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*HandlerHelpersRaw) Transfer ¶
func (_HandlerHelpers *HandlerHelpersRaw) 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 HandlerHelpersSession ¶
type HandlerHelpersSession struct { Contract *HandlerHelpers // 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 }
HandlerHelpersSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*HandlerHelpersSession) BridgeAddress ¶
func (_HandlerHelpers *HandlerHelpersSession) BridgeAddress() (common.Address, error)
BridgeAddress is a free data retrieval call binding the contract method 0x318c136e.
Solidity: function _bridgeAddress() view returns(address)
func (*HandlerHelpersSession) BurnList ¶
func (_HandlerHelpers *HandlerHelpersSession) BurnList(arg0 common.Address) (bool, error)
BurnList is a free data retrieval call binding the contract method 0x6a70d081.
Solidity: function _burnList(address ) view returns(bool)
func (*HandlerHelpersSession) ContractWhitelist ¶
func (_HandlerHelpers *HandlerHelpersSession) ContractWhitelist(arg0 common.Address) (bool, error)
ContractWhitelist is a free data retrieval call binding the contract method 0x7f79bea8.
Solidity: function _contractWhitelist(address ) view returns(bool)
func (*HandlerHelpersSession) ResourceIDToTokenContractAddress ¶
func (_HandlerHelpers *HandlerHelpersSession) ResourceIDToTokenContractAddress(arg0 [32]byte) (common.Address, error)
ResourceIDToTokenContractAddress is a free data retrieval call binding the contract method 0x0a6d55d8.
Solidity: function _resourceIDToTokenContractAddress(bytes32 ) view returns(address)
func (*HandlerHelpersSession) SetBurnable ¶
func (_HandlerHelpers *HandlerHelpersSession) SetBurnable(contractAddress common.Address) (*types.Transaction, error)
SetBurnable is a paid mutator transaction binding the contract method 0x07b7ed99.
Solidity: function setBurnable(address contractAddress) returns()
func (*HandlerHelpersSession) SetResource ¶
func (_HandlerHelpers *HandlerHelpersSession) SetResource(resourceID [32]byte, contractAddress common.Address) (*types.Transaction, error)
SetResource is a paid mutator transaction binding the contract method 0xb8fa3736.
Solidity: function setResource(bytes32 resourceID, address contractAddress) returns()
func (*HandlerHelpersSession) TokenContractAddressToResourceID ¶
func (_HandlerHelpers *HandlerHelpersSession) TokenContractAddressToResourceID(arg0 common.Address) ([32]byte, error)
TokenContractAddressToResourceID is a free data retrieval call binding the contract method 0xc8ba6c87.
Solidity: function _tokenContractAddressToResourceID(address ) view returns(bytes32)
func (*HandlerHelpersSession) Withdraw ¶
func (_HandlerHelpers *HandlerHelpersSession) Withdraw(tokenAddress common.Address, recipient common.Address, amountOrTokenID *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xd9caed12.
Solidity: function withdraw(address tokenAddress, address recipient, uint256 amountOrTokenID) returns()
type HandlerHelpersTransactor ¶
type HandlerHelpersTransactor struct {
// contains filtered or unexported fields
}
HandlerHelpersTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewHandlerHelpersTransactor ¶
func NewHandlerHelpersTransactor(address common.Address, transactor bind.ContractTransactor) (*HandlerHelpersTransactor, error)
NewHandlerHelpersTransactor creates a new write-only instance of HandlerHelpers, bound to a specific deployed contract.
func (*HandlerHelpersTransactor) SetBurnable ¶
func (_HandlerHelpers *HandlerHelpersTransactor) SetBurnable(opts *bind.TransactOpts, contractAddress common.Address) (*types.Transaction, error)
SetBurnable is a paid mutator transaction binding the contract method 0x07b7ed99.
Solidity: function setBurnable(address contractAddress) returns()
func (*HandlerHelpersTransactor) SetResource ¶
func (_HandlerHelpers *HandlerHelpersTransactor) SetResource(opts *bind.TransactOpts, resourceID [32]byte, contractAddress common.Address) (*types.Transaction, error)
SetResource is a paid mutator transaction binding the contract method 0xb8fa3736.
Solidity: function setResource(bytes32 resourceID, address contractAddress) returns()
func (*HandlerHelpersTransactor) Withdraw ¶
func (_HandlerHelpers *HandlerHelpersTransactor) Withdraw(opts *bind.TransactOpts, tokenAddress common.Address, recipient common.Address, amountOrTokenID *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xd9caed12.
Solidity: function withdraw(address tokenAddress, address recipient, uint256 amountOrTokenID) returns()
type HandlerHelpersTransactorRaw ¶
type HandlerHelpersTransactorRaw struct {
Contract *HandlerHelpersTransactor // Generic write-only contract binding to access the raw methods on
}
HandlerHelpersTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*HandlerHelpersTransactorRaw) Transact ¶
func (_HandlerHelpers *HandlerHelpersTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*HandlerHelpersTransactorRaw) Transfer ¶
func (_HandlerHelpers *HandlerHelpersTransactorRaw) 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 HandlerHelpersTransactorSession ¶
type HandlerHelpersTransactorSession struct { Contract *HandlerHelpersTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
HandlerHelpersTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*HandlerHelpersTransactorSession) SetBurnable ¶
func (_HandlerHelpers *HandlerHelpersTransactorSession) SetBurnable(contractAddress common.Address) (*types.Transaction, error)
SetBurnable is a paid mutator transaction binding the contract method 0x07b7ed99.
Solidity: function setBurnable(address contractAddress) returns()
func (*HandlerHelpersTransactorSession) SetResource ¶
func (_HandlerHelpers *HandlerHelpersTransactorSession) SetResource(resourceID [32]byte, contractAddress common.Address) (*types.Transaction, error)
SetResource is a paid mutator transaction binding the contract method 0xb8fa3736.
Solidity: function setResource(bytes32 resourceID, address contractAddress) returns()
func (*HandlerHelpersTransactorSession) Withdraw ¶
func (_HandlerHelpers *HandlerHelpersTransactorSession) Withdraw(tokenAddress common.Address, recipient common.Address, amountOrTokenID *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xd9caed12.
Solidity: function withdraw(address tokenAddress, address recipient, uint256 amountOrTokenID) returns()