Versions in this module Expand all Collapse all v5 v5.0.0 Aug 18, 2023 Changes in this version + var CrossChainTestABI = CrossChainTestMetaData.ABI + var CrossChainTestBin = CrossChainTestMetaData.Bin + var CrossChainTestMetaData = &bind.MetaData + var ERC721TokenTestABI = ERC721TokenTestMetaData.ABI + var ERC721TokenTestBin = ERC721TokenTestMetaData.Bin + var ERC721TokenTestMetaData = &bind.MetaData + var StakingTestABI = StakingTestMetaData.ABI + var StakingTestBin = StakingTestMetaData.Bin + var StakingTestMetaData = &bind.MetaData + type CrossChainTest struct + func DeployCrossChainTest(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *CrossChainTest, error) + func NewCrossChainTest(address common.Address, backend bind.ContractBackend) (*CrossChainTest, error) + type CrossChainTestCaller struct + func NewCrossChainTestCaller(address common.Address, caller bind.ContractCaller) (*CrossChainTestCaller, error) + func (_CrossChainTest *CrossChainTestCaller) BridgeCoinAmount(opts *bind.CallOpts, _token common.Address, _target [32]byte) (*big.Int, error) + type CrossChainTestCallerRaw struct + Contract *CrossChainTestCaller + func (_CrossChainTest *CrossChainTestCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + type CrossChainTestCallerSession struct + CallOpts bind.CallOpts + Contract *CrossChainTestCaller + func (_CrossChainTest *CrossChainTestCallerSession) BridgeCoinAmount(_token common.Address, _target [32]byte) (*big.Int, error) + type CrossChainTestFilterer struct + func NewCrossChainTestFilterer(address common.Address, filterer bind.ContractFilterer) (*CrossChainTestFilterer, error) + type CrossChainTestRaw struct + Contract *CrossChainTest + 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 struct + CallOpts bind.CallOpts + Contract *CrossChainTest + TransactOpts bind.TransactOpts + func (_CrossChainTest *CrossChainTestSession) BridgeCoinAmount(_token common.Address, _target [32]byte) (*big.Int, error) + func (_CrossChainTest *CrossChainTestSession) CancelSendToExternal(_chain string, _txID *big.Int) (*types.Transaction, error) + func (_CrossChainTest *CrossChainTestSession) CrossChain(_token common.Address, _receipt string, _amount *big.Int, _fee *big.Int, ...) (*types.Transaction, error) + func (_CrossChainTest *CrossChainTestSession) IncreaseBridgeFee(_chain string, _txID *big.Int, _token common.Address, _fee *big.Int) (*types.Transaction, error) + type CrossChainTestTransactor struct + func NewCrossChainTestTransactor(address common.Address, transactor bind.ContractTransactor) (*CrossChainTestTransactor, error) + func (_CrossChainTest *CrossChainTestTransactor) CancelSendToExternal(opts *bind.TransactOpts, _chain string, _txID *big.Int) (*types.Transaction, error) + func (_CrossChainTest *CrossChainTestTransactor) CrossChain(opts *bind.TransactOpts, _token common.Address, _receipt string, ...) (*types.Transaction, error) + func (_CrossChainTest *CrossChainTestTransactor) IncreaseBridgeFee(opts *bind.TransactOpts, _chain string, _txID *big.Int, _token common.Address, ...) (*types.Transaction, error) + type CrossChainTestTransactorRaw struct + Contract *CrossChainTestTransactor + func (_CrossChainTest *CrossChainTestTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_CrossChainTest *CrossChainTestTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type CrossChainTestTransactorSession struct + Contract *CrossChainTestTransactor + TransactOpts bind.TransactOpts + func (_CrossChainTest *CrossChainTestTransactorSession) CancelSendToExternal(_chain string, _txID *big.Int) (*types.Transaction, error) + func (_CrossChainTest *CrossChainTestTransactorSession) CrossChain(_token common.Address, _receipt string, _amount *big.Int, _fee *big.Int, ...) (*types.Transaction, error) + func (_CrossChainTest *CrossChainTestTransactorSession) IncreaseBridgeFee(_chain string, _txID *big.Int, _token common.Address, _fee *big.Int) (*types.Transaction, error) + type ERC721TokenTest struct + func DeployERC721TokenTest(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *ERC721TokenTest, error) + func NewERC721TokenTest(address common.Address, backend bind.ContractBackend) (*ERC721TokenTest, error) + type ERC721TokenTestAdminChanged struct + NewAdmin common.Address + PreviousAdmin common.Address + Raw types.Log + type ERC721TokenTestAdminChangedIterator struct + Event *ERC721TokenTestAdminChanged + func (it *ERC721TokenTestAdminChangedIterator) Close() error + func (it *ERC721TokenTestAdminChangedIterator) Error() error + func (it *ERC721TokenTestAdminChangedIterator) Next() bool + type ERC721TokenTestApproval struct + Approved common.Address + Owner common.Address + Raw types.Log + TokenId *big.Int + type ERC721TokenTestApprovalForAll struct + Approved bool + Operator common.Address + Owner common.Address + Raw types.Log + type ERC721TokenTestApprovalForAllIterator struct + Event *ERC721TokenTestApprovalForAll + func (it *ERC721TokenTestApprovalForAllIterator) Close() error + func (it *ERC721TokenTestApprovalForAllIterator) Error() error + func (it *ERC721TokenTestApprovalForAllIterator) Next() bool + type ERC721TokenTestApprovalIterator struct + Event *ERC721TokenTestApproval + func (it *ERC721TokenTestApprovalIterator) Close() error + func (it *ERC721TokenTestApprovalIterator) Error() error + func (it *ERC721TokenTestApprovalIterator) Next() bool + type ERC721TokenTestBeaconUpgraded struct + Beacon common.Address + Raw types.Log + type ERC721TokenTestBeaconUpgradedIterator struct + Event *ERC721TokenTestBeaconUpgraded + func (it *ERC721TokenTestBeaconUpgradedIterator) Close() error + func (it *ERC721TokenTestBeaconUpgradedIterator) Error() error + func (it *ERC721TokenTestBeaconUpgradedIterator) Next() bool + type ERC721TokenTestCaller struct + func NewERC721TokenTestCaller(address common.Address, caller bind.ContractCaller) (*ERC721TokenTestCaller, error) + 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 struct + Contract *ERC721TokenTestCaller + func (_ERC721TokenTest *ERC721TokenTestCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + type ERC721TokenTestCallerSession struct + CallOpts bind.CallOpts + Contract *ERC721TokenTestCaller + 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 struct + func NewERC721TokenTestFilterer(address common.Address, filterer bind.ContractFilterer) (*ERC721TokenTestFilterer, error) + 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) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*ERC721TokenTestBeaconUpgradedIterator, error) + func (_ERC721TokenTest *ERC721TokenTestFilterer) FilterInitialized(opts *bind.FilterOpts) (*ERC721TokenTestInitializedIterator, 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) ParseBeaconUpgraded(log types.Log) (*ERC721TokenTestBeaconUpgraded, error) + func (_ERC721TokenTest *ERC721TokenTestFilterer) ParseInitialized(log types.Log) (*ERC721TokenTestInitialized, 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) 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) 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 struct + Raw types.Log + Version uint8 + type ERC721TokenTestInitializedIterator struct + Event *ERC721TokenTestInitialized + func (it *ERC721TokenTestInitializedIterator) Close() error + func (it *ERC721TokenTestInitializedIterator) Error() error + func (it *ERC721TokenTestInitializedIterator) Next() bool + type ERC721TokenTestOwnershipTransferred struct + NewOwner common.Address + PreviousOwner common.Address + Raw types.Log + type ERC721TokenTestOwnershipTransferredIterator struct + Event *ERC721TokenTestOwnershipTransferred + func (it *ERC721TokenTestOwnershipTransferredIterator) Close() error + func (it *ERC721TokenTestOwnershipTransferredIterator) Error() error + func (it *ERC721TokenTestOwnershipTransferredIterator) Next() bool + type ERC721TokenTestRaw struct + Contract *ERC721TokenTest + 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 struct + CallOpts bind.CallOpts + Contract *ERC721TokenTest + TransactOpts bind.TransactOpts + 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 struct + func NewERC721TokenTestTransactor(address common.Address, transactor bind.ContractTransactor) (*ERC721TokenTestTransactor, error) + 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 struct + Contract *ERC721TokenTestTransactor + func (_ERC721TokenTest *ERC721TokenTestTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_ERC721TokenTest *ERC721TokenTestTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type ERC721TokenTestTransactorSession struct + Contract *ERC721TokenTestTransactor + TransactOpts bind.TransactOpts + 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 struct + From common.Address + Raw types.Log + To common.Address + TokenId *big.Int + type ERC721TokenTestTransferIterator struct + Event *ERC721TokenTestTransfer + func (it *ERC721TokenTestTransferIterator) Close() error + func (it *ERC721TokenTestTransferIterator) Error() error + func (it *ERC721TokenTestTransferIterator) Next() bool + type ERC721TokenTestUpgraded struct + Implementation common.Address + Raw types.Log + type ERC721TokenTestUpgradedIterator struct + Event *ERC721TokenTestUpgraded + func (it *ERC721TokenTestUpgradedIterator) Close() error + func (it *ERC721TokenTestUpgradedIterator) Error() error + func (it *ERC721TokenTestUpgradedIterator) Next() bool + type StakingTest struct + func DeployStakingTest(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *StakingTest, error) + func NewStakingTest(address common.Address, backend bind.ContractBackend) (*StakingTest, error) + type StakingTestApproveShares struct + Owner common.Address + Raw types.Log + Shares *big.Int + Spender common.Address + Validator string + type StakingTestApproveSharesIterator struct + Event *StakingTestApproveShares + func (it *StakingTestApproveSharesIterator) Close() error + func (it *StakingTestApproveSharesIterator) Error() error + func (it *StakingTestApproveSharesIterator) Next() bool + type StakingTestCaller struct + func NewStakingTestCaller(address common.Address, caller bind.ContractCaller) (*StakingTestCaller, error) + 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) ValidatorShares(opts *bind.CallOpts, arg0 string) (*big.Int, error) + type StakingTestCallerRaw struct + Contract *StakingTestCaller + func (_StakingTest *StakingTestCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + type StakingTestCallerSession struct + CallOpts bind.CallOpts + Contract *StakingTestCaller + 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) ValidatorShares(arg0 string) (*big.Int, error) + type StakingTestDelegate struct + Amount *big.Int + Delegator common.Address + Raw types.Log + Shares *big.Int + Validator string + type StakingTestDelegateIterator struct + Event *StakingTestDelegate + func (it *StakingTestDelegateIterator) Close() error + func (it *StakingTestDelegateIterator) Error() error + func (it *StakingTestDelegateIterator) Next() bool + type StakingTestFilterer struct + func NewStakingTestFilterer(address common.Address, filterer bind.ContractFilterer) (*StakingTestFilterer, error) + func (_StakingTest *StakingTestFilterer) FilterApproveShares(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*StakingTestApproveSharesIterator, error) + func (_StakingTest *StakingTestFilterer) FilterDelegate(opts *bind.FilterOpts, delegator []common.Address) (*StakingTestDelegateIterator, error) + func (_StakingTest *StakingTestFilterer) FilterTransferShares(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*StakingTestTransferSharesIterator, error) + func (_StakingTest *StakingTestFilterer) FilterUndelegate(opts *bind.FilterOpts, sender []common.Address) (*StakingTestUndelegateIterator, 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) ParseDelegate(log types.Log) (*StakingTestDelegate, error) + func (_StakingTest *StakingTestFilterer) ParseTransferShares(log types.Log) (*StakingTestTransferShares, error) + func (_StakingTest *StakingTestFilterer) ParseUndelegate(log types.Log) (*StakingTestUndelegate, 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) WatchDelegate(opts *bind.WatchOpts, sink chan<- *StakingTestDelegate, ...) (event.Subscription, error) + func (_StakingTest *StakingTestFilterer) WatchTransferShares(opts *bind.WatchOpts, sink chan<- *StakingTestTransferShares, ...) (event.Subscription, error) + func (_StakingTest *StakingTestFilterer) WatchUndelegate(opts *bind.WatchOpts, sink chan<- *StakingTestUndelegate, ...) (event.Subscription, error) + func (_StakingTest *StakingTestFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *StakingTestWithdraw, ...) (event.Subscription, error) + type StakingTestRaw struct + Contract *StakingTest + 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 StakingTestSession struct + CallOpts bind.CallOpts + Contract *StakingTest + TransactOpts bind.TransactOpts + 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) Delegate(_val string) (*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) 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) Undelegate(_val string, _shares *big.Int) (*types.Transaction, error) + func (_StakingTest *StakingTestSession) ValidatorShares(arg0 string) (*big.Int, error) + func (_StakingTest *StakingTestSession) Withdraw(_val string) (*types.Transaction, error) + type StakingTestTransactor struct + func NewStakingTestTransactor(address common.Address, transactor bind.ContractTransactor) (*StakingTestTransactor, error) + func (_StakingTest *StakingTestTransactor) ApproveShares(opts *bind.TransactOpts, _val string, _spender common.Address, ...) (*types.Transaction, error) + func (_StakingTest *StakingTestTransactor) Delegate(opts *bind.TransactOpts, _val string) (*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) Undelegate(opts *bind.TransactOpts, _val string, _shares *big.Int) (*types.Transaction, error) + func (_StakingTest *StakingTestTransactor) Withdraw(opts *bind.TransactOpts, _val string) (*types.Transaction, error) + type StakingTestTransactorRaw struct + Contract *StakingTestTransactor + func (_StakingTest *StakingTestTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_StakingTest *StakingTestTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type StakingTestTransactorSession struct + Contract *StakingTestTransactor + TransactOpts bind.TransactOpts + func (_StakingTest *StakingTestTransactorSession) ApproveShares(_val string, _spender common.Address, _shares *big.Int) (*types.Transaction, error) + func (_StakingTest *StakingTestTransactorSession) Delegate(_val string) (*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) Undelegate(_val string, _shares *big.Int) (*types.Transaction, error) + func (_StakingTest *StakingTestTransactorSession) Withdraw(_val string) (*types.Transaction, error) + type StakingTestTransferShares struct + From common.Address + Raw types.Log + Shares *big.Int + To common.Address + Token *big.Int + Validator string + type StakingTestTransferSharesIterator struct + Event *StakingTestTransferShares + func (it *StakingTestTransferSharesIterator) Close() error + func (it *StakingTestTransferSharesIterator) Error() error + func (it *StakingTestTransferSharesIterator) Next() bool + type StakingTestUndelegate struct + Amount *big.Int + CompletionTime *big.Int + Raw types.Log + Sender common.Address + Shares *big.Int + Validator string + type StakingTestUndelegateIterator struct + Event *StakingTestUndelegate + func (it *StakingTestUndelegateIterator) Close() error + func (it *StakingTestUndelegateIterator) Error() error + func (it *StakingTestUndelegateIterator) Next() bool + type StakingTestWithdraw struct + Raw types.Log + Reward *big.Int + Sender common.Address + Validator string + type StakingTestWithdrawIterator struct + Event *StakingTestWithdraw + func (it *StakingTestWithdrawIterator) Close() error + func (it *StakingTestWithdrawIterator) Error() error + func (it *StakingTestWithdrawIterator) Next() bool v5.0.0-rc0 Aug 8, 2023 Other modules containing this package github.com/functionx/fx-core/v4 github.com/functionx/fx-core/v6 github.com/functionx/fx-core/v7