Documentation ¶
Index ¶
- Constants
- type UserStakingPool
- type UserStakingPoolCaller
- func (_UserStakingPool *UserStakingPoolCaller) GetTotalStaking(opts *bind.CallOpts) (*big.Int, error)
- func (_UserStakingPool *UserStakingPoolCaller) GetUserStaking(opts *bind.CallOpts, user common.Address) (struct{ ... }, error)
- func (_UserStakingPool *UserStakingPoolCaller) LrcAddress(opts *bind.CallOpts) (common.Address, error)
- func (_UserStakingPool *UserStakingPoolCaller) MINCLAIMDELAY(opts *bind.CallOpts) (*big.Int, error)
- func (_UserStakingPool *UserStakingPoolCaller) MINWITHDRAWDELAY(opts *bind.CallOpts) (*big.Int, error)
- func (_UserStakingPool *UserStakingPoolCaller) NumAddresses(opts *bind.CallOpts) (*big.Int, error)
- func (_UserStakingPool *UserStakingPoolCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_UserStakingPool *UserStakingPoolCaller) PendingOwner(opts *bind.CallOpts) (common.Address, error)
- func (_UserStakingPool *UserStakingPoolCaller) ProtocolFeeVaultAddress(opts *bind.CallOpts) (common.Address, error)
- func (_UserStakingPool *UserStakingPoolCaller) Stakings(opts *bind.CallOpts, arg0 common.Address) (struct{ ... }, error)
- func (_UserStakingPool *UserStakingPoolCaller) Total(opts *bind.CallOpts) (struct{ ... }, error)
- type UserStakingPoolCallerRaw
- type UserStakingPoolCallerSession
- func (_UserStakingPool *UserStakingPoolCallerSession) GetTotalStaking() (*big.Int, error)
- func (_UserStakingPool *UserStakingPoolCallerSession) GetUserStaking(user common.Address) (struct{ ... }, error)
- func (_UserStakingPool *UserStakingPoolCallerSession) LrcAddress() (common.Address, error)
- func (_UserStakingPool *UserStakingPoolCallerSession) MINCLAIMDELAY() (*big.Int, error)
- func (_UserStakingPool *UserStakingPoolCallerSession) MINWITHDRAWDELAY() (*big.Int, error)
- func (_UserStakingPool *UserStakingPoolCallerSession) NumAddresses() (*big.Int, error)
- func (_UserStakingPool *UserStakingPoolCallerSession) Owner() (common.Address, error)
- func (_UserStakingPool *UserStakingPoolCallerSession) PendingOwner() (common.Address, error)
- func (_UserStakingPool *UserStakingPoolCallerSession) ProtocolFeeVaultAddress() (common.Address, error)
- func (_UserStakingPool *UserStakingPoolCallerSession) Stakings(arg0 common.Address) (struct{ ... }, error)
- func (_UserStakingPool *UserStakingPoolCallerSession) Total() (struct{ ... }, error)
- type UserStakingPoolFilterer
- func (_UserStakingPool *UserStakingPoolFilterer) FilterLRCRewarded(opts *bind.FilterOpts, user []common.Address) (*UserStakingPoolLRCRewardedIterator, error)
- func (_UserStakingPool *UserStakingPoolFilterer) FilterLRCStaked(opts *bind.FilterOpts, user []common.Address) (*UserStakingPoolLRCStakedIterator, error)
- func (_UserStakingPool *UserStakingPoolFilterer) FilterLRCWithdrawn(opts *bind.FilterOpts, user []common.Address) (*UserStakingPoolLRCWithdrawnIterator, error)
- func (_UserStakingPool *UserStakingPoolFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*UserStakingPoolOwnershipTransferredIterator, error)
- func (_UserStakingPool *UserStakingPoolFilterer) FilterProtocolFeeVaultChanged(opts *bind.FilterOpts) (*UserStakingPoolProtocolFeeVaultChangedIterator, error)
- func (_UserStakingPool *UserStakingPoolFilterer) ParseLRCRewarded(log types.Log) (*UserStakingPoolLRCRewarded, error)
- func (_UserStakingPool *UserStakingPoolFilterer) ParseLRCStaked(log types.Log) (*UserStakingPoolLRCStaked, error)
- func (_UserStakingPool *UserStakingPoolFilterer) ParseLRCWithdrawn(log types.Log) (*UserStakingPoolLRCWithdrawn, error)
- func (_UserStakingPool *UserStakingPoolFilterer) ParseOwnershipTransferred(log types.Log) (*UserStakingPoolOwnershipTransferred, error)
- func (_UserStakingPool *UserStakingPoolFilterer) ParseProtocolFeeVaultChanged(log types.Log) (*UserStakingPoolProtocolFeeVaultChanged, error)
- func (_UserStakingPool *UserStakingPoolFilterer) WatchLRCRewarded(opts *bind.WatchOpts, sink chan<- *UserStakingPoolLRCRewarded, ...) (event.Subscription, error)
- func (_UserStakingPool *UserStakingPoolFilterer) WatchLRCStaked(opts *bind.WatchOpts, sink chan<- *UserStakingPoolLRCStaked, ...) (event.Subscription, error)
- func (_UserStakingPool *UserStakingPoolFilterer) WatchLRCWithdrawn(opts *bind.WatchOpts, sink chan<- *UserStakingPoolLRCWithdrawn, ...) (event.Subscription, error)
- func (_UserStakingPool *UserStakingPoolFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *UserStakingPoolOwnershipTransferred, ...) (event.Subscription, error)
- func (_UserStakingPool *UserStakingPoolFilterer) WatchProtocolFeeVaultChanged(opts *bind.WatchOpts, sink chan<- *UserStakingPoolProtocolFeeVaultChanged) (event.Subscription, error)
- type UserStakingPoolLRCRewarded
- type UserStakingPoolLRCRewardedIterator
- type UserStakingPoolLRCStaked
- type UserStakingPoolLRCStakedIterator
- type UserStakingPoolLRCWithdrawn
- type UserStakingPoolLRCWithdrawnIterator
- type UserStakingPoolOwnershipTransferred
- type UserStakingPoolOwnershipTransferredIterator
- type UserStakingPoolProtocolFeeVaultChanged
- type UserStakingPoolProtocolFeeVaultChangedIterator
- type UserStakingPoolRaw
- func (_UserStakingPool *UserStakingPoolRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_UserStakingPool *UserStakingPoolRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_UserStakingPool *UserStakingPoolRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type UserStakingPoolSession
- func (_UserStakingPool *UserStakingPoolSession) Claim() (*types.Transaction, error)
- func (_UserStakingPool *UserStakingPoolSession) ClaimOwnership() (*types.Transaction, error)
- func (_UserStakingPool *UserStakingPoolSession) GetTotalStaking() (*big.Int, error)
- func (_UserStakingPool *UserStakingPoolSession) GetUserStaking(user common.Address) (struct{ ... }, error)
- func (_UserStakingPool *UserStakingPoolSession) LrcAddress() (common.Address, error)
- func (_UserStakingPool *UserStakingPoolSession) MINCLAIMDELAY() (*big.Int, error)
- func (_UserStakingPool *UserStakingPoolSession) MINWITHDRAWDELAY() (*big.Int, error)
- func (_UserStakingPool *UserStakingPoolSession) NumAddresses() (*big.Int, error)
- func (_UserStakingPool *UserStakingPoolSession) Owner() (common.Address, error)
- func (_UserStakingPool *UserStakingPoolSession) PendingOwner() (common.Address, error)
- func (_UserStakingPool *UserStakingPoolSession) ProtocolFeeVaultAddress() (common.Address, error)
- func (_UserStakingPool *UserStakingPoolSession) RenounceOwnership() (*types.Transaction, error)
- func (_UserStakingPool *UserStakingPoolSession) SetProtocolFeeVault(_protocolFeeVaultAddress common.Address) (*types.Transaction, error)
- func (_UserStakingPool *UserStakingPoolSession) Stake(amount *big.Int) (*types.Transaction, error)
- func (_UserStakingPool *UserStakingPoolSession) Stakings(arg0 common.Address) (struct{ ... }, error)
- func (_UserStakingPool *UserStakingPoolSession) Total() (struct{ ... }, error)
- func (_UserStakingPool *UserStakingPoolSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_UserStakingPool *UserStakingPoolSession) Withdraw(amount *big.Int) (*types.Transaction, error)
- type UserStakingPoolTransactor
- func (_UserStakingPool *UserStakingPoolTransactor) Claim(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_UserStakingPool *UserStakingPoolTransactor) ClaimOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_UserStakingPool *UserStakingPoolTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_UserStakingPool *UserStakingPoolTransactor) SetProtocolFeeVault(opts *bind.TransactOpts, _protocolFeeVaultAddress common.Address) (*types.Transaction, error)
- func (_UserStakingPool *UserStakingPoolTransactor) Stake(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- func (_UserStakingPool *UserStakingPoolTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_UserStakingPool *UserStakingPoolTransactor) Withdraw(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
- type UserStakingPoolTransactorRaw
- type UserStakingPoolTransactorSession
- func (_UserStakingPool *UserStakingPoolTransactorSession) Claim() (*types.Transaction, error)
- func (_UserStakingPool *UserStakingPoolTransactorSession) ClaimOwnership() (*types.Transaction, error)
- func (_UserStakingPool *UserStakingPoolTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_UserStakingPool *UserStakingPoolTransactorSession) SetProtocolFeeVault(_protocolFeeVaultAddress common.Address) (*types.Transaction, error)
- func (_UserStakingPool *UserStakingPoolTransactorSession) Stake(amount *big.Int) (*types.Transaction, error)
- func (_UserStakingPool *UserStakingPoolTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_UserStakingPool *UserStakingPoolTransactorSession) Withdraw(amount *big.Int) (*types.Transaction, error)
Constants ¶
const UserStakingPoolABI = "" /* 5841-byte string literal not displayed */
UserStakingPoolABI is the input ABI used to generate the binding from.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserStakingPool ¶
type UserStakingPool struct { UserStakingPoolCaller // Read-only binding to the contract UserStakingPoolTransactor // Write-only binding to the contract UserStakingPoolFilterer // Log filterer for contract events }
UserStakingPool is an auto generated Go binding around an Ethereum contract.
func NewUserStakingPool ¶
func NewUserStakingPool(address common.Address, backend bind.ContractBackend) (*UserStakingPool, error)
NewUserStakingPool creates a new instance of UserStakingPool, bound to a specific deployed contract.
type UserStakingPoolCaller ¶
type UserStakingPoolCaller struct {
// contains filtered or unexported fields
}
UserStakingPoolCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewUserStakingPoolCaller ¶
func NewUserStakingPoolCaller(address common.Address, caller bind.ContractCaller) (*UserStakingPoolCaller, error)
NewUserStakingPoolCaller creates a new read-only instance of UserStakingPool, bound to a specific deployed contract.
func (*UserStakingPoolCaller) GetTotalStaking ¶
func (_UserStakingPool *UserStakingPoolCaller) GetTotalStaking(opts *bind.CallOpts) (*big.Int, error)
GetTotalStaking is a free data retrieval call binding the contract method 0x58d57545.
Solidity: function getTotalStaking() view returns(uint256)
func (*UserStakingPoolCaller) GetUserStaking ¶
func (_UserStakingPool *UserStakingPoolCaller) GetUserStaking(opts *bind.CallOpts, user common.Address) (struct { WithdrawalWaitTime *big.Int RewardWaitTime *big.Int Balance *big.Int PendingReward *big.Int }, error)
GetUserStaking is a free data retrieval call binding the contract method 0x0c0fd549.
Solidity: function getUserStaking(address user) view returns(uint256 withdrawalWaitTime, uint256 rewardWaitTime, uint256 balance, uint256 pendingReward)
func (*UserStakingPoolCaller) LrcAddress ¶
func (_UserStakingPool *UserStakingPoolCaller) LrcAddress(opts *bind.CallOpts) (common.Address, error)
LrcAddress is a free data retrieval call binding the contract method 0x3d6cf722.
Solidity: function lrcAddress() view returns(address)
func (*UserStakingPoolCaller) MINCLAIMDELAY ¶
MINCLAIMDELAY is a free data retrieval call binding the contract method 0x61605b92.
Solidity: function MIN_CLAIM_DELAY() view returns(uint256)
func (*UserStakingPoolCaller) MINWITHDRAWDELAY ¶
func (_UserStakingPool *UserStakingPoolCaller) MINWITHDRAWDELAY(opts *bind.CallOpts) (*big.Int, error)
MINWITHDRAWDELAY is a free data retrieval call binding the contract method 0xae159439.
Solidity: function MIN_WITHDRAW_DELAY() view returns(uint256)
func (*UserStakingPoolCaller) NumAddresses ¶
NumAddresses is a free data retrieval call binding the contract method 0x2f8646d6.
Solidity: function numAddresses() view returns(uint256)
func (*UserStakingPoolCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*UserStakingPoolCaller) PendingOwner ¶
func (_UserStakingPool *UserStakingPoolCaller) PendingOwner(opts *bind.CallOpts) (common.Address, error)
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
func (*UserStakingPoolCaller) ProtocolFeeVaultAddress ¶
func (_UserStakingPool *UserStakingPoolCaller) ProtocolFeeVaultAddress(opts *bind.CallOpts) (common.Address, error)
ProtocolFeeVaultAddress is a free data retrieval call binding the contract method 0xc730eca4.
Solidity: function protocolFeeVaultAddress() view returns(address)
func (*UserStakingPoolCaller) Stakings ¶
func (_UserStakingPool *UserStakingPoolCaller) Stakings(opts *bind.CallOpts, arg0 common.Address) (struct { Balance *big.Int DepositedAt uint64 ClaimedAt uint64 }, error)
Stakings is a free data retrieval call binding the contract method 0xdc6e13e1.
Solidity: function stakings(address ) view returns(uint256 balance, uint64 depositedAt, uint64 claimedAt)
func (*UserStakingPoolCaller) Total ¶
func (_UserStakingPool *UserStakingPoolCaller) Total(opts *bind.CallOpts) (struct { Balance *big.Int DepositedAt uint64 ClaimedAt uint64 }, error)
Total is a free data retrieval call binding the contract method 0x2ddbd13a.
Solidity: function total() view returns(uint256 balance, uint64 depositedAt, uint64 claimedAt)
type UserStakingPoolCallerRaw ¶
type UserStakingPoolCallerRaw struct {
Contract *UserStakingPoolCaller // Generic read-only contract binding to access the raw methods on
}
UserStakingPoolCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*UserStakingPoolCallerRaw) Call ¶
func (_UserStakingPool *UserStakingPoolCallerRaw) 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 UserStakingPoolCallerSession ¶
type UserStakingPoolCallerSession struct { Contract *UserStakingPoolCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
UserStakingPoolCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*UserStakingPoolCallerSession) GetTotalStaking ¶
func (_UserStakingPool *UserStakingPoolCallerSession) GetTotalStaking() (*big.Int, error)
GetTotalStaking is a free data retrieval call binding the contract method 0x58d57545.
Solidity: function getTotalStaking() view returns(uint256)
func (*UserStakingPoolCallerSession) GetUserStaking ¶
func (_UserStakingPool *UserStakingPoolCallerSession) GetUserStaking(user common.Address) (struct { WithdrawalWaitTime *big.Int RewardWaitTime *big.Int Balance *big.Int PendingReward *big.Int }, error)
GetUserStaking is a free data retrieval call binding the contract method 0x0c0fd549.
Solidity: function getUserStaking(address user) view returns(uint256 withdrawalWaitTime, uint256 rewardWaitTime, uint256 balance, uint256 pendingReward)
func (*UserStakingPoolCallerSession) LrcAddress ¶
func (_UserStakingPool *UserStakingPoolCallerSession) LrcAddress() (common.Address, error)
LrcAddress is a free data retrieval call binding the contract method 0x3d6cf722.
Solidity: function lrcAddress() view returns(address)
func (*UserStakingPoolCallerSession) MINCLAIMDELAY ¶
func (_UserStakingPool *UserStakingPoolCallerSession) MINCLAIMDELAY() (*big.Int, error)
MINCLAIMDELAY is a free data retrieval call binding the contract method 0x61605b92.
Solidity: function MIN_CLAIM_DELAY() view returns(uint256)
func (*UserStakingPoolCallerSession) MINWITHDRAWDELAY ¶
func (_UserStakingPool *UserStakingPoolCallerSession) MINWITHDRAWDELAY() (*big.Int, error)
MINWITHDRAWDELAY is a free data retrieval call binding the contract method 0xae159439.
Solidity: function MIN_WITHDRAW_DELAY() view returns(uint256)
func (*UserStakingPoolCallerSession) NumAddresses ¶
func (_UserStakingPool *UserStakingPoolCallerSession) NumAddresses() (*big.Int, error)
NumAddresses is a free data retrieval call binding the contract method 0x2f8646d6.
Solidity: function numAddresses() view returns(uint256)
func (*UserStakingPoolCallerSession) Owner ¶
func (_UserStakingPool *UserStakingPoolCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*UserStakingPoolCallerSession) PendingOwner ¶
func (_UserStakingPool *UserStakingPoolCallerSession) PendingOwner() (common.Address, error)
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
func (*UserStakingPoolCallerSession) ProtocolFeeVaultAddress ¶
func (_UserStakingPool *UserStakingPoolCallerSession) ProtocolFeeVaultAddress() (common.Address, error)
ProtocolFeeVaultAddress is a free data retrieval call binding the contract method 0xc730eca4.
Solidity: function protocolFeeVaultAddress() view returns(address)
func (*UserStakingPoolCallerSession) Stakings ¶
func (_UserStakingPool *UserStakingPoolCallerSession) Stakings(arg0 common.Address) (struct { Balance *big.Int DepositedAt uint64 ClaimedAt uint64 }, error)
Stakings is a free data retrieval call binding the contract method 0xdc6e13e1.
Solidity: function stakings(address ) view returns(uint256 balance, uint64 depositedAt, uint64 claimedAt)
func (*UserStakingPoolCallerSession) Total ¶
func (_UserStakingPool *UserStakingPoolCallerSession) Total() (struct { Balance *big.Int DepositedAt uint64 ClaimedAt uint64 }, error)
Total is a free data retrieval call binding the contract method 0x2ddbd13a.
Solidity: function total() view returns(uint256 balance, uint64 depositedAt, uint64 claimedAt)
type UserStakingPoolFilterer ¶
type UserStakingPoolFilterer struct {
// contains filtered or unexported fields
}
UserStakingPoolFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewUserStakingPoolFilterer ¶
func NewUserStakingPoolFilterer(address common.Address, filterer bind.ContractFilterer) (*UserStakingPoolFilterer, error)
NewUserStakingPoolFilterer creates a new log filterer instance of UserStakingPool, bound to a specific deployed contract.
func (*UserStakingPoolFilterer) FilterLRCRewarded ¶
func (_UserStakingPool *UserStakingPoolFilterer) FilterLRCRewarded(opts *bind.FilterOpts, user []common.Address) (*UserStakingPoolLRCRewardedIterator, error)
FilterLRCRewarded is a free log retrieval operation binding the contract event 0xfaa4a7e6a2ecb2217533f3081ad082d42261efe260c8842dd32a5ebb72011b78.
Solidity: event LRCRewarded(address indexed user, uint256 amount)
func (*UserStakingPoolFilterer) FilterLRCStaked ¶
func (_UserStakingPool *UserStakingPoolFilterer) FilterLRCStaked(opts *bind.FilterOpts, user []common.Address) (*UserStakingPoolLRCStakedIterator, error)
FilterLRCStaked is a free log retrieval operation binding the contract event 0x7bcf38427a7f7fc25e271d30f03522e51794ec2ba24df0703481c2b7222ced4e.
Solidity: event LRCStaked(address indexed user, uint256 amount)
func (*UserStakingPoolFilterer) FilterLRCWithdrawn ¶
func (_UserStakingPool *UserStakingPoolFilterer) FilterLRCWithdrawn(opts *bind.FilterOpts, user []common.Address) (*UserStakingPoolLRCWithdrawnIterator, error)
FilterLRCWithdrawn is a free log retrieval operation binding the contract event 0x2958029af76592f61d851f6d7c7456b3d9ae7536e7dc715c408fe02cd06c4651.
Solidity: event LRCWithdrawn(address indexed user, uint256 amount)
func (*UserStakingPoolFilterer) FilterOwnershipTransferred ¶
func (_UserStakingPool *UserStakingPoolFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*UserStakingPoolOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*UserStakingPoolFilterer) FilterProtocolFeeVaultChanged ¶
func (_UserStakingPool *UserStakingPoolFilterer) FilterProtocolFeeVaultChanged(opts *bind.FilterOpts) (*UserStakingPoolProtocolFeeVaultChangedIterator, error)
FilterProtocolFeeVaultChanged is a free log retrieval operation binding the contract event 0xb3b08642421ba31da9df792b3dbe9f52ff071894103ba3b1c4317b2daf33736c.
Solidity: event ProtocolFeeVaultChanged(address feeVaultAddress)
func (*UserStakingPoolFilterer) ParseLRCRewarded ¶
func (_UserStakingPool *UserStakingPoolFilterer) ParseLRCRewarded(log types.Log) (*UserStakingPoolLRCRewarded, error)
ParseLRCRewarded is a log parse operation binding the contract event 0xfaa4a7e6a2ecb2217533f3081ad082d42261efe260c8842dd32a5ebb72011b78.
Solidity: event LRCRewarded(address indexed user, uint256 amount)
func (*UserStakingPoolFilterer) ParseLRCStaked ¶
func (_UserStakingPool *UserStakingPoolFilterer) ParseLRCStaked(log types.Log) (*UserStakingPoolLRCStaked, error)
ParseLRCStaked is a log parse operation binding the contract event 0x7bcf38427a7f7fc25e271d30f03522e51794ec2ba24df0703481c2b7222ced4e.
Solidity: event LRCStaked(address indexed user, uint256 amount)
func (*UserStakingPoolFilterer) ParseLRCWithdrawn ¶
func (_UserStakingPool *UserStakingPoolFilterer) ParseLRCWithdrawn(log types.Log) (*UserStakingPoolLRCWithdrawn, error)
ParseLRCWithdrawn is a log parse operation binding the contract event 0x2958029af76592f61d851f6d7c7456b3d9ae7536e7dc715c408fe02cd06c4651.
Solidity: event LRCWithdrawn(address indexed user, uint256 amount)
func (*UserStakingPoolFilterer) ParseOwnershipTransferred ¶
func (_UserStakingPool *UserStakingPoolFilterer) ParseOwnershipTransferred(log types.Log) (*UserStakingPoolOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*UserStakingPoolFilterer) ParseProtocolFeeVaultChanged ¶
func (_UserStakingPool *UserStakingPoolFilterer) ParseProtocolFeeVaultChanged(log types.Log) (*UserStakingPoolProtocolFeeVaultChanged, error)
ParseProtocolFeeVaultChanged is a log parse operation binding the contract event 0xb3b08642421ba31da9df792b3dbe9f52ff071894103ba3b1c4317b2daf33736c.
Solidity: event ProtocolFeeVaultChanged(address feeVaultAddress)
func (*UserStakingPoolFilterer) WatchLRCRewarded ¶
func (_UserStakingPool *UserStakingPoolFilterer) WatchLRCRewarded(opts *bind.WatchOpts, sink chan<- *UserStakingPoolLRCRewarded, user []common.Address) (event.Subscription, error)
WatchLRCRewarded is a free log subscription operation binding the contract event 0xfaa4a7e6a2ecb2217533f3081ad082d42261efe260c8842dd32a5ebb72011b78.
Solidity: event LRCRewarded(address indexed user, uint256 amount)
func (*UserStakingPoolFilterer) WatchLRCStaked ¶
func (_UserStakingPool *UserStakingPoolFilterer) WatchLRCStaked(opts *bind.WatchOpts, sink chan<- *UserStakingPoolLRCStaked, user []common.Address) (event.Subscription, error)
WatchLRCStaked is a free log subscription operation binding the contract event 0x7bcf38427a7f7fc25e271d30f03522e51794ec2ba24df0703481c2b7222ced4e.
Solidity: event LRCStaked(address indexed user, uint256 amount)
func (*UserStakingPoolFilterer) WatchLRCWithdrawn ¶
func (_UserStakingPool *UserStakingPoolFilterer) WatchLRCWithdrawn(opts *bind.WatchOpts, sink chan<- *UserStakingPoolLRCWithdrawn, user []common.Address) (event.Subscription, error)
WatchLRCWithdrawn is a free log subscription operation binding the contract event 0x2958029af76592f61d851f6d7c7456b3d9ae7536e7dc715c408fe02cd06c4651.
Solidity: event LRCWithdrawn(address indexed user, uint256 amount)
func (*UserStakingPoolFilterer) WatchOwnershipTransferred ¶
func (_UserStakingPool *UserStakingPoolFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *UserStakingPoolOwnershipTransferred, 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 (*UserStakingPoolFilterer) WatchProtocolFeeVaultChanged ¶
func (_UserStakingPool *UserStakingPoolFilterer) WatchProtocolFeeVaultChanged(opts *bind.WatchOpts, sink chan<- *UserStakingPoolProtocolFeeVaultChanged) (event.Subscription, error)
WatchProtocolFeeVaultChanged is a free log subscription operation binding the contract event 0xb3b08642421ba31da9df792b3dbe9f52ff071894103ba3b1c4317b2daf33736c.
Solidity: event ProtocolFeeVaultChanged(address feeVaultAddress)
type UserStakingPoolLRCRewarded ¶
type UserStakingPoolLRCRewarded struct { User common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
UserStakingPoolLRCRewarded represents a LRCRewarded event raised by the UserStakingPool contract.
type UserStakingPoolLRCRewardedIterator ¶
type UserStakingPoolLRCRewardedIterator struct { Event *UserStakingPoolLRCRewarded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
UserStakingPoolLRCRewardedIterator is returned from FilterLRCRewarded and is used to iterate over the raw logs and unpacked data for LRCRewarded events raised by the UserStakingPool contract.
func (*UserStakingPoolLRCRewardedIterator) Close ¶
func (it *UserStakingPoolLRCRewardedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*UserStakingPoolLRCRewardedIterator) Error ¶
func (it *UserStakingPoolLRCRewardedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*UserStakingPoolLRCRewardedIterator) Next ¶
func (it *UserStakingPoolLRCRewardedIterator) 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 UserStakingPoolLRCStaked ¶
type UserStakingPoolLRCStaked struct { User common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
UserStakingPoolLRCStaked represents a LRCStaked event raised by the UserStakingPool contract.
type UserStakingPoolLRCStakedIterator ¶
type UserStakingPoolLRCStakedIterator struct { Event *UserStakingPoolLRCStaked // Event containing the contract specifics and raw log // contains filtered or unexported fields }
UserStakingPoolLRCStakedIterator is returned from FilterLRCStaked and is used to iterate over the raw logs and unpacked data for LRCStaked events raised by the UserStakingPool contract.
func (*UserStakingPoolLRCStakedIterator) Close ¶
func (it *UserStakingPoolLRCStakedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*UserStakingPoolLRCStakedIterator) Error ¶
func (it *UserStakingPoolLRCStakedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*UserStakingPoolLRCStakedIterator) Next ¶
func (it *UserStakingPoolLRCStakedIterator) 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 UserStakingPoolLRCWithdrawn ¶
type UserStakingPoolLRCWithdrawn struct { User common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
UserStakingPoolLRCWithdrawn represents a LRCWithdrawn event raised by the UserStakingPool contract.
type UserStakingPoolLRCWithdrawnIterator ¶
type UserStakingPoolLRCWithdrawnIterator struct { Event *UserStakingPoolLRCWithdrawn // Event containing the contract specifics and raw log // contains filtered or unexported fields }
UserStakingPoolLRCWithdrawnIterator is returned from FilterLRCWithdrawn and is used to iterate over the raw logs and unpacked data for LRCWithdrawn events raised by the UserStakingPool contract.
func (*UserStakingPoolLRCWithdrawnIterator) Close ¶
func (it *UserStakingPoolLRCWithdrawnIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*UserStakingPoolLRCWithdrawnIterator) Error ¶
func (it *UserStakingPoolLRCWithdrawnIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*UserStakingPoolLRCWithdrawnIterator) Next ¶
func (it *UserStakingPoolLRCWithdrawnIterator) 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 UserStakingPoolOwnershipTransferred ¶
type UserStakingPoolOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
UserStakingPoolOwnershipTransferred represents a OwnershipTransferred event raised by the UserStakingPool contract.
type UserStakingPoolOwnershipTransferredIterator ¶
type UserStakingPoolOwnershipTransferredIterator struct { Event *UserStakingPoolOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
UserStakingPoolOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the UserStakingPool contract.
func (*UserStakingPoolOwnershipTransferredIterator) Close ¶
func (it *UserStakingPoolOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*UserStakingPoolOwnershipTransferredIterator) Error ¶
func (it *UserStakingPoolOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*UserStakingPoolOwnershipTransferredIterator) Next ¶
func (it *UserStakingPoolOwnershipTransferredIterator) 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 UserStakingPoolProtocolFeeVaultChanged ¶
type UserStakingPoolProtocolFeeVaultChanged struct { FeeVaultAddress common.Address Raw types.Log // Blockchain specific contextual infos }
UserStakingPoolProtocolFeeVaultChanged represents a ProtocolFeeVaultChanged event raised by the UserStakingPool contract.
type UserStakingPoolProtocolFeeVaultChangedIterator ¶
type UserStakingPoolProtocolFeeVaultChangedIterator struct { Event *UserStakingPoolProtocolFeeVaultChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
UserStakingPoolProtocolFeeVaultChangedIterator is returned from FilterProtocolFeeVaultChanged and is used to iterate over the raw logs and unpacked data for ProtocolFeeVaultChanged events raised by the UserStakingPool contract.
func (*UserStakingPoolProtocolFeeVaultChangedIterator) Close ¶
func (it *UserStakingPoolProtocolFeeVaultChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*UserStakingPoolProtocolFeeVaultChangedIterator) Error ¶
func (it *UserStakingPoolProtocolFeeVaultChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*UserStakingPoolProtocolFeeVaultChangedIterator) Next ¶
func (it *UserStakingPoolProtocolFeeVaultChangedIterator) 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 UserStakingPoolRaw ¶
type UserStakingPoolRaw struct {
Contract *UserStakingPool // Generic contract binding to access the raw methods on
}
UserStakingPoolRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*UserStakingPoolRaw) Call ¶
func (_UserStakingPool *UserStakingPoolRaw) 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 (*UserStakingPoolRaw) Transact ¶
func (_UserStakingPool *UserStakingPoolRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*UserStakingPoolRaw) Transfer ¶
func (_UserStakingPool *UserStakingPoolRaw) 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 UserStakingPoolSession ¶
type UserStakingPoolSession struct { Contract *UserStakingPool // 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 }
UserStakingPoolSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*UserStakingPoolSession) Claim ¶
func (_UserStakingPool *UserStakingPoolSession) Claim() (*types.Transaction, error)
Claim is a paid mutator transaction binding the contract method 0x4e71d92d.
Solidity: function claim() returns(uint256 claimedAmount)
func (*UserStakingPoolSession) ClaimOwnership ¶
func (_UserStakingPool *UserStakingPoolSession) ClaimOwnership() (*types.Transaction, error)
ClaimOwnership is a paid mutator transaction binding the contract method 0x4e71e0c8.
Solidity: function claimOwnership() returns()
func (*UserStakingPoolSession) GetTotalStaking ¶
func (_UserStakingPool *UserStakingPoolSession) GetTotalStaking() (*big.Int, error)
GetTotalStaking is a free data retrieval call binding the contract method 0x58d57545.
Solidity: function getTotalStaking() view returns(uint256)
func (*UserStakingPoolSession) GetUserStaking ¶
func (_UserStakingPool *UserStakingPoolSession) GetUserStaking(user common.Address) (struct { WithdrawalWaitTime *big.Int RewardWaitTime *big.Int Balance *big.Int PendingReward *big.Int }, error)
GetUserStaking is a free data retrieval call binding the contract method 0x0c0fd549.
Solidity: function getUserStaking(address user) view returns(uint256 withdrawalWaitTime, uint256 rewardWaitTime, uint256 balance, uint256 pendingReward)
func (*UserStakingPoolSession) LrcAddress ¶
func (_UserStakingPool *UserStakingPoolSession) LrcAddress() (common.Address, error)
LrcAddress is a free data retrieval call binding the contract method 0x3d6cf722.
Solidity: function lrcAddress() view returns(address)
func (*UserStakingPoolSession) MINCLAIMDELAY ¶
func (_UserStakingPool *UserStakingPoolSession) MINCLAIMDELAY() (*big.Int, error)
MINCLAIMDELAY is a free data retrieval call binding the contract method 0x61605b92.
Solidity: function MIN_CLAIM_DELAY() view returns(uint256)
func (*UserStakingPoolSession) MINWITHDRAWDELAY ¶
func (_UserStakingPool *UserStakingPoolSession) MINWITHDRAWDELAY() (*big.Int, error)
MINWITHDRAWDELAY is a free data retrieval call binding the contract method 0xae159439.
Solidity: function MIN_WITHDRAW_DELAY() view returns(uint256)
func (*UserStakingPoolSession) NumAddresses ¶
func (_UserStakingPool *UserStakingPoolSession) NumAddresses() (*big.Int, error)
NumAddresses is a free data retrieval call binding the contract method 0x2f8646d6.
Solidity: function numAddresses() view returns(uint256)
func (*UserStakingPoolSession) Owner ¶
func (_UserStakingPool *UserStakingPoolSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*UserStakingPoolSession) PendingOwner ¶
func (_UserStakingPool *UserStakingPoolSession) PendingOwner() (common.Address, error)
PendingOwner is a free data retrieval call binding the contract method 0xe30c3978.
Solidity: function pendingOwner() view returns(address)
func (*UserStakingPoolSession) ProtocolFeeVaultAddress ¶
func (_UserStakingPool *UserStakingPoolSession) ProtocolFeeVaultAddress() (common.Address, error)
ProtocolFeeVaultAddress is a free data retrieval call binding the contract method 0xc730eca4.
Solidity: function protocolFeeVaultAddress() view returns(address)
func (*UserStakingPoolSession) RenounceOwnership ¶
func (_UserStakingPool *UserStakingPoolSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*UserStakingPoolSession) SetProtocolFeeVault ¶
func (_UserStakingPool *UserStakingPoolSession) SetProtocolFeeVault(_protocolFeeVaultAddress common.Address) (*types.Transaction, error)
SetProtocolFeeVault is a paid mutator transaction binding the contract method 0x88e95c47.
Solidity: function setProtocolFeeVault(address _protocolFeeVaultAddress) returns()
func (*UserStakingPoolSession) Stake ¶
func (_UserStakingPool *UserStakingPoolSession) Stake(amount *big.Int) (*types.Transaction, error)
Stake is a paid mutator transaction binding the contract method 0xa694fc3a.
Solidity: function stake(uint256 amount) returns()
func (*UserStakingPoolSession) Stakings ¶
func (_UserStakingPool *UserStakingPoolSession) Stakings(arg0 common.Address) (struct { Balance *big.Int DepositedAt uint64 ClaimedAt uint64 }, error)
Stakings is a free data retrieval call binding the contract method 0xdc6e13e1.
Solidity: function stakings(address ) view returns(uint256 balance, uint64 depositedAt, uint64 claimedAt)
func (*UserStakingPoolSession) Total ¶
func (_UserStakingPool *UserStakingPoolSession) Total() (struct { Balance *big.Int DepositedAt uint64 ClaimedAt uint64 }, error)
Total is a free data retrieval call binding the contract method 0x2ddbd13a.
Solidity: function total() view returns(uint256 balance, uint64 depositedAt, uint64 claimedAt)
func (*UserStakingPoolSession) TransferOwnership ¶
func (_UserStakingPool *UserStakingPoolSession) 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 (*UserStakingPoolSession) Withdraw ¶
func (_UserStakingPool *UserStakingPoolSession) Withdraw(amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.
Solidity: function withdraw(uint256 amount) returns()
type UserStakingPoolTransactor ¶
type UserStakingPoolTransactor struct {
// contains filtered or unexported fields
}
UserStakingPoolTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewUserStakingPoolTransactor ¶
func NewUserStakingPoolTransactor(address common.Address, transactor bind.ContractTransactor) (*UserStakingPoolTransactor, error)
NewUserStakingPoolTransactor creates a new write-only instance of UserStakingPool, bound to a specific deployed contract.
func (*UserStakingPoolTransactor) Claim ¶
func (_UserStakingPool *UserStakingPoolTransactor) Claim(opts *bind.TransactOpts) (*types.Transaction, error)
Claim is a paid mutator transaction binding the contract method 0x4e71d92d.
Solidity: function claim() returns(uint256 claimedAmount)
func (*UserStakingPoolTransactor) ClaimOwnership ¶
func (_UserStakingPool *UserStakingPoolTransactor) ClaimOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
ClaimOwnership is a paid mutator transaction binding the contract method 0x4e71e0c8.
Solidity: function claimOwnership() returns()
func (*UserStakingPoolTransactor) RenounceOwnership ¶
func (_UserStakingPool *UserStakingPoolTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*UserStakingPoolTransactor) SetProtocolFeeVault ¶
func (_UserStakingPool *UserStakingPoolTransactor) SetProtocolFeeVault(opts *bind.TransactOpts, _protocolFeeVaultAddress common.Address) (*types.Transaction, error)
SetProtocolFeeVault is a paid mutator transaction binding the contract method 0x88e95c47.
Solidity: function setProtocolFeeVault(address _protocolFeeVaultAddress) returns()
func (*UserStakingPoolTransactor) Stake ¶
func (_UserStakingPool *UserStakingPoolTransactor) Stake(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
Stake is a paid mutator transaction binding the contract method 0xa694fc3a.
Solidity: function stake(uint256 amount) returns()
func (*UserStakingPoolTransactor) TransferOwnership ¶
func (_UserStakingPool *UserStakingPoolTransactor) 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 (*UserStakingPoolTransactor) Withdraw ¶
func (_UserStakingPool *UserStakingPoolTransactor) Withdraw(opts *bind.TransactOpts, amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.
Solidity: function withdraw(uint256 amount) returns()
type UserStakingPoolTransactorRaw ¶
type UserStakingPoolTransactorRaw struct {
Contract *UserStakingPoolTransactor // Generic write-only contract binding to access the raw methods on
}
UserStakingPoolTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*UserStakingPoolTransactorRaw) Transact ¶
func (_UserStakingPool *UserStakingPoolTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*UserStakingPoolTransactorRaw) Transfer ¶
func (_UserStakingPool *UserStakingPoolTransactorRaw) 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 UserStakingPoolTransactorSession ¶
type UserStakingPoolTransactorSession struct { Contract *UserStakingPoolTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
UserStakingPoolTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*UserStakingPoolTransactorSession) Claim ¶
func (_UserStakingPool *UserStakingPoolTransactorSession) Claim() (*types.Transaction, error)
Claim is a paid mutator transaction binding the contract method 0x4e71d92d.
Solidity: function claim() returns(uint256 claimedAmount)
func (*UserStakingPoolTransactorSession) ClaimOwnership ¶
func (_UserStakingPool *UserStakingPoolTransactorSession) ClaimOwnership() (*types.Transaction, error)
ClaimOwnership is a paid mutator transaction binding the contract method 0x4e71e0c8.
Solidity: function claimOwnership() returns()
func (*UserStakingPoolTransactorSession) RenounceOwnership ¶
func (_UserStakingPool *UserStakingPoolTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*UserStakingPoolTransactorSession) SetProtocolFeeVault ¶
func (_UserStakingPool *UserStakingPoolTransactorSession) SetProtocolFeeVault(_protocolFeeVaultAddress common.Address) (*types.Transaction, error)
SetProtocolFeeVault is a paid mutator transaction binding the contract method 0x88e95c47.
Solidity: function setProtocolFeeVault(address _protocolFeeVaultAddress) returns()
func (*UserStakingPoolTransactorSession) Stake ¶
func (_UserStakingPool *UserStakingPoolTransactorSession) Stake(amount *big.Int) (*types.Transaction, error)
Stake is a paid mutator transaction binding the contract method 0xa694fc3a.
Solidity: function stake(uint256 amount) returns()
func (*UserStakingPoolTransactorSession) TransferOwnership ¶
func (_UserStakingPool *UserStakingPoolTransactorSession) 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 (*UserStakingPoolTransactorSession) Withdraw ¶
func (_UserStakingPool *UserStakingPoolTransactorSession) Withdraw(amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.
Solidity: function withdraw(uint256 amount) returns()