Documentation ¶
Index ¶
- Constants
- Variables
- type NFTBridge
- type NFTBridgeCaller
- func (_NFTBridge *NFTBridgeCaller) BridgeAccessAddress(opts *bind.CallOpts) (common.ContractAddress, error)
- func (_NFTBridge *NFTBridgeCaller) BridgeCounterAddress(opts *bind.CallOpts) (common.ContractAddress, error)
- func (_NFTBridge *NFTBridgeCaller) Bytes32ToString(opts *bind.CallOpts, x [32]byte) (string, error)
- func (_NFTBridge *NFTBridgeCaller) ChainID(opts *bind.CallOpts) (uint8, error)
- func (_NFTBridge *NFTBridgeCaller) CrossFeeAddress(opts *bind.CallOpts) (common.ContractAddress, error)
- func (_NFTBridge *NFTBridgeCaller) DepositRecords(opts *bind.CallOpts, arg0 uint64, arg1 uint8) ([]byte, error)
- func (_NFTBridge *NFTBridgeCaller) Expiry(opts *bind.CallOpts) (*big.Int, error)
- func (_NFTBridge *NFTBridgeCaller) GetProposal(opts *bind.CallOpts, originChainID uint8, depositNonce uint64, ...) (NFTBridgeProposal, error)
- func (_NFTBridge *NFTBridgeCaller) HasVotedOnProposal(opts *bind.CallOpts, arg0 *big.Int, arg1 [32]byte, arg2 common.Address) (bool, error)
- func (_NFTBridge *NFTBridgeCaller) MinCrossAmount(opts *bind.CallOpts, resourceId [32]byte) (*big.Int, error)
- func (_NFTBridge *NFTBridgeCaller) Owner(opts *bind.CallOpts) (common.ContractAddress, error)
- func (_NFTBridge *NFTBridgeCaller) Paused(opts *bind.CallOpts) (bool, error)
- func (_NFTBridge *NFTBridgeCaller) Proposals(opts *bind.CallOpts, arg0 *big.Int, arg1 [32]byte) (struct{ ... }, error)
- func (_NFTBridge *NFTBridgeCaller) ResourceIDToCategory(opts *bind.CallOpts, arg0 [32]byte) (string, error)
- func (_NFTBridge *NFTBridgeCaller) ResourceIDToLimit(opts *bind.CallOpts, arg0 [32]byte) (struct{ ... }, error)
- func (_NFTBridge *NFTBridgeCaller) Src721HandlerAddress(opts *bind.CallOpts) (common.ContractAddress, error)
- func (_NFTBridge *NFTBridgeCaller) TotalProposals(opts *bind.CallOpts) (*big.Int, error)
- type NFTBridgeCallerRaw
- type NFTBridgeCallerSession
- func (_NFTBridge *NFTBridgeCallerSession) BridgeAccessAddress() (common.ContractAddress, error)
- func (_NFTBridge *NFTBridgeCallerSession) BridgeCounterAddress() (common.ContractAddress, error)
- func (_NFTBridge *NFTBridgeCallerSession) Bytes32ToString(x [32]byte) (string, error)
- func (_NFTBridge *NFTBridgeCallerSession) ChainID() (uint8, error)
- func (_NFTBridge *NFTBridgeCallerSession) CrossFeeAddress() (common.ContractAddress, error)
- func (_NFTBridge *NFTBridgeCallerSession) DepositRecords(arg0 uint64, arg1 uint8) ([]byte, error)
- func (_NFTBridge *NFTBridgeCallerSession) Expiry() (*big.Int, error)
- func (_NFTBridge *NFTBridgeCallerSession) GetProposal(originChainID uint8, depositNonce uint64, dataHash [32]byte) (NFTBridgeProposal, error)
- func (_NFTBridge *NFTBridgeCallerSession) HasVotedOnProposal(arg0 *big.Int, arg1 [32]byte, arg2 common.Address) (bool, error)
- func (_NFTBridge *NFTBridgeCallerSession) MinCrossAmount(resourceId [32]byte) (*big.Int, error)
- func (_NFTBridge *NFTBridgeCallerSession) Owner() (common.ContractAddress, error)
- func (_NFTBridge *NFTBridgeCallerSession) Paused() (bool, error)
- func (_NFTBridge *NFTBridgeCallerSession) Proposals(arg0 *big.Int, arg1 [32]byte) (struct{ ... }, error)
- func (_NFTBridge *NFTBridgeCallerSession) ResourceIDToCategory(arg0 [32]byte) (string, error)
- func (_NFTBridge *NFTBridgeCallerSession) ResourceIDToLimit(arg0 [32]byte) (struct{ ... }, error)
- func (_NFTBridge *NFTBridgeCallerSession) Src721HandlerAddress() (common.ContractAddress, error)
- func (_NFTBridge *NFTBridgeCallerSession) TotalProposals() (*big.Int, error)
- type NFTBridgeDeposit
- type NFTBridgeDepositIterator
- type NFTBridgeFilterer
- func (_NFTBridge *NFTBridgeFilterer) FilterDeposit(opts *bind.FilterOpts, destinationChainID []uint8, resourceID [][32]byte, ...) (*NFTBridgeDepositIterator, error)
- func (_NFTBridge *NFTBridgeFilterer) FilterPaused(opts *bind.FilterOpts) (*NFTBridgePausedIterator, error)
- func (_NFTBridge *NFTBridgeFilterer) FilterProposalEvent(opts *bind.FilterOpts, originChainID []uint8, depositNonce []uint64, ...) (*NFTBridgeProposalEventIterator, error)
- func (_NFTBridge *NFTBridgeFilterer) FilterProposalVote(opts *bind.FilterOpts, originChainID []uint8, depositNonce []uint64, ...) (*NFTBridgeProposalVoteIterator, error)
- func (_NFTBridge *NFTBridgeFilterer) FilterUnpaused(opts *bind.FilterOpts) (*NFTBridgeUnpausedIterator, error)
- func (_NFTBridge *NFTBridgeFilterer) ParseDeposit(log types.Log) (*NFTBridgeDeposit, error)
- func (_NFTBridge *NFTBridgeFilterer) ParsePaused(log types.Log) (*NFTBridgePaused, error)
- func (_NFTBridge *NFTBridgeFilterer) ParseProposalEvent(log types.Log) (*NFTBridgeProposalEvent, error)
- func (_NFTBridge *NFTBridgeFilterer) ParseProposalVote(log types.Log) (*NFTBridgeProposalVote, error)
- func (_NFTBridge *NFTBridgeFilterer) ParseUnpaused(log types.Log) (*NFTBridgeUnpaused, error)
- func (_NFTBridge *NFTBridgeFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *NFTBridgeDeposit, ...) (event.Subscription, error)
- func (_NFTBridge *NFTBridgeFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *NFTBridgePaused) (event.Subscription, error)
- func (_NFTBridge *NFTBridgeFilterer) WatchProposalEvent(opts *bind.WatchOpts, sink chan<- *NFTBridgeProposalEvent, ...) (event.Subscription, error)
- func (_NFTBridge *NFTBridgeFilterer) WatchProposalVote(opts *bind.WatchOpts, sink chan<- *NFTBridgeProposalVote, ...) (event.Subscription, error)
- func (_NFTBridge *NFTBridgeFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *NFTBridgeUnpaused) (event.Subscription, error)
- type NFTBridgePaused
- type NFTBridgePausedIterator
- type NFTBridgeProposal
- type NFTBridgeProposalEvent
- type NFTBridgeProposalEventIterator
- type NFTBridgeProposalVote
- type NFTBridgeProposalVoteIterator
- type NFTBridgeRaw
- func (_NFTBridge *NFTBridgeRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_NFTBridge *NFTBridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_NFTBridge *NFTBridgeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type NFTBridgeSession
- func (_NFTBridge *NFTBridgeSession) AdminPauseTransfers() (*types.Transaction, error)
- func (_NFTBridge *NFTBridgeSession) AdminSetBridgeCounterContract(bridgeCounter_ common.Address) (*types.Transaction, error)
- func (_NFTBridge *NFTBridgeSession) AdminSetCrossFeeContract(crossFee_ common.Address) (*types.Transaction, error)
- func (_NFTBridge *NFTBridgeSession) AdminSetResourceInfo(resourceID [32]byte, ticketAddress common.Address, category string) (*types.Transaction, error)
- func (_NFTBridge *NFTBridgeSession) AdminSetSrc721HandlerContract(handler common.Address) (*types.Transaction, error)
- func (_NFTBridge *NFTBridgeSession) AdminUnpauseTransfers() (*types.Transaction, error)
- func (_NFTBridge *NFTBridgeSession) AdminWithdraw(currency string, recipient common.Address, tkt [32]byte) (*types.Transaction, error)
- func (_NFTBridge *NFTBridgeSession) BridgeAccessAddress() (common.ContractAddress, error)
- func (_NFTBridge *NFTBridgeSession) BridgeCounterAddress() (common.ContractAddress, error)
- func (_NFTBridge *NFTBridgeSession) Bytes32ToString(x [32]byte) (string, error)
- func (_NFTBridge *NFTBridgeSession) CancelProposal(chainID uint8, depositNonce uint64, dataHash [32]byte) (*types.Transaction, error)
- func (_NFTBridge *NFTBridgeSession) ChainID() (uint8, error)
- func (_NFTBridge *NFTBridgeSession) CrossFeeAddress() (common.ContractAddress, error)
- func (_NFTBridge *NFTBridgeSession) DepositNFT(destinationChainID uint8, resourceID [32]byte, recipient []byte) (*types.Transaction, error)
- func (_NFTBridge *NFTBridgeSession) DepositRecords(arg0 uint64, arg1 uint8) ([]byte, error)
- func (_NFTBridge *NFTBridgeSession) ExecuteProposal(originChainID uint8, depositNonce uint64, resourceID [32]byte, ...) (*types.Transaction, error)
- func (_NFTBridge *NFTBridgeSession) Expiry() (*big.Int, error)
- func (_NFTBridge *NFTBridgeSession) GetProposal(originChainID uint8, depositNonce uint64, dataHash [32]byte) (NFTBridgeProposal, error)
- func (_NFTBridge *NFTBridgeSession) HasVotedOnProposal(arg0 *big.Int, arg1 [32]byte, arg2 common.Address) (bool, error)
- func (_NFTBridge *NFTBridgeSession) MinCrossAmount(resourceId [32]byte) (*big.Int, error)
- func (_NFTBridge *NFTBridgeSession) Owner() (common.ContractAddress, error)
- func (_NFTBridge *NFTBridgeSession) Paused() (bool, error)
- func (_NFTBridge *NFTBridgeSession) Proposals(arg0 *big.Int, arg1 [32]byte) (struct{ ... }, error)
- func (_NFTBridge *NFTBridgeSession) ResourceIDToCategory(arg0 [32]byte) (string, error)
- func (_NFTBridge *NFTBridgeSession) ResourceIDToLimit(arg0 [32]byte) (struct{ ... }, error)
- func (_NFTBridge *NFTBridgeSession) Src721HandlerAddress() (common.ContractAddress, error)
- func (_NFTBridge *NFTBridgeSession) TotalProposals() (*big.Int, error)
- func (_NFTBridge *NFTBridgeSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_NFTBridge *NFTBridgeSession) VoteProposal(chainID uint8, depositNonce uint64, resourceID [32]byte, dataHash [32]byte) (*types.Transaction, error)
- type NFTBridgeTransactor
- func (_NFTBridge *NFTBridgeTransactor) AdminPauseTransfers(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_NFTBridge *NFTBridgeTransactor) AdminSetBridgeCounterContract(opts *bind.TransactOpts, bridgeCounter_ common.Address) (*types.Transaction, error)
- func (_NFTBridge *NFTBridgeTransactor) AdminSetCrossFeeContract(opts *bind.TransactOpts, crossFee_ common.Address) (*types.Transaction, error)
- func (_NFTBridge *NFTBridgeTransactor) AdminSetResourceInfo(opts *bind.TransactOpts, resourceID [32]byte, ticketAddress common.Address, ...) (*types.Transaction, error)
- func (_NFTBridge *NFTBridgeTransactor) AdminSetSrc721HandlerContract(opts *bind.TransactOpts, handler common.Address) (*types.Transaction, error)
- func (_NFTBridge *NFTBridgeTransactor) AdminUnpauseTransfers(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_NFTBridge *NFTBridgeTransactor) AdminWithdraw(opts *bind.TransactOpts, currency string, recipient common.Address, ...) (*types.Transaction, error)
- func (_NFTBridge *NFTBridgeTransactor) CancelProposal(opts *bind.TransactOpts, chainID uint8, depositNonce uint64, dataHash [32]byte) (*types.Transaction, error)
- func (_NFTBridge *NFTBridgeTransactor) DepositNFT(opts *bind.TransactOpts, destinationChainID uint8, resourceID [32]byte, ...) (*types.Transaction, error)
- func (_NFTBridge *NFTBridgeTransactor) ExecuteProposal(opts *bind.TransactOpts, originChainID uint8, depositNonce uint64, ...) (*types.Transaction, error)
- func (_NFTBridge *NFTBridgeTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_NFTBridge *NFTBridgeTransactor) VoteProposal(opts *bind.TransactOpts, chainID uint8, depositNonce uint64, ...) (*types.Transaction, error)
- type NFTBridgeTransactorRaw
- type NFTBridgeTransactorSession
- func (_NFTBridge *NFTBridgeTransactorSession) AdminPauseTransfers() (*types.Transaction, error)
- func (_NFTBridge *NFTBridgeTransactorSession) AdminSetBridgeCounterContract(bridgeCounter_ common.Address) (*types.Transaction, error)
- func (_NFTBridge *NFTBridgeTransactorSession) AdminSetCrossFeeContract(crossFee_ common.Address) (*types.Transaction, error)
- func (_NFTBridge *NFTBridgeTransactorSession) AdminSetResourceInfo(resourceID [32]byte, ticketAddress common.Address, category string) (*types.Transaction, error)
- func (_NFTBridge *NFTBridgeTransactorSession) AdminSetSrc721HandlerContract(handler common.Address) (*types.Transaction, error)
- func (_NFTBridge *NFTBridgeTransactorSession) AdminUnpauseTransfers() (*types.Transaction, error)
- func (_NFTBridge *NFTBridgeTransactorSession) AdminWithdraw(currency string, recipient common.Address, tkt [32]byte) (*types.Transaction, error)
- func (_NFTBridge *NFTBridgeTransactorSession) CancelProposal(chainID uint8, depositNonce uint64, dataHash [32]byte) (*types.Transaction, error)
- func (_NFTBridge *NFTBridgeTransactorSession) DepositNFT(destinationChainID uint8, resourceID [32]byte, recipient []byte) (*types.Transaction, error)
- func (_NFTBridge *NFTBridgeTransactorSession) ExecuteProposal(originChainID uint8, depositNonce uint64, resourceID [32]byte, ...) (*types.Transaction, error)
- func (_NFTBridge *NFTBridgeTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_NFTBridge *NFTBridgeTransactorSession) VoteProposal(chainID uint8, depositNonce uint64, resourceID [32]byte, dataHash [32]byte) (*types.Transaction, error)
- type NFTBridgeUnpaused
- type NFTBridgeUnpausedIterator
Constants ¶
const NFTBridgeABI = "" /* 10121-byte string literal not displayed */
NFTBridgeABI is the input ABI used to generate the binding from.
Variables ¶
var NFTBridgeBin = "" /* 20800-byte string literal not displayed */
NFTBridgeBin is the compiled bytecode used for deploying new contracts.
Functions ¶
This section is empty.
Types ¶
type NFTBridge ¶
type NFTBridge struct { NFTBridgeCaller // Read-only binding to the contract NFTBridgeTransactor // Write-only binding to the contract NFTBridgeFilterer // Log filterer for contract events }
NFTBridge is an auto generated Go binding around an Ethereum contract.
func DeployNFTBridge ¶
func DeployNFTBridge(auth *bind.TransactOpts, backend bind.ContractBackend, chainID uint8, expiry *big.Int, brigeAccessAddress_ common.Address) (common.Address, *types.Transaction, *NFTBridge, error)
DeployNFTBridge deploys a new Ethereum contract, binding an instance of NFTBridge to it.
func NewNFTBridge ¶
NewNFTBridge creates a new instance of NFTBridge, bound to a specific deployed contract.
type NFTBridgeCaller ¶
type NFTBridgeCaller struct {
// contains filtered or unexported fields
}
NFTBridgeCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewNFTBridgeCaller ¶
func NewNFTBridgeCaller(address common.Address, caller bind.ContractCaller) (*NFTBridgeCaller, error)
NewNFTBridgeCaller creates a new read-only instance of NFTBridge, bound to a specific deployed contract.
func (*NFTBridgeCaller) BridgeAccessAddress ¶
func (_NFTBridge *NFTBridgeCaller) BridgeAccessAddress(opts *bind.CallOpts) (common.ContractAddress, error)
BridgeAccessAddress is a free data retrieval call binding the contract method 0xf359d983.
Solidity: function bridgeAccessAddress() view returns(address)
func (*NFTBridgeCaller) BridgeCounterAddress ¶
func (_NFTBridge *NFTBridgeCaller) BridgeCounterAddress(opts *bind.CallOpts) (common.ContractAddress, error)
BridgeCounterAddress is a free data retrieval call binding the contract method 0x50366faf.
Solidity: function bridgeCounterAddress() view returns(address)
func (*NFTBridgeCaller) Bytes32ToString ¶
Bytes32ToString is a free data retrieval call binding the contract method 0x9201de55.
Solidity: function bytes32ToString(bytes32 x) pure returns(string)
func (*NFTBridgeCaller) ChainID ¶
func (_NFTBridge *NFTBridgeCaller) ChainID(opts *bind.CallOpts) (uint8, error)
ChainID is a free data retrieval call binding the contract method 0xbeab7131.
Solidity: function _chainID() view returns(uint8)
func (*NFTBridgeCaller) CrossFeeAddress ¶
func (_NFTBridge *NFTBridgeCaller) CrossFeeAddress(opts *bind.CallOpts) (common.ContractAddress, error)
CrossFeeAddress is a free data retrieval call binding the contract method 0x682150c9.
Solidity: function crossFeeAddress() view returns(address)
func (*NFTBridgeCaller) DepositRecords ¶
func (_NFTBridge *NFTBridgeCaller) DepositRecords(opts *bind.CallOpts, arg0 uint64, arg1 uint8) ([]byte, error)
DepositRecords is a free data retrieval call binding the contract method 0x3ee7094a.
Solidity: function _depositRecords(uint64 , uint8 ) view returns(bytes)
func (*NFTBridgeCaller) Expiry ¶
Expiry is a free data retrieval call binding the contract method 0xc5ec8970.
Solidity: function _expiry() view returns(uint256)
func (*NFTBridgeCaller) GetProposal ¶
func (_NFTBridge *NFTBridgeCaller) GetProposal(opts *bind.CallOpts, originChainID uint8, depositNonce uint64, dataHash [32]byte) (NFTBridgeProposal, error)
GetProposal is a free data retrieval call binding the contract method 0xa9cf69fa.
Solidity: function getProposal(uint8 originChainID, uint64 depositNonce, bytes32 dataHash) view returns((bytes32,bytes32,address[],address[],uint8,uint256))
func (*NFTBridgeCaller) HasVotedOnProposal ¶
func (_NFTBridge *NFTBridgeCaller) HasVotedOnProposal(opts *bind.CallOpts, arg0 *big.Int, arg1 [32]byte, arg2 common.Address) (bool, error)
HasVotedOnProposal is a free data retrieval call binding the contract method 0x7febe63f.
Solidity: function _hasVotedOnProposal(uint72 , bytes32 , address ) view returns(bool)
func (*NFTBridgeCaller) MinCrossAmount ¶
func (_NFTBridge *NFTBridgeCaller) MinCrossAmount(opts *bind.CallOpts, resourceId [32]byte) (*big.Int, error)
MinCrossAmount is a free data retrieval call binding the contract method 0xfca08900.
Solidity: function minCrossAmount(bytes32 resourceId) view returns(uint256)
func (*NFTBridgeCaller) Owner ¶
func (_NFTBridge *NFTBridgeCaller) Owner(opts *bind.CallOpts) (common.ContractAddress, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*NFTBridgeCaller) Paused ¶
func (_NFTBridge *NFTBridgeCaller) Paused(opts *bind.CallOpts) (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*NFTBridgeCaller) Proposals ¶
func (_NFTBridge *NFTBridgeCaller) Proposals(opts *bind.CallOpts, arg0 *big.Int, arg1 [32]byte) (struct { ResourceID [32]byte DataHash [32]byte Status uint8 ProposedBlock *big.Int }, error)
Proposals is a free data retrieval call binding the contract method 0x50598719.
Solidity: function _proposals(uint72 , bytes32 ) view returns(bytes32 _resourceID, bytes32 _dataHash, uint8 _status, uint256 _proposedBlock)
func (*NFTBridgeCaller) ResourceIDToCategory ¶
func (_NFTBridge *NFTBridgeCaller) 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 (*NFTBridgeCaller) ResourceIDToLimit ¶
func (_NFTBridge *NFTBridgeCaller) ResourceIDToLimit(opts *bind.CallOpts, arg0 [32]byte) (struct { Min *big.Int Max *big.Int }, error)
ResourceIDToLimit is a free data retrieval call binding the contract method 0xfa6bbe47.
Solidity: function resourceIDToLimit(bytes32 ) view returns(uint256 min, uint256 max)
func (*NFTBridgeCaller) Src721HandlerAddress ¶
func (_NFTBridge *NFTBridgeCaller) Src721HandlerAddress(opts *bind.CallOpts) (common.ContractAddress, error)
Src721HandlerAddress is a free data retrieval call binding the contract method 0xce804db7.
Solidity: function src721HandlerAddress() view returns(address)
func (*NFTBridgeCaller) TotalProposals ¶
TotalProposals is a free data retrieval call binding the contract method 0x9d5773e0.
Solidity: function _totalProposals() view returns(uint256)
type NFTBridgeCallerRaw ¶
type NFTBridgeCallerRaw struct {
Contract *NFTBridgeCaller // Generic read-only contract binding to access the raw methods on
}
NFTBridgeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*NFTBridgeCallerRaw) Call ¶
func (_NFTBridge *NFTBridgeCallerRaw) 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 NFTBridgeCallerSession ¶
type NFTBridgeCallerSession struct { Contract *NFTBridgeCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
NFTBridgeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*NFTBridgeCallerSession) BridgeAccessAddress ¶
func (_NFTBridge *NFTBridgeCallerSession) BridgeAccessAddress() (common.ContractAddress, error)
BridgeAccessAddress is a free data retrieval call binding the contract method 0xf359d983.
Solidity: function bridgeAccessAddress() view returns(address)
func (*NFTBridgeCallerSession) BridgeCounterAddress ¶
func (_NFTBridge *NFTBridgeCallerSession) BridgeCounterAddress() (common.ContractAddress, error)
BridgeCounterAddress is a free data retrieval call binding the contract method 0x50366faf.
Solidity: function bridgeCounterAddress() view returns(address)
func (*NFTBridgeCallerSession) Bytes32ToString ¶
func (_NFTBridge *NFTBridgeCallerSession) 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 (*NFTBridgeCallerSession) ChainID ¶
func (_NFTBridge *NFTBridgeCallerSession) ChainID() (uint8, error)
ChainID is a free data retrieval call binding the contract method 0xbeab7131.
Solidity: function _chainID() view returns(uint8)
func (*NFTBridgeCallerSession) CrossFeeAddress ¶
func (_NFTBridge *NFTBridgeCallerSession) CrossFeeAddress() (common.ContractAddress, error)
CrossFeeAddress is a free data retrieval call binding the contract method 0x682150c9.
Solidity: function crossFeeAddress() view returns(address)
func (*NFTBridgeCallerSession) DepositRecords ¶
func (_NFTBridge *NFTBridgeCallerSession) DepositRecords(arg0 uint64, arg1 uint8) ([]byte, error)
DepositRecords is a free data retrieval call binding the contract method 0x3ee7094a.
Solidity: function _depositRecords(uint64 , uint8 ) view returns(bytes)
func (*NFTBridgeCallerSession) Expiry ¶
func (_NFTBridge *NFTBridgeCallerSession) Expiry() (*big.Int, error)
Expiry is a free data retrieval call binding the contract method 0xc5ec8970.
Solidity: function _expiry() view returns(uint256)
func (*NFTBridgeCallerSession) GetProposal ¶
func (_NFTBridge *NFTBridgeCallerSession) GetProposal(originChainID uint8, depositNonce uint64, dataHash [32]byte) (NFTBridgeProposal, error)
GetProposal is a free data retrieval call binding the contract method 0xa9cf69fa.
Solidity: function getProposal(uint8 originChainID, uint64 depositNonce, bytes32 dataHash) view returns((bytes32,bytes32,address[],address[],uint8,uint256))
func (*NFTBridgeCallerSession) HasVotedOnProposal ¶
func (_NFTBridge *NFTBridgeCallerSession) HasVotedOnProposal(arg0 *big.Int, arg1 [32]byte, arg2 common.Address) (bool, error)
HasVotedOnProposal is a free data retrieval call binding the contract method 0x7febe63f.
Solidity: function _hasVotedOnProposal(uint72 , bytes32 , address ) view returns(bool)
func (*NFTBridgeCallerSession) MinCrossAmount ¶
func (_NFTBridge *NFTBridgeCallerSession) MinCrossAmount(resourceId [32]byte) (*big.Int, error)
MinCrossAmount is a free data retrieval call binding the contract method 0xfca08900.
Solidity: function minCrossAmount(bytes32 resourceId) view returns(uint256)
func (*NFTBridgeCallerSession) Owner ¶
func (_NFTBridge *NFTBridgeCallerSession) Owner() (common.ContractAddress, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*NFTBridgeCallerSession) Paused ¶
func (_NFTBridge *NFTBridgeCallerSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*NFTBridgeCallerSession) Proposals ¶
func (_NFTBridge *NFTBridgeCallerSession) Proposals(arg0 *big.Int, arg1 [32]byte) (struct { ResourceID [32]byte DataHash [32]byte Status uint8 ProposedBlock *big.Int }, error)
Proposals is a free data retrieval call binding the contract method 0x50598719.
Solidity: function _proposals(uint72 , bytes32 ) view returns(bytes32 _resourceID, bytes32 _dataHash, uint8 _status, uint256 _proposedBlock)
func (*NFTBridgeCallerSession) ResourceIDToCategory ¶
func (_NFTBridge *NFTBridgeCallerSession) 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 (*NFTBridgeCallerSession) ResourceIDToLimit ¶
func (_NFTBridge *NFTBridgeCallerSession) ResourceIDToLimit(arg0 [32]byte) (struct { Min *big.Int Max *big.Int }, error)
ResourceIDToLimit is a free data retrieval call binding the contract method 0xfa6bbe47.
Solidity: function resourceIDToLimit(bytes32 ) view returns(uint256 min, uint256 max)
func (*NFTBridgeCallerSession) Src721HandlerAddress ¶
func (_NFTBridge *NFTBridgeCallerSession) Src721HandlerAddress() (common.ContractAddress, error)
Src721HandlerAddress is a free data retrieval call binding the contract method 0xce804db7.
Solidity: function src721HandlerAddress() view returns(address)
func (*NFTBridgeCallerSession) TotalProposals ¶
func (_NFTBridge *NFTBridgeCallerSession) TotalProposals() (*big.Int, error)
TotalProposals is a free data retrieval call binding the contract method 0x9d5773e0.
Solidity: function _totalProposals() view returns(uint256)
type NFTBridgeDeposit ¶
type NFTBridgeDeposit struct { DestinationChainID uint8 ResourceID [32]byte DepositNonce uint64 Raw types.Log // Blockchain specific contextual infos }
NFTBridgeDeposit represents a Deposit event raised by the NFTBridge contract.
type NFTBridgeDepositIterator ¶
type NFTBridgeDepositIterator struct { Event *NFTBridgeDeposit // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NFTBridgeDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the NFTBridge contract.
func (*NFTBridgeDepositIterator) Close ¶
func (it *NFTBridgeDepositIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NFTBridgeDepositIterator) Error ¶
func (it *NFTBridgeDepositIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NFTBridgeDepositIterator) Next ¶
func (it *NFTBridgeDepositIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type NFTBridgeFilterer ¶
type NFTBridgeFilterer struct {
// contains filtered or unexported fields
}
NFTBridgeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewNFTBridgeFilterer ¶
func NewNFTBridgeFilterer(address common.Address, filterer bind.ContractFilterer) (*NFTBridgeFilterer, error)
NewNFTBridgeFilterer creates a new log filterer instance of NFTBridge, bound to a specific deployed contract.
func (*NFTBridgeFilterer) FilterDeposit ¶
func (_NFTBridge *NFTBridgeFilterer) FilterDeposit(opts *bind.FilterOpts, destinationChainID []uint8, resourceID [][32]byte, depositNonce []uint64) (*NFTBridgeDepositIterator, error)
FilterDeposit is a free log retrieval operation binding the contract event 0xdbb69440df8433824a026ef190652f29929eb64b4d1d5d2a69be8afe3e6eaed8.
Solidity: event Deposit(uint8 indexed destinationChainID, bytes32 indexed resourceID, uint64 indexed depositNonce)
func (*NFTBridgeFilterer) FilterPaused ¶
func (_NFTBridge *NFTBridgeFilterer) FilterPaused(opts *bind.FilterOpts) (*NFTBridgePausedIterator, error)
FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*NFTBridgeFilterer) FilterProposalEvent ¶
func (_NFTBridge *NFTBridgeFilterer) FilterProposalEvent(opts *bind.FilterOpts, originChainID []uint8, depositNonce []uint64, status []uint8) (*NFTBridgeProposalEventIterator, error)
FilterProposalEvent is a free log retrieval operation binding the contract event 0x803c5a12f6bde629cea32e63d4b92d1b560816a6fb72e939d3c89e1cab650417.
Solidity: event ProposalEvent(uint8 indexed originChainID, uint64 indexed depositNonce, uint8 indexed status, bytes32 resourceID, bytes32 dataHash)
func (*NFTBridgeFilterer) FilterProposalVote ¶
func (_NFTBridge *NFTBridgeFilterer) FilterProposalVote(opts *bind.FilterOpts, originChainID []uint8, depositNonce []uint64, status []uint8) (*NFTBridgeProposalVoteIterator, error)
FilterProposalVote is a free log retrieval operation binding the contract event 0x25f8daaa4635a7729927ba3f5b3d59cc3320aca7c32c9db4e7ca7b9574343640.
Solidity: event ProposalVote(uint8 indexed originChainID, uint64 indexed depositNonce, uint8 indexed status, bytes32 resourceID)
func (*NFTBridgeFilterer) FilterUnpaused ¶
func (_NFTBridge *NFTBridgeFilterer) FilterUnpaused(opts *bind.FilterOpts) (*NFTBridgeUnpausedIterator, error)
FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*NFTBridgeFilterer) ParseDeposit ¶
func (_NFTBridge *NFTBridgeFilterer) ParseDeposit(log types.Log) (*NFTBridgeDeposit, error)
ParseDeposit is a log parse operation binding the contract event 0xdbb69440df8433824a026ef190652f29929eb64b4d1d5d2a69be8afe3e6eaed8.
Solidity: event Deposit(uint8 indexed destinationChainID, bytes32 indexed resourceID, uint64 indexed depositNonce)
func (*NFTBridgeFilterer) ParsePaused ¶
func (_NFTBridge *NFTBridgeFilterer) ParsePaused(log types.Log) (*NFTBridgePaused, error)
ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*NFTBridgeFilterer) ParseProposalEvent ¶
func (_NFTBridge *NFTBridgeFilterer) ParseProposalEvent(log types.Log) (*NFTBridgeProposalEvent, error)
ParseProposalEvent is a log parse operation binding the contract event 0x803c5a12f6bde629cea32e63d4b92d1b560816a6fb72e939d3c89e1cab650417.
Solidity: event ProposalEvent(uint8 indexed originChainID, uint64 indexed depositNonce, uint8 indexed status, bytes32 resourceID, bytes32 dataHash)
func (*NFTBridgeFilterer) ParseProposalVote ¶
func (_NFTBridge *NFTBridgeFilterer) ParseProposalVote(log types.Log) (*NFTBridgeProposalVote, error)
ParseProposalVote is a log parse operation binding the contract event 0x25f8daaa4635a7729927ba3f5b3d59cc3320aca7c32c9db4e7ca7b9574343640.
Solidity: event ProposalVote(uint8 indexed originChainID, uint64 indexed depositNonce, uint8 indexed status, bytes32 resourceID)
func (*NFTBridgeFilterer) ParseUnpaused ¶
func (_NFTBridge *NFTBridgeFilterer) ParseUnpaused(log types.Log) (*NFTBridgeUnpaused, error)
ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
func (*NFTBridgeFilterer) WatchDeposit ¶
func (_NFTBridge *NFTBridgeFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *NFTBridgeDeposit, destinationChainID []uint8, resourceID [][32]byte, depositNonce []uint64) (event.Subscription, error)
WatchDeposit is a free log subscription operation binding the contract event 0xdbb69440df8433824a026ef190652f29929eb64b4d1d5d2a69be8afe3e6eaed8.
Solidity: event Deposit(uint8 indexed destinationChainID, bytes32 indexed resourceID, uint64 indexed depositNonce)
func (*NFTBridgeFilterer) WatchPaused ¶
func (_NFTBridge *NFTBridgeFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *NFTBridgePaused) (event.Subscription, error)
WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.
Solidity: event Paused(address account)
func (*NFTBridgeFilterer) WatchProposalEvent ¶
func (_NFTBridge *NFTBridgeFilterer) WatchProposalEvent(opts *bind.WatchOpts, sink chan<- *NFTBridgeProposalEvent, originChainID []uint8, depositNonce []uint64, status []uint8) (event.Subscription, error)
WatchProposalEvent is a free log subscription operation binding the contract event 0x803c5a12f6bde629cea32e63d4b92d1b560816a6fb72e939d3c89e1cab650417.
Solidity: event ProposalEvent(uint8 indexed originChainID, uint64 indexed depositNonce, uint8 indexed status, bytes32 resourceID, bytes32 dataHash)
func (*NFTBridgeFilterer) WatchProposalVote ¶
func (_NFTBridge *NFTBridgeFilterer) WatchProposalVote(opts *bind.WatchOpts, sink chan<- *NFTBridgeProposalVote, originChainID []uint8, depositNonce []uint64, status []uint8) (event.Subscription, error)
WatchProposalVote is a free log subscription operation binding the contract event 0x25f8daaa4635a7729927ba3f5b3d59cc3320aca7c32c9db4e7ca7b9574343640.
Solidity: event ProposalVote(uint8 indexed originChainID, uint64 indexed depositNonce, uint8 indexed status, bytes32 resourceID)
func (*NFTBridgeFilterer) WatchUnpaused ¶
func (_NFTBridge *NFTBridgeFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *NFTBridgeUnpaused) (event.Subscription, error)
WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.
Solidity: event Unpaused(address account)
type NFTBridgePaused ¶
type NFTBridgePaused struct { Account common.ContractAddress Raw types.Log // Blockchain specific contextual infos }
NFTBridgePaused represents a Paused event raised by the NFTBridge contract.
type NFTBridgePausedIterator ¶
type NFTBridgePausedIterator struct { Event *NFTBridgePaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NFTBridgePausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the NFTBridge contract.
func (*NFTBridgePausedIterator) Close ¶
func (it *NFTBridgePausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NFTBridgePausedIterator) Error ¶
func (it *NFTBridgePausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NFTBridgePausedIterator) Next ¶
func (it *NFTBridgePausedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type NFTBridgeProposal ¶
type NFTBridgeProposal struct { ResourceID [32]byte DataHash [32]byte YesVotes []common.ContractAddress NoVotes []common.ContractAddress Status uint8 ProposedBlock *big.Int }
NFTBridgeProposal is an auto generated low-level Go binding around an user-defined struct.
type NFTBridgeProposalEvent ¶
type NFTBridgeProposalEvent struct { OriginChainID uint8 DepositNonce uint64 Status uint8 ResourceID [32]byte DataHash [32]byte Raw types.Log // Blockchain specific contextual infos }
NFTBridgeProposalEvent represents a ProposalEvent event raised by the NFTBridge contract.
type NFTBridgeProposalEventIterator ¶
type NFTBridgeProposalEventIterator struct { Event *NFTBridgeProposalEvent // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NFTBridgeProposalEventIterator is returned from FilterProposalEvent and is used to iterate over the raw logs and unpacked data for ProposalEvent events raised by the NFTBridge contract.
func (*NFTBridgeProposalEventIterator) Close ¶
func (it *NFTBridgeProposalEventIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NFTBridgeProposalEventIterator) Error ¶
func (it *NFTBridgeProposalEventIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NFTBridgeProposalEventIterator) Next ¶
func (it *NFTBridgeProposalEventIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type NFTBridgeProposalVote ¶
type NFTBridgeProposalVote struct { OriginChainID uint8 DepositNonce uint64 Status uint8 ResourceID [32]byte Raw types.Log // Blockchain specific contextual infos }
NFTBridgeProposalVote represents a ProposalVote event raised by the NFTBridge contract.
type NFTBridgeProposalVoteIterator ¶
type NFTBridgeProposalVoteIterator struct { Event *NFTBridgeProposalVote // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NFTBridgeProposalVoteIterator is returned from FilterProposalVote and is used to iterate over the raw logs and unpacked data for ProposalVote events raised by the NFTBridge contract.
func (*NFTBridgeProposalVoteIterator) Close ¶
func (it *NFTBridgeProposalVoteIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NFTBridgeProposalVoteIterator) Error ¶
func (it *NFTBridgeProposalVoteIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NFTBridgeProposalVoteIterator) Next ¶
func (it *NFTBridgeProposalVoteIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type NFTBridgeRaw ¶
type NFTBridgeRaw struct {
Contract *NFTBridge // Generic contract binding to access the raw methods on
}
NFTBridgeRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*NFTBridgeRaw) Call ¶
func (_NFTBridge *NFTBridgeRaw) 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 (*NFTBridgeRaw) Transact ¶
func (_NFTBridge *NFTBridgeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*NFTBridgeRaw) Transfer ¶
func (_NFTBridge *NFTBridgeRaw) 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 NFTBridgeSession ¶
type NFTBridgeSession struct { Contract *NFTBridge // 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 }
NFTBridgeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*NFTBridgeSession) AdminPauseTransfers ¶
func (_NFTBridge *NFTBridgeSession) AdminPauseTransfers() (*types.Transaction, error)
AdminPauseTransfers is a paid mutator transaction binding the contract method 0x80ae1c28.
Solidity: function adminPauseTransfers() returns()
func (*NFTBridgeSession) AdminSetBridgeCounterContract ¶
func (_NFTBridge *NFTBridgeSession) AdminSetBridgeCounterContract(bridgeCounter_ common.Address) (*types.Transaction, error)
AdminSetBridgeCounterContract is a paid mutator transaction binding the contract method 0x12d93656.
Solidity: function adminSetBridgeCounterContract(address bridgeCounter_) returns()
func (*NFTBridgeSession) AdminSetCrossFeeContract ¶
func (_NFTBridge *NFTBridgeSession) AdminSetCrossFeeContract(crossFee_ common.Address) (*types.Transaction, error)
AdminSetCrossFeeContract is a paid mutator transaction binding the contract method 0xec226892.
Solidity: function adminSetCrossFeeContract(address crossFee_) returns()
func (*NFTBridgeSession) AdminSetResourceInfo ¶
func (_NFTBridge *NFTBridgeSession) AdminSetResourceInfo(resourceID [32]byte, ticketAddress common.Address, category string) (*types.Transaction, error)
AdminSetResourceInfo is a paid mutator transaction binding the contract method 0x7171750b.
Solidity: function adminSetResourceInfo(bytes32 resourceID, address ticketAddress, string category) returns()
func (*NFTBridgeSession) AdminSetSrc721HandlerContract ¶
func (_NFTBridge *NFTBridgeSession) AdminSetSrc721HandlerContract(handler common.Address) (*types.Transaction, error)
AdminSetSrc721HandlerContract is a paid mutator transaction binding the contract method 0xc2ca1ddc.
Solidity: function adminSetSrc721HandlerContract(address handler) returns()
func (*NFTBridgeSession) AdminUnpauseTransfers ¶
func (_NFTBridge *NFTBridgeSession) AdminUnpauseTransfers() (*types.Transaction, error)
AdminUnpauseTransfers is a paid mutator transaction binding the contract method 0xffaac0eb.
Solidity: function adminUnpauseTransfers() returns()
func (*NFTBridgeSession) AdminWithdraw ¶
func (_NFTBridge *NFTBridgeSession) AdminWithdraw(currency string, recipient common.Address, tkt [32]byte) (*types.Transaction, error)
AdminWithdraw is a paid mutator transaction binding the contract method 0x51abc947.
Solidity: function adminWithdraw(string currency, address recipient, bytes32 tkt) returns()
func (*NFTBridgeSession) BridgeAccessAddress ¶
func (_NFTBridge *NFTBridgeSession) BridgeAccessAddress() (common.ContractAddress, error)
BridgeAccessAddress is a free data retrieval call binding the contract method 0xf359d983.
Solidity: function bridgeAccessAddress() view returns(address)
func (*NFTBridgeSession) BridgeCounterAddress ¶
func (_NFTBridge *NFTBridgeSession) BridgeCounterAddress() (common.ContractAddress, error)
BridgeCounterAddress is a free data retrieval call binding the contract method 0x50366faf.
Solidity: function bridgeCounterAddress() view returns(address)
func (*NFTBridgeSession) Bytes32ToString ¶
func (_NFTBridge *NFTBridgeSession) 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 (*NFTBridgeSession) CancelProposal ¶
func (_NFTBridge *NFTBridgeSession) CancelProposal(chainID uint8, depositNonce uint64, dataHash [32]byte) (*types.Transaction, error)
CancelProposal is a paid mutator transaction binding the contract method 0x17f03ce5.
Solidity: function cancelProposal(uint8 chainID, uint64 depositNonce, bytes32 dataHash) returns()
func (*NFTBridgeSession) ChainID ¶
func (_NFTBridge *NFTBridgeSession) ChainID() (uint8, error)
ChainID is a free data retrieval call binding the contract method 0xbeab7131.
Solidity: function _chainID() view returns(uint8)
func (*NFTBridgeSession) CrossFeeAddress ¶
func (_NFTBridge *NFTBridgeSession) CrossFeeAddress() (common.ContractAddress, error)
CrossFeeAddress is a free data retrieval call binding the contract method 0x682150c9.
Solidity: function crossFeeAddress() view returns(address)
func (*NFTBridgeSession) DepositNFT ¶
func (_NFTBridge *NFTBridgeSession) DepositNFT(destinationChainID uint8, resourceID [32]byte, recipient []byte) (*types.Transaction, error)
DepositNFT is a paid mutator transaction binding the contract method 0x850efd99.
Solidity: function depositNFT(uint8 destinationChainID, bytes32 resourceID, bytes recipient) payable returns()
func (*NFTBridgeSession) DepositRecords ¶
func (_NFTBridge *NFTBridgeSession) DepositRecords(arg0 uint64, arg1 uint8) ([]byte, error)
DepositRecords is a free data retrieval call binding the contract method 0x3ee7094a.
Solidity: function _depositRecords(uint64 , uint8 ) view returns(bytes)
func (*NFTBridgeSession) ExecuteProposal ¶
func (_NFTBridge *NFTBridgeSession) ExecuteProposal(originChainID uint8, depositNonce uint64, resourceID [32]byte, recipient common.Address, tokenId *big.Int, metaData []byte) (*types.Transaction, error)
ExecuteProposal is a paid mutator transaction binding the contract method 0xdbcf3f04.
Solidity: function executeProposal(uint8 originChainID, uint64 depositNonce, bytes32 resourceID, address recipient, uint256 tokenId, bytes metaData) returns()
func (*NFTBridgeSession) Expiry ¶
func (_NFTBridge *NFTBridgeSession) Expiry() (*big.Int, error)
Expiry is a free data retrieval call binding the contract method 0xc5ec8970.
Solidity: function _expiry() view returns(uint256)
func (*NFTBridgeSession) GetProposal ¶
func (_NFTBridge *NFTBridgeSession) GetProposal(originChainID uint8, depositNonce uint64, dataHash [32]byte) (NFTBridgeProposal, error)
GetProposal is a free data retrieval call binding the contract method 0xa9cf69fa.
Solidity: function getProposal(uint8 originChainID, uint64 depositNonce, bytes32 dataHash) view returns((bytes32,bytes32,address[],address[],uint8,uint256))
func (*NFTBridgeSession) HasVotedOnProposal ¶
func (_NFTBridge *NFTBridgeSession) HasVotedOnProposal(arg0 *big.Int, arg1 [32]byte, arg2 common.Address) (bool, error)
HasVotedOnProposal is a free data retrieval call binding the contract method 0x7febe63f.
Solidity: function _hasVotedOnProposal(uint72 , bytes32 , address ) view returns(bool)
func (*NFTBridgeSession) MinCrossAmount ¶
func (_NFTBridge *NFTBridgeSession) MinCrossAmount(resourceId [32]byte) (*big.Int, error)
MinCrossAmount is a free data retrieval call binding the contract method 0xfca08900.
Solidity: function minCrossAmount(bytes32 resourceId) view returns(uint256)
func (*NFTBridgeSession) Owner ¶
func (_NFTBridge *NFTBridgeSession) Owner() (common.ContractAddress, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*NFTBridgeSession) Paused ¶
func (_NFTBridge *NFTBridgeSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() view returns(bool)
func (*NFTBridgeSession) Proposals ¶
func (_NFTBridge *NFTBridgeSession) Proposals(arg0 *big.Int, arg1 [32]byte) (struct { ResourceID [32]byte DataHash [32]byte Status uint8 ProposedBlock *big.Int }, error)
Proposals is a free data retrieval call binding the contract method 0x50598719.
Solidity: function _proposals(uint72 , bytes32 ) view returns(bytes32 _resourceID, bytes32 _dataHash, uint8 _status, uint256 _proposedBlock)
func (*NFTBridgeSession) ResourceIDToCategory ¶
func (_NFTBridge *NFTBridgeSession) 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 (*NFTBridgeSession) ResourceIDToLimit ¶
func (_NFTBridge *NFTBridgeSession) ResourceIDToLimit(arg0 [32]byte) (struct { Min *big.Int Max *big.Int }, error)
ResourceIDToLimit is a free data retrieval call binding the contract method 0xfa6bbe47.
Solidity: function resourceIDToLimit(bytes32 ) view returns(uint256 min, uint256 max)
func (*NFTBridgeSession) Src721HandlerAddress ¶
func (_NFTBridge *NFTBridgeSession) Src721HandlerAddress() (common.ContractAddress, error)
Src721HandlerAddress is a free data retrieval call binding the contract method 0xce804db7.
Solidity: function src721HandlerAddress() view returns(address)
func (*NFTBridgeSession) TotalProposals ¶
func (_NFTBridge *NFTBridgeSession) TotalProposals() (*big.Int, error)
TotalProposals is a free data retrieval call binding the contract method 0x9d5773e0.
Solidity: function _totalProposals() view returns(uint256)
func (*NFTBridgeSession) TransferOwnership ¶
func (_NFTBridge *NFTBridgeSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*NFTBridgeSession) VoteProposal ¶
func (_NFTBridge *NFTBridgeSession) VoteProposal(chainID uint8, depositNonce uint64, resourceID [32]byte, dataHash [32]byte) (*types.Transaction, error)
VoteProposal is a paid mutator transaction binding the contract method 0x1ff013f1.
Solidity: function voteProposal(uint8 chainID, uint64 depositNonce, bytes32 resourceID, bytes32 dataHash) returns()
type NFTBridgeTransactor ¶
type NFTBridgeTransactor struct {
// contains filtered or unexported fields
}
NFTBridgeTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewNFTBridgeTransactor ¶
func NewNFTBridgeTransactor(address common.Address, transactor bind.ContractTransactor) (*NFTBridgeTransactor, error)
NewNFTBridgeTransactor creates a new write-only instance of NFTBridge, bound to a specific deployed contract.
func (*NFTBridgeTransactor) AdminPauseTransfers ¶
func (_NFTBridge *NFTBridgeTransactor) AdminPauseTransfers(opts *bind.TransactOpts) (*types.Transaction, error)
AdminPauseTransfers is a paid mutator transaction binding the contract method 0x80ae1c28.
Solidity: function adminPauseTransfers() returns()
func (*NFTBridgeTransactor) AdminSetBridgeCounterContract ¶
func (_NFTBridge *NFTBridgeTransactor) AdminSetBridgeCounterContract(opts *bind.TransactOpts, bridgeCounter_ common.Address) (*types.Transaction, error)
AdminSetBridgeCounterContract is a paid mutator transaction binding the contract method 0x12d93656.
Solidity: function adminSetBridgeCounterContract(address bridgeCounter_) returns()
func (*NFTBridgeTransactor) AdminSetCrossFeeContract ¶
func (_NFTBridge *NFTBridgeTransactor) AdminSetCrossFeeContract(opts *bind.TransactOpts, crossFee_ common.Address) (*types.Transaction, error)
AdminSetCrossFeeContract is a paid mutator transaction binding the contract method 0xec226892.
Solidity: function adminSetCrossFeeContract(address crossFee_) returns()
func (*NFTBridgeTransactor) AdminSetResourceInfo ¶
func (_NFTBridge *NFTBridgeTransactor) AdminSetResourceInfo(opts *bind.TransactOpts, resourceID [32]byte, ticketAddress common.Address, category string) (*types.Transaction, error)
AdminSetResourceInfo is a paid mutator transaction binding the contract method 0x7171750b.
Solidity: function adminSetResourceInfo(bytes32 resourceID, address ticketAddress, string category) returns()
func (*NFTBridgeTransactor) AdminSetSrc721HandlerContract ¶
func (_NFTBridge *NFTBridgeTransactor) AdminSetSrc721HandlerContract(opts *bind.TransactOpts, handler common.Address) (*types.Transaction, error)
AdminSetSrc721HandlerContract is a paid mutator transaction binding the contract method 0xc2ca1ddc.
Solidity: function adminSetSrc721HandlerContract(address handler) returns()
func (*NFTBridgeTransactor) AdminUnpauseTransfers ¶
func (_NFTBridge *NFTBridgeTransactor) AdminUnpauseTransfers(opts *bind.TransactOpts) (*types.Transaction, error)
AdminUnpauseTransfers is a paid mutator transaction binding the contract method 0xffaac0eb.
Solidity: function adminUnpauseTransfers() returns()
func (*NFTBridgeTransactor) AdminWithdraw ¶
func (_NFTBridge *NFTBridgeTransactor) AdminWithdraw(opts *bind.TransactOpts, currency string, recipient common.Address, tkt [32]byte) (*types.Transaction, error)
AdminWithdraw is a paid mutator transaction binding the contract method 0x51abc947.
Solidity: function adminWithdraw(string currency, address recipient, bytes32 tkt) returns()
func (*NFTBridgeTransactor) CancelProposal ¶
func (_NFTBridge *NFTBridgeTransactor) CancelProposal(opts *bind.TransactOpts, chainID uint8, depositNonce uint64, dataHash [32]byte) (*types.Transaction, error)
CancelProposal is a paid mutator transaction binding the contract method 0x17f03ce5.
Solidity: function cancelProposal(uint8 chainID, uint64 depositNonce, bytes32 dataHash) returns()
func (*NFTBridgeTransactor) DepositNFT ¶
func (_NFTBridge *NFTBridgeTransactor) DepositNFT(opts *bind.TransactOpts, destinationChainID uint8, resourceID [32]byte, recipient []byte) (*types.Transaction, error)
DepositNFT is a paid mutator transaction binding the contract method 0x850efd99.
Solidity: function depositNFT(uint8 destinationChainID, bytes32 resourceID, bytes recipient) payable returns()
func (*NFTBridgeTransactor) ExecuteProposal ¶
func (_NFTBridge *NFTBridgeTransactor) ExecuteProposal(opts *bind.TransactOpts, originChainID uint8, depositNonce uint64, resourceID [32]byte, recipient common.Address, tokenId *big.Int, metaData []byte) (*types.Transaction, error)
ExecuteProposal is a paid mutator transaction binding the contract method 0xdbcf3f04.
Solidity: function executeProposal(uint8 originChainID, uint64 depositNonce, bytes32 resourceID, address recipient, uint256 tokenId, bytes metaData) returns()
func (*NFTBridgeTransactor) TransferOwnership ¶
func (_NFTBridge *NFTBridgeTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*NFTBridgeTransactor) VoteProposal ¶
func (_NFTBridge *NFTBridgeTransactor) VoteProposal(opts *bind.TransactOpts, chainID uint8, depositNonce uint64, resourceID [32]byte, dataHash [32]byte) (*types.Transaction, error)
VoteProposal is a paid mutator transaction binding the contract method 0x1ff013f1.
Solidity: function voteProposal(uint8 chainID, uint64 depositNonce, bytes32 resourceID, bytes32 dataHash) returns()
type NFTBridgeTransactorRaw ¶
type NFTBridgeTransactorRaw struct {
Contract *NFTBridgeTransactor // Generic write-only contract binding to access the raw methods on
}
NFTBridgeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*NFTBridgeTransactorRaw) Transact ¶
func (_NFTBridge *NFTBridgeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*NFTBridgeTransactorRaw) Transfer ¶
func (_NFTBridge *NFTBridgeTransactorRaw) 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 NFTBridgeTransactorSession ¶
type NFTBridgeTransactorSession struct { Contract *NFTBridgeTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
NFTBridgeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*NFTBridgeTransactorSession) AdminPauseTransfers ¶
func (_NFTBridge *NFTBridgeTransactorSession) AdminPauseTransfers() (*types.Transaction, error)
AdminPauseTransfers is a paid mutator transaction binding the contract method 0x80ae1c28.
Solidity: function adminPauseTransfers() returns()
func (*NFTBridgeTransactorSession) AdminSetBridgeCounterContract ¶
func (_NFTBridge *NFTBridgeTransactorSession) AdminSetBridgeCounterContract(bridgeCounter_ common.Address) (*types.Transaction, error)
AdminSetBridgeCounterContract is a paid mutator transaction binding the contract method 0x12d93656.
Solidity: function adminSetBridgeCounterContract(address bridgeCounter_) returns()
func (*NFTBridgeTransactorSession) AdminSetCrossFeeContract ¶
func (_NFTBridge *NFTBridgeTransactorSession) AdminSetCrossFeeContract(crossFee_ common.Address) (*types.Transaction, error)
AdminSetCrossFeeContract is a paid mutator transaction binding the contract method 0xec226892.
Solidity: function adminSetCrossFeeContract(address crossFee_) returns()
func (*NFTBridgeTransactorSession) AdminSetResourceInfo ¶
func (_NFTBridge *NFTBridgeTransactorSession) AdminSetResourceInfo(resourceID [32]byte, ticketAddress common.Address, category string) (*types.Transaction, error)
AdminSetResourceInfo is a paid mutator transaction binding the contract method 0x7171750b.
Solidity: function adminSetResourceInfo(bytes32 resourceID, address ticketAddress, string category) returns()
func (*NFTBridgeTransactorSession) AdminSetSrc721HandlerContract ¶
func (_NFTBridge *NFTBridgeTransactorSession) AdminSetSrc721HandlerContract(handler common.Address) (*types.Transaction, error)
AdminSetSrc721HandlerContract is a paid mutator transaction binding the contract method 0xc2ca1ddc.
Solidity: function adminSetSrc721HandlerContract(address handler) returns()
func (*NFTBridgeTransactorSession) AdminUnpauseTransfers ¶
func (_NFTBridge *NFTBridgeTransactorSession) AdminUnpauseTransfers() (*types.Transaction, error)
AdminUnpauseTransfers is a paid mutator transaction binding the contract method 0xffaac0eb.
Solidity: function adminUnpauseTransfers() returns()
func (*NFTBridgeTransactorSession) AdminWithdraw ¶
func (_NFTBridge *NFTBridgeTransactorSession) AdminWithdraw(currency string, recipient common.Address, tkt [32]byte) (*types.Transaction, error)
AdminWithdraw is a paid mutator transaction binding the contract method 0x51abc947.
Solidity: function adminWithdraw(string currency, address recipient, bytes32 tkt) returns()
func (*NFTBridgeTransactorSession) CancelProposal ¶
func (_NFTBridge *NFTBridgeTransactorSession) CancelProposal(chainID uint8, depositNonce uint64, dataHash [32]byte) (*types.Transaction, error)
CancelProposal is a paid mutator transaction binding the contract method 0x17f03ce5.
Solidity: function cancelProposal(uint8 chainID, uint64 depositNonce, bytes32 dataHash) returns()
func (*NFTBridgeTransactorSession) DepositNFT ¶
func (_NFTBridge *NFTBridgeTransactorSession) DepositNFT(destinationChainID uint8, resourceID [32]byte, recipient []byte) (*types.Transaction, error)
DepositNFT is a paid mutator transaction binding the contract method 0x850efd99.
Solidity: function depositNFT(uint8 destinationChainID, bytes32 resourceID, bytes recipient) payable returns()
func (*NFTBridgeTransactorSession) ExecuteProposal ¶
func (_NFTBridge *NFTBridgeTransactorSession) ExecuteProposal(originChainID uint8, depositNonce uint64, resourceID [32]byte, recipient common.Address, tokenId *big.Int, metaData []byte) (*types.Transaction, error)
ExecuteProposal is a paid mutator transaction binding the contract method 0xdbcf3f04.
Solidity: function executeProposal(uint8 originChainID, uint64 depositNonce, bytes32 resourceID, address recipient, uint256 tokenId, bytes metaData) returns()
func (*NFTBridgeTransactorSession) TransferOwnership ¶
func (_NFTBridge *NFTBridgeTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*NFTBridgeTransactorSession) VoteProposal ¶
func (_NFTBridge *NFTBridgeTransactorSession) VoteProposal(chainID uint8, depositNonce uint64, resourceID [32]byte, dataHash [32]byte) (*types.Transaction, error)
VoteProposal is a paid mutator transaction binding the contract method 0x1ff013f1.
Solidity: function voteProposal(uint8 chainID, uint64 depositNonce, bytes32 resourceID, bytes32 dataHash) returns()
type NFTBridgeUnpaused ¶
type NFTBridgeUnpaused struct { Account common.ContractAddress Raw types.Log // Blockchain specific contextual infos }
NFTBridgeUnpaused represents a Unpaused event raised by the NFTBridge contract.
type NFTBridgeUnpausedIterator ¶
type NFTBridgeUnpausedIterator struct { Event *NFTBridgeUnpaused // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NFTBridgeUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the NFTBridge contract.
func (*NFTBridgeUnpausedIterator) Close ¶
func (it *NFTBridgeUnpausedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NFTBridgeUnpausedIterator) Error ¶
func (it *NFTBridgeUnpausedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NFTBridgeUnpausedIterator) Next ¶
func (it *NFTBridgeUnpausedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.