Documentation
¶
Index ¶
- Constants
- Variables
- type SRC721Handler
- type SRC721HandlerCaller
- func (_SRC721Handler *SRC721HandlerCaller) BridgeAddress(opts *bind.CallOpts) (common.ContractAddress, error)
- func (_SRC721Handler *SRC721HandlerCaller) BurnList(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- func (_SRC721Handler *SRC721HandlerCaller) Bytes32ToString(opts *bind.CallOpts, x [32]byte) (string, error)
- func (_SRC721Handler *SRC721HandlerCaller) CategoryToResourceID(opts *bind.CallOpts, arg0 string) ([32]byte, error)
- func (_SRC721Handler *SRC721HandlerCaller) DepositRecords(opts *bind.CallOpts, arg0 uint8, arg1 uint64) (struct{ ... }, error)
- func (_SRC721Handler *SRC721HandlerCaller) GetDepositRecord(opts *bind.CallOpts, depositNonce uint64, destId uint8) (SRC721HandlerDepositRecord, error)
- func (_SRC721Handler *SRC721HandlerCaller) ResourceIDToCategory(opts *bind.CallOpts, arg0 [32]byte) (string, error)
- func (_SRC721Handler *SRC721HandlerCaller) ResourceIDToContractAddress(opts *bind.CallOpts, arg0 [32]byte) (common.ContractAddress, error)
- func (_SRC721Handler *SRC721HandlerCaller) ResourceIDToFeeCurrency(opts *bind.CallOpts, arg0 [32]byte) (string, error)
- func (_SRC721Handler *SRC721HandlerCaller) ResourceIDToFeeHandler(opts *bind.CallOpts, arg0 [32]byte) (common.ContractAddress, error)
- func (_SRC721Handler *SRC721HandlerCaller) ResourceIDToFeeResoruceID(opts *bind.CallOpts, arg0 [32]byte) ([32]byte, error)
- func (_SRC721Handler *SRC721HandlerCaller) StorageAddress(opts *bind.CallOpts) (common.ContractAddress, error)
- type SRC721HandlerCallerRaw
- type SRC721HandlerCallerSession
- func (_SRC721Handler *SRC721HandlerCallerSession) BridgeAddress() (common.ContractAddress, error)
- func (_SRC721Handler *SRC721HandlerCallerSession) BurnList(arg0 common.Address) (bool, error)
- func (_SRC721Handler *SRC721HandlerCallerSession) Bytes32ToString(x [32]byte) (string, error)
- func (_SRC721Handler *SRC721HandlerCallerSession) CategoryToResourceID(arg0 string) ([32]byte, error)
- func (_SRC721Handler *SRC721HandlerCallerSession) DepositRecords(arg0 uint8, arg1 uint64) (struct{ ... }, error)
- func (_SRC721Handler *SRC721HandlerCallerSession) GetDepositRecord(depositNonce uint64, destId uint8) (SRC721HandlerDepositRecord, error)
- func (_SRC721Handler *SRC721HandlerCallerSession) ResourceIDToCategory(arg0 [32]byte) (string, error)
- func (_SRC721Handler *SRC721HandlerCallerSession) ResourceIDToContractAddress(arg0 [32]byte) (common.ContractAddress, error)
- func (_SRC721Handler *SRC721HandlerCallerSession) ResourceIDToFeeCurrency(arg0 [32]byte) (string, error)
- func (_SRC721Handler *SRC721HandlerCallerSession) ResourceIDToFeeHandler(arg0 [32]byte) (common.ContractAddress, error)
- func (_SRC721Handler *SRC721HandlerCallerSession) ResourceIDToFeeResoruceID(arg0 [32]byte) ([32]byte, error)
- func (_SRC721Handler *SRC721HandlerCallerSession) StorageAddress() (common.ContractAddress, error)
- type SRC721HandlerDepositRecord
- type SRC721HandlerFilterer
- type SRC721HandlerRaw
- func (_SRC721Handler *SRC721HandlerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_SRC721Handler *SRC721HandlerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SRC721Handler *SRC721HandlerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SRC721HandlerSession
- func (_SRC721Handler *SRC721HandlerSession) BridgeAddress() (common.ContractAddress, error)
- func (_SRC721Handler *SRC721HandlerSession) BurnList(arg0 common.Address) (bool, error)
- func (_SRC721Handler *SRC721HandlerSession) Bytes32ToString(x [32]byte) (string, error)
- func (_SRC721Handler *SRC721HandlerSession) CategoryToResourceID(arg0 string) ([32]byte, error)
- func (_SRC721Handler *SRC721HandlerSession) Deposit(resourceID [32]byte, destinationChainID uint8, depositNonce uint64, ...) (*types.Transaction, error)
- func (_SRC721Handler *SRC721HandlerSession) DepositRecords(arg0 uint8, arg1 uint64) (struct{ ... }, error)
- func (_SRC721Handler *SRC721HandlerSession) ExecuteProposal(resourceID [32]byte, _recipient common.Address, ticketId *big.Int, ...) (*types.Transaction, error)
- func (_SRC721Handler *SRC721HandlerSession) GetDepositRecord(depositNonce uint64, destId uint8) (SRC721HandlerDepositRecord, error)
- func (_SRC721Handler *SRC721HandlerSession) ResourceIDToCategory(arg0 [32]byte) (string, error)
- func (_SRC721Handler *SRC721HandlerSession) ResourceIDToContractAddress(arg0 [32]byte) (common.ContractAddress, error)
- func (_SRC721Handler *SRC721HandlerSession) ResourceIDToFeeCurrency(arg0 [32]byte) (string, error)
- func (_SRC721Handler *SRC721HandlerSession) ResourceIDToFeeHandler(arg0 [32]byte) (common.ContractAddress, error)
- func (_SRC721Handler *SRC721HandlerSession) ResourceIDToFeeResoruceID(arg0 [32]byte) ([32]byte, error)
- func (_SRC721Handler *SRC721HandlerSession) SetBurnable(contractAddress common.Address) (*types.Transaction, error)
- func (_SRC721Handler *SRC721HandlerSession) SetResourceCategory(resourceID [32]byte, catg string) (*types.Transaction, error)
- func (_SRC721Handler *SRC721HandlerSession) SetResourceContractAddress(resourceID [32]byte, contractAddress common.Address) (*types.Transaction, error)
- func (_SRC721Handler *SRC721HandlerSession) SetResourceFeeCurrency(resourceID [32]byte, cy string) (*types.Transaction, error)
- func (_SRC721Handler *SRC721HandlerSession) SetResourceFeeHandler(resourceID [32]byte, scr20handler common.Address) (*types.Transaction, error)
- func (_SRC721Handler *SRC721HandlerSession) StorageAddress() (common.ContractAddress, error)
- func (_SRC721Handler *SRC721HandlerSession) Withdraw(category string, recipient common.Address, tkt [32]byte) (*types.Transaction, error)
- type SRC721HandlerTransactor
- func (_SRC721Handler *SRC721HandlerTransactor) Deposit(opts *bind.TransactOpts, resourceID [32]byte, destinationChainID uint8, ...) (*types.Transaction, error)
- func (_SRC721Handler *SRC721HandlerTransactor) ExecuteProposal(opts *bind.TransactOpts, resourceID [32]byte, _recipient common.Address, ...) (*types.Transaction, error)
- func (_SRC721Handler *SRC721HandlerTransactor) SetBurnable(opts *bind.TransactOpts, contractAddress common.Address) (*types.Transaction, error)
- func (_SRC721Handler *SRC721HandlerTransactor) SetResourceCategory(opts *bind.TransactOpts, resourceID [32]byte, catg string) (*types.Transaction, error)
- func (_SRC721Handler *SRC721HandlerTransactor) SetResourceContractAddress(opts *bind.TransactOpts, resourceID [32]byte, contractAddress common.Address) (*types.Transaction, error)
- func (_SRC721Handler *SRC721HandlerTransactor) SetResourceFeeCurrency(opts *bind.TransactOpts, resourceID [32]byte, cy string) (*types.Transaction, error)
- func (_SRC721Handler *SRC721HandlerTransactor) SetResourceFeeHandler(opts *bind.TransactOpts, resourceID [32]byte, scr20handler common.Address) (*types.Transaction, error)
- func (_SRC721Handler *SRC721HandlerTransactor) Withdraw(opts *bind.TransactOpts, category string, recipient common.Address, ...) (*types.Transaction, error)
- type SRC721HandlerTransactorRaw
- type SRC721HandlerTransactorSession
- func (_SRC721Handler *SRC721HandlerTransactorSession) Deposit(resourceID [32]byte, destinationChainID uint8, depositNonce uint64, ...) (*types.Transaction, error)
- func (_SRC721Handler *SRC721HandlerTransactorSession) ExecuteProposal(resourceID [32]byte, _recipient common.Address, ticketId *big.Int, ...) (*types.Transaction, error)
- func (_SRC721Handler *SRC721HandlerTransactorSession) SetBurnable(contractAddress common.Address) (*types.Transaction, error)
- func (_SRC721Handler *SRC721HandlerTransactorSession) SetResourceCategory(resourceID [32]byte, catg string) (*types.Transaction, error)
- func (_SRC721Handler *SRC721HandlerTransactorSession) SetResourceContractAddress(resourceID [32]byte, contractAddress common.Address) (*types.Transaction, error)
- func (_SRC721Handler *SRC721HandlerTransactorSession) SetResourceFeeCurrency(resourceID [32]byte, cy string) (*types.Transaction, error)
- func (_SRC721Handler *SRC721HandlerTransactorSession) SetResourceFeeHandler(resourceID [32]byte, scr20handler common.Address) (*types.Transaction, error)
- func (_SRC721Handler *SRC721HandlerTransactorSession) Withdraw(category string, recipient common.Address, tkt [32]byte) (*types.Transaction, error)
Constants ¶
const SRC721HandlerABI = "" /* 6872-byte string literal not displayed */
SRC721HandlerABI is the input ABI used to generate the binding from.
Variables ¶
var SRC721HandlerBin = "" /* 15328-byte string literal not displayed */
SRC721HandlerBin is the compiled bytecode used for deploying new contracts.
Functions ¶
This section is empty.
Types ¶
type SRC721Handler ¶
type SRC721Handler struct { SRC721HandlerCaller // Read-only binding to the contract SRC721HandlerTransactor // Write-only binding to the contract SRC721HandlerFilterer // Log filterer for contract events }
SRC721Handler is an auto generated Go binding around an Ethereum contract.
func DeploySRC721Handler ¶
func DeploySRC721Handler(auth *bind.TransactOpts, backend bind.ContractBackend, bridgeAddress common.Address) (common.Address, *types.Transaction, *SRC721Handler, error)
DeploySRC721Handler deploys a new Ethereum contract, binding an instance of SRC721Handler to it.
func NewSRC721Handler ¶
func NewSRC721Handler(address common.Address, backend bind.ContractBackend) (*SRC721Handler, error)
NewSRC721Handler creates a new instance of SRC721Handler, bound to a specific deployed contract.
type SRC721HandlerCaller ¶
type SRC721HandlerCaller struct {
// contains filtered or unexported fields
}
SRC721HandlerCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewSRC721HandlerCaller ¶
func NewSRC721HandlerCaller(address common.Address, caller bind.ContractCaller) (*SRC721HandlerCaller, error)
NewSRC721HandlerCaller creates a new read-only instance of SRC721Handler, bound to a specific deployed contract.
func (*SRC721HandlerCaller) BridgeAddress ¶
func (_SRC721Handler *SRC721HandlerCaller) BridgeAddress(opts *bind.CallOpts) (common.ContractAddress, error)
BridgeAddress is a free data retrieval call binding the contract method 0x318c136e.
Solidity: function _bridgeAddress() view returns(address)
func (*SRC721HandlerCaller) BurnList ¶
func (_SRC721Handler *SRC721HandlerCaller) 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 (*SRC721HandlerCaller) Bytes32ToString ¶
func (_SRC721Handler *SRC721HandlerCaller) Bytes32ToString(opts *bind.CallOpts, x [32]byte) (string, error)
Bytes32ToString is a free data retrieval call binding the contract method 0x9201de55.
Solidity: function bytes32ToString(bytes32 x) pure returns(string)
func (*SRC721HandlerCaller) CategoryToResourceID ¶
func (_SRC721Handler *SRC721HandlerCaller) CategoryToResourceID(opts *bind.CallOpts, arg0 string) ([32]byte, error)
CategoryToResourceID is a free data retrieval call binding the contract method 0x95d29138.
Solidity: function _categoryToResourceID(string ) view returns(bytes32)
func (*SRC721HandlerCaller) DepositRecords ¶
func (_SRC721Handler *SRC721HandlerCaller) DepositRecords(opts *bind.CallOpts, arg0 uint8, arg1 uint64) (struct { TokenAddress common.ContractAddress DestinationChainID uint8 TicketResourceID [32]byte DestinationRecipientAddress []byte Depositer common.ContractAddress TokenID *big.Int MetaData []byte Amount *big.Int }, error)
DepositRecords is a free data retrieval call binding the contract method 0x4402027f.
Solidity: function _depositRecords(uint8 , uint64 ) view returns(address _tokenAddress, uint8 _destinationChainID, bytes32 _ticketResourceID, bytes _destinationRecipientAddress, address _depositer, uint256 _tokenID, bytes _metaData, uint256 amount)
func (*SRC721HandlerCaller) GetDepositRecord ¶
func (_SRC721Handler *SRC721HandlerCaller) GetDepositRecord(opts *bind.CallOpts, depositNonce uint64, destId uint8) (SRC721HandlerDepositRecord, error)
GetDepositRecord is a free data retrieval call binding the contract method 0xba484c09.
Solidity: function getDepositRecord(uint64 depositNonce, uint8 destId) view returns((address,uint8,bytes32,bytes,address,uint256,bytes,uint256))
func (*SRC721HandlerCaller) ResourceIDToCategory ¶
func (_SRC721Handler *SRC721HandlerCaller) ResourceIDToCategory(opts *bind.CallOpts, arg0 [32]byte) (string, error)
ResourceIDToCategory is a free data retrieval call binding the contract method 0xc13e9197.
Solidity: function _resourceIDToCategory(bytes32 ) view returns(string)
func (*SRC721HandlerCaller) ResourceIDToContractAddress ¶
func (_SRC721Handler *SRC721HandlerCaller) ResourceIDToContractAddress(opts *bind.CallOpts, arg0 [32]byte) (common.ContractAddress, error)
ResourceIDToContractAddress is a free data retrieval call binding the contract method 0xc54c2a11.
Solidity: function _resourceIDToContractAddress(bytes32 ) view returns(address)
func (*SRC721HandlerCaller) ResourceIDToFeeCurrency ¶
func (_SRC721Handler *SRC721HandlerCaller) ResourceIDToFeeCurrency(opts *bind.CallOpts, arg0 [32]byte) (string, error)
ResourceIDToFeeCurrency is a free data retrieval call binding the contract method 0xafe609b4.
Solidity: function _resourceIDToFeeCurrency(bytes32 ) view returns(string)
func (*SRC721HandlerCaller) ResourceIDToFeeHandler ¶
func (_SRC721Handler *SRC721HandlerCaller) ResourceIDToFeeHandler(opts *bind.CallOpts, arg0 [32]byte) (common.ContractAddress, error)
ResourceIDToFeeHandler is a free data retrieval call binding the contract method 0x65265cad.
Solidity: function _resourceIDToFeeHandler(bytes32 ) view returns(address)
func (*SRC721HandlerCaller) ResourceIDToFeeResoruceID ¶
func (_SRC721Handler *SRC721HandlerCaller) ResourceIDToFeeResoruceID(opts *bind.CallOpts, arg0 [32]byte) ([32]byte, error)
ResourceIDToFeeResoruceID is a free data retrieval call binding the contract method 0x7cdbdd5d.
Solidity: function _resourceIDToFeeResoruceID(bytes32 ) view returns(bytes32)
func (*SRC721HandlerCaller) StorageAddress ¶
func (_SRC721Handler *SRC721HandlerCaller) StorageAddress(opts *bind.CallOpts) (common.ContractAddress, error)
StorageAddress is a free data retrieval call binding the contract method 0x85aa92a7.
Solidity: function storageAddress() view returns(address)
type SRC721HandlerCallerRaw ¶
type SRC721HandlerCallerRaw struct {
Contract *SRC721HandlerCaller // Generic read-only contract binding to access the raw methods on
}
SRC721HandlerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*SRC721HandlerCallerRaw) Call ¶
func (_SRC721Handler *SRC721HandlerCallerRaw) 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 SRC721HandlerCallerSession ¶
type SRC721HandlerCallerSession struct { Contract *SRC721HandlerCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
SRC721HandlerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*SRC721HandlerCallerSession) BridgeAddress ¶
func (_SRC721Handler *SRC721HandlerCallerSession) BridgeAddress() (common.ContractAddress, error)
BridgeAddress is a free data retrieval call binding the contract method 0x318c136e.
Solidity: function _bridgeAddress() view returns(address)
func (*SRC721HandlerCallerSession) BurnList ¶
func (_SRC721Handler *SRC721HandlerCallerSession) 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 (*SRC721HandlerCallerSession) Bytes32ToString ¶
func (_SRC721Handler *SRC721HandlerCallerSession) Bytes32ToString(x [32]byte) (string, error)
Bytes32ToString is a free data retrieval call binding the contract method 0x9201de55.
Solidity: function bytes32ToString(bytes32 x) pure returns(string)
func (*SRC721HandlerCallerSession) CategoryToResourceID ¶
func (_SRC721Handler *SRC721HandlerCallerSession) CategoryToResourceID(arg0 string) ([32]byte, error)
CategoryToResourceID is a free data retrieval call binding the contract method 0x95d29138.
Solidity: function _categoryToResourceID(string ) view returns(bytes32)
func (*SRC721HandlerCallerSession) DepositRecords ¶
func (_SRC721Handler *SRC721HandlerCallerSession) DepositRecords(arg0 uint8, arg1 uint64) (struct { TokenAddress common.ContractAddress DestinationChainID uint8 TicketResourceID [32]byte DestinationRecipientAddress []byte Depositer common.ContractAddress TokenID *big.Int MetaData []byte Amount *big.Int }, error)
DepositRecords is a free data retrieval call binding the contract method 0x4402027f.
Solidity: function _depositRecords(uint8 , uint64 ) view returns(address _tokenAddress, uint8 _destinationChainID, bytes32 _ticketResourceID, bytes _destinationRecipientAddress, address _depositer, uint256 _tokenID, bytes _metaData, uint256 amount)
func (*SRC721HandlerCallerSession) GetDepositRecord ¶
func (_SRC721Handler *SRC721HandlerCallerSession) GetDepositRecord(depositNonce uint64, destId uint8) (SRC721HandlerDepositRecord, error)
GetDepositRecord is a free data retrieval call binding the contract method 0xba484c09.
Solidity: function getDepositRecord(uint64 depositNonce, uint8 destId) view returns((address,uint8,bytes32,bytes,address,uint256,bytes,uint256))
func (*SRC721HandlerCallerSession) ResourceIDToCategory ¶
func (_SRC721Handler *SRC721HandlerCallerSession) ResourceIDToCategory(arg0 [32]byte) (string, error)
ResourceIDToCategory is a free data retrieval call binding the contract method 0xc13e9197.
Solidity: function _resourceIDToCategory(bytes32 ) view returns(string)
func (*SRC721HandlerCallerSession) ResourceIDToContractAddress ¶
func (_SRC721Handler *SRC721HandlerCallerSession) ResourceIDToContractAddress(arg0 [32]byte) (common.ContractAddress, error)
ResourceIDToContractAddress is a free data retrieval call binding the contract method 0xc54c2a11.
Solidity: function _resourceIDToContractAddress(bytes32 ) view returns(address)
func (*SRC721HandlerCallerSession) ResourceIDToFeeCurrency ¶
func (_SRC721Handler *SRC721HandlerCallerSession) ResourceIDToFeeCurrency(arg0 [32]byte) (string, error)
ResourceIDToFeeCurrency is a free data retrieval call binding the contract method 0xafe609b4.
Solidity: function _resourceIDToFeeCurrency(bytes32 ) view returns(string)
func (*SRC721HandlerCallerSession) ResourceIDToFeeHandler ¶
func (_SRC721Handler *SRC721HandlerCallerSession) ResourceIDToFeeHandler(arg0 [32]byte) (common.ContractAddress, error)
ResourceIDToFeeHandler is a free data retrieval call binding the contract method 0x65265cad.
Solidity: function _resourceIDToFeeHandler(bytes32 ) view returns(address)
func (*SRC721HandlerCallerSession) ResourceIDToFeeResoruceID ¶
func (_SRC721Handler *SRC721HandlerCallerSession) ResourceIDToFeeResoruceID(arg0 [32]byte) ([32]byte, error)
ResourceIDToFeeResoruceID is a free data retrieval call binding the contract method 0x7cdbdd5d.
Solidity: function _resourceIDToFeeResoruceID(bytes32 ) view returns(bytes32)
func (*SRC721HandlerCallerSession) StorageAddress ¶
func (_SRC721Handler *SRC721HandlerCallerSession) StorageAddress() (common.ContractAddress, error)
StorageAddress is a free data retrieval call binding the contract method 0x85aa92a7.
Solidity: function storageAddress() view returns(address)
type SRC721HandlerDepositRecord ¶
type SRC721HandlerDepositRecord struct { TokenAddress common.ContractAddress DestinationChainID uint8 TicketResourceID [32]byte DestinationRecipientAddress []byte Depositer common.ContractAddress TokenID *big.Int MetaData []byte Amount *big.Int }
SRC721HandlerDepositRecord is an auto generated low-level Go binding around an user-defined struct.
type SRC721HandlerFilterer ¶
type SRC721HandlerFilterer struct {
// contains filtered or unexported fields
}
SRC721HandlerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewSRC721HandlerFilterer ¶
func NewSRC721HandlerFilterer(address common.Address, filterer bind.ContractFilterer) (*SRC721HandlerFilterer, error)
NewSRC721HandlerFilterer creates a new log filterer instance of SRC721Handler, bound to a specific deployed contract.
type SRC721HandlerRaw ¶
type SRC721HandlerRaw struct {
Contract *SRC721Handler // Generic contract binding to access the raw methods on
}
SRC721HandlerRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*SRC721HandlerRaw) Call ¶
func (_SRC721Handler *SRC721HandlerRaw) 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 (*SRC721HandlerRaw) Transact ¶
func (_SRC721Handler *SRC721HandlerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SRC721HandlerRaw) Transfer ¶
func (_SRC721Handler *SRC721HandlerRaw) 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 SRC721HandlerSession ¶
type SRC721HandlerSession struct { Contract *SRC721Handler // 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 }
SRC721HandlerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*SRC721HandlerSession) BridgeAddress ¶
func (_SRC721Handler *SRC721HandlerSession) BridgeAddress() (common.ContractAddress, error)
BridgeAddress is a free data retrieval call binding the contract method 0x318c136e.
Solidity: function _bridgeAddress() view returns(address)
func (*SRC721HandlerSession) BurnList ¶
func (_SRC721Handler *SRC721HandlerSession) 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 (*SRC721HandlerSession) Bytes32ToString ¶
func (_SRC721Handler *SRC721HandlerSession) Bytes32ToString(x [32]byte) (string, error)
Bytes32ToString is a free data retrieval call binding the contract method 0x9201de55.
Solidity: function bytes32ToString(bytes32 x) pure returns(string)
func (*SRC721HandlerSession) CategoryToResourceID ¶
func (_SRC721Handler *SRC721HandlerSession) CategoryToResourceID(arg0 string) ([32]byte, error)
CategoryToResourceID is a free data retrieval call binding the contract method 0x95d29138.
Solidity: function _categoryToResourceID(string ) view returns(bytes32)
func (*SRC721HandlerSession) Deposit ¶
func (_SRC721Handler *SRC721HandlerSession) Deposit(resourceID [32]byte, destinationChainID uint8, depositNonce uint64, depositer common.Address, recipient []byte) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0x38995da9.
Solidity: function deposit(bytes32 resourceID, uint8 destinationChainID, uint64 depositNonce, address depositer, bytes recipient) payable returns()
func (*SRC721HandlerSession) DepositRecords ¶
func (_SRC721Handler *SRC721HandlerSession) DepositRecords(arg0 uint8, arg1 uint64) (struct { TokenAddress common.ContractAddress DestinationChainID uint8 TicketResourceID [32]byte DestinationRecipientAddress []byte Depositer common.ContractAddress TokenID *big.Int MetaData []byte Amount *big.Int }, error)
DepositRecords is a free data retrieval call binding the contract method 0x4402027f.
Solidity: function _depositRecords(uint8 , uint64 ) view returns(address _tokenAddress, uint8 _destinationChainID, bytes32 _ticketResourceID, bytes _destinationRecipientAddress, address _depositer, uint256 _tokenID, bytes _metaData, uint256 amount)
func (*SRC721HandlerSession) ExecuteProposal ¶
func (_SRC721Handler *SRC721HandlerSession) ExecuteProposal(resourceID [32]byte, _recipient common.Address, ticketId *big.Int, metaData []byte) (*types.Transaction, error)
ExecuteProposal is a paid mutator transaction binding the contract method 0x728e218f.
Solidity: function executeProposal(bytes32 resourceID, address _recipient, uint256 ticketId, bytes metaData) returns()
func (*SRC721HandlerSession) GetDepositRecord ¶
func (_SRC721Handler *SRC721HandlerSession) GetDepositRecord(depositNonce uint64, destId uint8) (SRC721HandlerDepositRecord, error)
GetDepositRecord is a free data retrieval call binding the contract method 0xba484c09.
Solidity: function getDepositRecord(uint64 depositNonce, uint8 destId) view returns((address,uint8,bytes32,bytes,address,uint256,bytes,uint256))
func (*SRC721HandlerSession) ResourceIDToCategory ¶
func (_SRC721Handler *SRC721HandlerSession) ResourceIDToCategory(arg0 [32]byte) (string, error)
ResourceIDToCategory is a free data retrieval call binding the contract method 0xc13e9197.
Solidity: function _resourceIDToCategory(bytes32 ) view returns(string)
func (*SRC721HandlerSession) ResourceIDToContractAddress ¶
func (_SRC721Handler *SRC721HandlerSession) ResourceIDToContractAddress(arg0 [32]byte) (common.ContractAddress, error)
ResourceIDToContractAddress is a free data retrieval call binding the contract method 0xc54c2a11.
Solidity: function _resourceIDToContractAddress(bytes32 ) view returns(address)
func (*SRC721HandlerSession) ResourceIDToFeeCurrency ¶
func (_SRC721Handler *SRC721HandlerSession) ResourceIDToFeeCurrency(arg0 [32]byte) (string, error)
ResourceIDToFeeCurrency is a free data retrieval call binding the contract method 0xafe609b4.
Solidity: function _resourceIDToFeeCurrency(bytes32 ) view returns(string)
func (*SRC721HandlerSession) ResourceIDToFeeHandler ¶
func (_SRC721Handler *SRC721HandlerSession) ResourceIDToFeeHandler(arg0 [32]byte) (common.ContractAddress, error)
ResourceIDToFeeHandler is a free data retrieval call binding the contract method 0x65265cad.
Solidity: function _resourceIDToFeeHandler(bytes32 ) view returns(address)
func (*SRC721HandlerSession) ResourceIDToFeeResoruceID ¶
func (_SRC721Handler *SRC721HandlerSession) ResourceIDToFeeResoruceID(arg0 [32]byte) ([32]byte, error)
ResourceIDToFeeResoruceID is a free data retrieval call binding the contract method 0x7cdbdd5d.
Solidity: function _resourceIDToFeeResoruceID(bytes32 ) view returns(bytes32)
func (*SRC721HandlerSession) SetBurnable ¶
func (_SRC721Handler *SRC721HandlerSession) 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 (*SRC721HandlerSession) SetResourceCategory ¶
func (_SRC721Handler *SRC721HandlerSession) SetResourceCategory(resourceID [32]byte, catg string) (*types.Transaction, error)
SetResourceCategory is a paid mutator transaction binding the contract method 0x3e756d67.
Solidity: function setResourceCategory(bytes32 resourceID, string catg) returns()
func (*SRC721HandlerSession) SetResourceContractAddress ¶
func (_SRC721Handler *SRC721HandlerSession) SetResourceContractAddress(resourceID [32]byte, contractAddress common.Address) (*types.Transaction, error)
SetResourceContractAddress is a paid mutator transaction binding the contract method 0x761e3d11.
Solidity: function setResourceContractAddress(bytes32 resourceID, address contractAddress) returns()
func (*SRC721HandlerSession) SetResourceFeeCurrency ¶
func (_SRC721Handler *SRC721HandlerSession) SetResourceFeeCurrency(resourceID [32]byte, cy string) (*types.Transaction, error)
SetResourceFeeCurrency is a paid mutator transaction binding the contract method 0x8cc795ef.
Solidity: function setResourceFeeCurrency(bytes32 resourceID, string cy) returns()
func (*SRC721HandlerSession) SetResourceFeeHandler ¶
func (_SRC721Handler *SRC721HandlerSession) SetResourceFeeHandler(resourceID [32]byte, scr20handler common.Address) (*types.Transaction, error)
SetResourceFeeHandler is a paid mutator transaction binding the contract method 0x8bdf1591.
Solidity: function setResourceFeeHandler(bytes32 resourceID, address scr20handler) returns()
func (*SRC721HandlerSession) StorageAddress ¶
func (_SRC721Handler *SRC721HandlerSession) StorageAddress() (common.ContractAddress, error)
StorageAddress is a free data retrieval call binding the contract method 0x85aa92a7.
Solidity: function storageAddress() view returns(address)
func (*SRC721HandlerSession) Withdraw ¶
func (_SRC721Handler *SRC721HandlerSession) Withdraw(category string, recipient common.Address, tkt [32]byte) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xda19cc99.
Solidity: function withdraw(string category, address recipient, bytes32 tkt) returns()
type SRC721HandlerTransactor ¶
type SRC721HandlerTransactor struct {
// contains filtered or unexported fields
}
SRC721HandlerTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewSRC721HandlerTransactor ¶
func NewSRC721HandlerTransactor(address common.Address, transactor bind.ContractTransactor) (*SRC721HandlerTransactor, error)
NewSRC721HandlerTransactor creates a new write-only instance of SRC721Handler, bound to a specific deployed contract.
func (*SRC721HandlerTransactor) Deposit ¶
func (_SRC721Handler *SRC721HandlerTransactor) Deposit(opts *bind.TransactOpts, resourceID [32]byte, destinationChainID uint8, depositNonce uint64, depositer common.Address, recipient []byte) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0x38995da9.
Solidity: function deposit(bytes32 resourceID, uint8 destinationChainID, uint64 depositNonce, address depositer, bytes recipient) payable returns()
func (*SRC721HandlerTransactor) ExecuteProposal ¶
func (_SRC721Handler *SRC721HandlerTransactor) ExecuteProposal(opts *bind.TransactOpts, resourceID [32]byte, _recipient common.Address, ticketId *big.Int, metaData []byte) (*types.Transaction, error)
ExecuteProposal is a paid mutator transaction binding the contract method 0x728e218f.
Solidity: function executeProposal(bytes32 resourceID, address _recipient, uint256 ticketId, bytes metaData) returns()
func (*SRC721HandlerTransactor) SetBurnable ¶
func (_SRC721Handler *SRC721HandlerTransactor) 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 (*SRC721HandlerTransactor) SetResourceCategory ¶
func (_SRC721Handler *SRC721HandlerTransactor) SetResourceCategory(opts *bind.TransactOpts, resourceID [32]byte, catg string) (*types.Transaction, error)
SetResourceCategory is a paid mutator transaction binding the contract method 0x3e756d67.
Solidity: function setResourceCategory(bytes32 resourceID, string catg) returns()
func (*SRC721HandlerTransactor) SetResourceContractAddress ¶
func (_SRC721Handler *SRC721HandlerTransactor) SetResourceContractAddress(opts *bind.TransactOpts, resourceID [32]byte, contractAddress common.Address) (*types.Transaction, error)
SetResourceContractAddress is a paid mutator transaction binding the contract method 0x761e3d11.
Solidity: function setResourceContractAddress(bytes32 resourceID, address contractAddress) returns()
func (*SRC721HandlerTransactor) SetResourceFeeCurrency ¶
func (_SRC721Handler *SRC721HandlerTransactor) SetResourceFeeCurrency(opts *bind.TransactOpts, resourceID [32]byte, cy string) (*types.Transaction, error)
SetResourceFeeCurrency is a paid mutator transaction binding the contract method 0x8cc795ef.
Solidity: function setResourceFeeCurrency(bytes32 resourceID, string cy) returns()
func (*SRC721HandlerTransactor) SetResourceFeeHandler ¶
func (_SRC721Handler *SRC721HandlerTransactor) SetResourceFeeHandler(opts *bind.TransactOpts, resourceID [32]byte, scr20handler common.Address) (*types.Transaction, error)
SetResourceFeeHandler is a paid mutator transaction binding the contract method 0x8bdf1591.
Solidity: function setResourceFeeHandler(bytes32 resourceID, address scr20handler) returns()
func (*SRC721HandlerTransactor) Withdraw ¶
func (_SRC721Handler *SRC721HandlerTransactor) Withdraw(opts *bind.TransactOpts, category string, recipient common.Address, tkt [32]byte) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xda19cc99.
Solidity: function withdraw(string category, address recipient, bytes32 tkt) returns()
type SRC721HandlerTransactorRaw ¶
type SRC721HandlerTransactorRaw struct {
Contract *SRC721HandlerTransactor // Generic write-only contract binding to access the raw methods on
}
SRC721HandlerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*SRC721HandlerTransactorRaw) Transact ¶
func (_SRC721Handler *SRC721HandlerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*SRC721HandlerTransactorRaw) Transfer ¶
func (_SRC721Handler *SRC721HandlerTransactorRaw) 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 SRC721HandlerTransactorSession ¶
type SRC721HandlerTransactorSession struct { Contract *SRC721HandlerTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
SRC721HandlerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*SRC721HandlerTransactorSession) Deposit ¶
func (_SRC721Handler *SRC721HandlerTransactorSession) Deposit(resourceID [32]byte, destinationChainID uint8, depositNonce uint64, depositer common.Address, recipient []byte) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0x38995da9.
Solidity: function deposit(bytes32 resourceID, uint8 destinationChainID, uint64 depositNonce, address depositer, bytes recipient) payable returns()
func (*SRC721HandlerTransactorSession) ExecuteProposal ¶
func (_SRC721Handler *SRC721HandlerTransactorSession) ExecuteProposal(resourceID [32]byte, _recipient common.Address, ticketId *big.Int, metaData []byte) (*types.Transaction, error)
ExecuteProposal is a paid mutator transaction binding the contract method 0x728e218f.
Solidity: function executeProposal(bytes32 resourceID, address _recipient, uint256 ticketId, bytes metaData) returns()
func (*SRC721HandlerTransactorSession) SetBurnable ¶
func (_SRC721Handler *SRC721HandlerTransactorSession) 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 (*SRC721HandlerTransactorSession) SetResourceCategory ¶
func (_SRC721Handler *SRC721HandlerTransactorSession) SetResourceCategory(resourceID [32]byte, catg string) (*types.Transaction, error)
SetResourceCategory is a paid mutator transaction binding the contract method 0x3e756d67.
Solidity: function setResourceCategory(bytes32 resourceID, string catg) returns()
func (*SRC721HandlerTransactorSession) SetResourceContractAddress ¶
func (_SRC721Handler *SRC721HandlerTransactorSession) SetResourceContractAddress(resourceID [32]byte, contractAddress common.Address) (*types.Transaction, error)
SetResourceContractAddress is a paid mutator transaction binding the contract method 0x761e3d11.
Solidity: function setResourceContractAddress(bytes32 resourceID, address contractAddress) returns()
func (*SRC721HandlerTransactorSession) SetResourceFeeCurrency ¶
func (_SRC721Handler *SRC721HandlerTransactorSession) SetResourceFeeCurrency(resourceID [32]byte, cy string) (*types.Transaction, error)
SetResourceFeeCurrency is a paid mutator transaction binding the contract method 0x8cc795ef.
Solidity: function setResourceFeeCurrency(bytes32 resourceID, string cy) returns()
func (*SRC721HandlerTransactorSession) SetResourceFeeHandler ¶
func (_SRC721Handler *SRC721HandlerTransactorSession) SetResourceFeeHandler(resourceID [32]byte, scr20handler common.Address) (*types.Transaction, error)
SetResourceFeeHandler is a paid mutator transaction binding the contract method 0x8bdf1591.
Solidity: function setResourceFeeHandler(bytes32 resourceID, address scr20handler) returns()
func (*SRC721HandlerTransactorSession) Withdraw ¶
func (_SRC721Handler *SRC721HandlerTransactorSession) Withdraw(category string, recipient common.Address, tkt [32]byte) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0xda19cc99.
Solidity: function withdraw(string category, address recipient, bytes32 tkt) returns()