Documentation
¶
Index ¶
- Variables
- type CrosschainTest
- type CrosschainTestCaller
- func (_CrosschainTest *CrosschainTestCaller) BRIDGEFEEADDRESS(opts *bind.CallOpts) (common.Address, error)
- func (_CrosschainTest *CrosschainTestCaller) BridgeCoinAmount(opts *bind.CallOpts, _token common.Address, _target [32]byte) (*big.Int, error)
- func (_CrosschainTest *CrosschainTestCaller) CROSSCHAINADDRESS(opts *bind.CallOpts) (common.Address, error)
- func (_CrosschainTest *CrosschainTestCaller) GetERC20Token(opts *bind.CallOpts, _denom [32]byte) (struct{ ... }, error)
- func (_CrosschainTest *CrosschainTestCaller) HasOracle(opts *bind.CallOpts, _chain [32]byte, _externalAddress common.Address) (bool, error)
- func (_CrosschainTest *CrosschainTestCaller) IsOracleOnline(opts *bind.CallOpts, _chain [32]byte, _externalAddress common.Address) (bool, error)
- type CrosschainTestCallerRaw
- type CrosschainTestCallerSession
- func (_CrosschainTest *CrosschainTestCallerSession) BRIDGEFEEADDRESS() (common.Address, error)
- func (_CrosschainTest *CrosschainTestCallerSession) BridgeCoinAmount(_token common.Address, _target [32]byte) (*big.Int, error)
- func (_CrosschainTest *CrosschainTestCallerSession) CROSSCHAINADDRESS() (common.Address, error)
- func (_CrosschainTest *CrosschainTestCallerSession) GetERC20Token(_denom [32]byte) (struct{ ... }, error)
- func (_CrosschainTest *CrosschainTestCallerSession) HasOracle(_chain [32]byte, _externalAddress common.Address) (bool, error)
- func (_CrosschainTest *CrosschainTestCallerSession) IsOracleOnline(_chain [32]byte, _externalAddress common.Address) (bool, error)
- type CrosschainTestFilterer
- type CrosschainTestRaw
- func (_CrosschainTest *CrosschainTestRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_CrosschainTest *CrosschainTestRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_CrosschainTest *CrosschainTestRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type CrosschainTestSession
- func (_CrosschainTest *CrosschainTestSession) BRIDGEFEEADDRESS() (common.Address, error)
- func (_CrosschainTest *CrosschainTestSession) BridgeCall(_dstChain string, _receiver common.Address, _tokens []common.Address, ...) (*types.Transaction, error)
- func (_CrosschainTest *CrosschainTestSession) BridgeCoinAmount(_token common.Address, _target [32]byte) (*big.Int, error)
- func (_CrosschainTest *CrosschainTestSession) CROSSCHAINADDRESS() (common.Address, error)
- func (_CrosschainTest *CrosschainTestSession) CrossChain(_token common.Address, _receipt string, _amount *big.Int, _fee *big.Int, ...) (*types.Transaction, error)
- func (_CrosschainTest *CrosschainTestSession) ExecuteClaim(_chain string, _eventNonce *big.Int) (*types.Transaction, error)
- func (_CrosschainTest *CrosschainTestSession) GetERC20Token(_denom [32]byte) (struct{ ... }, error)
- func (_CrosschainTest *CrosschainTestSession) HasOracle(_chain [32]byte, _externalAddress common.Address) (bool, error)
- func (_CrosschainTest *CrosschainTestSession) IsOracleOnline(_chain [32]byte, _externalAddress common.Address) (bool, error)
- type CrosschainTestTransactor
- func (_CrosschainTest *CrosschainTestTransactor) BridgeCall(opts *bind.TransactOpts, _dstChain string, _receiver common.Address, ...) (*types.Transaction, error)
- func (_CrosschainTest *CrosschainTestTransactor) CrossChain(opts *bind.TransactOpts, _token common.Address, _receipt string, ...) (*types.Transaction, error)
- func (_CrosschainTest *CrosschainTestTransactor) ExecuteClaim(opts *bind.TransactOpts, _chain string, _eventNonce *big.Int) (*types.Transaction, error)
- type CrosschainTestTransactorRaw
- type CrosschainTestTransactorSession
- func (_CrosschainTest *CrosschainTestTransactorSession) BridgeCall(_dstChain string, _receiver common.Address, _tokens []common.Address, ...) (*types.Transaction, error)
- func (_CrosschainTest *CrosschainTestTransactorSession) CrossChain(_token common.Address, _receipt string, _amount *big.Int, _fee *big.Int, ...) (*types.Transaction, error)
- func (_CrosschainTest *CrosschainTestTransactorSession) ExecuteClaim(_chain string, _eventNonce *big.Int) (*types.Transaction, error)
- type ERC721TokenTest
- type ERC721TokenTestAdminChanged
- type ERC721TokenTestAdminChangedIterator
- type ERC721TokenTestApproval
- type ERC721TokenTestApprovalForAll
- type ERC721TokenTestApprovalForAllIterator
- type ERC721TokenTestApprovalIterator
- type ERC721TokenTestBatchMetadataUpdate
- type ERC721TokenTestBatchMetadataUpdateIterator
- type ERC721TokenTestBeaconUpgraded
- type ERC721TokenTestBeaconUpgradedIterator
- type ERC721TokenTestCaller
- func (_ERC721TokenTest *ERC721TokenTestCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
- func (_ERC721TokenTest *ERC721TokenTestCaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
- func (_ERC721TokenTest *ERC721TokenTestCaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error)
- func (_ERC721TokenTest *ERC721TokenTestCaller) Name(opts *bind.CallOpts) (string, error)
- func (_ERC721TokenTest *ERC721TokenTestCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_ERC721TokenTest *ERC721TokenTestCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
- func (_ERC721TokenTest *ERC721TokenTestCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)
- func (_ERC721TokenTest *ERC721TokenTestCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- func (_ERC721TokenTest *ERC721TokenTestCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_ERC721TokenTest *ERC721TokenTestCaller) TokenURI(opts *bind.CallOpts, tokenId *big.Int) (string, error)
- type ERC721TokenTestCallerRaw
- type ERC721TokenTestCallerSession
- func (_ERC721TokenTest *ERC721TokenTestCallerSession) BalanceOf(owner common.Address) (*big.Int, error)
- func (_ERC721TokenTest *ERC721TokenTestCallerSession) GetApproved(tokenId *big.Int) (common.Address, error)
- func (_ERC721TokenTest *ERC721TokenTestCallerSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
- func (_ERC721TokenTest *ERC721TokenTestCallerSession) Name() (string, error)
- func (_ERC721TokenTest *ERC721TokenTestCallerSession) Owner() (common.Address, error)
- func (_ERC721TokenTest *ERC721TokenTestCallerSession) OwnerOf(tokenId *big.Int) (common.Address, error)
- func (_ERC721TokenTest *ERC721TokenTestCallerSession) ProxiableUUID() ([32]byte, error)
- func (_ERC721TokenTest *ERC721TokenTestCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_ERC721TokenTest *ERC721TokenTestCallerSession) Symbol() (string, error)
- func (_ERC721TokenTest *ERC721TokenTestCallerSession) TokenURI(tokenId *big.Int) (string, error)
- type ERC721TokenTestFilterer
- func (_ERC721TokenTest *ERC721TokenTestFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*ERC721TokenTestAdminChangedIterator, error)
- func (_ERC721TokenTest *ERC721TokenTestFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, ...) (*ERC721TokenTestApprovalIterator, error)
- func (_ERC721TokenTest *ERC721TokenTestFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*ERC721TokenTestApprovalForAllIterator, error)
- func (_ERC721TokenTest *ERC721TokenTestFilterer) FilterBatchMetadataUpdate(opts *bind.FilterOpts) (*ERC721TokenTestBatchMetadataUpdateIterator, error)
- func (_ERC721TokenTest *ERC721TokenTestFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*ERC721TokenTestBeaconUpgradedIterator, error)
- func (_ERC721TokenTest *ERC721TokenTestFilterer) FilterInitialized(opts *bind.FilterOpts) (*ERC721TokenTestInitializedIterator, error)
- func (_ERC721TokenTest *ERC721TokenTestFilterer) FilterMetadataUpdate(opts *bind.FilterOpts) (*ERC721TokenTestMetadataUpdateIterator, error)
- func (_ERC721TokenTest *ERC721TokenTestFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*ERC721TokenTestOwnershipTransferredIterator, error)
- func (_ERC721TokenTest *ERC721TokenTestFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, ...) (*ERC721TokenTestTransferIterator, error)
- func (_ERC721TokenTest *ERC721TokenTestFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*ERC721TokenTestUpgradedIterator, error)
- func (_ERC721TokenTest *ERC721TokenTestFilterer) ParseAdminChanged(log types.Log) (*ERC721TokenTestAdminChanged, error)
- func (_ERC721TokenTest *ERC721TokenTestFilterer) ParseApproval(log types.Log) (*ERC721TokenTestApproval, error)
- func (_ERC721TokenTest *ERC721TokenTestFilterer) ParseApprovalForAll(log types.Log) (*ERC721TokenTestApprovalForAll, error)
- func (_ERC721TokenTest *ERC721TokenTestFilterer) ParseBatchMetadataUpdate(log types.Log) (*ERC721TokenTestBatchMetadataUpdate, error)
- func (_ERC721TokenTest *ERC721TokenTestFilterer) ParseBeaconUpgraded(log types.Log) (*ERC721TokenTestBeaconUpgraded, error)
- func (_ERC721TokenTest *ERC721TokenTestFilterer) ParseInitialized(log types.Log) (*ERC721TokenTestInitialized, error)
- func (_ERC721TokenTest *ERC721TokenTestFilterer) ParseMetadataUpdate(log types.Log) (*ERC721TokenTestMetadataUpdate, error)
- func (_ERC721TokenTest *ERC721TokenTestFilterer) ParseOwnershipTransferred(log types.Log) (*ERC721TokenTestOwnershipTransferred, error)
- func (_ERC721TokenTest *ERC721TokenTestFilterer) ParseTransfer(log types.Log) (*ERC721TokenTestTransfer, error)
- func (_ERC721TokenTest *ERC721TokenTestFilterer) ParseUpgraded(log types.Log) (*ERC721TokenTestUpgraded, error)
- func (_ERC721TokenTest *ERC721TokenTestFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *ERC721TokenTestAdminChanged) (event.Subscription, error)
- func (_ERC721TokenTest *ERC721TokenTestFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC721TokenTestApproval, ...) (event.Subscription, error)
- func (_ERC721TokenTest *ERC721TokenTestFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ERC721TokenTestApprovalForAll, ...) (event.Subscription, error)
- func (_ERC721TokenTest *ERC721TokenTestFilterer) WatchBatchMetadataUpdate(opts *bind.WatchOpts, sink chan<- *ERC721TokenTestBatchMetadataUpdate) (event.Subscription, error)
- func (_ERC721TokenTest *ERC721TokenTestFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *ERC721TokenTestBeaconUpgraded, ...) (event.Subscription, error)
- func (_ERC721TokenTest *ERC721TokenTestFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ERC721TokenTestInitialized) (event.Subscription, error)
- func (_ERC721TokenTest *ERC721TokenTestFilterer) WatchMetadataUpdate(opts *bind.WatchOpts, sink chan<- *ERC721TokenTestMetadataUpdate) (event.Subscription, error)
- func (_ERC721TokenTest *ERC721TokenTestFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ERC721TokenTestOwnershipTransferred, ...) (event.Subscription, error)
- func (_ERC721TokenTest *ERC721TokenTestFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC721TokenTestTransfer, ...) (event.Subscription, error)
- func (_ERC721TokenTest *ERC721TokenTestFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *ERC721TokenTestUpgraded, ...) (event.Subscription, error)
- type ERC721TokenTestInitialized
- type ERC721TokenTestInitializedIterator
- type ERC721TokenTestMetadataUpdate
- type ERC721TokenTestMetadataUpdateIterator
- type ERC721TokenTestOwnershipTransferred
- type ERC721TokenTestOwnershipTransferredIterator
- type ERC721TokenTestRaw
- func (_ERC721TokenTest *ERC721TokenTestRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ERC721TokenTest *ERC721TokenTestRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ERC721TokenTest *ERC721TokenTestRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ERC721TokenTestSession
- func (_ERC721TokenTest *ERC721TokenTestSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_ERC721TokenTest *ERC721TokenTestSession) BalanceOf(owner common.Address) (*big.Int, error)
- func (_ERC721TokenTest *ERC721TokenTestSession) GetApproved(tokenId *big.Int) (common.Address, error)
- func (_ERC721TokenTest *ERC721TokenTestSession) Initialize() (*types.Transaction, error)
- func (_ERC721TokenTest *ERC721TokenTestSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
- func (_ERC721TokenTest *ERC721TokenTestSession) Name() (string, error)
- func (_ERC721TokenTest *ERC721TokenTestSession) Owner() (common.Address, error)
- func (_ERC721TokenTest *ERC721TokenTestSession) OwnerOf(tokenId *big.Int) (common.Address, error)
- func (_ERC721TokenTest *ERC721TokenTestSession) ProxiableUUID() ([32]byte, error)
- func (_ERC721TokenTest *ERC721TokenTestSession) RenounceOwnership() (*types.Transaction, error)
- func (_ERC721TokenTest *ERC721TokenTestSession) SafeMint(to common.Address, uri string) (*types.Transaction, error)
- func (_ERC721TokenTest *ERC721TokenTestSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_ERC721TokenTest *ERC721TokenTestSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)
- func (_ERC721TokenTest *ERC721TokenTestSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
- func (_ERC721TokenTest *ERC721TokenTestSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_ERC721TokenTest *ERC721TokenTestSession) Symbol() (string, error)
- func (_ERC721TokenTest *ERC721TokenTestSession) TokenURI(tokenId *big.Int) (string, error)
- func (_ERC721TokenTest *ERC721TokenTestSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_ERC721TokenTest *ERC721TokenTestSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_ERC721TokenTest *ERC721TokenTestSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_ERC721TokenTest *ERC721TokenTestSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- type ERC721TokenTestTransactor
- func (_ERC721TokenTest *ERC721TokenTestTransactor) Approve(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_ERC721TokenTest *ERC721TokenTestTransactor) Initialize(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_ERC721TokenTest *ERC721TokenTestTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_ERC721TokenTest *ERC721TokenTestTransactor) SafeMint(opts *bind.TransactOpts, to common.Address, uri string) (*types.Transaction, error)
- func (_ERC721TokenTest *ERC721TokenTestTransactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_ERC721TokenTest *ERC721TokenTestTransactor) SafeTransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_ERC721TokenTest *ERC721TokenTestTransactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, approved bool) (*types.Transaction, error)
- func (_ERC721TokenTest *ERC721TokenTestTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_ERC721TokenTest *ERC721TokenTestTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_ERC721TokenTest *ERC721TokenTestTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)
- func (_ERC721TokenTest *ERC721TokenTestTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)
- type ERC721TokenTestTransactorRaw
- type ERC721TokenTestTransactorSession
- func (_ERC721TokenTest *ERC721TokenTestTransactorSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_ERC721TokenTest *ERC721TokenTestTransactorSession) Initialize() (*types.Transaction, error)
- func (_ERC721TokenTest *ERC721TokenTestTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_ERC721TokenTest *ERC721TokenTestTransactorSession) SafeMint(to common.Address, uri string) (*types.Transaction, error)
- func (_ERC721TokenTest *ERC721TokenTestTransactorSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_ERC721TokenTest *ERC721TokenTestTransactorSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)
- func (_ERC721TokenTest *ERC721TokenTestTransactorSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
- func (_ERC721TokenTest *ERC721TokenTestTransactorSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_ERC721TokenTest *ERC721TokenTestTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_ERC721TokenTest *ERC721TokenTestTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_ERC721TokenTest *ERC721TokenTestTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- type ERC721TokenTestTransfer
- type ERC721TokenTestTransferIterator
- type ERC721TokenTestUpgraded
- type ERC721TokenTestUpgradedIterator
- type StakingTest
- type StakingTestApproveShares
- type StakingTestApproveSharesIterator
- type StakingTestCaller
- func (_StakingTest *StakingTestCaller) AllowanceShares(opts *bind.CallOpts, _val string, _owner common.Address, ...) (*big.Int, error)
- func (_StakingTest *StakingTestCaller) Delegation(opts *bind.CallOpts, _val string, _del common.Address) (*big.Int, *big.Int, error)
- func (_StakingTest *StakingTestCaller) DelegationRewards(opts *bind.CallOpts, _val string, _del common.Address) (*big.Int, error)
- func (_StakingTest *StakingTestCaller) STAKINGADDRESS(opts *bind.CallOpts) (common.Address, error)
- func (_StakingTest *StakingTestCaller) SlashingInfo(opts *bind.CallOpts, _val string) (struct{ ... }, error)
- func (_StakingTest *StakingTestCaller) ValidatorList(opts *bind.CallOpts, _sortBy uint8) ([]string, error)
- func (_StakingTest *StakingTestCaller) ValidatorShares(opts *bind.CallOpts, arg0 string) (*big.Int, error)
- type StakingTestCallerRaw
- type StakingTestCallerSession
- func (_StakingTest *StakingTestCallerSession) AllowanceShares(_val string, _owner common.Address, _spender common.Address) (*big.Int, error)
- func (_StakingTest *StakingTestCallerSession) Delegation(_val string, _del common.Address) (*big.Int, *big.Int, error)
- func (_StakingTest *StakingTestCallerSession) DelegationRewards(_val string, _del common.Address) (*big.Int, error)
- func (_StakingTest *StakingTestCallerSession) STAKINGADDRESS() (common.Address, error)
- func (_StakingTest *StakingTestCallerSession) SlashingInfo(_val string) (struct{ ... }, error)
- func (_StakingTest *StakingTestCallerSession) ValidatorList(_sortBy uint8) ([]string, error)
- func (_StakingTest *StakingTestCallerSession) ValidatorShares(arg0 string) (*big.Int, error)
- type StakingTestDelegateV2
- type StakingTestDelegateV2Iterator
- type StakingTestFilterer
- func (_StakingTest *StakingTestFilterer) FilterApproveShares(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*StakingTestApproveSharesIterator, error)
- func (_StakingTest *StakingTestFilterer) FilterDelegateV2(opts *bind.FilterOpts, delegator []common.Address) (*StakingTestDelegateV2Iterator, error)
- func (_StakingTest *StakingTestFilterer) FilterRedelegateV2(opts *bind.FilterOpts, sender []common.Address) (*StakingTestRedelegateV2Iterator, error)
- func (_StakingTest *StakingTestFilterer) FilterTransferShares(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*StakingTestTransferSharesIterator, error)
- func (_StakingTest *StakingTestFilterer) FilterUndelegateV2(opts *bind.FilterOpts, sender []common.Address) (*StakingTestUndelegateV2Iterator, error)
- func (_StakingTest *StakingTestFilterer) FilterWithdraw(opts *bind.FilterOpts, sender []common.Address) (*StakingTestWithdrawIterator, error)
- func (_StakingTest *StakingTestFilterer) ParseApproveShares(log types.Log) (*StakingTestApproveShares, error)
- func (_StakingTest *StakingTestFilterer) ParseDelegateV2(log types.Log) (*StakingTestDelegateV2, error)
- func (_StakingTest *StakingTestFilterer) ParseRedelegateV2(log types.Log) (*StakingTestRedelegateV2, error)
- func (_StakingTest *StakingTestFilterer) ParseTransferShares(log types.Log) (*StakingTestTransferShares, error)
- func (_StakingTest *StakingTestFilterer) ParseUndelegateV2(log types.Log) (*StakingTestUndelegateV2, error)
- func (_StakingTest *StakingTestFilterer) ParseWithdraw(log types.Log) (*StakingTestWithdraw, error)
- func (_StakingTest *StakingTestFilterer) WatchApproveShares(opts *bind.WatchOpts, sink chan<- *StakingTestApproveShares, ...) (event.Subscription, error)
- func (_StakingTest *StakingTestFilterer) WatchDelegateV2(opts *bind.WatchOpts, sink chan<- *StakingTestDelegateV2, ...) (event.Subscription, error)
- func (_StakingTest *StakingTestFilterer) WatchRedelegateV2(opts *bind.WatchOpts, sink chan<- *StakingTestRedelegateV2, ...) (event.Subscription, error)
- func (_StakingTest *StakingTestFilterer) WatchTransferShares(opts *bind.WatchOpts, sink chan<- *StakingTestTransferShares, ...) (event.Subscription, error)
- func (_StakingTest *StakingTestFilterer) WatchUndelegateV2(opts *bind.WatchOpts, sink chan<- *StakingTestUndelegateV2, ...) (event.Subscription, error)
- func (_StakingTest *StakingTestFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *StakingTestWithdraw, ...) (event.Subscription, error)
- type StakingTestRaw
- func (_StakingTest *StakingTestRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_StakingTest *StakingTestRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_StakingTest *StakingTestRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type StakingTestRedelegateV2
- type StakingTestRedelegateV2Iterator
- type StakingTestSession
- func (_StakingTest *StakingTestSession) AllowanceShares(_val string, _owner common.Address, _spender common.Address) (*big.Int, error)
- func (_StakingTest *StakingTestSession) ApproveShares(_val string, _spender common.Address, _shares *big.Int) (*types.Transaction, error)
- func (_StakingTest *StakingTestSession) DelegateV2(_val string, _amount *big.Int) (*types.Transaction, error)
- func (_StakingTest *StakingTestSession) Delegation(_val string, _del common.Address) (*big.Int, *big.Int, error)
- func (_StakingTest *StakingTestSession) DelegationRewards(_val string, _del common.Address) (*big.Int, error)
- func (_StakingTest *StakingTestSession) RedelegateV2(_valSrc string, _valDst string, _amount *big.Int) (*types.Transaction, error)
- func (_StakingTest *StakingTestSession) STAKINGADDRESS() (common.Address, error)
- func (_StakingTest *StakingTestSession) SlashingInfo(_val string) (struct{ ... }, error)
- func (_StakingTest *StakingTestSession) TransferFromShares(_val string, _from common.Address, _to common.Address, _shares *big.Int) (*types.Transaction, error)
- func (_StakingTest *StakingTestSession) TransferShares(_val string, _to common.Address, _shares *big.Int) (*types.Transaction, error)
- func (_StakingTest *StakingTestSession) UndelegateV2(_val string, _amount *big.Int) (*types.Transaction, error)
- func (_StakingTest *StakingTestSession) ValidatorList(_sortBy uint8) ([]string, error)
- func (_StakingTest *StakingTestSession) ValidatorShares(arg0 string) (*big.Int, error)
- func (_StakingTest *StakingTestSession) Withdraw(_val string) (*types.Transaction, error)
- type StakingTestTransactor
- func (_StakingTest *StakingTestTransactor) ApproveShares(opts *bind.TransactOpts, _val string, _spender common.Address, ...) (*types.Transaction, error)
- func (_StakingTest *StakingTestTransactor) DelegateV2(opts *bind.TransactOpts, _val string, _amount *big.Int) (*types.Transaction, error)
- func (_StakingTest *StakingTestTransactor) RedelegateV2(opts *bind.TransactOpts, _valSrc string, _valDst string, _amount *big.Int) (*types.Transaction, error)
- func (_StakingTest *StakingTestTransactor) TransferFromShares(opts *bind.TransactOpts, _val string, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- func (_StakingTest *StakingTestTransactor) TransferShares(opts *bind.TransactOpts, _val string, _to common.Address, _shares *big.Int) (*types.Transaction, error)
- func (_StakingTest *StakingTestTransactor) UndelegateV2(opts *bind.TransactOpts, _val string, _amount *big.Int) (*types.Transaction, error)
- func (_StakingTest *StakingTestTransactor) Withdraw(opts *bind.TransactOpts, _val string) (*types.Transaction, error)
- type StakingTestTransactorRaw
- type StakingTestTransactorSession
- func (_StakingTest *StakingTestTransactorSession) ApproveShares(_val string, _spender common.Address, _shares *big.Int) (*types.Transaction, error)
- func (_StakingTest *StakingTestTransactorSession) DelegateV2(_val string, _amount *big.Int) (*types.Transaction, error)
- func (_StakingTest *StakingTestTransactorSession) RedelegateV2(_valSrc string, _valDst string, _amount *big.Int) (*types.Transaction, error)
- func (_StakingTest *StakingTestTransactorSession) TransferFromShares(_val string, _from common.Address, _to common.Address, _shares *big.Int) (*types.Transaction, error)
- func (_StakingTest *StakingTestTransactorSession) TransferShares(_val string, _to common.Address, _shares *big.Int) (*types.Transaction, error)
- func (_StakingTest *StakingTestTransactorSession) UndelegateV2(_val string, _amount *big.Int) (*types.Transaction, error)
- func (_StakingTest *StakingTestTransactorSession) Withdraw(_val string) (*types.Transaction, error)
- type StakingTestTransferShares
- type StakingTestTransferSharesIterator
- type StakingTestUndelegateV2
- type StakingTestUndelegateV2Iterator
- type StakingTestWithdraw
- type StakingTestWithdrawIterator
Constants ¶
This section is empty.
Variables ¶
var CrosschainTestABI = CrosschainTestMetaData.ABI
CrosschainTestABI is the input ABI used to generate the binding from. Deprecated: Use CrosschainTestMetaData.ABI instead.
var CrosschainTestBin = CrosschainTestMetaData.Bin
CrosschainTestBin is the compiled bytecode used for deploying new contracts. Deprecated: Use CrosschainTestMetaData.Bin instead.
var CrosschainTestMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"name\":\"BRIDGE_FEE_ADDRESS\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"CROSS_CHAIN_ADDRESS\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_dstChain\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_receiver\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"_tokens\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"_quoteId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_gasLimit\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_memo\",\"type\":\"bytes\"}],\"name\":\"bridgeCall\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_target\",\"type\":\"bytes32\"}],\"name\":\"bridgeCoinAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_receipt\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_fee\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"_target\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"_memo\",\"type\":\"string\"}],\"name\":\"crossChain\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_chain\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_eventNonce\",\"type\":\"uint256\"}],\"name\":\"executeClaim\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_result\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_denom\",\"type\":\"bytes32\"}],\"name\":\"getERC20Token\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_enable\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_chain\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_externalAddress\",\"type\":\"address\"}],\"name\":\"hasOracle\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_result\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_chain\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_externalAddress\",\"type\":\"address\"}],\"name\":\"isOracleOnline\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_result\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
Bin: "0x608060405234801561001057600080fd5b506111e0806100206000396000f3fe6080604052600436106100865760003560e01c8063c863cee511610059578063c863cee514610121578063d5147e6d1461014f578063e6d69ede1461016f578063e8e1f20514610182578063f7356475146101c157600080fd5b8063160d7c731461008b5780634ac3bdc3146100b35780638fefb765146100d3578063a5df387514610101575b600080fd5b61009e610099366004610b05565b6101d7565b60405190151581526020015b60405180910390f35b3480156100bf57600080fd5b5061009e6100ce366004610b97565b6103e9565b3480156100df57600080fd5b506100f36100ee366004610bdc565b61045d565b6040519081526020016100aa565b34801561010d57600080fd5b5061009e61011c366004610c08565b6104d1565b34801561012d57600080fd5b5061013761100581565b6040516001600160a01b0390911681526020016100aa565b34801561015b57600080fd5b5061009e61016a366004610c08565b610522565b6100f361017d366004610d2b565b61055a565b34801561018e57600080fd5b506101a261019d366004610e32565b6109b7565b604080516001600160a01b0390931683529015156020830152016100aa565b3480156101cd57600080fd5b5061013761100481565b60006001600160a01b0387161561030d576001600160a01b0387166323b872dd3330610203888a610e61565b6040516001600160e01b031960e086901b1681526001600160a01b03938416600482015292909116602483015260448201526064016020604051808303816000875af1158015610257573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061027b9190610e89565b506001600160a01b03871663095ea7b36110046102988789610e61565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af11580156102e3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103079190610e89565b5061036a565b6103178486610e61565b341461036a5760405162461bcd60e51b815260206004820181905260248201527f6d73672e76616c7565206e6f7420657175616c20616d6f756e74202b2066656560448201526064015b60405180910390fd5b60405163160d7c7360e01b81526110049063160d7c7390349061039b908b908b908b908b908b908b90600401610ef1565b60206040518083038185885af11580156103b9573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906103de9190610e89565b979650505050505050565b604051634ac3bdc360e01b815260009061100490634ac3bdc3906104139086908690600401610f46565b6020604051808303816000875af1158015610432573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104569190610e89565b9392505050565b604051638fefb76560e01b81526001600160a01b03831660048201526024810182905260009061100490638fefb76590604401602060405180830381865afa1580156104ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104569190610f68565b60405163a5df387560e01b8152600481018390526001600160a01b03821660248201526000906110049063a5df3875906044015b602060405180830381865afa158015610432573d6000803e3d6000fd5b60405163d5147e6d60e01b8152600481018390526001600160a01b03821660248201526000906110049063d5147e6d90604401610505565b600086518851146105b75760405162461bcd60e51b815260206004820152602160248201527f746f6b656e20616e6420616d6f756e74206c656e677468206e6f7420657175616044820152601b60fa1b6064820152608401610361565b60005b885181101561074f578881815181106105d5576105d5610f81565b60200260200101516001600160a01b03166323b872dd33308b85815181106105ff576105ff610f81565b60209081029190910101516040516001600160e01b031960e086901b1681526001600160a01b03938416600482015292909116602483015260448201526064016020604051808303816000875af115801561065e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106829190610e89565b5088818151811061069557610695610f81565b60200260200101516001600160a01b031663095ea7b36110048a84815181106106c0576106c0610f81565b60200260200101516040518363ffffffff1660e01b81526004016106f99291906001600160a01b03929092168252602082015260400190565b6020604051808303816000875af1158015610718573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061073c9190610e89565b508061074781610f97565b9150506105ba565b5060405163a8541c1760e01b8152600481018590526000906110059063a8541c179060240160e060405180830381865afa158015610791573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107b59190610fca565b60408101519091503490676170756e6469616960c01b141561083257816080015134101561081c5760405162461bcd60e51b81526020600482015260146024820152730dae6ce5cecc2d8eaca40dcdee840cadcdeeaced60631b6044820152606401610361565b608082015161082b9082611062565b9050610925565b604080830151905163e8e1f20560e01b81526000916110049163e8e1f205916108619160040190815260200190565b6040805180830381865afa15801561087d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a19190611079565b5060808401516040516323b872dd60e01b815233600482015230602482015260448101919091529091506001600160a01b038216906323b872dd906064016020604051808303816000875af11580156108fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109229190610e89565b50505b6110046001600160a01b031663e6d69ede828e8e8e8e8e8e8e8e8e6040518b63ffffffff1660e01b8152600401610964999897969594939291906110e9565b60206040518083038185885af1158015610982573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906109a79190610f68565b9c9b505050505050505050505050565b60405163e8e1f20560e01b81526004810182905260009081906110049063e8e1f205906024016040805180830381865afa1580156109f9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a1d9190611079565b91509150915091565b6001600160a01b0381168114610a3b57600080fd5b50565b8035610a4981610a26565b919050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610a8d57610a8d610a4e565b604052919050565b600082601f830112610aa657600080fd5b813567ffffffffffffffff811115610ac057610ac0610a4e565b610ad3601f8201601f1916602001610a64565b818152846020838601011115610ae857600080fd5b816020850160208301376000918101602001919091529392505050565b60008060008060008060c08789031215610b1e57600080fd5b8635610b2981610a26565b9550602087013567ffffffffffffffff80821115610b4657600080fd5b610b528a838b01610a95565b965060408901359550606089013594506080890135935060a0890135915080821115610b7d57600080fd5b50610b8a89828a01610a95565b9150509295509295509295565b60008060408385031215610baa57600080fd5b823567ffffffffffffffff811115610bc157600080fd5b610bcd85828601610a95565b95602094909401359450505050565b60008060408385031215610bef57600080fd5b8235610bfa81610a26565b946020939093013593505050565b60008060408385031215610c1b57600080fd5b823591506020830135610c2d81610a26565b809150509250929050565b600067ffffffffffffffff821115610c5257610c52610a4e565b5060051b60200190565b600082601f830112610c6d57600080fd5b81356020610c82610c7d83610c38565b610a64565b82815260059290921b84018101918181019086841115610ca157600080fd5b8286015b84811015610cc5578035610cb881610a26565b8352918301918301610ca5565b509695505050505050565b600082601f830112610ce157600080fd5b81356020610cf1610c7d83610c38565b82815260059290921b84018101918181019086841115610d1057600080fd5b8286015b84811015610cc55780358352918301918301610d14565b60008060008060008060008060006101208a8c031215610d4a57600080fd5b893567ffffffffffffffff80821115610d6257600080fd5b610d6e8d838e01610a95565b9a50610d7c60208d01610a3e565b995060408c0135915080821115610d9257600080fd5b610d9e8d838e01610c5c565b985060608c0135915080821115610db457600080fd5b610dc08d838e01610cd0565b9750610dce60808d01610a3e565b965060a08c0135915080821115610de457600080fd5b610df08d838e01610a95565b955060c08c0135945060e08c013593506101008c0135915080821115610e1557600080fd5b50610e228c828d01610a95565b9150509295985092959850929598565b600060208284031215610e4457600080fd5b5035919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115610e7457610e74610e4b565b500190565b80518015158114610a4957600080fd5b600060208284031215610e9b57600080fd5b61045682610e79565b6000815180845260005b81811015610eca57602081850181015186830182015201610eae565b81811115610edc576000602083870101525b50601f01601f19169290920160200192915050565b6001600160a01b038716815260c060208201819052600090610f1590830188610ea4565b86604084015285606084015284608084015282810360a0840152610f398185610ea4565b9998505050505050505050565b604081526000610f596040830185610ea4565b90508260208301529392505050565b600060208284031215610f7a57600080fd5b5051919050565b634e487b7160e01b600052603260045260246000fd5b6000600019821415610fab57610fab610e4b565b5060010190565b805167ffffffffffffffff81168114610a4957600080fd5b600060e08284031215610fdc57600080fd5b60405160e0810181811067ffffffffffffffff82111715610fff57610fff610a4e565b8060405250825181526020830151602082015260408301516040820152606083015161102a81610a26565b60608201526080838101519082015261104560a08401610fb2565b60a082015261105660c08401610fb2565b60c08201529392505050565b60008282101561107457611074610e4b565b500390565b6000806040838503121561108c57600080fd5b825161109781610a26565b91506110a560208401610e79565b90509250929050565b600081518084526020808501945080840160005b838110156110de578151875295820195908201906001016110c2565b509495945050505050565b60006101208083526110fd8184018d610ea4565b6001600160a01b038c811660208681019190915285830360408701528c518084528d82019450909283019060005b8181101561114957855184168352948401949184019160010161112b565b5050858103606087015261115d818d6110ae565b935050505061117760808401896001600160a01b03169052565b82810360a08401526111898188610ea4565b90508560c08401528460e08401528281036101008401526109a78185610ea456fea2646970667358221220270564294290823af031a0023c1cb749df0f4188f466cb8d35b8b5cc33a6114664736f6c634300080a0033",
}
CrosschainTestMetaData contains all meta data concerning the CrosschainTest contract.
var ERC721TokenTestABI = ERC721TokenTestMetaData.ABI
ERC721TokenTestABI is the input ABI used to generate the binding from. Deprecated: Use ERC721TokenTestMetaData.ABI instead.
var ERC721TokenTestBin = ERC721TokenTestMetaData.Bin
ERC721TokenTestBin is the compiled bytecode used for deploying new contracts. Deprecated: Use ERC721TokenTestMetaData.Bin instead.
var ERC721TokenTestMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousAdmin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_fromTokenId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_toTokenId\",\"type\":\"uint256\"}],\"name\":\"BatchMetadataUpdate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"beacon\",\"type\":\"address\"}],\"name\":\"BeaconUpgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"MetadataUpdate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proxiableUUID\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"uri\",\"type\":\"string\"}],\"name\":\"safeMint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"}],\"name\":\"upgradeTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"upgradeToAndCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}]",
Bin: "0x60a06040523060805234801561001457600080fd5b5061001d610022565b6100e1565b600054610100900460ff161561008e5760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60005460ff908116146100df576000805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b608051612398620001196000396000818161061d0152818161065d015281816107180152818161075801526107eb01526123986000f3fe60806040526004361061012a5760003560e01c806370a08231116100ab578063a22cb4651161006f578063a22cb46514610313578063b88d4fde14610333578063c87b56dd14610353578063d204c45e14610373578063e985e9c514610393578063f2fde38b146103dc57600080fd5b806370a0823114610296578063715018a6146102b65780638129fc1c146102cb5780638da5cb5b146102e057806395d89b41146102fe57600080fd5b80633659cfe6116100f25780633659cfe61461020057806342842e0e146102205780634f1ef2861461024057806352d1902d146102535780636352211e1461027657600080fd5b806301ffc9a71461012f57806306fdde0314610164578063081812fc14610186578063095ea7b3146101be57806323b872dd146101e0575b600080fd5b34801561013b57600080fd5b5061014f61014a366004611cfe565b6103fc565b60405190151581526020015b60405180910390f35b34801561017057600080fd5b5061017961040d565b60405161015b9190611d73565b34801561019257600080fd5b506101a66101a1366004611d86565b61049f565b6040516001600160a01b03909116815260200161015b565b3480156101ca57600080fd5b506101de6101d9366004611dbb565b6104c6565b005b3480156101ec57600080fd5b506101de6101fb366004611de5565b6105e1565b34801561020c57600080fd5b506101de61021b366004611e21565b610612565b34801561022c57600080fd5b506101de61023b366004611de5565b6106f2565b6101de61024e366004611ee8565b61070d565b34801561025f57600080fd5b506102686107de565b60405190815260200161015b565b34801561028257600080fd5b506101a6610291366004611d86565b610891565b3480156102a257600080fd5b506102686102b1366004611e21565b6108f1565b3480156102c257600080fd5b506101de610977565b3480156102d757600080fd5b506101de61098b565b3480156102ec57600080fd5b5060c9546001600160a01b03166101a6565b34801561030a57600080fd5b50610179610af7565b34801561031f57600080fd5b506101de61032e366004611f36565b610b06565b34801561033f57600080fd5b506101de61034e366004611f72565b610b11565b34801561035f57600080fd5b5061017961036e366004611d86565b610b49565b34801561037f57600080fd5b506101de61038e366004611fda565b610b54565b34801561039f57600080fd5b5061014f6103ae366004612032565b6001600160a01b039182166000908152606a6020908152604080832093909416825291909152205460ff1690565b3480156103e857600080fd5b506101de6103f7366004611e21565b610b8d565b600061040782610c03565b92915050565b60606065805461041c90612065565b80601f016020809104026020016040519081016040528092919081815260200182805461044890612065565b80156104955780601f1061046a57610100808354040283529160200191610495565b820191906000526020600020905b81548152906001019060200180831161047857829003601f168201915b5050505050905090565b60006104aa82610c28565b506000908152606960205260409020546001600160a01b031690565b60006104d182610891565b9050806001600160a01b0316836001600160a01b031614156105445760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b0382161480610560575061056081336103ae565b6105d25760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000606482015260840161053b565b6105dc8383610c87565b505050565b6105eb3382610cf5565b6106075760405162461bcd60e51b815260040161053b906120a0565b6105dc838383610d74565b306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016141561065b5760405162461bcd60e51b815260040161053b906120ed565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166106a460008051602061231c833981519152546001600160a01b031690565b6001600160a01b0316146106ca5760405162461bcd60e51b815260040161053b90612139565b6106d381610ed8565b604080516000808252602082019092526106ef91839190610ee0565b50565b6105dc83838360405180602001604052806000815250610b11565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614156107565760405162461bcd60e51b815260040161053b906120ed565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031661079f60008051602061231c833981519152546001600160a01b031690565b6001600160a01b0316146107c55760405162461bcd60e51b815260040161053b90612139565b6107ce82610ed8565b6107da82826001610ee0565b5050565b6000306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461087e5760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c0000000000000000606482015260840161053b565b5060008051602061231c83398151915290565b6000818152606760205260408120546001600160a01b0316806104075760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161053b565b60006001600160a01b03821661095b5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b606482015260840161053b565b506001600160a01b031660009081526068602052604090205490565b61097f61104b565b61098960006110a5565b565b600054610100900460ff16158080156109ab5750600054600160ff909116105b806109c55750303b1580156109c5575060005460ff166001145b610a285760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161053b565b6000805460ff191660011790558015610a4b576000805461ff0019166101001790555b610a976040518060400160405280600f81526020016e115490cdcc8c551bdad95b95195cdd608a1b8152506040518060400160405280600381526020016215151560ea1b8152506110f7565b610a9f611128565b610aa761114f565b610aaf611128565b80156106ef576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a150565b60606066805461041c90612065565b6107da33838361117e565b610b1b3383610cf5565b610b375760405162461bcd60e51b815260040161053b906120a0565b610b438484848461124d565b50505050565b606061040782611280565b610b5c61104b565b6000610b6861015f5490565b9050610b7961015f80546001019055565b610b8383826113a0565b6105dc81836113ba565b610b9561104b565b6001600160a01b038116610bfa5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161053b565b6106ef816110a5565b60006001600160e01b03198216632483248360e11b148061040757506104078261148c565b6000818152606760205260409020546001600160a01b03166106ef5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161053b565b600081815260696020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610cbc82610891565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080610d0183610891565b9050806001600160a01b0316846001600160a01b03161480610d4857506001600160a01b038082166000908152606a602090815260408083209388168352929052205460ff165b80610d6c5750836001600160a01b0316610d618461049f565b6001600160a01b0316145b949350505050565b826001600160a01b0316610d8782610891565b6001600160a01b031614610dad5760405162461bcd60e51b815260040161053b90612185565b6001600160a01b038216610e0f5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161053b565b826001600160a01b0316610e2282610891565b6001600160a01b031614610e485760405162461bcd60e51b815260040161053b90612185565b600081815260696020908152604080832080546001600160a01b03199081169091556001600160a01b0387811680865260688552838620805460001901905590871680865283862080546001019055868652606790945282852080549092168417909155905184937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6106ef61104b565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff1615610f13576105dc836114dc565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610f6d575060408051601f3d908101601f19168201909252610f6a918101906121ca565b60015b610fd05760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b606482015260840161053b565b60008051602061231c833981519152811461103f5760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b606482015260840161053b565b506105dc838383611578565b60c9546001600160a01b031633146109895760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161053b565b60c980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff1661111e5760405162461bcd60e51b815260040161053b906121e3565b6107da828261159d565b600054610100900460ff166109895760405162461bcd60e51b815260040161053b906121e3565b600054610100900460ff166111765760405162461bcd60e51b815260040161053b906121e3565b6109896115eb565b816001600160a01b0316836001600160a01b031614156111e05760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161053b565b6001600160a01b038381166000818152606a6020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611258848484610d74565b6112648484848461161b565b610b435760405162461bcd60e51b815260040161053b9061222e565b606061128b82610c28565b600082815260976020526040812080546112a490612065565b80601f01602080910402602001604051908101604052809291908181526020018280546112d090612065565b801561131d5780601f106112f25761010080835404028352916020019161131d565b820191906000526020600020905b81548152906001019060200180831161130057829003601f168201915b50505050509050600061135260408051808201909152600f81526e1a5c199cce8bcbdd195cdd0b5d5c9b608a1b602082015290565b9050805160001415611365575092915050565b81511561139757808260405160200161137f929190612280565b60405160208183030381529060405292505050919050565b610d6c84611719565b6107da8282604051806020016040528060008152506117a4565b6000828152606760205260409020546001600160a01b03166114355760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b606482015260840161053b565b6000828152609760209081526040909120825161145492840190611c4f565b506040518281527ff8e1a15aba9398e019f0b49df1a4fde98ee17ae345cb5f6b5e2c27f5033e8ce79060200160405180910390a15050565b60006001600160e01b031982166380ac58cd60e01b14806114bd57506001600160e01b03198216635b5e139f60e01b145b8061040757506301ffc9a760e01b6001600160e01b0319831614610407565b6001600160a01b0381163b6115495760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b606482015260840161053b565b60008051602061231c83398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b611581836117d7565b60008251118061158e5750805b156105dc57610b438383611817565b600054610100900460ff166115c45760405162461bcd60e51b815260040161053b906121e3565b81516115d7906065906020850190611c4f565b5080516105dc906066906020840190611c4f565b600054610100900460ff166116125760405162461bcd60e51b815260040161053b906121e3565b610989336110a5565b60006001600160a01b0384163b1561170e57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061165f9033908990889088906004016122af565b6020604051808303816000875af192505050801561169a575060408051601f3d908101601f19168201909252611697918101906122e2565b60015b6116f4573d8080156116c8576040519150601f19603f3d011682016040523d82523d6000602084013e6116cd565b606091505b5080516116ec5760405162461bcd60e51b815260040161053b9061222e565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610d6c565b506001949350505050565b606061172482610c28565b600061175260408051808201909152600f81526e1a5c199cce8bcbdd195cdd0b5d5c9b608a1b602082015290565b90506000815111611772576040518060200160405280600081525061179d565b8061177c8461183c565b60405160200161178d929190612280565b6040516020818303038152906040525b9392505050565b6117ae83836118d9565b6117bb600084848461161b565b6105dc5760405162461bcd60e51b815260040161053b9061222e565b6117e0816114dc565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b606061179d838360405180606001604052806027815260200161233c60279139611a64565b6060600061184983611adc565b600101905060008167ffffffffffffffff81111561186957611869611e3c565b6040519080825280601f01601f191660200182016040528015611893576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a85049450846118cc576118d1565b61189d565b509392505050565b6001600160a01b03821661192f5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161053b565b6000818152606760205260409020546001600160a01b0316156119945760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161053b565b6000818152606760205260409020546001600160a01b0316156119f95760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161053b565b6001600160a01b038216600081815260686020908152604080832080546001019055848352606790915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6060600080856001600160a01b031685604051611a8191906122ff565b600060405180830381855af49150503d8060008114611abc576040519150601f19603f3d011682016040523d82523d6000602084013e611ac1565b606091505b5091509150611ad286838387611bb4565b9695505050505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611b1b5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611b47576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611b6557662386f26fc10000830492506010015b6305f5e1008310611b7d576305f5e100830492506008015b6127108310611b9157612710830492506004015b60648310611ba3576064830492506002015b600a83106104075760010192915050565b60608315611c20578251611c19576001600160a01b0385163b611c195760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161053b565b5081610d6c565b610d6c8383815115611c355781518083602001fd5b8060405162461bcd60e51b815260040161053b9190611d73565b828054611c5b90612065565b90600052602060002090601f016020900481019282611c7d5760008555611cc3565b82601f10611c9657805160ff1916838001178555611cc3565b82800160010185558215611cc3579182015b82811115611cc3578251825591602001919060010190611ca8565b50611ccf929150611cd3565b5090565b5b80821115611ccf5760008155600101611cd4565b6001600160e01b0319811681146106ef57600080fd5b600060208284031215611d1057600080fd5b813561179d81611ce8565b60005b83811015611d36578181015183820152602001611d1e565b83811115610b435750506000910152565b60008151808452611d5f816020860160208601611d1b565b601f01601f19169290920160200192915050565b60208152600061179d6020830184611d47565b600060208284031215611d9857600080fd5b5035919050565b80356001600160a01b0381168114611db657600080fd5b919050565b60008060408385031215611dce57600080fd5b611dd783611d9f565b946020939093013593505050565b600080600060608486031215611dfa57600080fd5b611e0384611d9f565b9250611e1160208501611d9f565b9150604084013590509250925092565b600060208284031215611e3357600080fd5b61179d82611d9f565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115611e6d57611e6d611e3c565b604051601f8501601f19908116603f01168101908282118183101715611e9557611e95611e3c565b81604052809350858152868686011115611eae57600080fd5b858560208301376000602087830101525050509392505050565b600082601f830112611ed957600080fd5b61179d83833560208501611e52565b60008060408385031215611efb57600080fd5b611f0483611d9f565b9150602083013567ffffffffffffffff811115611f2057600080fd5b611f2c85828601611ec8565b9150509250929050565b60008060408385031215611f4957600080fd5b611f5283611d9f565b915060208301358015158114611f6757600080fd5b809150509250929050565b60008060008060808587031215611f8857600080fd5b611f9185611d9f565b9350611f9f60208601611d9f565b925060408501359150606085013567ffffffffffffffff811115611fc257600080fd5b611fce87828801611ec8565b91505092959194509250565b60008060408385031215611fed57600080fd5b611ff683611d9f565b9150602083013567ffffffffffffffff81111561201257600080fd5b8301601f8101851361202357600080fd5b611f2c85823560208401611e52565b6000806040838503121561204557600080fd5b61204e83611d9f565b915061205c60208401611d9f565b90509250929050565b600181811c9082168061207957607f821691505b6020821081141561209a57634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b6000602082840312156121dc57600080fd5b5051919050565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60008351612292818460208801611d1b565b8351908301906122a6818360208801611d1b565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611ad290830184611d47565b6000602082840312156122f457600080fd5b815161179d81611ce8565b60008251612311818460208701611d1b565b919091019291505056fe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220669c6943431236e79addb2ca9dbff0fbcd604df8d4f6116c23f4ad669d66a05664736f6c634300080a0033",
}
ERC721TokenTestMetaData contains all meta data concerning the ERC721TokenTest contract.
var StakingTestABI = StakingTestMetaData.ABI
StakingTestABI is the input ABI used to generate the binding from. Deprecated: Use StakingTestMetaData.ABI instead.
var StakingTestBin = StakingTestMetaData.Bin
StakingTestBin is the compiled bytecode used for deploying new contracts. Deprecated: Use StakingTestMetaData.Bin instead.
var StakingTestMetaData = &bind.MetaData{
ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"validator\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"}],\"name\":\"ApproveShares\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"validator\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"DelegateV2\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"valSrc\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"valDst\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"completionTime\",\"type\":\"uint256\"}],\"name\":\"RedelegateV2\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"validator\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"token\",\"type\":\"uint256\"}],\"name\":\"TransferShares\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"validator\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"completionTime\",\"type\":\"uint256\"}],\"name\":\"UndelegateV2\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"validator\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"reward\",\"type\":\"uint256\"}],\"name\":\"Withdraw\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"STAKING_ADDRESS\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_val\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_spender\",\"type\":\"address\"}],\"name\":\"allowanceShares\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_val\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_shares\",\"type\":\"uint256\"}],\"name\":\"approveShares\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_val\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"delegateV2\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_result\",\"type\":\"bool\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_val\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_del\",\"type\":\"address\"}],\"name\":\"delegation\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_val\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_del\",\"type\":\"address\"}],\"name\":\"delegationRewards\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_valSrc\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_valDst\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"redelegateV2\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_result\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_val\",\"type\":\"string\"}],\"name\":\"slashingInfo\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_jailed\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"_missed\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_val\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_shares\",\"type\":\"uint256\"}],\"name\":\"transferFromShares\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_val\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_shares\",\"type\":\"uint256\"}],\"name\":\"transferShares\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_val\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"undelegateV2\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"_result\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enumIStaking.ValidatorSortBy\",\"name\":\"_sortBy\",\"type\":\"uint8\"}],\"name\":\"validatorList\",\"outputs\":[{\"internalType\":\"string[]\",\"name\":\"\",\"type\":\"string[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"validatorShares\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_val\",\"type\":\"string\"}],\"name\":\"withdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
Bin: "0x608060405234801561001057600080fd5b50610f6e806100206000396000f3fe6080604052600436106100dd5760003560e01c80637b625c0f1161007f578063d5c498eb11610059578063d5c498eb1461029b578063dc6ffc7d146102bb578063de2b3451146102db578063ee226c66146102fb57600080fd5b80637b625c0f146102155780638c20570b14610235578063bf98d7721461026357600080fd5b806349da433e116100bb57806349da433e1461017b5780634e94633a146101ab57806351af513a146101e25780636d7880351461020257600080fd5b8063029c0a51146100e2578063161298c11461011857806331fb67c21461014d575b600080fd5b3480156100ee57600080fd5b506101026100fd366004610841565b61031b565b60405161010f91906108be565b60405180910390f35b34801561012457600080fd5b50610138610133366004610a01565b61038e565b6040805192835260208301919091520161010f565b34801561015957600080fd5b5061016d610168366004610a58565b61040a565b60405190815260200161010f565b34801561018757600080fd5b5061019b610196366004610a01565b610475565b604051901515815260200161010f565b3480156101b757600080fd5b506101cb6101c6366004610a58565b6104ec565b60408051921515835260208301919091520161010f565b3480156101ee57600080fd5b5061016d6101fd366004610a8d565b61055f565b61019b610210366004610adb565b6105d1565b34801561022157600080fd5b5061016d610230366004610b20565b610688565b34801561024157600080fd5b5061024b61100381565b6040516001600160a01b03909116815260200161010f565b34801561026f57600080fd5b5061016d61027e366004610a58565b805160208183018101805160008252928201919093012091525481565b3480156102a757600080fd5b506101386102b6366004610a8d565b6106f5565b3480156102c757600080fd5b506101386102d6366004610b7e565b61076c565b3480156102e757600080fd5b5061019b6102f6366004610adb565b6107eb565b34801561030757600080fd5b5061019b610316366004610be4565b610815565b60405163029c0a5160e01b81526060906110039063029c0a5190610343908590600401610c51565b600060405180830381865afa158015610360573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526103889190810190610c79565b92915050565b60405163161298c160e01b815260009081906110039063161298c1906103bc90889088908890600401610d78565b60408051808303816000875af11580156103da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103fe9190610da6565b91509150935093915050565b6040516318fdb3e160e11b8152600090611003906331fb67c290610432908590600401610dca565b6020604051808303816000875af1158015610451573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103889190610ddd565b6040516324ed219f60e11b8152600090611003906349da433e906104a190879087908790600401610d78565b6020604051808303816000875af11580156104c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104e49190610e06565b949350505050565b60405163274a319d60e11b8152600090819061100390634e94633a90610516908690600401610dca565b6040805180830381865afa158015610532573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105569190610e21565b91509150915091565b6040516328d7a89d60e11b8152600090611003906351af513a906105899086908690600401610e4d565b602060405180830381865afa1580156105a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ca9190610ddd565b9392505050565b60008147101561061e5760405162461bcd60e51b8152602060048201526014602482015273696e73756666696369656e742062616c616e636560601b604482015260640160405180910390fd5b604051636d78803560e01b815261100390636d788035906106459086908690600401610e77565b6020604051808303816000875af1158015610664573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105ca9190610e06565b604051637b625c0f60e01b815260009061100390637b625c0f906106b490879087908790600401610e99565b602060405180830381865afa1580156106d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104e49190610ddd565b60405163d5c498eb60e01b815260009081906110039063d5c498eb906107219087908790600401610e4d565b6040805180830381865afa15801561073d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107619190610da6565b915091509250929050565b60405163dc6ffc7d60e01b815260009081906110039063dc6ffc7d9061079c908990899089908990600401610ecc565b60408051808303816000875af11580156107ba573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107de9190610da6565b9150915094509492505050565b60405163de2b345160e01b81526000906110039063de2b3451906106459086908690600401610e77565b604051637711363360e11b81526000906110039063ee226c66906104a190879087908790600401610f02565b60006020828403121561085357600080fd5b8135600281106105ca57600080fd5b60005b8381101561087d578181015183820152602001610865565b8381111561088c576000848401525b50505050565b600081518084526108aa816020860160208601610862565b601f01601f19169290920160200192915050565b6000602080830181845280855180835260408601915060408160051b870101925083870160005b8281101561091357603f19888603018452610901858351610892565b945092850192908501906001016108e5565b5092979650505050505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561095f5761095f610920565b604052919050565b600067ffffffffffffffff82111561098157610981610920565b50601f01601f191660200190565b600082601f8301126109a057600080fd5b81356109b36109ae82610967565b610936565b8181528460208386010111156109c857600080fd5b816020850160208301376000918101602001919091529392505050565b80356001600160a01b03811681146109fc57600080fd5b919050565b600080600060608486031215610a1657600080fd5b833567ffffffffffffffff811115610a2d57600080fd5b610a398682870161098f565b935050610a48602085016109e5565b9150604084013590509250925092565b600060208284031215610a6a57600080fd5b813567ffffffffffffffff811115610a8157600080fd5b6104e48482850161098f565b60008060408385031215610aa057600080fd5b823567ffffffffffffffff811115610ab757600080fd5b610ac38582860161098f565b925050610ad2602084016109e5565b90509250929050565b60008060408385031215610aee57600080fd5b823567ffffffffffffffff811115610b0557600080fd5b610b118582860161098f565b95602094909401359450505050565b600080600060608486031215610b3557600080fd5b833567ffffffffffffffff811115610b4c57600080fd5b610b588682870161098f565b935050610b67602085016109e5565b9150610b75604085016109e5565b90509250925092565b60008060008060808587031215610b9457600080fd5b843567ffffffffffffffff811115610bab57600080fd5b610bb78782880161098f565b945050610bc6602086016109e5565b9250610bd4604086016109e5565b9396929550929360600135925050565b600080600060608486031215610bf957600080fd5b833567ffffffffffffffff80821115610c1157600080fd5b610c1d8783880161098f565b94506020860135915080821115610c3357600080fd5b50610c408682870161098f565b925050604084013590509250925092565b6020810160028310610c7357634e487b7160e01b600052602160045260246000fd5b91905290565b60006020808385031215610c8c57600080fd5b825167ffffffffffffffff80821115610ca457600080fd5b818501915085601f830112610cb857600080fd5b815181811115610cca57610cca610920565b8060051b610cd9858201610936565b9182528381018501918581019089841115610cf357600080fd5b86860192505b83831015610d6b57825185811115610d115760008081fd5b8601603f81018b13610d235760008081fd5b878101516040610d356109ae83610967565b8281528d82848601011115610d4a5760008081fd5b610d59838c8301848701610862565b85525050509186019190860190610cf9565b9998505050505050505050565b606081526000610d8b6060830186610892565b6001600160a01b039490941660208301525060400152919050565b60008060408385031215610db957600080fd5b505080516020909101519092909150565b6020815260006105ca6020830184610892565b600060208284031215610def57600080fd5b5051919050565b805180151581146109fc57600080fd5b600060208284031215610e1857600080fd5b6105ca82610df6565b60008060408385031215610e3457600080fd5b610e3d83610df6565b9150602083015190509250929050565b604081526000610e606040830185610892565b905060018060a01b03831660208301529392505050565b604081526000610e8a6040830185610892565b90508260208301529392505050565b606081526000610eac6060830186610892565b6001600160a01b0394851660208401529290931660409091015292915050565b608081526000610edf6080830187610892565b6001600160a01b0395861660208401529390941660408201526060015292915050565b606081526000610f156060830186610892565b8281036020840152610f278186610892565b91505082604083015294935050505056fea2646970667358221220756ba390fb4953d2c26df981906ead54309e044e7636088b27f878eeea9ed80e64736f6c634300080a0033",
}
StakingTestMetaData contains all meta data concerning the StakingTest contract.
Functions ¶
This section is empty.
Types ¶
type CrosschainTest ¶
type CrosschainTest struct { CrosschainTestCaller // Read-only binding to the contract CrosschainTestTransactor // Write-only binding to the contract CrosschainTestFilterer // Log filterer for contract events }
CrosschainTest is an auto generated Go binding around an Ethereum contract.
func DeployCrosschainTest ¶
func DeployCrosschainTest(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *CrosschainTest, error)
DeployCrosschainTest deploys a new Ethereum contract, binding an instance of CrosschainTest to it.
func NewCrosschainTest ¶
func NewCrosschainTest(address common.Address, backend bind.ContractBackend) (*CrosschainTest, error)
NewCrosschainTest creates a new instance of CrosschainTest, bound to a specific deployed contract.
type CrosschainTestCaller ¶
type CrosschainTestCaller struct {
// contains filtered or unexported fields
}
CrosschainTestCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewCrosschainTestCaller ¶
func NewCrosschainTestCaller(address common.Address, caller bind.ContractCaller) (*CrosschainTestCaller, error)
NewCrosschainTestCaller creates a new read-only instance of CrosschainTest, bound to a specific deployed contract.
func (*CrosschainTestCaller) BRIDGEFEEADDRESS ¶
func (_CrosschainTest *CrosschainTestCaller) BRIDGEFEEADDRESS(opts *bind.CallOpts) (common.Address, error)
BRIDGEFEEADDRESS is a free data retrieval call binding the contract method 0xc863cee5.
Solidity: function BRIDGE_FEE_ADDRESS() view returns(address)
func (*CrosschainTestCaller) BridgeCoinAmount ¶
func (_CrosschainTest *CrosschainTestCaller) BridgeCoinAmount(opts *bind.CallOpts, _token common.Address, _target [32]byte) (*big.Int, error)
BridgeCoinAmount is a free data retrieval call binding the contract method 0x8fefb765.
Solidity: function bridgeCoinAmount(address _token, bytes32 _target) view returns(uint256)
func (*CrosschainTestCaller) CROSSCHAINADDRESS ¶
func (_CrosschainTest *CrosschainTestCaller) CROSSCHAINADDRESS(opts *bind.CallOpts) (common.Address, error)
CROSSCHAINADDRESS is a free data retrieval call binding the contract method 0xf7356475.
Solidity: function CROSS_CHAIN_ADDRESS() view returns(address)
func (*CrosschainTestCaller) GetERC20Token ¶
func (_CrosschainTest *CrosschainTestCaller) GetERC20Token(opts *bind.CallOpts, _denom [32]byte) (struct { Token common.Address Enable bool }, error)
GetERC20Token is a free data retrieval call binding the contract method 0xe8e1f205.
Solidity: function getERC20Token(bytes32 _denom) view returns(address _token, bool _enable)
func (*CrosschainTestCaller) HasOracle ¶
func (_CrosschainTest *CrosschainTestCaller) HasOracle(opts *bind.CallOpts, _chain [32]byte, _externalAddress common.Address) (bool, error)
HasOracle is a free data retrieval call binding the contract method 0xa5df3875.
Solidity: function hasOracle(bytes32 _chain, address _externalAddress) view returns(bool _result)
func (*CrosschainTestCaller) IsOracleOnline ¶
func (_CrosschainTest *CrosschainTestCaller) IsOracleOnline(opts *bind.CallOpts, _chain [32]byte, _externalAddress common.Address) (bool, error)
IsOracleOnline is a free data retrieval call binding the contract method 0xd5147e6d.
Solidity: function isOracleOnline(bytes32 _chain, address _externalAddress) view returns(bool _result)
type CrosschainTestCallerRaw ¶
type CrosschainTestCallerRaw struct {
Contract *CrosschainTestCaller // Generic read-only contract binding to access the raw methods on
}
CrosschainTestCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*CrosschainTestCallerRaw) Call ¶
func (_CrosschainTest *CrosschainTestCallerRaw) 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 CrosschainTestCallerSession ¶
type CrosschainTestCallerSession struct { Contract *CrosschainTestCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
CrosschainTestCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*CrosschainTestCallerSession) BRIDGEFEEADDRESS ¶
func (_CrosschainTest *CrosschainTestCallerSession) BRIDGEFEEADDRESS() (common.Address, error)
BRIDGEFEEADDRESS is a free data retrieval call binding the contract method 0xc863cee5.
Solidity: function BRIDGE_FEE_ADDRESS() view returns(address)
func (*CrosschainTestCallerSession) BridgeCoinAmount ¶
func (_CrosschainTest *CrosschainTestCallerSession) BridgeCoinAmount(_token common.Address, _target [32]byte) (*big.Int, error)
BridgeCoinAmount is a free data retrieval call binding the contract method 0x8fefb765.
Solidity: function bridgeCoinAmount(address _token, bytes32 _target) view returns(uint256)
func (*CrosschainTestCallerSession) CROSSCHAINADDRESS ¶
func (_CrosschainTest *CrosschainTestCallerSession) CROSSCHAINADDRESS() (common.Address, error)
CROSSCHAINADDRESS is a free data retrieval call binding the contract method 0xf7356475.
Solidity: function CROSS_CHAIN_ADDRESS() view returns(address)
func (*CrosschainTestCallerSession) GetERC20Token ¶
func (_CrosschainTest *CrosschainTestCallerSession) GetERC20Token(_denom [32]byte) (struct { Token common.Address Enable bool }, error)
GetERC20Token is a free data retrieval call binding the contract method 0xe8e1f205.
Solidity: function getERC20Token(bytes32 _denom) view returns(address _token, bool _enable)
func (*CrosschainTestCallerSession) HasOracle ¶
func (_CrosschainTest *CrosschainTestCallerSession) HasOracle(_chain [32]byte, _externalAddress common.Address) (bool, error)
HasOracle is a free data retrieval call binding the contract method 0xa5df3875.
Solidity: function hasOracle(bytes32 _chain, address _externalAddress) view returns(bool _result)
func (*CrosschainTestCallerSession) IsOracleOnline ¶
func (_CrosschainTest *CrosschainTestCallerSession) IsOracleOnline(_chain [32]byte, _externalAddress common.Address) (bool, error)
IsOracleOnline is a free data retrieval call binding the contract method 0xd5147e6d.
Solidity: function isOracleOnline(bytes32 _chain, address _externalAddress) view returns(bool _result)
type CrosschainTestFilterer ¶
type CrosschainTestFilterer struct {
// contains filtered or unexported fields
}
CrosschainTestFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewCrosschainTestFilterer ¶
func NewCrosschainTestFilterer(address common.Address, filterer bind.ContractFilterer) (*CrosschainTestFilterer, error)
NewCrosschainTestFilterer creates a new log filterer instance of CrosschainTest, bound to a specific deployed contract.
type CrosschainTestRaw ¶
type CrosschainTestRaw struct {
Contract *CrosschainTest // Generic contract binding to access the raw methods on
}
CrosschainTestRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*CrosschainTestRaw) Call ¶
func (_CrosschainTest *CrosschainTestRaw) 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 (*CrosschainTestRaw) Transact ¶
func (_CrosschainTest *CrosschainTestRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CrosschainTestRaw) Transfer ¶
func (_CrosschainTest *CrosschainTestRaw) 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 CrosschainTestSession ¶
type CrosschainTestSession struct { Contract *CrosschainTest // 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 }
CrosschainTestSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*CrosschainTestSession) BRIDGEFEEADDRESS ¶
func (_CrosschainTest *CrosschainTestSession) BRIDGEFEEADDRESS() (common.Address, error)
BRIDGEFEEADDRESS is a free data retrieval call binding the contract method 0xc863cee5.
Solidity: function BRIDGE_FEE_ADDRESS() view returns(address)
func (*CrosschainTestSession) BridgeCall ¶
func (_CrosschainTest *CrosschainTestSession) BridgeCall(_dstChain string, _receiver common.Address, _tokens []common.Address, _amounts []*big.Int, _to common.Address, _data []byte, _quoteId *big.Int, _gasLimit *big.Int, _memo []byte) (*types.Transaction, error)
BridgeCall is a paid mutator transaction binding the contract method 0xe6d69ede.
Solidity: function bridgeCall(string _dstChain, address _receiver, address[] _tokens, uint256[] _amounts, address _to, bytes _data, uint256 _quoteId, uint256 _gasLimit, bytes _memo) payable returns(uint256)
func (*CrosschainTestSession) BridgeCoinAmount ¶
func (_CrosschainTest *CrosschainTestSession) BridgeCoinAmount(_token common.Address, _target [32]byte) (*big.Int, error)
BridgeCoinAmount is a free data retrieval call binding the contract method 0x8fefb765.
Solidity: function bridgeCoinAmount(address _token, bytes32 _target) view returns(uint256)
func (*CrosschainTestSession) CROSSCHAINADDRESS ¶
func (_CrosschainTest *CrosschainTestSession) CROSSCHAINADDRESS() (common.Address, error)
CROSSCHAINADDRESS is a free data retrieval call binding the contract method 0xf7356475.
Solidity: function CROSS_CHAIN_ADDRESS() view returns(address)
func (*CrosschainTestSession) CrossChain ¶
func (_CrosschainTest *CrosschainTestSession) CrossChain(_token common.Address, _receipt string, _amount *big.Int, _fee *big.Int, _target [32]byte, _memo string) (*types.Transaction, error)
CrossChain is a paid mutator transaction binding the contract method 0x160d7c73.
Solidity: function crossChain(address _token, string _receipt, uint256 _amount, uint256 _fee, bytes32 _target, string _memo) payable returns(bool)
func (*CrosschainTestSession) ExecuteClaim ¶
func (_CrosschainTest *CrosschainTestSession) ExecuteClaim(_chain string, _eventNonce *big.Int) (*types.Transaction, error)
ExecuteClaim is a paid mutator transaction binding the contract method 0x4ac3bdc3.
Solidity: function executeClaim(string _chain, uint256 _eventNonce) returns(bool _result)
func (*CrosschainTestSession) GetERC20Token ¶
func (_CrosschainTest *CrosschainTestSession) GetERC20Token(_denom [32]byte) (struct { Token common.Address Enable bool }, error)
GetERC20Token is a free data retrieval call binding the contract method 0xe8e1f205.
Solidity: function getERC20Token(bytes32 _denom) view returns(address _token, bool _enable)
func (*CrosschainTestSession) HasOracle ¶
func (_CrosschainTest *CrosschainTestSession) HasOracle(_chain [32]byte, _externalAddress common.Address) (bool, error)
HasOracle is a free data retrieval call binding the contract method 0xa5df3875.
Solidity: function hasOracle(bytes32 _chain, address _externalAddress) view returns(bool _result)
func (*CrosschainTestSession) IsOracleOnline ¶
func (_CrosschainTest *CrosschainTestSession) IsOracleOnline(_chain [32]byte, _externalAddress common.Address) (bool, error)
IsOracleOnline is a free data retrieval call binding the contract method 0xd5147e6d.
Solidity: function isOracleOnline(bytes32 _chain, address _externalAddress) view returns(bool _result)
type CrosschainTestTransactor ¶
type CrosschainTestTransactor struct {
// contains filtered or unexported fields
}
CrosschainTestTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewCrosschainTestTransactor ¶
func NewCrosschainTestTransactor(address common.Address, transactor bind.ContractTransactor) (*CrosschainTestTransactor, error)
NewCrosschainTestTransactor creates a new write-only instance of CrosschainTest, bound to a specific deployed contract.
func (*CrosschainTestTransactor) BridgeCall ¶
func (_CrosschainTest *CrosschainTestTransactor) BridgeCall(opts *bind.TransactOpts, _dstChain string, _receiver common.Address, _tokens []common.Address, _amounts []*big.Int, _to common.Address, _data []byte, _quoteId *big.Int, _gasLimit *big.Int, _memo []byte) (*types.Transaction, error)
BridgeCall is a paid mutator transaction binding the contract method 0xe6d69ede.
Solidity: function bridgeCall(string _dstChain, address _receiver, address[] _tokens, uint256[] _amounts, address _to, bytes _data, uint256 _quoteId, uint256 _gasLimit, bytes _memo) payable returns(uint256)
func (*CrosschainTestTransactor) CrossChain ¶
func (_CrosschainTest *CrosschainTestTransactor) CrossChain(opts *bind.TransactOpts, _token common.Address, _receipt string, _amount *big.Int, _fee *big.Int, _target [32]byte, _memo string) (*types.Transaction, error)
CrossChain is a paid mutator transaction binding the contract method 0x160d7c73.
Solidity: function crossChain(address _token, string _receipt, uint256 _amount, uint256 _fee, bytes32 _target, string _memo) payable returns(bool)
func (*CrosschainTestTransactor) ExecuteClaim ¶
func (_CrosschainTest *CrosschainTestTransactor) ExecuteClaim(opts *bind.TransactOpts, _chain string, _eventNonce *big.Int) (*types.Transaction, error)
ExecuteClaim is a paid mutator transaction binding the contract method 0x4ac3bdc3.
Solidity: function executeClaim(string _chain, uint256 _eventNonce) returns(bool _result)
type CrosschainTestTransactorRaw ¶
type CrosschainTestTransactorRaw struct {
Contract *CrosschainTestTransactor // Generic write-only contract binding to access the raw methods on
}
CrosschainTestTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*CrosschainTestTransactorRaw) Transact ¶
func (_CrosschainTest *CrosschainTestTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CrosschainTestTransactorRaw) Transfer ¶
func (_CrosschainTest *CrosschainTestTransactorRaw) 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 CrosschainTestTransactorSession ¶
type CrosschainTestTransactorSession struct { Contract *CrosschainTestTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
CrosschainTestTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*CrosschainTestTransactorSession) BridgeCall ¶
func (_CrosschainTest *CrosschainTestTransactorSession) BridgeCall(_dstChain string, _receiver common.Address, _tokens []common.Address, _amounts []*big.Int, _to common.Address, _data []byte, _quoteId *big.Int, _gasLimit *big.Int, _memo []byte) (*types.Transaction, error)
BridgeCall is a paid mutator transaction binding the contract method 0xe6d69ede.
Solidity: function bridgeCall(string _dstChain, address _receiver, address[] _tokens, uint256[] _amounts, address _to, bytes _data, uint256 _quoteId, uint256 _gasLimit, bytes _memo) payable returns(uint256)
func (*CrosschainTestTransactorSession) CrossChain ¶
func (_CrosschainTest *CrosschainTestTransactorSession) CrossChain(_token common.Address, _receipt string, _amount *big.Int, _fee *big.Int, _target [32]byte, _memo string) (*types.Transaction, error)
CrossChain is a paid mutator transaction binding the contract method 0x160d7c73.
Solidity: function crossChain(address _token, string _receipt, uint256 _amount, uint256 _fee, bytes32 _target, string _memo) payable returns(bool)
func (*CrosschainTestTransactorSession) ExecuteClaim ¶
func (_CrosschainTest *CrosschainTestTransactorSession) ExecuteClaim(_chain string, _eventNonce *big.Int) (*types.Transaction, error)
ExecuteClaim is a paid mutator transaction binding the contract method 0x4ac3bdc3.
Solidity: function executeClaim(string _chain, uint256 _eventNonce) returns(bool _result)
type ERC721TokenTest ¶
type ERC721TokenTest struct { ERC721TokenTestCaller // Read-only binding to the contract ERC721TokenTestTransactor // Write-only binding to the contract ERC721TokenTestFilterer // Log filterer for contract events }
ERC721TokenTest is an auto generated Go binding around an Ethereum contract.
func DeployERC721TokenTest ¶
func DeployERC721TokenTest(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ERC721TokenTest, error)
DeployERC721TokenTest deploys a new Ethereum contract, binding an instance of ERC721TokenTest to it.
func NewERC721TokenTest ¶
func NewERC721TokenTest(address common.Address, backend bind.ContractBackend) (*ERC721TokenTest, error)
NewERC721TokenTest creates a new instance of ERC721TokenTest, bound to a specific deployed contract.
type ERC721TokenTestAdminChanged ¶
type ERC721TokenTestAdminChanged struct { PreviousAdmin common.Address NewAdmin common.Address Raw types.Log // Blockchain specific contextual infos }
ERC721TokenTestAdminChanged represents a AdminChanged event raised by the ERC721TokenTest contract.
type ERC721TokenTestAdminChangedIterator ¶
type ERC721TokenTestAdminChangedIterator struct { Event *ERC721TokenTestAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC721TokenTestAdminChangedIterator is returned from FilterAdminChanged and is used to iterate over the raw logs and unpacked data for AdminChanged events raised by the ERC721TokenTest contract.
func (*ERC721TokenTestAdminChangedIterator) Close ¶
func (it *ERC721TokenTestAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC721TokenTestAdminChangedIterator) Error ¶
func (it *ERC721TokenTestAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC721TokenTestAdminChangedIterator) Next ¶
func (it *ERC721TokenTestAdminChangedIterator) 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 ERC721TokenTestApproval ¶
type ERC721TokenTestApproval struct { Owner common.Address Approved common.Address TokenId *big.Int Raw types.Log // Blockchain specific contextual infos }
ERC721TokenTestApproval represents a Approval event raised by the ERC721TokenTest contract.
type ERC721TokenTestApprovalForAll ¶
type ERC721TokenTestApprovalForAll struct { Owner common.Address Operator common.Address Approved bool Raw types.Log // Blockchain specific contextual infos }
ERC721TokenTestApprovalForAll represents a ApprovalForAll event raised by the ERC721TokenTest contract.
type ERC721TokenTestApprovalForAllIterator ¶
type ERC721TokenTestApprovalForAllIterator struct { Event *ERC721TokenTestApprovalForAll // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC721TokenTestApprovalForAllIterator is returned from FilterApprovalForAll and is used to iterate over the raw logs and unpacked data for ApprovalForAll events raised by the ERC721TokenTest contract.
func (*ERC721TokenTestApprovalForAllIterator) Close ¶
func (it *ERC721TokenTestApprovalForAllIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC721TokenTestApprovalForAllIterator) Error ¶
func (it *ERC721TokenTestApprovalForAllIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC721TokenTestApprovalForAllIterator) Next ¶
func (it *ERC721TokenTestApprovalForAllIterator) 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 ERC721TokenTestApprovalIterator ¶
type ERC721TokenTestApprovalIterator struct { Event *ERC721TokenTestApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC721TokenTestApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the ERC721TokenTest contract.
func (*ERC721TokenTestApprovalIterator) Close ¶
func (it *ERC721TokenTestApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC721TokenTestApprovalIterator) Error ¶
func (it *ERC721TokenTestApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC721TokenTestApprovalIterator) Next ¶
func (it *ERC721TokenTestApprovalIterator) 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 ERC721TokenTestBatchMetadataUpdate ¶
type ERC721TokenTestBatchMetadataUpdate struct { FromTokenId *big.Int ToTokenId *big.Int Raw types.Log // Blockchain specific contextual infos }
ERC721TokenTestBatchMetadataUpdate represents a BatchMetadataUpdate event raised by the ERC721TokenTest contract.
type ERC721TokenTestBatchMetadataUpdateIterator ¶
type ERC721TokenTestBatchMetadataUpdateIterator struct { Event *ERC721TokenTestBatchMetadataUpdate // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC721TokenTestBatchMetadataUpdateIterator is returned from FilterBatchMetadataUpdate and is used to iterate over the raw logs and unpacked data for BatchMetadataUpdate events raised by the ERC721TokenTest contract.
func (*ERC721TokenTestBatchMetadataUpdateIterator) Close ¶
func (it *ERC721TokenTestBatchMetadataUpdateIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC721TokenTestBatchMetadataUpdateIterator) Error ¶
func (it *ERC721TokenTestBatchMetadataUpdateIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC721TokenTestBatchMetadataUpdateIterator) Next ¶
func (it *ERC721TokenTestBatchMetadataUpdateIterator) 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 ERC721TokenTestBeaconUpgraded ¶
type ERC721TokenTestBeaconUpgraded struct { Beacon common.Address Raw types.Log // Blockchain specific contextual infos }
ERC721TokenTestBeaconUpgraded represents a BeaconUpgraded event raised by the ERC721TokenTest contract.
type ERC721TokenTestBeaconUpgradedIterator ¶
type ERC721TokenTestBeaconUpgradedIterator struct { Event *ERC721TokenTestBeaconUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC721TokenTestBeaconUpgradedIterator is returned from FilterBeaconUpgraded and is used to iterate over the raw logs and unpacked data for BeaconUpgraded events raised by the ERC721TokenTest contract.
func (*ERC721TokenTestBeaconUpgradedIterator) Close ¶
func (it *ERC721TokenTestBeaconUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC721TokenTestBeaconUpgradedIterator) Error ¶
func (it *ERC721TokenTestBeaconUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC721TokenTestBeaconUpgradedIterator) Next ¶
func (it *ERC721TokenTestBeaconUpgradedIterator) 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 ERC721TokenTestCaller ¶
type ERC721TokenTestCaller struct {
// contains filtered or unexported fields
}
ERC721TokenTestCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewERC721TokenTestCaller ¶
func NewERC721TokenTestCaller(address common.Address, caller bind.ContractCaller) (*ERC721TokenTestCaller, error)
NewERC721TokenTestCaller creates a new read-only instance of ERC721TokenTest, bound to a specific deployed contract.
func (*ERC721TokenTestCaller) BalanceOf ¶
func (_ERC721TokenTest *ERC721TokenTestCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*ERC721TokenTestCaller) GetApproved ¶
func (_ERC721TokenTest *ERC721TokenTestCaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
GetApproved is a free data retrieval call binding the contract method 0x081812fc.
Solidity: function getApproved(uint256 tokenId) view returns(address)
func (*ERC721TokenTestCaller) IsApprovedForAll ¶
func (_ERC721TokenTest *ERC721TokenTestCaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error)
IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.
Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)
func (*ERC721TokenTestCaller) Name ¶
func (_ERC721TokenTest *ERC721TokenTestCaller) Name(opts *bind.CallOpts) (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ERC721TokenTestCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ERC721TokenTestCaller) OwnerOf ¶
func (_ERC721TokenTest *ERC721TokenTestCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address)
func (*ERC721TokenTestCaller) ProxiableUUID ¶
func (_ERC721TokenTest *ERC721TokenTestCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*ERC721TokenTestCaller) SupportsInterface ¶
func (_ERC721TokenTest *ERC721TokenTestCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
type ERC721TokenTestCallerRaw ¶
type ERC721TokenTestCallerRaw struct {
Contract *ERC721TokenTestCaller // Generic read-only contract binding to access the raw methods on
}
ERC721TokenTestCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ERC721TokenTestCallerRaw) Call ¶
func (_ERC721TokenTest *ERC721TokenTestCallerRaw) 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 ERC721TokenTestCallerSession ¶
type ERC721TokenTestCallerSession struct { Contract *ERC721TokenTestCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ERC721TokenTestCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ERC721TokenTestCallerSession) BalanceOf ¶
func (_ERC721TokenTest *ERC721TokenTestCallerSession) BalanceOf(owner common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*ERC721TokenTestCallerSession) GetApproved ¶
func (_ERC721TokenTest *ERC721TokenTestCallerSession) GetApproved(tokenId *big.Int) (common.Address, error)
GetApproved is a free data retrieval call binding the contract method 0x081812fc.
Solidity: function getApproved(uint256 tokenId) view returns(address)
func (*ERC721TokenTestCallerSession) IsApprovedForAll ¶
func (_ERC721TokenTest *ERC721TokenTestCallerSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.
Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)
func (*ERC721TokenTestCallerSession) Name ¶
func (_ERC721TokenTest *ERC721TokenTestCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ERC721TokenTestCallerSession) Owner ¶
func (_ERC721TokenTest *ERC721TokenTestCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ERC721TokenTestCallerSession) OwnerOf ¶
func (_ERC721TokenTest *ERC721TokenTestCallerSession) OwnerOf(tokenId *big.Int) (common.Address, error)
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address)
func (*ERC721TokenTestCallerSession) ProxiableUUID ¶
func (_ERC721TokenTest *ERC721TokenTestCallerSession) ProxiableUUID() ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*ERC721TokenTestCallerSession) SupportsInterface ¶
func (_ERC721TokenTest *ERC721TokenTestCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*ERC721TokenTestCallerSession) Symbol ¶
func (_ERC721TokenTest *ERC721TokenTestCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
type ERC721TokenTestFilterer ¶
type ERC721TokenTestFilterer struct {
// contains filtered or unexported fields
}
ERC721TokenTestFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewERC721TokenTestFilterer ¶
func NewERC721TokenTestFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC721TokenTestFilterer, error)
NewERC721TokenTestFilterer creates a new log filterer instance of ERC721TokenTest, bound to a specific deployed contract.
func (*ERC721TokenTestFilterer) FilterAdminChanged ¶
func (_ERC721TokenTest *ERC721TokenTestFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*ERC721TokenTestAdminChangedIterator, error)
FilterAdminChanged is a free log retrieval operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*ERC721TokenTestFilterer) FilterApproval ¶
func (_ERC721TokenTest *ERC721TokenTestFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*ERC721TokenTestApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)
func (*ERC721TokenTestFilterer) FilterApprovalForAll ¶
func (_ERC721TokenTest *ERC721TokenTestFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*ERC721TokenTestApprovalForAllIterator, error)
FilterApprovalForAll is a free log retrieval operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.
Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)
func (*ERC721TokenTestFilterer) FilterBatchMetadataUpdate ¶
func (_ERC721TokenTest *ERC721TokenTestFilterer) FilterBatchMetadataUpdate(opts *bind.FilterOpts) (*ERC721TokenTestBatchMetadataUpdateIterator, error)
FilterBatchMetadataUpdate is a free log retrieval operation binding the contract event 0x6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c.
Solidity: event BatchMetadataUpdate(uint256 _fromTokenId, uint256 _toTokenId)
func (*ERC721TokenTestFilterer) FilterBeaconUpgraded ¶
func (_ERC721TokenTest *ERC721TokenTestFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*ERC721TokenTestBeaconUpgradedIterator, error)
FilterBeaconUpgraded is a free log retrieval operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*ERC721TokenTestFilterer) FilterInitialized ¶
func (_ERC721TokenTest *ERC721TokenTestFilterer) FilterInitialized(opts *bind.FilterOpts) (*ERC721TokenTestInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*ERC721TokenTestFilterer) FilterMetadataUpdate ¶
func (_ERC721TokenTest *ERC721TokenTestFilterer) FilterMetadataUpdate(opts *bind.FilterOpts) (*ERC721TokenTestMetadataUpdateIterator, error)
FilterMetadataUpdate is a free log retrieval operation binding the contract event 0xf8e1a15aba9398e019f0b49df1a4fde98ee17ae345cb5f6b5e2c27f5033e8ce7.
Solidity: event MetadataUpdate(uint256 _tokenId)
func (*ERC721TokenTestFilterer) FilterOwnershipTransferred ¶
func (_ERC721TokenTest *ERC721TokenTestFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ERC721TokenTestOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ERC721TokenTestFilterer) FilterTransfer ¶
func (_ERC721TokenTest *ERC721TokenTestFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*ERC721TokenTestTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
func (*ERC721TokenTestFilterer) FilterUpgraded ¶
func (_ERC721TokenTest *ERC721TokenTestFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*ERC721TokenTestUpgradedIterator, error)
FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*ERC721TokenTestFilterer) ParseAdminChanged ¶
func (_ERC721TokenTest *ERC721TokenTestFilterer) ParseAdminChanged(log types.Log) (*ERC721TokenTestAdminChanged, error)
ParseAdminChanged is a log parse operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*ERC721TokenTestFilterer) ParseApproval ¶
func (_ERC721TokenTest *ERC721TokenTestFilterer) ParseApproval(log types.Log) (*ERC721TokenTestApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)
func (*ERC721TokenTestFilterer) ParseApprovalForAll ¶
func (_ERC721TokenTest *ERC721TokenTestFilterer) ParseApprovalForAll(log types.Log) (*ERC721TokenTestApprovalForAll, error)
ParseApprovalForAll is a log parse operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.
Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)
func (*ERC721TokenTestFilterer) ParseBatchMetadataUpdate ¶
func (_ERC721TokenTest *ERC721TokenTestFilterer) ParseBatchMetadataUpdate(log types.Log) (*ERC721TokenTestBatchMetadataUpdate, error)
ParseBatchMetadataUpdate is a log parse operation binding the contract event 0x6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c.
Solidity: event BatchMetadataUpdate(uint256 _fromTokenId, uint256 _toTokenId)
func (*ERC721TokenTestFilterer) ParseBeaconUpgraded ¶
func (_ERC721TokenTest *ERC721TokenTestFilterer) ParseBeaconUpgraded(log types.Log) (*ERC721TokenTestBeaconUpgraded, error)
ParseBeaconUpgraded is a log parse operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*ERC721TokenTestFilterer) ParseInitialized ¶
func (_ERC721TokenTest *ERC721TokenTestFilterer) ParseInitialized(log types.Log) (*ERC721TokenTestInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*ERC721TokenTestFilterer) ParseMetadataUpdate ¶
func (_ERC721TokenTest *ERC721TokenTestFilterer) ParseMetadataUpdate(log types.Log) (*ERC721TokenTestMetadataUpdate, error)
ParseMetadataUpdate is a log parse operation binding the contract event 0xf8e1a15aba9398e019f0b49df1a4fde98ee17ae345cb5f6b5e2c27f5033e8ce7.
Solidity: event MetadataUpdate(uint256 _tokenId)
func (*ERC721TokenTestFilterer) ParseOwnershipTransferred ¶
func (_ERC721TokenTest *ERC721TokenTestFilterer) ParseOwnershipTransferred(log types.Log) (*ERC721TokenTestOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ERC721TokenTestFilterer) ParseTransfer ¶
func (_ERC721TokenTest *ERC721TokenTestFilterer) ParseTransfer(log types.Log) (*ERC721TokenTestTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
func (*ERC721TokenTestFilterer) ParseUpgraded ¶
func (_ERC721TokenTest *ERC721TokenTestFilterer) ParseUpgraded(log types.Log) (*ERC721TokenTestUpgraded, error)
ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*ERC721TokenTestFilterer) WatchAdminChanged ¶
func (_ERC721TokenTest *ERC721TokenTestFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *ERC721TokenTestAdminChanged) (event.Subscription, error)
WatchAdminChanged is a free log subscription operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*ERC721TokenTestFilterer) WatchApproval ¶
func (_ERC721TokenTest *ERC721TokenTestFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC721TokenTestApproval, owner []common.Address, approved []common.Address, tokenId []*big.Int) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)
func (*ERC721TokenTestFilterer) WatchApprovalForAll ¶
func (_ERC721TokenTest *ERC721TokenTestFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *ERC721TokenTestApprovalForAll, owner []common.Address, operator []common.Address) (event.Subscription, error)
WatchApprovalForAll is a free log subscription operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.
Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)
func (*ERC721TokenTestFilterer) WatchBatchMetadataUpdate ¶
func (_ERC721TokenTest *ERC721TokenTestFilterer) WatchBatchMetadataUpdate(opts *bind.WatchOpts, sink chan<- *ERC721TokenTestBatchMetadataUpdate) (event.Subscription, error)
WatchBatchMetadataUpdate is a free log subscription operation binding the contract event 0x6bd5c950a8d8df17f772f5af37cb3655737899cbf903264b9795592da439661c.
Solidity: event BatchMetadataUpdate(uint256 _fromTokenId, uint256 _toTokenId)
func (*ERC721TokenTestFilterer) WatchBeaconUpgraded ¶
func (_ERC721TokenTest *ERC721TokenTestFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *ERC721TokenTestBeaconUpgraded, beacon []common.Address) (event.Subscription, error)
WatchBeaconUpgraded is a free log subscription operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*ERC721TokenTestFilterer) WatchInitialized ¶
func (_ERC721TokenTest *ERC721TokenTestFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *ERC721TokenTestInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*ERC721TokenTestFilterer) WatchMetadataUpdate ¶
func (_ERC721TokenTest *ERC721TokenTestFilterer) WatchMetadataUpdate(opts *bind.WatchOpts, sink chan<- *ERC721TokenTestMetadataUpdate) (event.Subscription, error)
WatchMetadataUpdate is a free log subscription operation binding the contract event 0xf8e1a15aba9398e019f0b49df1a4fde98ee17ae345cb5f6b5e2c27f5033e8ce7.
Solidity: event MetadataUpdate(uint256 _tokenId)
func (*ERC721TokenTestFilterer) WatchOwnershipTransferred ¶
func (_ERC721TokenTest *ERC721TokenTestFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ERC721TokenTestOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ERC721TokenTestFilterer) WatchTransfer ¶
func (_ERC721TokenTest *ERC721TokenTestFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC721TokenTestTransfer, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
func (*ERC721TokenTestFilterer) WatchUpgraded ¶
func (_ERC721TokenTest *ERC721TokenTestFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *ERC721TokenTestUpgraded, implementation []common.Address) (event.Subscription, error)
WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
type ERC721TokenTestInitialized ¶
type ERC721TokenTestInitialized struct { Version uint8 Raw types.Log // Blockchain specific contextual infos }
ERC721TokenTestInitialized represents a Initialized event raised by the ERC721TokenTest contract.
type ERC721TokenTestInitializedIterator ¶
type ERC721TokenTestInitializedIterator struct { Event *ERC721TokenTestInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC721TokenTestInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the ERC721TokenTest contract.
func (*ERC721TokenTestInitializedIterator) Close ¶
func (it *ERC721TokenTestInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC721TokenTestInitializedIterator) Error ¶
func (it *ERC721TokenTestInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC721TokenTestInitializedIterator) Next ¶
func (it *ERC721TokenTestInitializedIterator) 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 ERC721TokenTestMetadataUpdate ¶
type ERC721TokenTestMetadataUpdate struct { TokenId *big.Int Raw types.Log // Blockchain specific contextual infos }
ERC721TokenTestMetadataUpdate represents a MetadataUpdate event raised by the ERC721TokenTest contract.
type ERC721TokenTestMetadataUpdateIterator ¶
type ERC721TokenTestMetadataUpdateIterator struct { Event *ERC721TokenTestMetadataUpdate // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC721TokenTestMetadataUpdateIterator is returned from FilterMetadataUpdate and is used to iterate over the raw logs and unpacked data for MetadataUpdate events raised by the ERC721TokenTest contract.
func (*ERC721TokenTestMetadataUpdateIterator) Close ¶
func (it *ERC721TokenTestMetadataUpdateIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC721TokenTestMetadataUpdateIterator) Error ¶
func (it *ERC721TokenTestMetadataUpdateIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC721TokenTestMetadataUpdateIterator) Next ¶
func (it *ERC721TokenTestMetadataUpdateIterator) 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 ERC721TokenTestOwnershipTransferred ¶
type ERC721TokenTestOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
ERC721TokenTestOwnershipTransferred represents a OwnershipTransferred event raised by the ERC721TokenTest contract.
type ERC721TokenTestOwnershipTransferredIterator ¶
type ERC721TokenTestOwnershipTransferredIterator struct { Event *ERC721TokenTestOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC721TokenTestOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the ERC721TokenTest contract.
func (*ERC721TokenTestOwnershipTransferredIterator) Close ¶
func (it *ERC721TokenTestOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC721TokenTestOwnershipTransferredIterator) Error ¶
func (it *ERC721TokenTestOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC721TokenTestOwnershipTransferredIterator) Next ¶
func (it *ERC721TokenTestOwnershipTransferredIterator) 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 ERC721TokenTestRaw ¶
type ERC721TokenTestRaw struct {
Contract *ERC721TokenTest // Generic contract binding to access the raw methods on
}
ERC721TokenTestRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ERC721TokenTestRaw) Call ¶
func (_ERC721TokenTest *ERC721TokenTestRaw) 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 (*ERC721TokenTestRaw) Transact ¶
func (_ERC721TokenTest *ERC721TokenTestRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC721TokenTestRaw) Transfer ¶
func (_ERC721TokenTest *ERC721TokenTestRaw) 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 ERC721TokenTestSession ¶
type ERC721TokenTestSession struct { Contract *ERC721TokenTest // 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 }
ERC721TokenTestSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ERC721TokenTestSession) Approve ¶
func (_ERC721TokenTest *ERC721TokenTestSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address to, uint256 tokenId) returns()
func (*ERC721TokenTestSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*ERC721TokenTestSession) GetApproved ¶
func (_ERC721TokenTest *ERC721TokenTestSession) GetApproved(tokenId *big.Int) (common.Address, error)
GetApproved is a free data retrieval call binding the contract method 0x081812fc.
Solidity: function getApproved(uint256 tokenId) view returns(address)
func (*ERC721TokenTestSession) Initialize ¶
func (_ERC721TokenTest *ERC721TokenTestSession) Initialize() (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.
Solidity: function initialize() returns()
func (*ERC721TokenTestSession) IsApprovedForAll ¶
func (_ERC721TokenTest *ERC721TokenTestSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.
Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)
func (*ERC721TokenTestSession) Name ¶
func (_ERC721TokenTest *ERC721TokenTestSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ERC721TokenTestSession) Owner ¶
func (_ERC721TokenTest *ERC721TokenTestSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ERC721TokenTestSession) OwnerOf ¶
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address)
func (*ERC721TokenTestSession) ProxiableUUID ¶
func (_ERC721TokenTest *ERC721TokenTestSession) ProxiableUUID() ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*ERC721TokenTestSession) RenounceOwnership ¶
func (_ERC721TokenTest *ERC721TokenTestSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ERC721TokenTestSession) SafeMint ¶
func (_ERC721TokenTest *ERC721TokenTestSession) SafeMint(to common.Address, uri string) (*types.Transaction, error)
SafeMint is a paid mutator transaction binding the contract method 0xd204c45e.
Solidity: function safeMint(address to, string uri) returns()
func (*ERC721TokenTestSession) SafeTransferFrom ¶
func (_ERC721TokenTest *ERC721TokenTestSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()
func (*ERC721TokenTestSession) SafeTransferFrom0 ¶
func (_ERC721TokenTest *ERC721TokenTestSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)
SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes data) returns()
func (*ERC721TokenTestSession) SetApprovalForAll ¶
func (_ERC721TokenTest *ERC721TokenTestSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.
Solidity: function setApprovalForAll(address operator, bool approved) returns()
func (*ERC721TokenTestSession) SupportsInterface ¶
func (_ERC721TokenTest *ERC721TokenTestSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*ERC721TokenTestSession) Symbol ¶
func (_ERC721TokenTest *ERC721TokenTestSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ERC721TokenTestSession) TokenURI ¶
func (_ERC721TokenTest *ERC721TokenTestSession) TokenURI(tokenId *big.Int) (string, error)
TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.
Solidity: function tokenURI(uint256 tokenId) view returns(string)
func (*ERC721TokenTestSession) TransferFrom ¶
func (_ERC721TokenTest *ERC721TokenTestSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()
func (*ERC721TokenTestSession) TransferOwnership ¶
func (_ERC721TokenTest *ERC721TokenTestSession) 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 (*ERC721TokenTestSession) UpgradeTo ¶
func (_ERC721TokenTest *ERC721TokenTestSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
Solidity: function upgradeTo(address newImplementation) returns()
func (*ERC721TokenTestSession) UpgradeToAndCall ¶
func (_ERC721TokenTest *ERC721TokenTestSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
type ERC721TokenTestTransactor ¶
type ERC721TokenTestTransactor struct {
// contains filtered or unexported fields
}
ERC721TokenTestTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewERC721TokenTestTransactor ¶
func NewERC721TokenTestTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC721TokenTestTransactor, error)
NewERC721TokenTestTransactor creates a new write-only instance of ERC721TokenTest, bound to a specific deployed contract.
func (*ERC721TokenTestTransactor) Approve ¶
func (_ERC721TokenTest *ERC721TokenTestTransactor) Approve(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address to, uint256 tokenId) returns()
func (*ERC721TokenTestTransactor) Initialize ¶
func (_ERC721TokenTest *ERC721TokenTestTransactor) Initialize(opts *bind.TransactOpts) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.
Solidity: function initialize() returns()
func (*ERC721TokenTestTransactor) RenounceOwnership ¶
func (_ERC721TokenTest *ERC721TokenTestTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ERC721TokenTestTransactor) SafeMint ¶
func (_ERC721TokenTest *ERC721TokenTestTransactor) SafeMint(opts *bind.TransactOpts, to common.Address, uri string) (*types.Transaction, error)
SafeMint is a paid mutator transaction binding the contract method 0xd204c45e.
Solidity: function safeMint(address to, string uri) returns()
func (*ERC721TokenTestTransactor) SafeTransferFrom ¶
func (_ERC721TokenTest *ERC721TokenTestTransactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()
func (*ERC721TokenTestTransactor) SafeTransferFrom0 ¶
func (_ERC721TokenTest *ERC721TokenTestTransactor) SafeTransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)
SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes data) returns()
func (*ERC721TokenTestTransactor) SetApprovalForAll ¶
func (_ERC721TokenTest *ERC721TokenTestTransactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, approved bool) (*types.Transaction, error)
SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.
Solidity: function setApprovalForAll(address operator, bool approved) returns()
func (*ERC721TokenTestTransactor) TransferFrom ¶
func (_ERC721TokenTest *ERC721TokenTestTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()
func (*ERC721TokenTestTransactor) TransferOwnership ¶
func (_ERC721TokenTest *ERC721TokenTestTransactor) 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 (*ERC721TokenTestTransactor) UpgradeTo ¶
func (_ERC721TokenTest *ERC721TokenTestTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)
UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
Solidity: function upgradeTo(address newImplementation) returns()
func (*ERC721TokenTestTransactor) UpgradeToAndCall ¶
func (_ERC721TokenTest *ERC721TokenTestTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
type ERC721TokenTestTransactorRaw ¶
type ERC721TokenTestTransactorRaw struct {
Contract *ERC721TokenTestTransactor // Generic write-only contract binding to access the raw methods on
}
ERC721TokenTestTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ERC721TokenTestTransactorRaw) Transact ¶
func (_ERC721TokenTest *ERC721TokenTestTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC721TokenTestTransactorRaw) Transfer ¶
func (_ERC721TokenTest *ERC721TokenTestTransactorRaw) 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 ERC721TokenTestTransactorSession ¶
type ERC721TokenTestTransactorSession struct { Contract *ERC721TokenTestTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ERC721TokenTestTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ERC721TokenTestTransactorSession) Approve ¶
func (_ERC721TokenTest *ERC721TokenTestTransactorSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address to, uint256 tokenId) returns()
func (*ERC721TokenTestTransactorSession) Initialize ¶
func (_ERC721TokenTest *ERC721TokenTestTransactorSession) Initialize() (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x8129fc1c.
Solidity: function initialize() returns()
func (*ERC721TokenTestTransactorSession) RenounceOwnership ¶
func (_ERC721TokenTest *ERC721TokenTestTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ERC721TokenTestTransactorSession) SafeMint ¶
func (_ERC721TokenTest *ERC721TokenTestTransactorSession) SafeMint(to common.Address, uri string) (*types.Transaction, error)
SafeMint is a paid mutator transaction binding the contract method 0xd204c45e.
Solidity: function safeMint(address to, string uri) returns()
func (*ERC721TokenTestTransactorSession) SafeTransferFrom ¶
func (_ERC721TokenTest *ERC721TokenTestTransactorSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()
func (*ERC721TokenTestTransactorSession) SafeTransferFrom0 ¶
func (_ERC721TokenTest *ERC721TokenTestTransactorSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, data []byte) (*types.Transaction, error)
SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes data) returns()
func (*ERC721TokenTestTransactorSession) SetApprovalForAll ¶
func (_ERC721TokenTest *ERC721TokenTestTransactorSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.
Solidity: function setApprovalForAll(address operator, bool approved) returns()
func (*ERC721TokenTestTransactorSession) TransferFrom ¶
func (_ERC721TokenTest *ERC721TokenTestTransactorSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()
func (*ERC721TokenTestTransactorSession) TransferOwnership ¶
func (_ERC721TokenTest *ERC721TokenTestTransactorSession) 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 (*ERC721TokenTestTransactorSession) UpgradeTo ¶
func (_ERC721TokenTest *ERC721TokenTestTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
Solidity: function upgradeTo(address newImplementation) returns()
func (*ERC721TokenTestTransactorSession) UpgradeToAndCall ¶
func (_ERC721TokenTest *ERC721TokenTestTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
type ERC721TokenTestTransfer ¶
type ERC721TokenTestTransfer struct { From common.Address To common.Address TokenId *big.Int Raw types.Log // Blockchain specific contextual infos }
ERC721TokenTestTransfer represents a Transfer event raised by the ERC721TokenTest contract.
type ERC721TokenTestTransferIterator ¶
type ERC721TokenTestTransferIterator struct { Event *ERC721TokenTestTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC721TokenTestTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the ERC721TokenTest contract.
func (*ERC721TokenTestTransferIterator) Close ¶
func (it *ERC721TokenTestTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC721TokenTestTransferIterator) Error ¶
func (it *ERC721TokenTestTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC721TokenTestTransferIterator) Next ¶
func (it *ERC721TokenTestTransferIterator) 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 ERC721TokenTestUpgraded ¶
type ERC721TokenTestUpgraded struct { Implementation common.Address Raw types.Log // Blockchain specific contextual infos }
ERC721TokenTestUpgraded represents a Upgraded event raised by the ERC721TokenTest contract.
type ERC721TokenTestUpgradedIterator ¶
type ERC721TokenTestUpgradedIterator struct { Event *ERC721TokenTestUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC721TokenTestUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the ERC721TokenTest contract.
func (*ERC721TokenTestUpgradedIterator) Close ¶
func (it *ERC721TokenTestUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC721TokenTestUpgradedIterator) Error ¶
func (it *ERC721TokenTestUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC721TokenTestUpgradedIterator) Next ¶
func (it *ERC721TokenTestUpgradedIterator) 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 StakingTest ¶
type StakingTest struct { StakingTestCaller // Read-only binding to the contract StakingTestTransactor // Write-only binding to the contract StakingTestFilterer // Log filterer for contract events }
StakingTest is an auto generated Go binding around an Ethereum contract.
func DeployStakingTest ¶
func DeployStakingTest(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *StakingTest, error)
DeployStakingTest deploys a new Ethereum contract, binding an instance of StakingTest to it.
func NewStakingTest ¶
func NewStakingTest(address common.Address, backend bind.ContractBackend) (*StakingTest, error)
NewStakingTest creates a new instance of StakingTest, bound to a specific deployed contract.
type StakingTestApproveShares ¶
type StakingTestApproveShares struct {}
StakingTestApproveShares represents a ApproveShares event raised by the StakingTest contract.
type StakingTestApproveSharesIterator ¶
type StakingTestApproveSharesIterator struct { // contains filtered or unexported fields }
StakingTestApproveSharesIterator is returned from FilterApproveShares and is used to iterate over the raw logs and unpacked data for ApproveShares events raised by the StakingTest contract.
func (*StakingTestApproveSharesIterator) Close ¶
func (it *StakingTestApproveSharesIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StakingTestApproveSharesIterator) Error ¶
func (it *StakingTestApproveSharesIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StakingTestApproveSharesIterator) Next ¶
func (it *StakingTestApproveSharesIterator) 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 StakingTestCaller ¶
type StakingTestCaller struct {
// contains filtered or unexported fields
}
StakingTestCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewStakingTestCaller ¶
func NewStakingTestCaller(address common.Address, caller bind.ContractCaller) (*StakingTestCaller, error)
NewStakingTestCaller creates a new read-only instance of StakingTest, bound to a specific deployed contract.
func (*StakingTestCaller) AllowanceShares ¶
func (_StakingTest *StakingTestCaller) AllowanceShares(opts *bind.CallOpts, _val string, _owner common.Address, _spender common.Address) (*big.Int, error)
AllowanceShares is a free data retrieval call binding the contract method 0x7b625c0f.
Solidity: function allowanceShares(string _val, address _owner, address _spender) view returns(uint256)
func (*StakingTestCaller) Delegation ¶
func (_StakingTest *StakingTestCaller) Delegation(opts *bind.CallOpts, _val string, _del common.Address) (*big.Int, *big.Int, error)
Delegation is a free data retrieval call binding the contract method 0xd5c498eb.
Solidity: function delegation(string _val, address _del) view returns(uint256, uint256)
func (*StakingTestCaller) DelegationRewards ¶
func (_StakingTest *StakingTestCaller) DelegationRewards(opts *bind.CallOpts, _val string, _del common.Address) (*big.Int, error)
DelegationRewards is a free data retrieval call binding the contract method 0x51af513a.
Solidity: function delegationRewards(string _val, address _del) view returns(uint256)
func (*StakingTestCaller) STAKINGADDRESS ¶
STAKINGADDRESS is a free data retrieval call binding the contract method 0x8c20570b.
Solidity: function STAKING_ADDRESS() view returns(address)
func (*StakingTestCaller) SlashingInfo ¶
func (_StakingTest *StakingTestCaller) SlashingInfo(opts *bind.CallOpts, _val string) (struct { Jailed bool Missed *big.Int }, error)
SlashingInfo is a free data retrieval call binding the contract method 0x4e94633a.
Solidity: function slashingInfo(string _val) view returns(bool _jailed, uint256 _missed)
func (*StakingTestCaller) ValidatorList ¶
func (_StakingTest *StakingTestCaller) ValidatorList(opts *bind.CallOpts, _sortBy uint8) ([]string, error)
ValidatorList is a free data retrieval call binding the contract method 0x029c0a51.
Solidity: function validatorList(uint8 _sortBy) view returns(string[])
func (*StakingTestCaller) ValidatorShares ¶
func (_StakingTest *StakingTestCaller) ValidatorShares(opts *bind.CallOpts, arg0 string) (*big.Int, error)
ValidatorShares is a free data retrieval call binding the contract method 0xbf98d772.
Solidity: function validatorShares(string ) view returns(uint256)
type StakingTestCallerRaw ¶
type StakingTestCallerRaw struct {
Contract *StakingTestCaller // Generic read-only contract binding to access the raw methods on
}
StakingTestCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*StakingTestCallerRaw) Call ¶
func (_StakingTest *StakingTestCallerRaw) 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 StakingTestCallerSession ¶
type StakingTestCallerSession struct { Contract *StakingTestCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
StakingTestCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*StakingTestCallerSession) AllowanceShares ¶
func (_StakingTest *StakingTestCallerSession) AllowanceShares(_val string, _owner common.Address, _spender common.Address) (*big.Int, error)
AllowanceShares is a free data retrieval call binding the contract method 0x7b625c0f.
Solidity: function allowanceShares(string _val, address _owner, address _spender) view returns(uint256)
func (*StakingTestCallerSession) Delegation ¶
func (_StakingTest *StakingTestCallerSession) Delegation(_val string, _del common.Address) (*big.Int, *big.Int, error)
Delegation is a free data retrieval call binding the contract method 0xd5c498eb.
Solidity: function delegation(string _val, address _del) view returns(uint256, uint256)
func (*StakingTestCallerSession) DelegationRewards ¶
func (_StakingTest *StakingTestCallerSession) DelegationRewards(_val string, _del common.Address) (*big.Int, error)
DelegationRewards is a free data retrieval call binding the contract method 0x51af513a.
Solidity: function delegationRewards(string _val, address _del) view returns(uint256)
func (*StakingTestCallerSession) STAKINGADDRESS ¶
func (_StakingTest *StakingTestCallerSession) STAKINGADDRESS() (common.Address, error)
STAKINGADDRESS is a free data retrieval call binding the contract method 0x8c20570b.
Solidity: function STAKING_ADDRESS() view returns(address)
func (*StakingTestCallerSession) SlashingInfo ¶
func (_StakingTest *StakingTestCallerSession) SlashingInfo(_val string) (struct { Jailed bool Missed *big.Int }, error)
SlashingInfo is a free data retrieval call binding the contract method 0x4e94633a.
Solidity: function slashingInfo(string _val) view returns(bool _jailed, uint256 _missed)
func (*StakingTestCallerSession) ValidatorList ¶
func (_StakingTest *StakingTestCallerSession) ValidatorList(_sortBy uint8) ([]string, error)
ValidatorList is a free data retrieval call binding the contract method 0x029c0a51.
Solidity: function validatorList(uint8 _sortBy) view returns(string[])
func (*StakingTestCallerSession) ValidatorShares ¶
func (_StakingTest *StakingTestCallerSession) ValidatorShares(arg0 string) (*big.Int, error)
ValidatorShares is a free data retrieval call binding the contract method 0xbf98d772.
Solidity: function validatorShares(string ) view returns(uint256)
type StakingTestDelegateV2 ¶
type StakingTestDelegateV2 struct { Delegator common.Address Validator string Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
StakingTestDelegateV2 represents a DelegateV2 event raised by the StakingTest contract.
type StakingTestDelegateV2Iterator ¶
type StakingTestDelegateV2Iterator struct { Event *StakingTestDelegateV2 // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StakingTestDelegateV2Iterator is returned from FilterDelegateV2 and is used to iterate over the raw logs and unpacked data for DelegateV2 events raised by the StakingTest contract.
func (*StakingTestDelegateV2Iterator) Close ¶
func (it *StakingTestDelegateV2Iterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StakingTestDelegateV2Iterator) Error ¶
func (it *StakingTestDelegateV2Iterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StakingTestDelegateV2Iterator) Next ¶
func (it *StakingTestDelegateV2Iterator) 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 StakingTestFilterer ¶
type StakingTestFilterer struct {
// contains filtered or unexported fields
}
StakingTestFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewStakingTestFilterer ¶
func NewStakingTestFilterer(address common.Address, filterer bind.ContractFilterer) (*StakingTestFilterer, error)
NewStakingTestFilterer creates a new log filterer instance of StakingTest, bound to a specific deployed contract.
func (*StakingTestFilterer) FilterApproveShares ¶
func (_StakingTest *StakingTestFilterer) FilterApproveShares(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*StakingTestApproveSharesIterator, error)
FilterApproveShares is a free log retrieval operation binding the contract event 0xbd99ef1c86c593a90a79f794ca07759c5a04cf54bf800cfb77bb0b9fdb9bc04a.
Solidity: event ApproveShares(address indexed owner, address indexed spender, string validator, uint256 shares)
func (*StakingTestFilterer) FilterDelegateV2 ¶
func (_StakingTest *StakingTestFilterer) FilterDelegateV2(opts *bind.FilterOpts, delegator []common.Address) (*StakingTestDelegateV2Iterator, error)
FilterDelegateV2 is a free log retrieval operation binding the contract event 0x330852c9460e583c049d932477c038fca307363fa8c1083a332905a68b821f10.
Solidity: event DelegateV2(address indexed delegator, string validator, uint256 amount)
func (*StakingTestFilterer) FilterRedelegateV2 ¶
func (_StakingTest *StakingTestFilterer) FilterRedelegateV2(opts *bind.FilterOpts, sender []common.Address) (*StakingTestRedelegateV2Iterator, error)
FilterRedelegateV2 is a free log retrieval operation binding the contract event 0xdcf3a72a725100ce405b1ea62706114bec51d16536bf2cf868772ca440fe0da9.
Solidity: event RedelegateV2(address indexed sender, string valSrc, string valDst, uint256 amount, uint256 completionTime)
func (*StakingTestFilterer) FilterTransferShares ¶
func (_StakingTest *StakingTestFilterer) FilterTransferShares(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*StakingTestTransferSharesIterator, error)
FilterTransferShares is a free log retrieval operation binding the contract event 0x77a2ac7846d05ab9937faf9bf901529bef4b499a2939e632f99b3fab92448344.
Solidity: event TransferShares(address indexed from, address indexed to, string validator, uint256 shares, uint256 token)
func (*StakingTestFilterer) FilterUndelegateV2 ¶
func (_StakingTest *StakingTestFilterer) FilterUndelegateV2(opts *bind.FilterOpts, sender []common.Address) (*StakingTestUndelegateV2Iterator, error)
FilterUndelegateV2 is a free log retrieval operation binding the contract event 0x4d3e71c3e3ff90f64b7095a17eb6b6cdd1ca0f0563102ef30415f73cb64b866f.
Solidity: event UndelegateV2(address indexed sender, string validator, uint256 amount, uint256 completionTime)
func (*StakingTestFilterer) FilterWithdraw ¶
func (_StakingTest *StakingTestFilterer) FilterWithdraw(opts *bind.FilterOpts, sender []common.Address) (*StakingTestWithdrawIterator, error)
FilterWithdraw is a free log retrieval operation binding the contract event 0x901c03da5d88eb3d62ab4617e7b7d17d86db16356823a7971127d5181a842fef.
Solidity: event Withdraw(address indexed sender, string validator, uint256 reward)
func (*StakingTestFilterer) ParseApproveShares ¶
func (_StakingTest *StakingTestFilterer) ParseApproveShares(log types.Log) (*StakingTestApproveShares, error)
ParseApproveShares is a log parse operation binding the contract event 0xbd99ef1c86c593a90a79f794ca07759c5a04cf54bf800cfb77bb0b9fdb9bc04a.
Solidity: event ApproveShares(address indexed owner, address indexed spender, string validator, uint256 shares)
func (*StakingTestFilterer) ParseDelegateV2 ¶
func (_StakingTest *StakingTestFilterer) ParseDelegateV2(log types.Log) (*StakingTestDelegateV2, error)
ParseDelegateV2 is a log parse operation binding the contract event 0x330852c9460e583c049d932477c038fca307363fa8c1083a332905a68b821f10.
Solidity: event DelegateV2(address indexed delegator, string validator, uint256 amount)
func (*StakingTestFilterer) ParseRedelegateV2 ¶
func (_StakingTest *StakingTestFilterer) ParseRedelegateV2(log types.Log) (*StakingTestRedelegateV2, error)
ParseRedelegateV2 is a log parse operation binding the contract event 0xdcf3a72a725100ce405b1ea62706114bec51d16536bf2cf868772ca440fe0da9.
Solidity: event RedelegateV2(address indexed sender, string valSrc, string valDst, uint256 amount, uint256 completionTime)
func (*StakingTestFilterer) ParseTransferShares ¶
func (_StakingTest *StakingTestFilterer) ParseTransferShares(log types.Log) (*StakingTestTransferShares, error)
ParseTransferShares is a log parse operation binding the contract event 0x77a2ac7846d05ab9937faf9bf901529bef4b499a2939e632f99b3fab92448344.
Solidity: event TransferShares(address indexed from, address indexed to, string validator, uint256 shares, uint256 token)
func (*StakingTestFilterer) ParseUndelegateV2 ¶
func (_StakingTest *StakingTestFilterer) ParseUndelegateV2(log types.Log) (*StakingTestUndelegateV2, error)
ParseUndelegateV2 is a log parse operation binding the contract event 0x4d3e71c3e3ff90f64b7095a17eb6b6cdd1ca0f0563102ef30415f73cb64b866f.
Solidity: event UndelegateV2(address indexed sender, string validator, uint256 amount, uint256 completionTime)
func (*StakingTestFilterer) ParseWithdraw ¶
func (_StakingTest *StakingTestFilterer) ParseWithdraw(log types.Log) (*StakingTestWithdraw, error)
ParseWithdraw is a log parse operation binding the contract event 0x901c03da5d88eb3d62ab4617e7b7d17d86db16356823a7971127d5181a842fef.
Solidity: event Withdraw(address indexed sender, string validator, uint256 reward)
func (*StakingTestFilterer) WatchApproveShares ¶
func (_StakingTest *StakingTestFilterer) WatchApproveShares(opts *bind.WatchOpts, sink chan<- *StakingTestApproveShares, owner []common.Address, spender []common.Address) (event.Subscription, error)
WatchApproveShares is a free log subscription operation binding the contract event 0xbd99ef1c86c593a90a79f794ca07759c5a04cf54bf800cfb77bb0b9fdb9bc04a.
Solidity: event ApproveShares(address indexed owner, address indexed spender, string validator, uint256 shares)
func (*StakingTestFilterer) WatchDelegateV2 ¶
func (_StakingTest *StakingTestFilterer) WatchDelegateV2(opts *bind.WatchOpts, sink chan<- *StakingTestDelegateV2, delegator []common.Address) (event.Subscription, error)
WatchDelegateV2 is a free log subscription operation binding the contract event 0x330852c9460e583c049d932477c038fca307363fa8c1083a332905a68b821f10.
Solidity: event DelegateV2(address indexed delegator, string validator, uint256 amount)
func (*StakingTestFilterer) WatchRedelegateV2 ¶
func (_StakingTest *StakingTestFilterer) WatchRedelegateV2(opts *bind.WatchOpts, sink chan<- *StakingTestRedelegateV2, sender []common.Address) (event.Subscription, error)
WatchRedelegateV2 is a free log subscription operation binding the contract event 0xdcf3a72a725100ce405b1ea62706114bec51d16536bf2cf868772ca440fe0da9.
Solidity: event RedelegateV2(address indexed sender, string valSrc, string valDst, uint256 amount, uint256 completionTime)
func (*StakingTestFilterer) WatchTransferShares ¶
func (_StakingTest *StakingTestFilterer) WatchTransferShares(opts *bind.WatchOpts, sink chan<- *StakingTestTransferShares, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransferShares is a free log subscription operation binding the contract event 0x77a2ac7846d05ab9937faf9bf901529bef4b499a2939e632f99b3fab92448344.
Solidity: event TransferShares(address indexed from, address indexed to, string validator, uint256 shares, uint256 token)
func (*StakingTestFilterer) WatchUndelegateV2 ¶
func (_StakingTest *StakingTestFilterer) WatchUndelegateV2(opts *bind.WatchOpts, sink chan<- *StakingTestUndelegateV2, sender []common.Address) (event.Subscription, error)
WatchUndelegateV2 is a free log subscription operation binding the contract event 0x4d3e71c3e3ff90f64b7095a17eb6b6cdd1ca0f0563102ef30415f73cb64b866f.
Solidity: event UndelegateV2(address indexed sender, string validator, uint256 amount, uint256 completionTime)
func (*StakingTestFilterer) WatchWithdraw ¶
func (_StakingTest *StakingTestFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *StakingTestWithdraw, sender []common.Address) (event.Subscription, error)
WatchWithdraw is a free log subscription operation binding the contract event 0x901c03da5d88eb3d62ab4617e7b7d17d86db16356823a7971127d5181a842fef.
Solidity: event Withdraw(address indexed sender, string validator, uint256 reward)
type StakingTestRaw ¶
type StakingTestRaw struct {
Contract *StakingTest // Generic contract binding to access the raw methods on
}
StakingTestRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*StakingTestRaw) Call ¶
func (_StakingTest *StakingTestRaw) 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 (*StakingTestRaw) Transact ¶
func (_StakingTest *StakingTestRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*StakingTestRaw) Transfer ¶
func (_StakingTest *StakingTestRaw) 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 StakingTestRedelegateV2 ¶
type StakingTestRedelegateV2 struct { Sender common.Address ValSrc string ValDst string Amount *big.Int CompletionTime *big.Int Raw types.Log // Blockchain specific contextual infos }
StakingTestRedelegateV2 represents a RedelegateV2 event raised by the StakingTest contract.
type StakingTestRedelegateV2Iterator ¶
type StakingTestRedelegateV2Iterator struct { Event *StakingTestRedelegateV2 // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StakingTestRedelegateV2Iterator is returned from FilterRedelegateV2 and is used to iterate over the raw logs and unpacked data for RedelegateV2 events raised by the StakingTest contract.
func (*StakingTestRedelegateV2Iterator) Close ¶
func (it *StakingTestRedelegateV2Iterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StakingTestRedelegateV2Iterator) Error ¶
func (it *StakingTestRedelegateV2Iterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StakingTestRedelegateV2Iterator) Next ¶
func (it *StakingTestRedelegateV2Iterator) 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 StakingTestSession ¶
type StakingTestSession struct { Contract *StakingTest // 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 }
StakingTestSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*StakingTestSession) AllowanceShares ¶
func (_StakingTest *StakingTestSession) AllowanceShares(_val string, _owner common.Address, _spender common.Address) (*big.Int, error)
AllowanceShares is a free data retrieval call binding the contract method 0x7b625c0f.
Solidity: function allowanceShares(string _val, address _owner, address _spender) view returns(uint256)
func (*StakingTestSession) ApproveShares ¶
func (_StakingTest *StakingTestSession) ApproveShares(_val string, _spender common.Address, _shares *big.Int) (*types.Transaction, error)
ApproveShares is a paid mutator transaction binding the contract method 0x49da433e.
Solidity: function approveShares(string _val, address _spender, uint256 _shares) returns(bool)
func (*StakingTestSession) DelegateV2 ¶
func (_StakingTest *StakingTestSession) DelegateV2(_val string, _amount *big.Int) (*types.Transaction, error)
DelegateV2 is a paid mutator transaction binding the contract method 0x6d788035.
Solidity: function delegateV2(string _val, uint256 _amount) payable returns(bool _result)
func (*StakingTestSession) Delegation ¶
func (_StakingTest *StakingTestSession) Delegation(_val string, _del common.Address) (*big.Int, *big.Int, error)
Delegation is a free data retrieval call binding the contract method 0xd5c498eb.
Solidity: function delegation(string _val, address _del) view returns(uint256, uint256)
func (*StakingTestSession) DelegationRewards ¶
func (_StakingTest *StakingTestSession) DelegationRewards(_val string, _del common.Address) (*big.Int, error)
DelegationRewards is a free data retrieval call binding the contract method 0x51af513a.
Solidity: function delegationRewards(string _val, address _del) view returns(uint256)
func (*StakingTestSession) RedelegateV2 ¶
func (_StakingTest *StakingTestSession) RedelegateV2(_valSrc string, _valDst string, _amount *big.Int) (*types.Transaction, error)
RedelegateV2 is a paid mutator transaction binding the contract method 0xee226c66.
Solidity: function redelegateV2(string _valSrc, string _valDst, uint256 _amount) returns(bool _result)
func (*StakingTestSession) STAKINGADDRESS ¶
func (_StakingTest *StakingTestSession) STAKINGADDRESS() (common.Address, error)
STAKINGADDRESS is a free data retrieval call binding the contract method 0x8c20570b.
Solidity: function STAKING_ADDRESS() view returns(address)
func (*StakingTestSession) SlashingInfo ¶
func (_StakingTest *StakingTestSession) SlashingInfo(_val string) (struct { Jailed bool Missed *big.Int }, error)
SlashingInfo is a free data retrieval call binding the contract method 0x4e94633a.
Solidity: function slashingInfo(string _val) view returns(bool _jailed, uint256 _missed)
func (*StakingTestSession) TransferFromShares ¶
func (_StakingTest *StakingTestSession) TransferFromShares(_val string, _from common.Address, _to common.Address, _shares *big.Int) (*types.Transaction, error)
TransferFromShares is a paid mutator transaction binding the contract method 0xdc6ffc7d.
Solidity: function transferFromShares(string _val, address _from, address _to, uint256 _shares) returns(uint256, uint256)
func (*StakingTestSession) TransferShares ¶
func (_StakingTest *StakingTestSession) TransferShares(_val string, _to common.Address, _shares *big.Int) (*types.Transaction, error)
TransferShares is a paid mutator transaction binding the contract method 0x161298c1.
Solidity: function transferShares(string _val, address _to, uint256 _shares) returns(uint256, uint256)
func (*StakingTestSession) UndelegateV2 ¶
func (_StakingTest *StakingTestSession) UndelegateV2(_val string, _amount *big.Int) (*types.Transaction, error)
UndelegateV2 is a paid mutator transaction binding the contract method 0xde2b3451.
Solidity: function undelegateV2(string _val, uint256 _amount) returns(bool _result)
func (*StakingTestSession) ValidatorList ¶
func (_StakingTest *StakingTestSession) ValidatorList(_sortBy uint8) ([]string, error)
ValidatorList is a free data retrieval call binding the contract method 0x029c0a51.
Solidity: function validatorList(uint8 _sortBy) view returns(string[])
func (*StakingTestSession) ValidatorShares ¶
func (_StakingTest *StakingTestSession) ValidatorShares(arg0 string) (*big.Int, error)
ValidatorShares is a free data retrieval call binding the contract method 0xbf98d772.
Solidity: function validatorShares(string ) view returns(uint256)
func (*StakingTestSession) Withdraw ¶
func (_StakingTest *StakingTestSession) Withdraw(_val string) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x31fb67c2.
Solidity: function withdraw(string _val) returns(uint256)
type StakingTestTransactor ¶
type StakingTestTransactor struct {
// contains filtered or unexported fields
}
StakingTestTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewStakingTestTransactor ¶
func NewStakingTestTransactor(address common.Address, transactor bind.ContractTransactor) (*StakingTestTransactor, error)
NewStakingTestTransactor creates a new write-only instance of StakingTest, bound to a specific deployed contract.
func (*StakingTestTransactor) ApproveShares ¶
func (_StakingTest *StakingTestTransactor) ApproveShares(opts *bind.TransactOpts, _val string, _spender common.Address, _shares *big.Int) (*types.Transaction, error)
ApproveShares is a paid mutator transaction binding the contract method 0x49da433e.
Solidity: function approveShares(string _val, address _spender, uint256 _shares) returns(bool)
func (*StakingTestTransactor) DelegateV2 ¶
func (_StakingTest *StakingTestTransactor) DelegateV2(opts *bind.TransactOpts, _val string, _amount *big.Int) (*types.Transaction, error)
DelegateV2 is a paid mutator transaction binding the contract method 0x6d788035.
Solidity: function delegateV2(string _val, uint256 _amount) payable returns(bool _result)
func (*StakingTestTransactor) RedelegateV2 ¶
func (_StakingTest *StakingTestTransactor) RedelegateV2(opts *bind.TransactOpts, _valSrc string, _valDst string, _amount *big.Int) (*types.Transaction, error)
RedelegateV2 is a paid mutator transaction binding the contract method 0xee226c66.
Solidity: function redelegateV2(string _valSrc, string _valDst, uint256 _amount) returns(bool _result)
func (*StakingTestTransactor) TransferFromShares ¶
func (_StakingTest *StakingTestTransactor) TransferFromShares(opts *bind.TransactOpts, _val string, _from common.Address, _to common.Address, _shares *big.Int) (*types.Transaction, error)
TransferFromShares is a paid mutator transaction binding the contract method 0xdc6ffc7d.
Solidity: function transferFromShares(string _val, address _from, address _to, uint256 _shares) returns(uint256, uint256)
func (*StakingTestTransactor) TransferShares ¶
func (_StakingTest *StakingTestTransactor) TransferShares(opts *bind.TransactOpts, _val string, _to common.Address, _shares *big.Int) (*types.Transaction, error)
TransferShares is a paid mutator transaction binding the contract method 0x161298c1.
Solidity: function transferShares(string _val, address _to, uint256 _shares) returns(uint256, uint256)
func (*StakingTestTransactor) UndelegateV2 ¶
func (_StakingTest *StakingTestTransactor) UndelegateV2(opts *bind.TransactOpts, _val string, _amount *big.Int) (*types.Transaction, error)
UndelegateV2 is a paid mutator transaction binding the contract method 0xde2b3451.
Solidity: function undelegateV2(string _val, uint256 _amount) returns(bool _result)
func (*StakingTestTransactor) Withdraw ¶
func (_StakingTest *StakingTestTransactor) Withdraw(opts *bind.TransactOpts, _val string) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x31fb67c2.
Solidity: function withdraw(string _val) returns(uint256)
type StakingTestTransactorRaw ¶
type StakingTestTransactorRaw struct {
Contract *StakingTestTransactor // Generic write-only contract binding to access the raw methods on
}
StakingTestTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*StakingTestTransactorRaw) Transact ¶
func (_StakingTest *StakingTestTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*StakingTestTransactorRaw) Transfer ¶
func (_StakingTest *StakingTestTransactorRaw) 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 StakingTestTransactorSession ¶
type StakingTestTransactorSession struct { Contract *StakingTestTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
StakingTestTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*StakingTestTransactorSession) ApproveShares ¶
func (_StakingTest *StakingTestTransactorSession) ApproveShares(_val string, _spender common.Address, _shares *big.Int) (*types.Transaction, error)
ApproveShares is a paid mutator transaction binding the contract method 0x49da433e.
Solidity: function approveShares(string _val, address _spender, uint256 _shares) returns(bool)
func (*StakingTestTransactorSession) DelegateV2 ¶
func (_StakingTest *StakingTestTransactorSession) DelegateV2(_val string, _amount *big.Int) (*types.Transaction, error)
DelegateV2 is a paid mutator transaction binding the contract method 0x6d788035.
Solidity: function delegateV2(string _val, uint256 _amount) payable returns(bool _result)
func (*StakingTestTransactorSession) RedelegateV2 ¶
func (_StakingTest *StakingTestTransactorSession) RedelegateV2(_valSrc string, _valDst string, _amount *big.Int) (*types.Transaction, error)
RedelegateV2 is a paid mutator transaction binding the contract method 0xee226c66.
Solidity: function redelegateV2(string _valSrc, string _valDst, uint256 _amount) returns(bool _result)
func (*StakingTestTransactorSession) TransferFromShares ¶
func (_StakingTest *StakingTestTransactorSession) TransferFromShares(_val string, _from common.Address, _to common.Address, _shares *big.Int) (*types.Transaction, error)
TransferFromShares is a paid mutator transaction binding the contract method 0xdc6ffc7d.
Solidity: function transferFromShares(string _val, address _from, address _to, uint256 _shares) returns(uint256, uint256)
func (*StakingTestTransactorSession) TransferShares ¶
func (_StakingTest *StakingTestTransactorSession) TransferShares(_val string, _to common.Address, _shares *big.Int) (*types.Transaction, error)
TransferShares is a paid mutator transaction binding the contract method 0x161298c1.
Solidity: function transferShares(string _val, address _to, uint256 _shares) returns(uint256, uint256)
func (*StakingTestTransactorSession) UndelegateV2 ¶
func (_StakingTest *StakingTestTransactorSession) UndelegateV2(_val string, _amount *big.Int) (*types.Transaction, error)
UndelegateV2 is a paid mutator transaction binding the contract method 0xde2b3451.
Solidity: function undelegateV2(string _val, uint256 _amount) returns(bool _result)
func (*StakingTestTransactorSession) Withdraw ¶
func (_StakingTest *StakingTestTransactorSession) Withdraw(_val string) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x31fb67c2.
Solidity: function withdraw(string _val) returns(uint256)
type StakingTestTransferShares ¶
type StakingTestTransferShares struct {}
StakingTestTransferShares represents a TransferShares event raised by the StakingTest contract.
type StakingTestTransferSharesIterator ¶
type StakingTestTransferSharesIterator struct { // contains filtered or unexported fields }
StakingTestTransferSharesIterator is returned from FilterTransferShares and is used to iterate over the raw logs and unpacked data for TransferShares events raised by the StakingTest contract.
func (*StakingTestTransferSharesIterator) Close ¶
func (it *StakingTestTransferSharesIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StakingTestTransferSharesIterator) Error ¶
func (it *StakingTestTransferSharesIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StakingTestTransferSharesIterator) Next ¶
func (it *StakingTestTransferSharesIterator) 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 StakingTestUndelegateV2 ¶
type StakingTestUndelegateV2 struct { Sender common.Address Validator string Amount *big.Int CompletionTime *big.Int Raw types.Log // Blockchain specific contextual infos }
StakingTestUndelegateV2 represents a UndelegateV2 event raised by the StakingTest contract.
type StakingTestUndelegateV2Iterator ¶
type StakingTestUndelegateV2Iterator struct { Event *StakingTestUndelegateV2 // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StakingTestUndelegateV2Iterator is returned from FilterUndelegateV2 and is used to iterate over the raw logs and unpacked data for UndelegateV2 events raised by the StakingTest contract.
func (*StakingTestUndelegateV2Iterator) Close ¶
func (it *StakingTestUndelegateV2Iterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StakingTestUndelegateV2Iterator) Error ¶
func (it *StakingTestUndelegateV2Iterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StakingTestUndelegateV2Iterator) Next ¶
func (it *StakingTestUndelegateV2Iterator) 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 StakingTestWithdraw ¶
type StakingTestWithdraw struct { Sender common.Address Validator string Reward *big.Int Raw types.Log // Blockchain specific contextual infos }
StakingTestWithdraw represents a Withdraw event raised by the StakingTest contract.
type StakingTestWithdrawIterator ¶
type StakingTestWithdrawIterator struct { Event *StakingTestWithdraw // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StakingTestWithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the StakingTest contract.
func (*StakingTestWithdrawIterator) Close ¶
func (it *StakingTestWithdrawIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StakingTestWithdrawIterator) Error ¶
func (it *StakingTestWithdrawIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StakingTestWithdrawIterator) Next ¶
func (it *StakingTestWithdrawIterator) 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.