polygon_staking

package
v0.0.0-...-bd3dd7f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PolygonStakingValidatorShareProxyABI = PolygonStakingValidatorShareProxyMetaData.ABI

PolygonStakingValidatorShareProxyABI is the input ABI used to generate the binding from. Deprecated: Use PolygonStakingValidatorShareProxyMetaData.ABI instead.

View Source
var PolygonStakingValidatorShareProxyMetaData = &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\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"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\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"constant\":true,\"inputs\":[],\"name\":\"activeAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_minSharesToMint\",\"type\":\"uint256\"}],\"name\":\"buyVoucher\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountToDeposit\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"commissionRate_deprecated\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"delegation\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"addresspayable\",\"name\":\"destination\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"drain\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"eventsHub\",\"outputs\":[{\"internalType\":\"contractEventsHub\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"exchangeRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"getLiquidRewards\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getRewardPerShare\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"getTotalStake\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"initalRewardPerShare\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_validatorId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_stakingLogger\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_stakeManager\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"isOwner\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"lastCommissionUpdate_deprecated\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"lock\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"locked\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"migrateIn\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"migrateOut\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"minAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"restake\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"rewardPerShare\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"claimAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maximumSharesToBurn\",\"type\":\"uint256\"}],\"name\":\"sellVoucher\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"claimAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"maximumSharesToBurn\",\"type\":\"uint256\"}],\"name\":\"sellVoucher_new\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"validatorStake\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"delegatedAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalAmountToSlash\",\"type\":\"uint256\"}],\"name\":\"slash\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"stakeManager\",\"outputs\":[{\"internalType\":\"contractIStakeManager\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"stakingLogger\",\"outputs\":[{\"internalType\":\"contractStakingInfo\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalStake_deprecated\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"unbondNonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"unbonds\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"withdrawEpoch\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"unbonds_new\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"shares\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"withdrawEpoch\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"unlock\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"unstakeClaimTokens\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"unbondNonce\",\"type\":\"uint256\"}],\"name\":\"unstakeClaimTokens_new\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_delegation\",\"type\":\"bool\"}],\"name\":\"updateDelegation\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"validatorId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"validatorRewards_deprecated\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"withdrawExchangeRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"withdrawPool\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"withdrawRewards\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"withdrawShares\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

PolygonStakingValidatorShareProxyMetaData contains all meta data concerning the PolygonStakingValidatorShareProxy contract.

Functions

This section is empty.

Types

type PolygonStakingValidatorShareProxy

type PolygonStakingValidatorShareProxy struct {
	PolygonStakingValidatorShareProxyCaller     // Read-only binding to the contract
	PolygonStakingValidatorShareProxyTransactor // Write-only binding to the contract
	PolygonStakingValidatorShareProxyFilterer   // Log filterer for contract events
}

PolygonStakingValidatorShareProxy is an auto generated Go binding around an Ethereum contract.

func NewPolygonStakingValidatorShareProxy

func NewPolygonStakingValidatorShareProxy(address common.Address, backend bind.ContractBackend) (*PolygonStakingValidatorShareProxy, error)

NewPolygonStakingValidatorShareProxy creates a new instance of PolygonStakingValidatorShareProxy, bound to a specific deployed contract.

type PolygonStakingValidatorShareProxyApproval

type PolygonStakingValidatorShareProxyApproval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

PolygonStakingValidatorShareProxyApproval represents a Approval event raised by the PolygonStakingValidatorShareProxy contract.

type PolygonStakingValidatorShareProxyApprovalIterator

type PolygonStakingValidatorShareProxyApprovalIterator struct {
	Event *PolygonStakingValidatorShareProxyApproval // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PolygonStakingValidatorShareProxyApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the PolygonStakingValidatorShareProxy contract.

func (*PolygonStakingValidatorShareProxyApprovalIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PolygonStakingValidatorShareProxyApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PolygonStakingValidatorShareProxyApprovalIterator) Next

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 PolygonStakingValidatorShareProxyCaller

type PolygonStakingValidatorShareProxyCaller struct {
	// contains filtered or unexported fields
}

PolygonStakingValidatorShareProxyCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewPolygonStakingValidatorShareProxyCaller

func NewPolygonStakingValidatorShareProxyCaller(address common.Address, caller bind.ContractCaller) (*PolygonStakingValidatorShareProxyCaller, error)

NewPolygonStakingValidatorShareProxyCaller creates a new read-only instance of PolygonStakingValidatorShareProxy, bound to a specific deployed contract.

func (*PolygonStakingValidatorShareProxyCaller) ActiveAmount

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCaller) ActiveAmount(opts *bind.CallOpts) (*big.Int, error)

ActiveAmount is a free data retrieval call binding the contract method 0x3a09bf44.

Solidity: function activeAmount() view returns(uint256)

func (*PolygonStakingValidatorShareProxyCaller) Allowance

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*PolygonStakingValidatorShareProxyCaller) BalanceOf

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCaller) 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 (*PolygonStakingValidatorShareProxyCaller) CommissionRateDeprecated

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCaller) CommissionRateDeprecated(opts *bind.CallOpts) (*big.Int, error)

CommissionRateDeprecated is a free data retrieval call binding the contract method 0x8ccdd289.

Solidity: function commissionRate_deprecated() view returns(uint256)

func (*PolygonStakingValidatorShareProxyCaller) Delegation

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCaller) Delegation(opts *bind.CallOpts) (bool, error)

Delegation is a free data retrieval call binding the contract method 0xdf5cf723.

Solidity: function delegation() view returns(bool)

func (*PolygonStakingValidatorShareProxyCaller) EventsHub

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCaller) EventsHub(opts *bind.CallOpts) (common.Address, error)

EventsHub is a free data retrieval call binding the contract method 0x883b455f.

Solidity: function eventsHub() view returns(address)

func (*PolygonStakingValidatorShareProxyCaller) ExchangeRate

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCaller) ExchangeRate(opts *bind.CallOpts) (*big.Int, error)

ExchangeRate is a free data retrieval call binding the contract method 0x3ba0b9a9.

Solidity: function exchangeRate() view returns(uint256)

func (*PolygonStakingValidatorShareProxyCaller) GetLiquidRewards

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCaller) GetLiquidRewards(opts *bind.CallOpts, user common.Address) (*big.Int, error)

GetLiquidRewards is a free data retrieval call binding the contract method 0x676e5550.

Solidity: function getLiquidRewards(address user) view returns(uint256)

func (*PolygonStakingValidatorShareProxyCaller) GetRewardPerShare

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCaller) GetRewardPerShare(opts *bind.CallOpts) (*big.Int, error)

GetRewardPerShare is a free data retrieval call binding the contract method 0x1bf494a7.

Solidity: function getRewardPerShare() view returns(uint256)

func (*PolygonStakingValidatorShareProxyCaller) GetTotalStake

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCaller) GetTotalStake(opts *bind.CallOpts, user common.Address) (*big.Int, *big.Int, error)

GetTotalStake is a free data retrieval call binding the contract method 0x1e7ff8f6.

Solidity: function getTotalStake(address user) view returns(uint256, uint256)

func (*PolygonStakingValidatorShareProxyCaller) InitalRewardPerShare

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCaller) InitalRewardPerShare(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

InitalRewardPerShare is a free data retrieval call binding the contract method 0xe4cd1aec.

Solidity: function initalRewardPerShare(address ) view returns(uint256)

func (*PolygonStakingValidatorShareProxyCaller) IsOwner

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCaller) IsOwner(opts *bind.CallOpts) (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() view returns(bool)

func (*PolygonStakingValidatorShareProxyCaller) LastCommissionUpdateDeprecated

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCaller) LastCommissionUpdateDeprecated(opts *bind.CallOpts) (*big.Int, error)

LastCommissionUpdateDeprecated is a free data retrieval call binding the contract method 0x23440679.

Solidity: function lastCommissionUpdate_deprecated() view returns(uint256)

func (*PolygonStakingValidatorShareProxyCaller) Locked

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCaller) Locked(opts *bind.CallOpts) (bool, error)

Locked is a free data retrieval call binding the contract method 0xcf309012.

Solidity: function locked() view returns(bool)

func (*PolygonStakingValidatorShareProxyCaller) MinAmount

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCaller) MinAmount(opts *bind.CallOpts) (*big.Int, error)

MinAmount is a free data retrieval call binding the contract method 0x9b2cb5d8.

Solidity: function minAmount() view returns(uint256)

func (*PolygonStakingValidatorShareProxyCaller) Owner

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*PolygonStakingValidatorShareProxyCaller) RewardPerShare

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCaller) RewardPerShare(opts *bind.CallOpts) (*big.Int, error)

RewardPerShare is a free data retrieval call binding the contract method 0x446a2ec8.

Solidity: function rewardPerShare() view returns(uint256)

func (*PolygonStakingValidatorShareProxyCaller) StakeManager

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCaller) StakeManager(opts *bind.CallOpts) (common.Address, error)

StakeManager is a free data retrieval call binding the contract method 0x7542ff95.

Solidity: function stakeManager() view returns(address)

func (*PolygonStakingValidatorShareProxyCaller) StakingLogger

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCaller) StakingLogger(opts *bind.CallOpts) (common.Address, error)

StakingLogger is a free data retrieval call binding the contract method 0x3d94eb05.

Solidity: function stakingLogger() view returns(address)

func (*PolygonStakingValidatorShareProxyCaller) TotalStakeDeprecated

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCaller) TotalStakeDeprecated(opts *bind.CallOpts) (*big.Int, error)

TotalStakeDeprecated is a free data retrieval call binding the contract method 0x5f0c80cc.

Solidity: function totalStake_deprecated() view returns(uint256)

func (*PolygonStakingValidatorShareProxyCaller) TotalSupply

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*PolygonStakingValidatorShareProxyCaller) UnbondNonces

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCaller) UnbondNonces(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

UnbondNonces is a free data retrieval call binding the contract method 0x3046c204.

Solidity: function unbondNonces(address ) view returns(uint256)

func (*PolygonStakingValidatorShareProxyCaller) Unbonds

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCaller) Unbonds(opts *bind.CallOpts, arg0 common.Address) (struct {
	Shares        *big.Int
	WithdrawEpoch *big.Int
}, error)

Unbonds is a free data retrieval call binding the contract method 0x653ec134.

Solidity: function unbonds(address ) view returns(uint256 shares, uint256 withdrawEpoch)

func (*PolygonStakingValidatorShareProxyCaller) UnbondsNew

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCaller) UnbondsNew(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (struct {
	Shares        *big.Int
	WithdrawEpoch *big.Int
}, error)

UnbondsNew is a free data retrieval call binding the contract method 0x795be587.

Solidity: function unbonds_new(address , uint256 ) view returns(uint256 shares, uint256 withdrawEpoch)

func (*PolygonStakingValidatorShareProxyCaller) ValidatorId

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCaller) ValidatorId(opts *bind.CallOpts) (*big.Int, error)

ValidatorId is a free data retrieval call binding the contract method 0x5c5f7dae.

Solidity: function validatorId() view returns(uint256)

func (*PolygonStakingValidatorShareProxyCaller) ValidatorRewardsDeprecated

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCaller) ValidatorRewardsDeprecated(opts *bind.CallOpts) (*big.Int, error)

ValidatorRewardsDeprecated is a free data retrieval call binding the contract method 0x39c31e93.

Solidity: function validatorRewards_deprecated() view returns(uint256)

func (*PolygonStakingValidatorShareProxyCaller) WithdrawExchangeRate

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCaller) WithdrawExchangeRate(opts *bind.CallOpts) (*big.Int, error)

WithdrawExchangeRate is a free data retrieval call binding the contract method 0xbfb18f29.

Solidity: function withdrawExchangeRate() view returns(uint256)

func (*PolygonStakingValidatorShareProxyCaller) WithdrawPool

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCaller) WithdrawPool(opts *bind.CallOpts) (*big.Int, error)

WithdrawPool is a free data retrieval call binding the contract method 0x5c42c733.

Solidity: function withdrawPool() view returns(uint256)

func (*PolygonStakingValidatorShareProxyCaller) WithdrawShares

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCaller) WithdrawShares(opts *bind.CallOpts) (*big.Int, error)

WithdrawShares is a free data retrieval call binding the contract method 0x8d086da4.

Solidity: function withdrawShares() view returns(uint256)

type PolygonStakingValidatorShareProxyCallerRaw

type PolygonStakingValidatorShareProxyCallerRaw struct {
	Contract *PolygonStakingValidatorShareProxyCaller // Generic read-only contract binding to access the raw methods on
}

PolygonStakingValidatorShareProxyCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*PolygonStakingValidatorShareProxyCallerRaw) Call

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCallerRaw) 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 PolygonStakingValidatorShareProxyCallerSession

type PolygonStakingValidatorShareProxyCallerSession struct {
	Contract *PolygonStakingValidatorShareProxyCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts                            // Call options to use throughout this session
}

PolygonStakingValidatorShareProxyCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*PolygonStakingValidatorShareProxyCallerSession) ActiveAmount

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCallerSession) ActiveAmount() (*big.Int, error)

ActiveAmount is a free data retrieval call binding the contract method 0x3a09bf44.

Solidity: function activeAmount() view returns(uint256)

func (*PolygonStakingValidatorShareProxyCallerSession) Allowance

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*PolygonStakingValidatorShareProxyCallerSession) BalanceOf

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCallerSession) 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 (*PolygonStakingValidatorShareProxyCallerSession) CommissionRateDeprecated

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCallerSession) CommissionRateDeprecated() (*big.Int, error)

CommissionRateDeprecated is a free data retrieval call binding the contract method 0x8ccdd289.

Solidity: function commissionRate_deprecated() view returns(uint256)

func (*PolygonStakingValidatorShareProxyCallerSession) Delegation

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCallerSession) Delegation() (bool, error)

Delegation is a free data retrieval call binding the contract method 0xdf5cf723.

Solidity: function delegation() view returns(bool)

func (*PolygonStakingValidatorShareProxyCallerSession) EventsHub

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCallerSession) EventsHub() (common.Address, error)

EventsHub is a free data retrieval call binding the contract method 0x883b455f.

Solidity: function eventsHub() view returns(address)

func (*PolygonStakingValidatorShareProxyCallerSession) ExchangeRate

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCallerSession) ExchangeRate() (*big.Int, error)

ExchangeRate is a free data retrieval call binding the contract method 0x3ba0b9a9.

Solidity: function exchangeRate() view returns(uint256)

func (*PolygonStakingValidatorShareProxyCallerSession) GetLiquidRewards

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCallerSession) GetLiquidRewards(user common.Address) (*big.Int, error)

GetLiquidRewards is a free data retrieval call binding the contract method 0x676e5550.

Solidity: function getLiquidRewards(address user) view returns(uint256)

func (*PolygonStakingValidatorShareProxyCallerSession) GetRewardPerShare

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCallerSession) GetRewardPerShare() (*big.Int, error)

GetRewardPerShare is a free data retrieval call binding the contract method 0x1bf494a7.

Solidity: function getRewardPerShare() view returns(uint256)

func (*PolygonStakingValidatorShareProxyCallerSession) GetTotalStake

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCallerSession) GetTotalStake(user common.Address) (*big.Int, *big.Int, error)

GetTotalStake is a free data retrieval call binding the contract method 0x1e7ff8f6.

Solidity: function getTotalStake(address user) view returns(uint256, uint256)

func (*PolygonStakingValidatorShareProxyCallerSession) InitalRewardPerShare

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCallerSession) InitalRewardPerShare(arg0 common.Address) (*big.Int, error)

InitalRewardPerShare is a free data retrieval call binding the contract method 0xe4cd1aec.

Solidity: function initalRewardPerShare(address ) view returns(uint256)

func (*PolygonStakingValidatorShareProxyCallerSession) IsOwner

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCallerSession) IsOwner() (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() view returns(bool)

func (*PolygonStakingValidatorShareProxyCallerSession) LastCommissionUpdateDeprecated

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCallerSession) LastCommissionUpdateDeprecated() (*big.Int, error)

LastCommissionUpdateDeprecated is a free data retrieval call binding the contract method 0x23440679.

Solidity: function lastCommissionUpdate_deprecated() view returns(uint256)

func (*PolygonStakingValidatorShareProxyCallerSession) Locked

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCallerSession) Locked() (bool, error)

Locked is a free data retrieval call binding the contract method 0xcf309012.

Solidity: function locked() view returns(bool)

func (*PolygonStakingValidatorShareProxyCallerSession) MinAmount

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCallerSession) MinAmount() (*big.Int, error)

MinAmount is a free data retrieval call binding the contract method 0x9b2cb5d8.

Solidity: function minAmount() view returns(uint256)

func (*PolygonStakingValidatorShareProxyCallerSession) Owner

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*PolygonStakingValidatorShareProxyCallerSession) RewardPerShare

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCallerSession) RewardPerShare() (*big.Int, error)

RewardPerShare is a free data retrieval call binding the contract method 0x446a2ec8.

Solidity: function rewardPerShare() view returns(uint256)

func (*PolygonStakingValidatorShareProxyCallerSession) StakeManager

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCallerSession) StakeManager() (common.Address, error)

StakeManager is a free data retrieval call binding the contract method 0x7542ff95.

Solidity: function stakeManager() view returns(address)

func (*PolygonStakingValidatorShareProxyCallerSession) StakingLogger

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCallerSession) StakingLogger() (common.Address, error)

StakingLogger is a free data retrieval call binding the contract method 0x3d94eb05.

Solidity: function stakingLogger() view returns(address)

func (*PolygonStakingValidatorShareProxyCallerSession) TotalStakeDeprecated

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCallerSession) TotalStakeDeprecated() (*big.Int, error)

TotalStakeDeprecated is a free data retrieval call binding the contract method 0x5f0c80cc.

Solidity: function totalStake_deprecated() view returns(uint256)

func (*PolygonStakingValidatorShareProxyCallerSession) TotalSupply

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*PolygonStakingValidatorShareProxyCallerSession) UnbondNonces

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCallerSession) UnbondNonces(arg0 common.Address) (*big.Int, error)

UnbondNonces is a free data retrieval call binding the contract method 0x3046c204.

Solidity: function unbondNonces(address ) view returns(uint256)

func (*PolygonStakingValidatorShareProxyCallerSession) Unbonds

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCallerSession) Unbonds(arg0 common.Address) (struct {
	Shares        *big.Int
	WithdrawEpoch *big.Int
}, error)

Unbonds is a free data retrieval call binding the contract method 0x653ec134.

Solidity: function unbonds(address ) view returns(uint256 shares, uint256 withdrawEpoch)

func (*PolygonStakingValidatorShareProxyCallerSession) UnbondsNew

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCallerSession) UnbondsNew(arg0 common.Address, arg1 *big.Int) (struct {
	Shares        *big.Int
	WithdrawEpoch *big.Int
}, error)

UnbondsNew is a free data retrieval call binding the contract method 0x795be587.

Solidity: function unbonds_new(address , uint256 ) view returns(uint256 shares, uint256 withdrawEpoch)

func (*PolygonStakingValidatorShareProxyCallerSession) ValidatorId

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCallerSession) ValidatorId() (*big.Int, error)

ValidatorId is a free data retrieval call binding the contract method 0x5c5f7dae.

Solidity: function validatorId() view returns(uint256)

func (*PolygonStakingValidatorShareProxyCallerSession) ValidatorRewardsDeprecated

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCallerSession) ValidatorRewardsDeprecated() (*big.Int, error)

ValidatorRewardsDeprecated is a free data retrieval call binding the contract method 0x39c31e93.

Solidity: function validatorRewards_deprecated() view returns(uint256)

func (*PolygonStakingValidatorShareProxyCallerSession) WithdrawExchangeRate

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCallerSession) WithdrawExchangeRate() (*big.Int, error)

WithdrawExchangeRate is a free data retrieval call binding the contract method 0xbfb18f29.

Solidity: function withdrawExchangeRate() view returns(uint256)

func (*PolygonStakingValidatorShareProxyCallerSession) WithdrawPool

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCallerSession) WithdrawPool() (*big.Int, error)

WithdrawPool is a free data retrieval call binding the contract method 0x5c42c733.

Solidity: function withdrawPool() view returns(uint256)

func (*PolygonStakingValidatorShareProxyCallerSession) WithdrawShares

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyCallerSession) WithdrawShares() (*big.Int, error)

WithdrawShares is a free data retrieval call binding the contract method 0x8d086da4.

Solidity: function withdrawShares() view returns(uint256)

type PolygonStakingValidatorShareProxyFilterer

type PolygonStakingValidatorShareProxyFilterer struct {
	// contains filtered or unexported fields
}

PolygonStakingValidatorShareProxyFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewPolygonStakingValidatorShareProxyFilterer

func NewPolygonStakingValidatorShareProxyFilterer(address common.Address, filterer bind.ContractFilterer) (*PolygonStakingValidatorShareProxyFilterer, error)

NewPolygonStakingValidatorShareProxyFilterer creates a new log filterer instance of PolygonStakingValidatorShareProxy, bound to a specific deployed contract.

func (*PolygonStakingValidatorShareProxyFilterer) FilterApproval

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*PolygonStakingValidatorShareProxyApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*PolygonStakingValidatorShareProxyFilterer) FilterOwnershipTransferred

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*PolygonStakingValidatorShareProxyOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*PolygonStakingValidatorShareProxyFilterer) FilterTransfer

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*PolygonStakingValidatorShareProxyTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*PolygonStakingValidatorShareProxyFilterer) ParseApproval

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyFilterer) ParseApproval(log types.Log) (*PolygonStakingValidatorShareProxyApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*PolygonStakingValidatorShareProxyFilterer) ParseOwnershipTransferred

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyFilterer) ParseOwnershipTransferred(log types.Log) (*PolygonStakingValidatorShareProxyOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*PolygonStakingValidatorShareProxyFilterer) ParseTransfer

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyFilterer) ParseTransfer(log types.Log) (*PolygonStakingValidatorShareProxyTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*PolygonStakingValidatorShareProxyFilterer) WatchApproval

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *PolygonStakingValidatorShareProxyApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*PolygonStakingValidatorShareProxyFilterer) WatchOwnershipTransferred

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *PolygonStakingValidatorShareProxyOwnershipTransferred, 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 (*PolygonStakingValidatorShareProxyFilterer) WatchTransfer

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *PolygonStakingValidatorShareProxyTransfer, from []common.Address, to []common.Address) (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 value)

type PolygonStakingValidatorShareProxyOwnershipTransferred

type PolygonStakingValidatorShareProxyOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

PolygonStakingValidatorShareProxyOwnershipTransferred represents a OwnershipTransferred event raised by the PolygonStakingValidatorShareProxy contract.

type PolygonStakingValidatorShareProxyOwnershipTransferredIterator

type PolygonStakingValidatorShareProxyOwnershipTransferredIterator struct {
	Event *PolygonStakingValidatorShareProxyOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PolygonStakingValidatorShareProxyOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the PolygonStakingValidatorShareProxy contract.

func (*PolygonStakingValidatorShareProxyOwnershipTransferredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PolygonStakingValidatorShareProxyOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PolygonStakingValidatorShareProxyOwnershipTransferredIterator) Next

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 PolygonStakingValidatorShareProxyRaw

type PolygonStakingValidatorShareProxyRaw struct {
	Contract *PolygonStakingValidatorShareProxy // Generic contract binding to access the raw methods on
}

PolygonStakingValidatorShareProxyRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*PolygonStakingValidatorShareProxyRaw) Call

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyRaw) 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 (*PolygonStakingValidatorShareProxyRaw) Transact

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*PolygonStakingValidatorShareProxyRaw) Transfer

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyRaw) 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 PolygonStakingValidatorShareProxySession

type PolygonStakingValidatorShareProxySession struct {
	Contract     *PolygonStakingValidatorShareProxy // 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
}

PolygonStakingValidatorShareProxySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*PolygonStakingValidatorShareProxySession) ActiveAmount

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxySession) ActiveAmount() (*big.Int, error)

ActiveAmount is a free data retrieval call binding the contract method 0x3a09bf44.

Solidity: function activeAmount() view returns(uint256)

func (*PolygonStakingValidatorShareProxySession) Allowance

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxySession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*PolygonStakingValidatorShareProxySession) Approve

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxySession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 value) returns(bool)

func (*PolygonStakingValidatorShareProxySession) BalanceOf

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxySession) 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 (*PolygonStakingValidatorShareProxySession) BuyVoucher

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxySession) BuyVoucher(_amount *big.Int, _minSharesToMint *big.Int) (*types.Transaction, error)

BuyVoucher is a paid mutator transaction binding the contract method 0x6ab15071.

Solidity: function buyVoucher(uint256 _amount, uint256 _minSharesToMint) returns(uint256 amountToDeposit)

func (*PolygonStakingValidatorShareProxySession) CommissionRateDeprecated

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxySession) CommissionRateDeprecated() (*big.Int, error)

CommissionRateDeprecated is a free data retrieval call binding the contract method 0x8ccdd289.

Solidity: function commissionRate_deprecated() view returns(uint256)

func (*PolygonStakingValidatorShareProxySession) DecreaseAllowance

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxySession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*PolygonStakingValidatorShareProxySession) Delegation

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxySession) Delegation() (bool, error)

Delegation is a free data retrieval call binding the contract method 0xdf5cf723.

Solidity: function delegation() view returns(bool)

func (*PolygonStakingValidatorShareProxySession) Drain

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxySession) Drain(token common.Address, destination common.Address, amount *big.Int) (*types.Transaction, error)

Drain is a paid mutator transaction binding the contract method 0xabf59fc9.

Solidity: function drain(address token, address destination, uint256 amount) returns()

func (*PolygonStakingValidatorShareProxySession) EventsHub

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxySession) EventsHub() (common.Address, error)

EventsHub is a free data retrieval call binding the contract method 0x883b455f.

Solidity: function eventsHub() view returns(address)

func (*PolygonStakingValidatorShareProxySession) ExchangeRate

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxySession) ExchangeRate() (*big.Int, error)

ExchangeRate is a free data retrieval call binding the contract method 0x3ba0b9a9.

Solidity: function exchangeRate() view returns(uint256)

func (*PolygonStakingValidatorShareProxySession) GetLiquidRewards

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxySession) GetLiquidRewards(user common.Address) (*big.Int, error)

GetLiquidRewards is a free data retrieval call binding the contract method 0x676e5550.

Solidity: function getLiquidRewards(address user) view returns(uint256)

func (*PolygonStakingValidatorShareProxySession) GetRewardPerShare

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxySession) GetRewardPerShare() (*big.Int, error)

GetRewardPerShare is a free data retrieval call binding the contract method 0x1bf494a7.

Solidity: function getRewardPerShare() view returns(uint256)

func (*PolygonStakingValidatorShareProxySession) GetTotalStake

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxySession) GetTotalStake(user common.Address) (*big.Int, *big.Int, error)

GetTotalStake is a free data retrieval call binding the contract method 0x1e7ff8f6.

Solidity: function getTotalStake(address user) view returns(uint256, uint256)

func (*PolygonStakingValidatorShareProxySession) IncreaseAllowance

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxySession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*PolygonStakingValidatorShareProxySession) InitalRewardPerShare

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxySession) InitalRewardPerShare(arg0 common.Address) (*big.Int, error)

InitalRewardPerShare is a free data retrieval call binding the contract method 0xe4cd1aec.

Solidity: function initalRewardPerShare(address ) view returns(uint256)

func (*PolygonStakingValidatorShareProxySession) Initialize

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxySession) Initialize(_validatorId *big.Int, _stakingLogger common.Address, _stakeManager common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xb4988fd0.

Solidity: function initialize(uint256 _validatorId, address _stakingLogger, address _stakeManager) returns()

func (*PolygonStakingValidatorShareProxySession) IsOwner

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxySession) IsOwner() (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() view returns(bool)

func (*PolygonStakingValidatorShareProxySession) LastCommissionUpdateDeprecated

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxySession) LastCommissionUpdateDeprecated() (*big.Int, error)

LastCommissionUpdateDeprecated is a free data retrieval call binding the contract method 0x23440679.

Solidity: function lastCommissionUpdate_deprecated() view returns(uint256)

func (*PolygonStakingValidatorShareProxySession) Lock

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxySession) Lock() (*types.Transaction, error)

Lock is a paid mutator transaction binding the contract method 0xf83d08ba.

Solidity: function lock() returns()

func (*PolygonStakingValidatorShareProxySession) Locked

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxySession) Locked() (bool, error)

Locked is a free data retrieval call binding the contract method 0xcf309012.

Solidity: function locked() view returns(bool)

func (*PolygonStakingValidatorShareProxySession) MigrateIn

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxySession) MigrateIn(user common.Address, amount *big.Int) (*types.Transaction, error)

MigrateIn is a paid mutator transaction binding the contract method 0xa0c1ca34.

Solidity: function migrateIn(address user, uint256 amount) returns()

func (*PolygonStakingValidatorShareProxySession) MigrateOut

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxySession) MigrateOut(user common.Address, amount *big.Int) (*types.Transaction, error)

MigrateOut is a paid mutator transaction binding the contract method 0x6e7ce591.

Solidity: function migrateOut(address user, uint256 amount) returns()

func (*PolygonStakingValidatorShareProxySession) MinAmount

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxySession) MinAmount() (*big.Int, error)

MinAmount is a free data retrieval call binding the contract method 0x9b2cb5d8.

Solidity: function minAmount() view returns(uint256)

func (*PolygonStakingValidatorShareProxySession) Owner

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxySession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*PolygonStakingValidatorShareProxySession) RenounceOwnership

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxySession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*PolygonStakingValidatorShareProxySession) Restake

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxySession) Restake() (*types.Transaction, error)

Restake is a paid mutator transaction binding the contract method 0x4f91440d.

Solidity: function restake() returns(uint256, uint256)

func (*PolygonStakingValidatorShareProxySession) RewardPerShare

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxySession) RewardPerShare() (*big.Int, error)

RewardPerShare is a free data retrieval call binding the contract method 0x446a2ec8.

Solidity: function rewardPerShare() view returns(uint256)

func (*PolygonStakingValidatorShareProxySession) SellVoucher

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxySession) SellVoucher(claimAmount *big.Int, maximumSharesToBurn *big.Int) (*types.Transaction, error)

SellVoucher is a paid mutator transaction binding the contract method 0x029d3040.

Solidity: function sellVoucher(uint256 claimAmount, uint256 maximumSharesToBurn) returns()

func (*PolygonStakingValidatorShareProxySession) SellVoucherNew

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxySession) SellVoucherNew(claimAmount *big.Int, maximumSharesToBurn *big.Int) (*types.Transaction, error)

SellVoucherNew is a paid mutator transaction binding the contract method 0xc83ec04d.

Solidity: function sellVoucher_new(uint256 claimAmount, uint256 maximumSharesToBurn) returns()

func (*PolygonStakingValidatorShareProxySession) Slash

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxySession) Slash(validatorStake *big.Int, delegatedAmount *big.Int, totalAmountToSlash *big.Int) (*types.Transaction, error)

Slash is a paid mutator transaction binding the contract method 0x6cbb6050.

Solidity: function slash(uint256 validatorStake, uint256 delegatedAmount, uint256 totalAmountToSlash) returns(uint256)

func (*PolygonStakingValidatorShareProxySession) StakeManager

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxySession) StakeManager() (common.Address, error)

StakeManager is a free data retrieval call binding the contract method 0x7542ff95.

Solidity: function stakeManager() view returns(address)

func (*PolygonStakingValidatorShareProxySession) StakingLogger

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxySession) StakingLogger() (common.Address, error)

StakingLogger is a free data retrieval call binding the contract method 0x3d94eb05.

Solidity: function stakingLogger() view returns(address)

func (*PolygonStakingValidatorShareProxySession) TotalStakeDeprecated

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxySession) TotalStakeDeprecated() (*big.Int, error)

TotalStakeDeprecated is a free data retrieval call binding the contract method 0x5f0c80cc.

Solidity: function totalStake_deprecated() view returns(uint256)

func (*PolygonStakingValidatorShareProxySession) TotalSupply

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxySession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*PolygonStakingValidatorShareProxySession) Transfer

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxySession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*PolygonStakingValidatorShareProxySession) TransferFrom

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxySession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

func (*PolygonStakingValidatorShareProxySession) TransferOwnership

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxySession) 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 (*PolygonStakingValidatorShareProxySession) UnbondNonces

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxySession) UnbondNonces(arg0 common.Address) (*big.Int, error)

UnbondNonces is a free data retrieval call binding the contract method 0x3046c204.

Solidity: function unbondNonces(address ) view returns(uint256)

func (*PolygonStakingValidatorShareProxySession) Unbonds

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxySession) Unbonds(arg0 common.Address) (struct {
	Shares        *big.Int
	WithdrawEpoch *big.Int
}, error)

Unbonds is a free data retrieval call binding the contract method 0x653ec134.

Solidity: function unbonds(address ) view returns(uint256 shares, uint256 withdrawEpoch)

func (*PolygonStakingValidatorShareProxySession) UnbondsNew

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxySession) UnbondsNew(arg0 common.Address, arg1 *big.Int) (struct {
	Shares        *big.Int
	WithdrawEpoch *big.Int
}, error)

UnbondsNew is a free data retrieval call binding the contract method 0x795be587.

Solidity: function unbonds_new(address , uint256 ) view returns(uint256 shares, uint256 withdrawEpoch)

func (*PolygonStakingValidatorShareProxySession) Unlock

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxySession) Unlock() (*types.Transaction, error)

Unlock is a paid mutator transaction binding the contract method 0xa69df4b5.

Solidity: function unlock() returns()

func (*PolygonStakingValidatorShareProxySession) UnstakeClaimTokens

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxySession) UnstakeClaimTokens() (*types.Transaction, error)

UnstakeClaimTokens is a paid mutator transaction binding the contract method 0x8d16a14a.

Solidity: function unstakeClaimTokens() returns()

func (*PolygonStakingValidatorShareProxySession) UnstakeClaimTokensNew

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxySession) UnstakeClaimTokensNew(unbondNonce *big.Int) (*types.Transaction, error)

UnstakeClaimTokensNew is a paid mutator transaction binding the contract method 0xe97fddc2.

Solidity: function unstakeClaimTokens_new(uint256 unbondNonce) returns()

func (*PolygonStakingValidatorShareProxySession) UpdateDelegation

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxySession) UpdateDelegation(_delegation bool) (*types.Transaction, error)

UpdateDelegation is a paid mutator transaction binding the contract method 0x7ba8c820.

Solidity: function updateDelegation(bool _delegation) returns()

func (*PolygonStakingValidatorShareProxySession) ValidatorId

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxySession) ValidatorId() (*big.Int, error)

ValidatorId is a free data retrieval call binding the contract method 0x5c5f7dae.

Solidity: function validatorId() view returns(uint256)

func (*PolygonStakingValidatorShareProxySession) ValidatorRewardsDeprecated

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxySession) ValidatorRewardsDeprecated() (*big.Int, error)

ValidatorRewardsDeprecated is a free data retrieval call binding the contract method 0x39c31e93.

Solidity: function validatorRewards_deprecated() view returns(uint256)

func (*PolygonStakingValidatorShareProxySession) WithdrawExchangeRate

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxySession) WithdrawExchangeRate() (*big.Int, error)

WithdrawExchangeRate is a free data retrieval call binding the contract method 0xbfb18f29.

Solidity: function withdrawExchangeRate() view returns(uint256)

func (*PolygonStakingValidatorShareProxySession) WithdrawPool

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxySession) WithdrawPool() (*big.Int, error)

WithdrawPool is a free data retrieval call binding the contract method 0x5c42c733.

Solidity: function withdrawPool() view returns(uint256)

func (*PolygonStakingValidatorShareProxySession) WithdrawRewards

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxySession) WithdrawRewards() (*types.Transaction, error)

WithdrawRewards is a paid mutator transaction binding the contract method 0xc7b8981c.

Solidity: function withdrawRewards() returns()

func (*PolygonStakingValidatorShareProxySession) WithdrawShares

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxySession) WithdrawShares() (*big.Int, error)

WithdrawShares is a free data retrieval call binding the contract method 0x8d086da4.

Solidity: function withdrawShares() view returns(uint256)

type PolygonStakingValidatorShareProxyTransactor

type PolygonStakingValidatorShareProxyTransactor struct {
	// contains filtered or unexported fields
}

PolygonStakingValidatorShareProxyTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewPolygonStakingValidatorShareProxyTransactor

func NewPolygonStakingValidatorShareProxyTransactor(address common.Address, transactor bind.ContractTransactor) (*PolygonStakingValidatorShareProxyTransactor, error)

NewPolygonStakingValidatorShareProxyTransactor creates a new write-only instance of PolygonStakingValidatorShareProxy, bound to a specific deployed contract.

func (*PolygonStakingValidatorShareProxyTransactor) Approve

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyTransactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 value) returns(bool)

func (*PolygonStakingValidatorShareProxyTransactor) BuyVoucher

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyTransactor) BuyVoucher(opts *bind.TransactOpts, _amount *big.Int, _minSharesToMint *big.Int) (*types.Transaction, error)

BuyVoucher is a paid mutator transaction binding the contract method 0x6ab15071.

Solidity: function buyVoucher(uint256 _amount, uint256 _minSharesToMint) returns(uint256 amountToDeposit)

func (*PolygonStakingValidatorShareProxyTransactor) DecreaseAllowance

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*PolygonStakingValidatorShareProxyTransactor) Drain

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyTransactor) Drain(opts *bind.TransactOpts, token common.Address, destination common.Address, amount *big.Int) (*types.Transaction, error)

Drain is a paid mutator transaction binding the contract method 0xabf59fc9.

Solidity: function drain(address token, address destination, uint256 amount) returns()

func (*PolygonStakingValidatorShareProxyTransactor) IncreaseAllowance

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*PolygonStakingValidatorShareProxyTransactor) Initialize

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyTransactor) Initialize(opts *bind.TransactOpts, _validatorId *big.Int, _stakingLogger common.Address, _stakeManager common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xb4988fd0.

Solidity: function initialize(uint256 _validatorId, address _stakingLogger, address _stakeManager) returns()

func (*PolygonStakingValidatorShareProxyTransactor) Lock

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyTransactor) Lock(opts *bind.TransactOpts) (*types.Transaction, error)

Lock is a paid mutator transaction binding the contract method 0xf83d08ba.

Solidity: function lock() returns()

func (*PolygonStakingValidatorShareProxyTransactor) MigrateIn

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyTransactor) MigrateIn(opts *bind.TransactOpts, user common.Address, amount *big.Int) (*types.Transaction, error)

MigrateIn is a paid mutator transaction binding the contract method 0xa0c1ca34.

Solidity: function migrateIn(address user, uint256 amount) returns()

func (*PolygonStakingValidatorShareProxyTransactor) MigrateOut

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyTransactor) MigrateOut(opts *bind.TransactOpts, user common.Address, amount *big.Int) (*types.Transaction, error)

MigrateOut is a paid mutator transaction binding the contract method 0x6e7ce591.

Solidity: function migrateOut(address user, uint256 amount) returns()

func (*PolygonStakingValidatorShareProxyTransactor) RenounceOwnership

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*PolygonStakingValidatorShareProxyTransactor) Restake

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyTransactor) Restake(opts *bind.TransactOpts) (*types.Transaction, error)

Restake is a paid mutator transaction binding the contract method 0x4f91440d.

Solidity: function restake() returns(uint256, uint256)

func (*PolygonStakingValidatorShareProxyTransactor) SellVoucher

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyTransactor) SellVoucher(opts *bind.TransactOpts, claimAmount *big.Int, maximumSharesToBurn *big.Int) (*types.Transaction, error)

SellVoucher is a paid mutator transaction binding the contract method 0x029d3040.

Solidity: function sellVoucher(uint256 claimAmount, uint256 maximumSharesToBurn) returns()

func (*PolygonStakingValidatorShareProxyTransactor) SellVoucherNew

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyTransactor) SellVoucherNew(opts *bind.TransactOpts, claimAmount *big.Int, maximumSharesToBurn *big.Int) (*types.Transaction, error)

SellVoucherNew is a paid mutator transaction binding the contract method 0xc83ec04d.

Solidity: function sellVoucher_new(uint256 claimAmount, uint256 maximumSharesToBurn) returns()

func (*PolygonStakingValidatorShareProxyTransactor) Slash

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyTransactor) Slash(opts *bind.TransactOpts, validatorStake *big.Int, delegatedAmount *big.Int, totalAmountToSlash *big.Int) (*types.Transaction, error)

Slash is a paid mutator transaction binding the contract method 0x6cbb6050.

Solidity: function slash(uint256 validatorStake, uint256 delegatedAmount, uint256 totalAmountToSlash) returns(uint256)

func (*PolygonStakingValidatorShareProxyTransactor) Transfer

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyTransactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*PolygonStakingValidatorShareProxyTransactor) TransferFrom

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

func (*PolygonStakingValidatorShareProxyTransactor) TransferOwnership

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyTransactor) 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 (*PolygonStakingValidatorShareProxyTransactor) Unlock

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyTransactor) Unlock(opts *bind.TransactOpts) (*types.Transaction, error)

Unlock is a paid mutator transaction binding the contract method 0xa69df4b5.

Solidity: function unlock() returns()

func (*PolygonStakingValidatorShareProxyTransactor) UnstakeClaimTokens

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyTransactor) UnstakeClaimTokens(opts *bind.TransactOpts) (*types.Transaction, error)

UnstakeClaimTokens is a paid mutator transaction binding the contract method 0x8d16a14a.

Solidity: function unstakeClaimTokens() returns()

func (*PolygonStakingValidatorShareProxyTransactor) UnstakeClaimTokensNew

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyTransactor) UnstakeClaimTokensNew(opts *bind.TransactOpts, unbondNonce *big.Int) (*types.Transaction, error)

UnstakeClaimTokensNew is a paid mutator transaction binding the contract method 0xe97fddc2.

Solidity: function unstakeClaimTokens_new(uint256 unbondNonce) returns()

func (*PolygonStakingValidatorShareProxyTransactor) UpdateDelegation

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyTransactor) UpdateDelegation(opts *bind.TransactOpts, _delegation bool) (*types.Transaction, error)

UpdateDelegation is a paid mutator transaction binding the contract method 0x7ba8c820.

Solidity: function updateDelegation(bool _delegation) returns()

func (*PolygonStakingValidatorShareProxyTransactor) WithdrawRewards

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyTransactor) WithdrawRewards(opts *bind.TransactOpts) (*types.Transaction, error)

WithdrawRewards is a paid mutator transaction binding the contract method 0xc7b8981c.

Solidity: function withdrawRewards() returns()

type PolygonStakingValidatorShareProxyTransactorRaw

type PolygonStakingValidatorShareProxyTransactorRaw struct {
	Contract *PolygonStakingValidatorShareProxyTransactor // Generic write-only contract binding to access the raw methods on
}

PolygonStakingValidatorShareProxyTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*PolygonStakingValidatorShareProxyTransactorRaw) Transact

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*PolygonStakingValidatorShareProxyTransactorRaw) Transfer

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyTransactorRaw) 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 PolygonStakingValidatorShareProxyTransactorSession

type PolygonStakingValidatorShareProxyTransactorSession struct {
	Contract     *PolygonStakingValidatorShareProxyTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts                            // Transaction auth options to use throughout this session
}

PolygonStakingValidatorShareProxyTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*PolygonStakingValidatorShareProxyTransactorSession) Approve

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyTransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 value) returns(bool)

func (*PolygonStakingValidatorShareProxyTransactorSession) BuyVoucher

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyTransactorSession) BuyVoucher(_amount *big.Int, _minSharesToMint *big.Int) (*types.Transaction, error)

BuyVoucher is a paid mutator transaction binding the contract method 0x6ab15071.

Solidity: function buyVoucher(uint256 _amount, uint256 _minSharesToMint) returns(uint256 amountToDeposit)

func (*PolygonStakingValidatorShareProxyTransactorSession) DecreaseAllowance

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*PolygonStakingValidatorShareProxyTransactorSession) Drain

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyTransactorSession) Drain(token common.Address, destination common.Address, amount *big.Int) (*types.Transaction, error)

Drain is a paid mutator transaction binding the contract method 0xabf59fc9.

Solidity: function drain(address token, address destination, uint256 amount) returns()

func (*PolygonStakingValidatorShareProxyTransactorSession) IncreaseAllowance

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*PolygonStakingValidatorShareProxyTransactorSession) Initialize

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyTransactorSession) Initialize(_validatorId *big.Int, _stakingLogger common.Address, _stakeManager common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xb4988fd0.

Solidity: function initialize(uint256 _validatorId, address _stakingLogger, address _stakeManager) returns()

func (*PolygonStakingValidatorShareProxyTransactorSession) Lock

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyTransactorSession) Lock() (*types.Transaction, error)

Lock is a paid mutator transaction binding the contract method 0xf83d08ba.

Solidity: function lock() returns()

func (*PolygonStakingValidatorShareProxyTransactorSession) MigrateIn

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyTransactorSession) MigrateIn(user common.Address, amount *big.Int) (*types.Transaction, error)

MigrateIn is a paid mutator transaction binding the contract method 0xa0c1ca34.

Solidity: function migrateIn(address user, uint256 amount) returns()

func (*PolygonStakingValidatorShareProxyTransactorSession) MigrateOut

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyTransactorSession) MigrateOut(user common.Address, amount *big.Int) (*types.Transaction, error)

MigrateOut is a paid mutator transaction binding the contract method 0x6e7ce591.

Solidity: function migrateOut(address user, uint256 amount) returns()

func (*PolygonStakingValidatorShareProxyTransactorSession) RenounceOwnership

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*PolygonStakingValidatorShareProxyTransactorSession) Restake

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyTransactorSession) Restake() (*types.Transaction, error)

Restake is a paid mutator transaction binding the contract method 0x4f91440d.

Solidity: function restake() returns(uint256, uint256)

func (*PolygonStakingValidatorShareProxyTransactorSession) SellVoucher

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyTransactorSession) SellVoucher(claimAmount *big.Int, maximumSharesToBurn *big.Int) (*types.Transaction, error)

SellVoucher is a paid mutator transaction binding the contract method 0x029d3040.

Solidity: function sellVoucher(uint256 claimAmount, uint256 maximumSharesToBurn) returns()

func (*PolygonStakingValidatorShareProxyTransactorSession) SellVoucherNew

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyTransactorSession) SellVoucherNew(claimAmount *big.Int, maximumSharesToBurn *big.Int) (*types.Transaction, error)

SellVoucherNew is a paid mutator transaction binding the contract method 0xc83ec04d.

Solidity: function sellVoucher_new(uint256 claimAmount, uint256 maximumSharesToBurn) returns()

func (*PolygonStakingValidatorShareProxyTransactorSession) Slash

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyTransactorSession) Slash(validatorStake *big.Int, delegatedAmount *big.Int, totalAmountToSlash *big.Int) (*types.Transaction, error)

Slash is a paid mutator transaction binding the contract method 0x6cbb6050.

Solidity: function slash(uint256 validatorStake, uint256 delegatedAmount, uint256 totalAmountToSlash) returns(uint256)

func (*PolygonStakingValidatorShareProxyTransactorSession) Transfer

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyTransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*PolygonStakingValidatorShareProxyTransactorSession) TransferFrom

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyTransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

func (*PolygonStakingValidatorShareProxyTransactorSession) TransferOwnership

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyTransactorSession) 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 (*PolygonStakingValidatorShareProxyTransactorSession) Unlock

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyTransactorSession) Unlock() (*types.Transaction, error)

Unlock is a paid mutator transaction binding the contract method 0xa69df4b5.

Solidity: function unlock() returns()

func (*PolygonStakingValidatorShareProxyTransactorSession) UnstakeClaimTokens

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyTransactorSession) UnstakeClaimTokens() (*types.Transaction, error)

UnstakeClaimTokens is a paid mutator transaction binding the contract method 0x8d16a14a.

Solidity: function unstakeClaimTokens() returns()

func (*PolygonStakingValidatorShareProxyTransactorSession) UnstakeClaimTokensNew

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyTransactorSession) UnstakeClaimTokensNew(unbondNonce *big.Int) (*types.Transaction, error)

UnstakeClaimTokensNew is a paid mutator transaction binding the contract method 0xe97fddc2.

Solidity: function unstakeClaimTokens_new(uint256 unbondNonce) returns()

func (*PolygonStakingValidatorShareProxyTransactorSession) UpdateDelegation

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyTransactorSession) UpdateDelegation(_delegation bool) (*types.Transaction, error)

UpdateDelegation is a paid mutator transaction binding the contract method 0x7ba8c820.

Solidity: function updateDelegation(bool _delegation) returns()

func (*PolygonStakingValidatorShareProxyTransactorSession) WithdrawRewards

func (_PolygonStakingValidatorShareProxy *PolygonStakingValidatorShareProxyTransactorSession) WithdrawRewards() (*types.Transaction, error)

WithdrawRewards is a paid mutator transaction binding the contract method 0xc7b8981c.

Solidity: function withdrawRewards() returns()

type PolygonStakingValidatorShareProxyTransfer

type PolygonStakingValidatorShareProxyTransfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

PolygonStakingValidatorShareProxyTransfer represents a Transfer event raised by the PolygonStakingValidatorShareProxy contract.

type PolygonStakingValidatorShareProxyTransferIterator

type PolygonStakingValidatorShareProxyTransferIterator struct {
	Event *PolygonStakingValidatorShareProxyTransfer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PolygonStakingValidatorShareProxyTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the PolygonStakingValidatorShareProxy contract.

func (*PolygonStakingValidatorShareProxyTransferIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*PolygonStakingValidatorShareProxyTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PolygonStakingValidatorShareProxyTransferIterator) Next

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL