stMATIC

package
v0.1.22 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var StMATICABI = StMATICMetaData.ABI

StMATICABI is the input ABI used to generate the binding from. Deprecated: Use StMATICMetaData.ABI instead.

View Source
var StMATICMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"DAO\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PAUSE_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"UNPAUSE_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"calculatePendingBufferedTokens\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"pendingBufferedTokens\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"claimTokens\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_index\",\"type\":\"uint256\"}],\"name\":\"claimTokensFromValidatorToContract\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amountInMatic\",\"type\":\"uint256\"}],\"name\":\"convertMaticToStMatic\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountInStMatic\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalStMaticSupply\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalPooledMatic\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amountInStMatic\",\"type\":\"uint256\"}],\"name\":\"convertStMaticToMatic\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountInMatic\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalStMaticAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalPooledMatic\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"dao\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"delegate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"delegationLowerBound\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"distributeRewards\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"entityFees\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"dao\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"operators\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"insurance\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fxStateRootTunnel\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_validatorShare\",\"type\":\"address\"}],\"name\":\"getLiquidRewards\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"getMaticFromTokenId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"getToken2WithdrawRequests\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"amount2WithdrawFromStMATIC\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"validatorNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"requestEpoch\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"validatorAddress\",\"type\":\"address\"}],\"internalType\":\"structstMATIC.RequestWithdraw[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTotalPooledMatic\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_validatorShare\",\"type\":\"address\"}],\"name\":\"getTotalStake\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTotalStakeAcrossAllValidators\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTotalWithdrawRequest\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"amount2WithdrawFromStMATIC\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"validatorNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"requestEpoch\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"validatorAddress\",\"type\":\"address\"}],\"internalType\":\"structstMATIC.RequestWithdraw[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_nodeOperatorRegistry\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_dao\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_insurance\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_stakeManager\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_poLidoNFT\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_fxStateRootTunnel\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"insurance\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lastWithdrawnValidatorId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nodeOperatorRegistry\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poLidoNFT\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"protocolFee\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rebalanceDelegatedTokens\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_referral\",\"type\":\"address\"}],\"name\":\"requestWithdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"reservedFunds\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"rewardDistributionLowerBound\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newDAO\",\"type\":\"address\"}],\"name\":\"setDaoAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_delegationLowerBound\",\"type\":\"uint256\"}],\"name\":\"setDelegationLowerBound\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"_daoFee\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"_operatorsFee\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"_insuranceFee\",\"type\":\"uint8\"}],\"name\":\"setFees\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newFxStateRootTunnel\",\"type\":\"address\"}],\"name\":\"setFxStateRootTunnel\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"setInsuranceAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"setNodeOperatorRegistryAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newLidoNFT\",\"type\":\"address\"}],\"name\":\"setPoLidoNFT\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"_newProtocolFee\",\"type\":\"uint8\"}],\"name\":\"setProtocolFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_newRewardDistributionLowerBound\",\"type\":\"uint256\"}],\"name\":\"setRewardDistributionLowerBound\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_newVersion\",\"type\":\"string\"}],\"name\":\"setVersion\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"stMaticWithdrawRequest\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount2WithdrawFromStMATIC\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"validatorNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"requestEpoch\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"validatorAddress\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"stakeManager\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_referral\",\"type\":\"address\"}],\"name\":\"submit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"submitHandler\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"submitThreshold\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"token\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"token2WithdrawRequest\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount2WithdrawFromStMATIC\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"validatorNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"requestEpoch\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"validatorAddress\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"token2WithdrawRequests\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount2WithdrawFromStMATIC\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"validatorNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"requestEpoch\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"validatorAddress\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalBuffered\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_validatorShare\",\"type\":\"address\"}],\"name\":\"withdrawTotalDelegated\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

StMATICMetaData contains all meta data concerning the StMATIC contract.

Functions

This section is empty.

Types

type StMATIC

type StMATIC struct {
	StMATICCaller     // Read-only binding to the contract
	StMATICTransactor // Write-only binding to the contract
	StMATICFilterer   // Log filterer for contract events
}

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

func NewStMATIC

func NewStMATIC(address common.Address, backend bind.ContractBackend) (*StMATIC, error)

NewStMATIC creates a new instance of StMATIC, bound to a specific deployed contract.

type StMATICCaller

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

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

func NewStMATICCaller

func NewStMATICCaller(address common.Address, caller bind.ContractCaller) (*StMATICCaller, error)

NewStMATICCaller creates a new read-only instance of StMATIC, bound to a specific deployed contract.

func (*StMATICCaller) Allowance

func (_StMATIC *StMATICCaller) 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 (*StMATICCaller) BalanceOf

func (_StMATIC *StMATICCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*StMATICCaller) CalculatePendingBufferedTokens

func (_StMATIC *StMATICCaller) CalculatePendingBufferedTokens(opts *bind.CallOpts) (*big.Int, error)

CalculatePendingBufferedTokens is a free data retrieval call binding the contract method 0xafd290a7.

Solidity: function calculatePendingBufferedTokens() view returns(uint256 pendingBufferedTokens)

func (*StMATICCaller) ConvertMaticToStMatic

func (_StMATIC *StMATICCaller) ConvertMaticToStMatic(opts *bind.CallOpts, _amountInMatic *big.Int) (struct {
	AmountInStMatic    *big.Int
	TotalStMaticSupply *big.Int
	TotalPooledMatic   *big.Int
}, error)

ConvertMaticToStMatic is a free data retrieval call binding the contract method 0x917a52f5.

Solidity: function convertMaticToStMatic(uint256 _amountInMatic) view returns(uint256 amountInStMatic, uint256 totalStMaticSupply, uint256 totalPooledMatic)

func (*StMATICCaller) ConvertStMaticToMatic

func (_StMATIC *StMATICCaller) ConvertStMaticToMatic(opts *bind.CallOpts, _amountInStMatic *big.Int) (struct {
	AmountInMatic      *big.Int
	TotalStMaticAmount *big.Int
	TotalPooledMatic   *big.Int
}, error)

ConvertStMaticToMatic is a free data retrieval call binding the contract method 0xd968447c.

Solidity: function convertStMaticToMatic(uint256 _amountInStMatic) view returns(uint256 amountInMatic, uint256 totalStMaticAmount, uint256 totalPooledMatic)

func (*StMATICCaller) DAO

func (_StMATIC *StMATICCaller) DAO(opts *bind.CallOpts) ([32]byte, error)

DAO is a free data retrieval call binding the contract method 0x98fabd3a.

Solidity: function DAO() view returns(bytes32)

func (*StMATICCaller) DEFAULTADMINROLE

func (_StMATIC *StMATICCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*StMATICCaller) Dao

func (_StMATIC *StMATICCaller) Dao(opts *bind.CallOpts) (common.Address, error)

Dao is a free data retrieval call binding the contract method 0x4162169f.

Solidity: function dao() view returns(address)

func (*StMATICCaller) Decimals

func (_StMATIC *StMATICCaller) Decimals(opts *bind.CallOpts) (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*StMATICCaller) DelegationLowerBound

func (_StMATIC *StMATICCaller) DelegationLowerBound(opts *bind.CallOpts) (*big.Int, error)

DelegationLowerBound is a free data retrieval call binding the contract method 0x0d7abc33.

Solidity: function delegationLowerBound() view returns(uint256)

func (*StMATICCaller) EntityFees

func (_StMATIC *StMATICCaller) EntityFees(opts *bind.CallOpts) (struct {
	Dao       uint8
	Operators uint8
	Insurance uint8
}, error)

EntityFees is a free data retrieval call binding the contract method 0x964a7596.

Solidity: function entityFees() view returns(uint8 dao, uint8 operators, uint8 insurance)

func (*StMATICCaller) FxStateRootTunnel

func (_StMATIC *StMATICCaller) FxStateRootTunnel(opts *bind.CallOpts) (common.Address, error)

FxStateRootTunnel is a free data retrieval call binding the contract method 0xe062b10b.

Solidity: function fxStateRootTunnel() view returns(address)

func (*StMATICCaller) GetLiquidRewards

func (_StMATIC *StMATICCaller) GetLiquidRewards(opts *bind.CallOpts, _validatorShare common.Address) (*big.Int, error)

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

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

func (*StMATICCaller) GetMaticFromTokenId

func (_StMATIC *StMATICCaller) GetMaticFromTokenId(opts *bind.CallOpts, _tokenId *big.Int) (*big.Int, error)

GetMaticFromTokenId is a free data retrieval call binding the contract method 0x720bcf1d.

Solidity: function getMaticFromTokenId(uint256 _tokenId) view returns(uint256)

func (*StMATICCaller) GetRoleAdmin

func (_StMATIC *StMATICCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*StMATICCaller) GetToken2WithdrawRequests

func (_StMATIC *StMATICCaller) GetToken2WithdrawRequests(opts *bind.CallOpts, _tokenId *big.Int) ([]stMATICRequestWithdraw, error)

GetToken2WithdrawRequests is a free data retrieval call binding the contract method 0x253d1735.

Solidity: function getToken2WithdrawRequests(uint256 _tokenId) view returns((uint256,uint256,uint256,address)[])

func (*StMATICCaller) GetTotalPooledMatic

func (_StMATIC *StMATICCaller) GetTotalPooledMatic(opts *bind.CallOpts) (*big.Int, error)

GetTotalPooledMatic is a free data retrieval call binding the contract method 0xe00222a0.

Solidity: function getTotalPooledMatic() view returns(uint256)

func (*StMATICCaller) GetTotalStake

func (_StMATIC *StMATICCaller) GetTotalStake(opts *bind.CallOpts, _validatorShare common.Address) (*big.Int, *big.Int, error)

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

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

func (*StMATICCaller) GetTotalStakeAcrossAllValidators

func (_StMATIC *StMATICCaller) GetTotalStakeAcrossAllValidators(opts *bind.CallOpts) (*big.Int, error)

GetTotalStakeAcrossAllValidators is a free data retrieval call binding the contract method 0x7e978af8.

Solidity: function getTotalStakeAcrossAllValidators() view returns(uint256)

func (*StMATICCaller) GetTotalWithdrawRequest

func (_StMATIC *StMATICCaller) GetTotalWithdrawRequest(opts *bind.CallOpts) ([]stMATICRequestWithdraw, error)

GetTotalWithdrawRequest is a free data retrieval call binding the contract method 0x916b9eba.

Solidity: function getTotalWithdrawRequest() view returns((uint256,uint256,uint256,address)[])

func (*StMATICCaller) HasRole

func (_StMATIC *StMATICCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*StMATICCaller) Insurance

func (_StMATIC *StMATICCaller) Insurance(opts *bind.CallOpts) (common.Address, error)

Insurance is a free data retrieval call binding the contract method 0x89cf3204.

Solidity: function insurance() view returns(address)

func (*StMATICCaller) LastWithdrawnValidatorId

func (_StMATIC *StMATICCaller) LastWithdrawnValidatorId(opts *bind.CallOpts) (*big.Int, error)

LastWithdrawnValidatorId is a free data retrieval call binding the contract method 0x71975a3e.

Solidity: function lastWithdrawnValidatorId() view returns(uint256)

func (*StMATICCaller) Name

func (_StMATIC *StMATICCaller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*StMATICCaller) NodeOperatorRegistry

func (_StMATIC *StMATICCaller) NodeOperatorRegistry(opts *bind.CallOpts) (common.Address, error)

NodeOperatorRegistry is a free data retrieval call binding the contract method 0xe8f8708f.

Solidity: function nodeOperatorRegistry() view returns(address)

func (*StMATICCaller) PAUSEROLE

func (_StMATIC *StMATICCaller) PAUSEROLE(opts *bind.CallOpts) ([32]byte, error)

PAUSEROLE is a free data retrieval call binding the contract method 0x389ed267.

Solidity: function PAUSE_ROLE() view returns(bytes32)

func (*StMATICCaller) Paused

func (_StMATIC *StMATICCaller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*StMATICCaller) PoLidoNFT

func (_StMATIC *StMATICCaller) PoLidoNFT(opts *bind.CallOpts) (common.Address, error)

PoLidoNFT is a free data retrieval call binding the contract method 0x7029c90e.

Solidity: function poLidoNFT() view returns(address)

func (*StMATICCaller) ProtocolFee

func (_StMATIC *StMATICCaller) ProtocolFee(opts *bind.CallOpts) (uint8, error)

ProtocolFee is a free data retrieval call binding the contract method 0xb0e21e8a.

Solidity: function protocolFee() view returns(uint8)

func (*StMATICCaller) ReservedFunds

func (_StMATIC *StMATICCaller) ReservedFunds(opts *bind.CallOpts) (*big.Int, error)

ReservedFunds is a free data retrieval call binding the contract method 0x509c5df6.

Solidity: function reservedFunds() view returns(uint256)

func (*StMATICCaller) RewardDistributionLowerBound

func (_StMATIC *StMATICCaller) RewardDistributionLowerBound(opts *bind.CallOpts) (*big.Int, error)

RewardDistributionLowerBound is a free data retrieval call binding the contract method 0xa2452947.

Solidity: function rewardDistributionLowerBound() view returns(uint256)

func (*StMATICCaller) StMaticWithdrawRequest

func (_StMATIC *StMATICCaller) StMaticWithdrawRequest(opts *bind.CallOpts, arg0 *big.Int) (struct {
	Amount2WithdrawFromStMATIC *big.Int
	ValidatorNonce             *big.Int
	RequestEpoch               *big.Int
	ValidatorAddress           common.Address
}, error)

StMaticWithdrawRequest is a free data retrieval call binding the contract method 0xf1a13fce.

Solidity: function stMaticWithdrawRequest(uint256 ) view returns(uint256 amount2WithdrawFromStMATIC, uint256 validatorNonce, uint256 requestEpoch, address validatorAddress)

func (*StMATICCaller) StakeManager

func (_StMATIC *StMATICCaller) 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 (*StMATICCaller) SubmitHandler

func (_StMATIC *StMATICCaller) SubmitHandler(opts *bind.CallOpts) (bool, error)

SubmitHandler is a free data retrieval call binding the contract method 0xe259faf7.

Solidity: function submitHandler() view returns(bool)

func (*StMATICCaller) SubmitThreshold

func (_StMATIC *StMATICCaller) SubmitThreshold(opts *bind.CallOpts) (*big.Int, error)

SubmitThreshold is a free data retrieval call binding the contract method 0x893818a3.

Solidity: function submitThreshold() view returns(uint256)

func (*StMATICCaller) SupportsInterface

func (_StMATIC *StMATICCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*StMATICCaller) Symbol

func (_StMATIC *StMATICCaller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*StMATICCaller) Token

func (_StMATIC *StMATICCaller) Token(opts *bind.CallOpts) (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() view returns(address)

func (*StMATICCaller) Token2WithdrawRequest

func (_StMATIC *StMATICCaller) Token2WithdrawRequest(opts *bind.CallOpts, arg0 *big.Int) (struct {
	Amount2WithdrawFromStMATIC *big.Int
	ValidatorNonce             *big.Int
	RequestEpoch               *big.Int
	ValidatorAddress           common.Address
}, error)

Token2WithdrawRequest is a free data retrieval call binding the contract method 0xf08711fe.

Solidity: function token2WithdrawRequest(uint256 ) view returns(uint256 amount2WithdrawFromStMATIC, uint256 validatorNonce, uint256 requestEpoch, address validatorAddress)

func (*StMATICCaller) Token2WithdrawRequests

func (_StMATIC *StMATICCaller) Token2WithdrawRequests(opts *bind.CallOpts, arg0 *big.Int, arg1 *big.Int) (struct {
	Amount2WithdrawFromStMATIC *big.Int
	ValidatorNonce             *big.Int
	RequestEpoch               *big.Int
	ValidatorAddress           common.Address
}, error)

Token2WithdrawRequests is a free data retrieval call binding the contract method 0xc697d2c7.

Solidity: function token2WithdrawRequests(uint256 , uint256 ) view returns(uint256 amount2WithdrawFromStMATIC, uint256 validatorNonce, uint256 requestEpoch, address validatorAddress)

func (*StMATICCaller) TotalBuffered

func (_StMATIC *StMATICCaller) TotalBuffered(opts *bind.CallOpts) (*big.Int, error)

TotalBuffered is a free data retrieval call binding the contract method 0x52349b17.

Solidity: function totalBuffered() view returns(uint256)

func (*StMATICCaller) TotalSupply

func (_StMATIC *StMATICCaller) 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 (*StMATICCaller) UNPAUSEROLE

func (_StMATIC *StMATICCaller) UNPAUSEROLE(opts *bind.CallOpts) ([32]byte, error)

UNPAUSEROLE is a free data retrieval call binding the contract method 0x309756fb.

Solidity: function UNPAUSE_ROLE() view returns(bytes32)

func (*StMATICCaller) Version

func (_StMATIC *StMATICCaller) Version(opts *bind.CallOpts) (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

type StMATICCallerRaw

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

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

func (*StMATICCallerRaw) Call

func (_StMATIC *StMATICCallerRaw) 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 StMATICCallerSession

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

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

func (*StMATICCallerSession) Allowance

func (_StMATIC *StMATICCallerSession) 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 (*StMATICCallerSession) BalanceOf

func (_StMATIC *StMATICCallerSession) BalanceOf(account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*StMATICCallerSession) CalculatePendingBufferedTokens

func (_StMATIC *StMATICCallerSession) CalculatePendingBufferedTokens() (*big.Int, error)

CalculatePendingBufferedTokens is a free data retrieval call binding the contract method 0xafd290a7.

Solidity: function calculatePendingBufferedTokens() view returns(uint256 pendingBufferedTokens)

func (*StMATICCallerSession) ConvertMaticToStMatic

func (_StMATIC *StMATICCallerSession) ConvertMaticToStMatic(_amountInMatic *big.Int) (struct {
	AmountInStMatic    *big.Int
	TotalStMaticSupply *big.Int
	TotalPooledMatic   *big.Int
}, error)

ConvertMaticToStMatic is a free data retrieval call binding the contract method 0x917a52f5.

Solidity: function convertMaticToStMatic(uint256 _amountInMatic) view returns(uint256 amountInStMatic, uint256 totalStMaticSupply, uint256 totalPooledMatic)

func (*StMATICCallerSession) ConvertStMaticToMatic

func (_StMATIC *StMATICCallerSession) ConvertStMaticToMatic(_amountInStMatic *big.Int) (struct {
	AmountInMatic      *big.Int
	TotalStMaticAmount *big.Int
	TotalPooledMatic   *big.Int
}, error)

ConvertStMaticToMatic is a free data retrieval call binding the contract method 0xd968447c.

Solidity: function convertStMaticToMatic(uint256 _amountInStMatic) view returns(uint256 amountInMatic, uint256 totalStMaticAmount, uint256 totalPooledMatic)

func (*StMATICCallerSession) DAO

func (_StMATIC *StMATICCallerSession) DAO() ([32]byte, error)

DAO is a free data retrieval call binding the contract method 0x98fabd3a.

Solidity: function DAO() view returns(bytes32)

func (*StMATICCallerSession) DEFAULTADMINROLE

func (_StMATIC *StMATICCallerSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*StMATICCallerSession) Dao

func (_StMATIC *StMATICCallerSession) Dao() (common.Address, error)

Dao is a free data retrieval call binding the contract method 0x4162169f.

Solidity: function dao() view returns(address)

func (*StMATICCallerSession) Decimals

func (_StMATIC *StMATICCallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*StMATICCallerSession) DelegationLowerBound

func (_StMATIC *StMATICCallerSession) DelegationLowerBound() (*big.Int, error)

DelegationLowerBound is a free data retrieval call binding the contract method 0x0d7abc33.

Solidity: function delegationLowerBound() view returns(uint256)

func (*StMATICCallerSession) EntityFees

func (_StMATIC *StMATICCallerSession) EntityFees() (struct {
	Dao       uint8
	Operators uint8
	Insurance uint8
}, error)

EntityFees is a free data retrieval call binding the contract method 0x964a7596.

Solidity: function entityFees() view returns(uint8 dao, uint8 operators, uint8 insurance)

func (*StMATICCallerSession) FxStateRootTunnel

func (_StMATIC *StMATICCallerSession) FxStateRootTunnel() (common.Address, error)

FxStateRootTunnel is a free data retrieval call binding the contract method 0xe062b10b.

Solidity: function fxStateRootTunnel() view returns(address)

func (*StMATICCallerSession) GetLiquidRewards

func (_StMATIC *StMATICCallerSession) GetLiquidRewards(_validatorShare common.Address) (*big.Int, error)

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

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

func (*StMATICCallerSession) GetMaticFromTokenId

func (_StMATIC *StMATICCallerSession) GetMaticFromTokenId(_tokenId *big.Int) (*big.Int, error)

GetMaticFromTokenId is a free data retrieval call binding the contract method 0x720bcf1d.

Solidity: function getMaticFromTokenId(uint256 _tokenId) view returns(uint256)

func (*StMATICCallerSession) GetRoleAdmin

func (_StMATIC *StMATICCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*StMATICCallerSession) GetToken2WithdrawRequests

func (_StMATIC *StMATICCallerSession) GetToken2WithdrawRequests(_tokenId *big.Int) ([]stMATICRequestWithdraw, error)

GetToken2WithdrawRequests is a free data retrieval call binding the contract method 0x253d1735.

Solidity: function getToken2WithdrawRequests(uint256 _tokenId) view returns((uint256,uint256,uint256,address)[])

func (*StMATICCallerSession) GetTotalPooledMatic

func (_StMATIC *StMATICCallerSession) GetTotalPooledMatic() (*big.Int, error)

GetTotalPooledMatic is a free data retrieval call binding the contract method 0xe00222a0.

Solidity: function getTotalPooledMatic() view returns(uint256)

func (*StMATICCallerSession) GetTotalStake

func (_StMATIC *StMATICCallerSession) GetTotalStake(_validatorShare common.Address) (*big.Int, *big.Int, error)

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

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

func (*StMATICCallerSession) GetTotalStakeAcrossAllValidators

func (_StMATIC *StMATICCallerSession) GetTotalStakeAcrossAllValidators() (*big.Int, error)

GetTotalStakeAcrossAllValidators is a free data retrieval call binding the contract method 0x7e978af8.

Solidity: function getTotalStakeAcrossAllValidators() view returns(uint256)

func (*StMATICCallerSession) GetTotalWithdrawRequest

func (_StMATIC *StMATICCallerSession) GetTotalWithdrawRequest() ([]stMATICRequestWithdraw, error)

GetTotalWithdrawRequest is a free data retrieval call binding the contract method 0x916b9eba.

Solidity: function getTotalWithdrawRequest() view returns((uint256,uint256,uint256,address)[])

func (*StMATICCallerSession) HasRole

func (_StMATIC *StMATICCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*StMATICCallerSession) Insurance

func (_StMATIC *StMATICCallerSession) Insurance() (common.Address, error)

Insurance is a free data retrieval call binding the contract method 0x89cf3204.

Solidity: function insurance() view returns(address)

func (*StMATICCallerSession) LastWithdrawnValidatorId

func (_StMATIC *StMATICCallerSession) LastWithdrawnValidatorId() (*big.Int, error)

LastWithdrawnValidatorId is a free data retrieval call binding the contract method 0x71975a3e.

Solidity: function lastWithdrawnValidatorId() view returns(uint256)

func (*StMATICCallerSession) Name

func (_StMATIC *StMATICCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*StMATICCallerSession) NodeOperatorRegistry

func (_StMATIC *StMATICCallerSession) NodeOperatorRegistry() (common.Address, error)

NodeOperatorRegistry is a free data retrieval call binding the contract method 0xe8f8708f.

Solidity: function nodeOperatorRegistry() view returns(address)

func (*StMATICCallerSession) PAUSEROLE

func (_StMATIC *StMATICCallerSession) PAUSEROLE() ([32]byte, error)

PAUSEROLE is a free data retrieval call binding the contract method 0x389ed267.

Solidity: function PAUSE_ROLE() view returns(bytes32)

func (*StMATICCallerSession) Paused

func (_StMATIC *StMATICCallerSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*StMATICCallerSession) PoLidoNFT

func (_StMATIC *StMATICCallerSession) PoLidoNFT() (common.Address, error)

PoLidoNFT is a free data retrieval call binding the contract method 0x7029c90e.

Solidity: function poLidoNFT() view returns(address)

func (*StMATICCallerSession) ProtocolFee

func (_StMATIC *StMATICCallerSession) ProtocolFee() (uint8, error)

ProtocolFee is a free data retrieval call binding the contract method 0xb0e21e8a.

Solidity: function protocolFee() view returns(uint8)

func (*StMATICCallerSession) ReservedFunds

func (_StMATIC *StMATICCallerSession) ReservedFunds() (*big.Int, error)

ReservedFunds is a free data retrieval call binding the contract method 0x509c5df6.

Solidity: function reservedFunds() view returns(uint256)

func (*StMATICCallerSession) RewardDistributionLowerBound

func (_StMATIC *StMATICCallerSession) RewardDistributionLowerBound() (*big.Int, error)

RewardDistributionLowerBound is a free data retrieval call binding the contract method 0xa2452947.

Solidity: function rewardDistributionLowerBound() view returns(uint256)

func (*StMATICCallerSession) StMaticWithdrawRequest

func (_StMATIC *StMATICCallerSession) StMaticWithdrawRequest(arg0 *big.Int) (struct {
	Amount2WithdrawFromStMATIC *big.Int
	ValidatorNonce             *big.Int
	RequestEpoch               *big.Int
	ValidatorAddress           common.Address
}, error)

StMaticWithdrawRequest is a free data retrieval call binding the contract method 0xf1a13fce.

Solidity: function stMaticWithdrawRequest(uint256 ) view returns(uint256 amount2WithdrawFromStMATIC, uint256 validatorNonce, uint256 requestEpoch, address validatorAddress)

func (*StMATICCallerSession) StakeManager

func (_StMATIC *StMATICCallerSession) StakeManager() (common.Address, error)

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

Solidity: function stakeManager() view returns(address)

func (*StMATICCallerSession) SubmitHandler

func (_StMATIC *StMATICCallerSession) SubmitHandler() (bool, error)

SubmitHandler is a free data retrieval call binding the contract method 0xe259faf7.

Solidity: function submitHandler() view returns(bool)

func (*StMATICCallerSession) SubmitThreshold

func (_StMATIC *StMATICCallerSession) SubmitThreshold() (*big.Int, error)

SubmitThreshold is a free data retrieval call binding the contract method 0x893818a3.

Solidity: function submitThreshold() view returns(uint256)

func (*StMATICCallerSession) SupportsInterface

func (_StMATIC *StMATICCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*StMATICCallerSession) Symbol

func (_StMATIC *StMATICCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*StMATICCallerSession) Token

func (_StMATIC *StMATICCallerSession) Token() (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() view returns(address)

func (*StMATICCallerSession) Token2WithdrawRequest

func (_StMATIC *StMATICCallerSession) Token2WithdrawRequest(arg0 *big.Int) (struct {
	Amount2WithdrawFromStMATIC *big.Int
	ValidatorNonce             *big.Int
	RequestEpoch               *big.Int
	ValidatorAddress           common.Address
}, error)

Token2WithdrawRequest is a free data retrieval call binding the contract method 0xf08711fe.

Solidity: function token2WithdrawRequest(uint256 ) view returns(uint256 amount2WithdrawFromStMATIC, uint256 validatorNonce, uint256 requestEpoch, address validatorAddress)

func (*StMATICCallerSession) Token2WithdrawRequests

func (_StMATIC *StMATICCallerSession) Token2WithdrawRequests(arg0 *big.Int, arg1 *big.Int) (struct {
	Amount2WithdrawFromStMATIC *big.Int
	ValidatorNonce             *big.Int
	RequestEpoch               *big.Int
	ValidatorAddress           common.Address
}, error)

Token2WithdrawRequests is a free data retrieval call binding the contract method 0xc697d2c7.

Solidity: function token2WithdrawRequests(uint256 , uint256 ) view returns(uint256 amount2WithdrawFromStMATIC, uint256 validatorNonce, uint256 requestEpoch, address validatorAddress)

func (*StMATICCallerSession) TotalBuffered

func (_StMATIC *StMATICCallerSession) TotalBuffered() (*big.Int, error)

TotalBuffered is a free data retrieval call binding the contract method 0x52349b17.

Solidity: function totalBuffered() view returns(uint256)

func (*StMATICCallerSession) TotalSupply

func (_StMATIC *StMATICCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*StMATICCallerSession) UNPAUSEROLE

func (_StMATIC *StMATICCallerSession) UNPAUSEROLE() ([32]byte, error)

UNPAUSEROLE is a free data retrieval call binding the contract method 0x309756fb.

Solidity: function UNPAUSE_ROLE() view returns(bytes32)

func (*StMATICCallerSession) Version

func (_StMATIC *StMATICCallerSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

type StMATICFilterer

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

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

func NewStMATICFilterer

func NewStMATICFilterer(address common.Address, filterer bind.ContractFilterer) (*StMATICFilterer, error)

NewStMATICFilterer creates a new log filterer instance of StMATIC, bound to a specific deployed contract.

type StMATICRaw

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

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

func (*StMATICRaw) Call

func (_StMATIC *StMATICRaw) 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 (*StMATICRaw) Transact

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

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

func (*StMATICRaw) Transfer

func (_StMATIC *StMATICRaw) 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 StMATICSession

type StMATICSession struct {
	Contract     *StMATIC          // 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
}

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

func (*StMATICSession) Allowance

func (_StMATIC *StMATICSession) 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 (*StMATICSession) Approve

func (_StMATIC *StMATICSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*StMATICSession) BalanceOf

func (_StMATIC *StMATICSession) BalanceOf(account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*StMATICSession) CalculatePendingBufferedTokens

func (_StMATIC *StMATICSession) CalculatePendingBufferedTokens() (*big.Int, error)

CalculatePendingBufferedTokens is a free data retrieval call binding the contract method 0xafd290a7.

Solidity: function calculatePendingBufferedTokens() view returns(uint256 pendingBufferedTokens)

func (*StMATICSession) ClaimTokens

func (_StMATIC *StMATICSession) ClaimTokens(_tokenId *big.Int) (*types.Transaction, error)

ClaimTokens is a paid mutator transaction binding the contract method 0x46e04a2f.

Solidity: function claimTokens(uint256 _tokenId) returns()

func (*StMATICSession) ClaimTokensFromValidatorToContract

func (_StMATIC *StMATICSession) ClaimTokensFromValidatorToContract(_index *big.Int) (*types.Transaction, error)

ClaimTokensFromValidatorToContract is a paid mutator transaction binding the contract method 0x4cfeb862.

Solidity: function claimTokensFromValidatorToContract(uint256 _index) returns()

func (*StMATICSession) ConvertMaticToStMatic

func (_StMATIC *StMATICSession) ConvertMaticToStMatic(_amountInMatic *big.Int) (struct {
	AmountInStMatic    *big.Int
	TotalStMaticSupply *big.Int
	TotalPooledMatic   *big.Int
}, error)

ConvertMaticToStMatic is a free data retrieval call binding the contract method 0x917a52f5.

Solidity: function convertMaticToStMatic(uint256 _amountInMatic) view returns(uint256 amountInStMatic, uint256 totalStMaticSupply, uint256 totalPooledMatic)

func (*StMATICSession) ConvertStMaticToMatic

func (_StMATIC *StMATICSession) ConvertStMaticToMatic(_amountInStMatic *big.Int) (struct {
	AmountInMatic      *big.Int
	TotalStMaticAmount *big.Int
	TotalPooledMatic   *big.Int
}, error)

ConvertStMaticToMatic is a free data retrieval call binding the contract method 0xd968447c.

Solidity: function convertStMaticToMatic(uint256 _amountInStMatic) view returns(uint256 amountInMatic, uint256 totalStMaticAmount, uint256 totalPooledMatic)

func (*StMATICSession) DAO

func (_StMATIC *StMATICSession) DAO() ([32]byte, error)

DAO is a free data retrieval call binding the contract method 0x98fabd3a.

Solidity: function DAO() view returns(bytes32)

func (*StMATICSession) DEFAULTADMINROLE

func (_StMATIC *StMATICSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*StMATICSession) Dao

func (_StMATIC *StMATICSession) Dao() (common.Address, error)

Dao is a free data retrieval call binding the contract method 0x4162169f.

Solidity: function dao() view returns(address)

func (*StMATICSession) Decimals

func (_StMATIC *StMATICSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*StMATICSession) DecreaseAllowance

func (_StMATIC *StMATICSession) 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 (*StMATICSession) Delegate

func (_StMATIC *StMATICSession) Delegate() (*types.Transaction, error)

Delegate is a paid mutator transaction binding the contract method 0xc89e4361.

Solidity: function delegate() returns()

func (*StMATICSession) DelegationLowerBound

func (_StMATIC *StMATICSession) DelegationLowerBound() (*big.Int, error)

DelegationLowerBound is a free data retrieval call binding the contract method 0x0d7abc33.

Solidity: function delegationLowerBound() view returns(uint256)

func (*StMATICSession) DistributeRewards

func (_StMATIC *StMATICSession) DistributeRewards() (*types.Transaction, error)

DistributeRewards is a paid mutator transaction binding the contract method 0x6f4a2cd0.

Solidity: function distributeRewards() returns()

func (*StMATICSession) EntityFees

func (_StMATIC *StMATICSession) EntityFees() (struct {
	Dao       uint8
	Operators uint8
	Insurance uint8
}, error)

EntityFees is a free data retrieval call binding the contract method 0x964a7596.

Solidity: function entityFees() view returns(uint8 dao, uint8 operators, uint8 insurance)

func (*StMATICSession) FxStateRootTunnel

func (_StMATIC *StMATICSession) FxStateRootTunnel() (common.Address, error)

FxStateRootTunnel is a free data retrieval call binding the contract method 0xe062b10b.

Solidity: function fxStateRootTunnel() view returns(address)

func (*StMATICSession) GetLiquidRewards

func (_StMATIC *StMATICSession) GetLiquidRewards(_validatorShare common.Address) (*big.Int, error)

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

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

func (*StMATICSession) GetMaticFromTokenId

func (_StMATIC *StMATICSession) GetMaticFromTokenId(_tokenId *big.Int) (*big.Int, error)

GetMaticFromTokenId is a free data retrieval call binding the contract method 0x720bcf1d.

Solidity: function getMaticFromTokenId(uint256 _tokenId) view returns(uint256)

func (*StMATICSession) GetRoleAdmin

func (_StMATIC *StMATICSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*StMATICSession) GetToken2WithdrawRequests

func (_StMATIC *StMATICSession) GetToken2WithdrawRequests(_tokenId *big.Int) ([]stMATICRequestWithdraw, error)

GetToken2WithdrawRequests is a free data retrieval call binding the contract method 0x253d1735.

Solidity: function getToken2WithdrawRequests(uint256 _tokenId) view returns((uint256,uint256,uint256,address)[])

func (*StMATICSession) GetTotalPooledMatic

func (_StMATIC *StMATICSession) GetTotalPooledMatic() (*big.Int, error)

GetTotalPooledMatic is a free data retrieval call binding the contract method 0xe00222a0.

Solidity: function getTotalPooledMatic() view returns(uint256)

func (*StMATICSession) GetTotalStake

func (_StMATIC *StMATICSession) GetTotalStake(_validatorShare common.Address) (*big.Int, *big.Int, error)

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

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

func (*StMATICSession) GetTotalStakeAcrossAllValidators

func (_StMATIC *StMATICSession) GetTotalStakeAcrossAllValidators() (*big.Int, error)

GetTotalStakeAcrossAllValidators is a free data retrieval call binding the contract method 0x7e978af8.

Solidity: function getTotalStakeAcrossAllValidators() view returns(uint256)

func (*StMATICSession) GetTotalWithdrawRequest

func (_StMATIC *StMATICSession) GetTotalWithdrawRequest() ([]stMATICRequestWithdraw, error)

GetTotalWithdrawRequest is a free data retrieval call binding the contract method 0x916b9eba.

Solidity: function getTotalWithdrawRequest() view returns((uint256,uint256,uint256,address)[])

func (*StMATICSession) GrantRole

func (_StMATIC *StMATICSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*StMATICSession) HasRole

func (_StMATIC *StMATICSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*StMATICSession) IncreaseAllowance

func (_StMATIC *StMATICSession) 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 (*StMATICSession) Initialize

func (_StMATIC *StMATICSession) Initialize(_nodeOperatorRegistry common.Address, _token common.Address, _dao common.Address, _insurance common.Address, _stakeManager common.Address, _poLidoNFT common.Address, _fxStateRootTunnel common.Address) (*types.Transaction, error)

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

Solidity: function initialize(address _nodeOperatorRegistry, address _token, address _dao, address _insurance, address _stakeManager, address _poLidoNFT, address _fxStateRootTunnel) returns()

func (*StMATICSession) Insurance

func (_StMATIC *StMATICSession) Insurance() (common.Address, error)

Insurance is a free data retrieval call binding the contract method 0x89cf3204.

Solidity: function insurance() view returns(address)

func (*StMATICSession) LastWithdrawnValidatorId

func (_StMATIC *StMATICSession) LastWithdrawnValidatorId() (*big.Int, error)

LastWithdrawnValidatorId is a free data retrieval call binding the contract method 0x71975a3e.

Solidity: function lastWithdrawnValidatorId() view returns(uint256)

func (*StMATICSession) Name

func (_StMATIC *StMATICSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*StMATICSession) NodeOperatorRegistry

func (_StMATIC *StMATICSession) NodeOperatorRegistry() (common.Address, error)

NodeOperatorRegistry is a free data retrieval call binding the contract method 0xe8f8708f.

Solidity: function nodeOperatorRegistry() view returns(address)

func (*StMATICSession) PAUSEROLE

func (_StMATIC *StMATICSession) PAUSEROLE() ([32]byte, error)

PAUSEROLE is a free data retrieval call binding the contract method 0x389ed267.

Solidity: function PAUSE_ROLE() view returns(bytes32)

func (*StMATICSession) Pause

func (_StMATIC *StMATICSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*StMATICSession) Paused

func (_StMATIC *StMATICSession) Paused() (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

func (*StMATICSession) PoLidoNFT

func (_StMATIC *StMATICSession) PoLidoNFT() (common.Address, error)

PoLidoNFT is a free data retrieval call binding the contract method 0x7029c90e.

Solidity: function poLidoNFT() view returns(address)

func (*StMATICSession) ProtocolFee

func (_StMATIC *StMATICSession) ProtocolFee() (uint8, error)

ProtocolFee is a free data retrieval call binding the contract method 0xb0e21e8a.

Solidity: function protocolFee() view returns(uint8)

func (*StMATICSession) RebalanceDelegatedTokens

func (_StMATIC *StMATICSession) RebalanceDelegatedTokens() (*types.Transaction, error)

RebalanceDelegatedTokens is a paid mutator transaction binding the contract method 0xd280f14f.

Solidity: function rebalanceDelegatedTokens() returns()

func (*StMATICSession) RenounceRole

func (_StMATIC *StMATICSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*StMATICSession) RequestWithdraw

func (_StMATIC *StMATICSession) RequestWithdraw(_amount *big.Int, _referral common.Address) (*types.Transaction, error)

RequestWithdraw is a paid mutator transaction binding the contract method 0xccc143b8.

Solidity: function requestWithdraw(uint256 _amount, address _referral) returns(uint256)

func (*StMATICSession) ReservedFunds

func (_StMATIC *StMATICSession) ReservedFunds() (*big.Int, error)

ReservedFunds is a free data retrieval call binding the contract method 0x509c5df6.

Solidity: function reservedFunds() view returns(uint256)

func (*StMATICSession) RevokeRole

func (_StMATIC *StMATICSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*StMATICSession) RewardDistributionLowerBound

func (_StMATIC *StMATICSession) RewardDistributionLowerBound() (*big.Int, error)

RewardDistributionLowerBound is a free data retrieval call binding the contract method 0xa2452947.

Solidity: function rewardDistributionLowerBound() view returns(uint256)

func (*StMATICSession) SetDaoAddress

func (_StMATIC *StMATICSession) SetDaoAddress(_newDAO common.Address) (*types.Transaction, error)

SetDaoAddress is a paid mutator transaction binding the contract method 0x9a3cac6a.

Solidity: function setDaoAddress(address _newDAO) returns()

func (*StMATICSession) SetDelegationLowerBound

func (_StMATIC *StMATICSession) SetDelegationLowerBound(_delegationLowerBound *big.Int) (*types.Transaction, error)

SetDelegationLowerBound is a paid mutator transaction binding the contract method 0x7682c902.

Solidity: function setDelegationLowerBound(uint256 _delegationLowerBound) returns()

func (*StMATICSession) SetFees

func (_StMATIC *StMATICSession) SetFees(_daoFee uint8, _operatorsFee uint8, _insuranceFee uint8) (*types.Transaction, error)

SetFees is a paid mutator transaction binding the contract method 0xf6794fdb.

Solidity: function setFees(uint8 _daoFee, uint8 _operatorsFee, uint8 _insuranceFee) returns()

func (*StMATICSession) SetFxStateRootTunnel

func (_StMATIC *StMATICSession) SetFxStateRootTunnel(_newFxStateRootTunnel common.Address) (*types.Transaction, error)

SetFxStateRootTunnel is a paid mutator transaction binding the contract method 0x70bf9fe9.

Solidity: function setFxStateRootTunnel(address _newFxStateRootTunnel) returns()

func (*StMATICSession) SetInsuranceAddress

func (_StMATIC *StMATICSession) SetInsuranceAddress(_address common.Address) (*types.Transaction, error)

SetInsuranceAddress is a paid mutator transaction binding the contract method 0xbb208f55.

Solidity: function setInsuranceAddress(address _address) returns()

func (*StMATICSession) SetNodeOperatorRegistryAddress

func (_StMATIC *StMATICSession) SetNodeOperatorRegistryAddress(_address common.Address) (*types.Transaction, error)

SetNodeOperatorRegistryAddress is a paid mutator transaction binding the contract method 0x0f2b2639.

Solidity: function setNodeOperatorRegistryAddress(address _address) returns()

func (*StMATICSession) SetPoLidoNFT

func (_StMATIC *StMATICSession) SetPoLidoNFT(_newLidoNFT common.Address) (*types.Transaction, error)

SetPoLidoNFT is a paid mutator transaction binding the contract method 0x15539d3f.

Solidity: function setPoLidoNFT(address _newLidoNFT) returns()

func (*StMATICSession) SetProtocolFee

func (_StMATIC *StMATICSession) SetProtocolFee(_newProtocolFee uint8) (*types.Transaction, error)

SetProtocolFee is a paid mutator transaction binding the contract method 0x4e91f811.

Solidity: function setProtocolFee(uint8 _newProtocolFee) returns()

func (*StMATICSession) SetRewardDistributionLowerBound

func (_StMATIC *StMATICSession) SetRewardDistributionLowerBound(_newRewardDistributionLowerBound *big.Int) (*types.Transaction, error)

SetRewardDistributionLowerBound is a paid mutator transaction binding the contract method 0x3b573c4a.

Solidity: function setRewardDistributionLowerBound(uint256 _newRewardDistributionLowerBound) returns()

func (*StMATICSession) SetVersion

func (_StMATIC *StMATICSession) SetVersion(_newVersion string) (*types.Transaction, error)

SetVersion is a paid mutator transaction binding the contract method 0x788bc78c.

Solidity: function setVersion(string _newVersion) returns()

func (*StMATICSession) StMaticWithdrawRequest

func (_StMATIC *StMATICSession) StMaticWithdrawRequest(arg0 *big.Int) (struct {
	Amount2WithdrawFromStMATIC *big.Int
	ValidatorNonce             *big.Int
	RequestEpoch               *big.Int
	ValidatorAddress           common.Address
}, error)

StMaticWithdrawRequest is a free data retrieval call binding the contract method 0xf1a13fce.

Solidity: function stMaticWithdrawRequest(uint256 ) view returns(uint256 amount2WithdrawFromStMATIC, uint256 validatorNonce, uint256 requestEpoch, address validatorAddress)

func (*StMATICSession) StakeManager

func (_StMATIC *StMATICSession) StakeManager() (common.Address, error)

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

Solidity: function stakeManager() view returns(address)

func (*StMATICSession) Submit

func (_StMATIC *StMATICSession) Submit(_amount *big.Int, _referral common.Address) (*types.Transaction, error)

Submit is a paid mutator transaction binding the contract method 0xf532e86a.

Solidity: function submit(uint256 _amount, address _referral) returns(uint256)

func (*StMATICSession) SubmitHandler

func (_StMATIC *StMATICSession) SubmitHandler() (bool, error)

SubmitHandler is a free data retrieval call binding the contract method 0xe259faf7.

Solidity: function submitHandler() view returns(bool)

func (*StMATICSession) SubmitThreshold

func (_StMATIC *StMATICSession) SubmitThreshold() (*big.Int, error)

SubmitThreshold is a free data retrieval call binding the contract method 0x893818a3.

Solidity: function submitThreshold() view returns(uint256)

func (*StMATICSession) SupportsInterface

func (_StMATIC *StMATICSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*StMATICSession) Symbol

func (_StMATIC *StMATICSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*StMATICSession) Token

func (_StMATIC *StMATICSession) Token() (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() view returns(address)

func (*StMATICSession) Token2WithdrawRequest

func (_StMATIC *StMATICSession) Token2WithdrawRequest(arg0 *big.Int) (struct {
	Amount2WithdrawFromStMATIC *big.Int
	ValidatorNonce             *big.Int
	RequestEpoch               *big.Int
	ValidatorAddress           common.Address
}, error)

Token2WithdrawRequest is a free data retrieval call binding the contract method 0xf08711fe.

Solidity: function token2WithdrawRequest(uint256 ) view returns(uint256 amount2WithdrawFromStMATIC, uint256 validatorNonce, uint256 requestEpoch, address validatorAddress)

func (*StMATICSession) Token2WithdrawRequests

func (_StMATIC *StMATICSession) Token2WithdrawRequests(arg0 *big.Int, arg1 *big.Int) (struct {
	Amount2WithdrawFromStMATIC *big.Int
	ValidatorNonce             *big.Int
	RequestEpoch               *big.Int
	ValidatorAddress           common.Address
}, error)

Token2WithdrawRequests is a free data retrieval call binding the contract method 0xc697d2c7.

Solidity: function token2WithdrawRequests(uint256 , uint256 ) view returns(uint256 amount2WithdrawFromStMATIC, uint256 validatorNonce, uint256 requestEpoch, address validatorAddress)

func (*StMATICSession) TotalBuffered

func (_StMATIC *StMATICSession) TotalBuffered() (*big.Int, error)

TotalBuffered is a free data retrieval call binding the contract method 0x52349b17.

Solidity: function totalBuffered() view returns(uint256)

func (*StMATICSession) TotalSupply

func (_StMATIC *StMATICSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*StMATICSession) Transfer

func (_StMATIC *StMATICSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*StMATICSession) TransferFrom

func (_StMATIC *StMATICSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*StMATICSession) UNPAUSEROLE

func (_StMATIC *StMATICSession) UNPAUSEROLE() ([32]byte, error)

UNPAUSEROLE is a free data retrieval call binding the contract method 0x309756fb.

Solidity: function UNPAUSE_ROLE() view returns(bytes32)

func (*StMATICSession) Unpause

func (_StMATIC *StMATICSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*StMATICSession) Version

func (_StMATIC *StMATICSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

func (*StMATICSession) WithdrawTotalDelegated

func (_StMATIC *StMATICSession) WithdrawTotalDelegated(_validatorShare common.Address) (*types.Transaction, error)

WithdrawTotalDelegated is a paid mutator transaction binding the contract method 0xc75e7832.

Solidity: function withdrawTotalDelegated(address _validatorShare) returns()

type StMATICTransactor

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

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

func NewStMATICTransactor

func NewStMATICTransactor(address common.Address, transactor bind.ContractTransactor) (*StMATICTransactor, error)

NewStMATICTransactor creates a new write-only instance of StMATIC, bound to a specific deployed contract.

func (*StMATICTransactor) Approve

func (_StMATIC *StMATICTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*StMATICTransactor) ClaimTokens

func (_StMATIC *StMATICTransactor) ClaimTokens(opts *bind.TransactOpts, _tokenId *big.Int) (*types.Transaction, error)

ClaimTokens is a paid mutator transaction binding the contract method 0x46e04a2f.

Solidity: function claimTokens(uint256 _tokenId) returns()

func (*StMATICTransactor) ClaimTokensFromValidatorToContract

func (_StMATIC *StMATICTransactor) ClaimTokensFromValidatorToContract(opts *bind.TransactOpts, _index *big.Int) (*types.Transaction, error)

ClaimTokensFromValidatorToContract is a paid mutator transaction binding the contract method 0x4cfeb862.

Solidity: function claimTokensFromValidatorToContract(uint256 _index) returns()

func (*StMATICTransactor) DecreaseAllowance

func (_StMATIC *StMATICTransactor) 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 (*StMATICTransactor) Delegate

func (_StMATIC *StMATICTransactor) Delegate(opts *bind.TransactOpts) (*types.Transaction, error)

Delegate is a paid mutator transaction binding the contract method 0xc89e4361.

Solidity: function delegate() returns()

func (*StMATICTransactor) DistributeRewards

func (_StMATIC *StMATICTransactor) DistributeRewards(opts *bind.TransactOpts) (*types.Transaction, error)

DistributeRewards is a paid mutator transaction binding the contract method 0x6f4a2cd0.

Solidity: function distributeRewards() returns()

func (*StMATICTransactor) GrantRole

func (_StMATIC *StMATICTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*StMATICTransactor) IncreaseAllowance

func (_StMATIC *StMATICTransactor) 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 (*StMATICTransactor) Initialize

func (_StMATIC *StMATICTransactor) Initialize(opts *bind.TransactOpts, _nodeOperatorRegistry common.Address, _token common.Address, _dao common.Address, _insurance common.Address, _stakeManager common.Address, _poLidoNFT common.Address, _fxStateRootTunnel common.Address) (*types.Transaction, error)

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

Solidity: function initialize(address _nodeOperatorRegistry, address _token, address _dao, address _insurance, address _stakeManager, address _poLidoNFT, address _fxStateRootTunnel) returns()

func (*StMATICTransactor) Pause

func (_StMATIC *StMATICTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*StMATICTransactor) RebalanceDelegatedTokens

func (_StMATIC *StMATICTransactor) RebalanceDelegatedTokens(opts *bind.TransactOpts) (*types.Transaction, error)

RebalanceDelegatedTokens is a paid mutator transaction binding the contract method 0xd280f14f.

Solidity: function rebalanceDelegatedTokens() returns()

func (*StMATICTransactor) RenounceRole

func (_StMATIC *StMATICTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*StMATICTransactor) RequestWithdraw

func (_StMATIC *StMATICTransactor) RequestWithdraw(opts *bind.TransactOpts, _amount *big.Int, _referral common.Address) (*types.Transaction, error)

RequestWithdraw is a paid mutator transaction binding the contract method 0xccc143b8.

Solidity: function requestWithdraw(uint256 _amount, address _referral) returns(uint256)

func (*StMATICTransactor) RevokeRole

func (_StMATIC *StMATICTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*StMATICTransactor) SetDaoAddress

func (_StMATIC *StMATICTransactor) SetDaoAddress(opts *bind.TransactOpts, _newDAO common.Address) (*types.Transaction, error)

SetDaoAddress is a paid mutator transaction binding the contract method 0x9a3cac6a.

Solidity: function setDaoAddress(address _newDAO) returns()

func (*StMATICTransactor) SetDelegationLowerBound

func (_StMATIC *StMATICTransactor) SetDelegationLowerBound(opts *bind.TransactOpts, _delegationLowerBound *big.Int) (*types.Transaction, error)

SetDelegationLowerBound is a paid mutator transaction binding the contract method 0x7682c902.

Solidity: function setDelegationLowerBound(uint256 _delegationLowerBound) returns()

func (*StMATICTransactor) SetFees

func (_StMATIC *StMATICTransactor) SetFees(opts *bind.TransactOpts, _daoFee uint8, _operatorsFee uint8, _insuranceFee uint8) (*types.Transaction, error)

SetFees is a paid mutator transaction binding the contract method 0xf6794fdb.

Solidity: function setFees(uint8 _daoFee, uint8 _operatorsFee, uint8 _insuranceFee) returns()

func (*StMATICTransactor) SetFxStateRootTunnel

func (_StMATIC *StMATICTransactor) SetFxStateRootTunnel(opts *bind.TransactOpts, _newFxStateRootTunnel common.Address) (*types.Transaction, error)

SetFxStateRootTunnel is a paid mutator transaction binding the contract method 0x70bf9fe9.

Solidity: function setFxStateRootTunnel(address _newFxStateRootTunnel) returns()

func (*StMATICTransactor) SetInsuranceAddress

func (_StMATIC *StMATICTransactor) SetInsuranceAddress(opts *bind.TransactOpts, _address common.Address) (*types.Transaction, error)

SetInsuranceAddress is a paid mutator transaction binding the contract method 0xbb208f55.

Solidity: function setInsuranceAddress(address _address) returns()

func (*StMATICTransactor) SetNodeOperatorRegistryAddress

func (_StMATIC *StMATICTransactor) SetNodeOperatorRegistryAddress(opts *bind.TransactOpts, _address common.Address) (*types.Transaction, error)

SetNodeOperatorRegistryAddress is a paid mutator transaction binding the contract method 0x0f2b2639.

Solidity: function setNodeOperatorRegistryAddress(address _address) returns()

func (*StMATICTransactor) SetPoLidoNFT

func (_StMATIC *StMATICTransactor) SetPoLidoNFT(opts *bind.TransactOpts, _newLidoNFT common.Address) (*types.Transaction, error)

SetPoLidoNFT is a paid mutator transaction binding the contract method 0x15539d3f.

Solidity: function setPoLidoNFT(address _newLidoNFT) returns()

func (*StMATICTransactor) SetProtocolFee

func (_StMATIC *StMATICTransactor) SetProtocolFee(opts *bind.TransactOpts, _newProtocolFee uint8) (*types.Transaction, error)

SetProtocolFee is a paid mutator transaction binding the contract method 0x4e91f811.

Solidity: function setProtocolFee(uint8 _newProtocolFee) returns()

func (*StMATICTransactor) SetRewardDistributionLowerBound

func (_StMATIC *StMATICTransactor) SetRewardDistributionLowerBound(opts *bind.TransactOpts, _newRewardDistributionLowerBound *big.Int) (*types.Transaction, error)

SetRewardDistributionLowerBound is a paid mutator transaction binding the contract method 0x3b573c4a.

Solidity: function setRewardDistributionLowerBound(uint256 _newRewardDistributionLowerBound) returns()

func (*StMATICTransactor) SetVersion

func (_StMATIC *StMATICTransactor) SetVersion(opts *bind.TransactOpts, _newVersion string) (*types.Transaction, error)

SetVersion is a paid mutator transaction binding the contract method 0x788bc78c.

Solidity: function setVersion(string _newVersion) returns()

func (*StMATICTransactor) Submit

func (_StMATIC *StMATICTransactor) Submit(opts *bind.TransactOpts, _amount *big.Int, _referral common.Address) (*types.Transaction, error)

Submit is a paid mutator transaction binding the contract method 0xf532e86a.

Solidity: function submit(uint256 _amount, address _referral) returns(uint256)

func (*StMATICTransactor) Transfer

func (_StMATIC *StMATICTransactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*StMATICTransactor) TransferFrom

func (_StMATIC *StMATICTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*StMATICTransactor) Unpause

func (_StMATIC *StMATICTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*StMATICTransactor) WithdrawTotalDelegated

func (_StMATIC *StMATICTransactor) WithdrawTotalDelegated(opts *bind.TransactOpts, _validatorShare common.Address) (*types.Transaction, error)

WithdrawTotalDelegated is a paid mutator transaction binding the contract method 0xc75e7832.

Solidity: function withdrawTotalDelegated(address _validatorShare) returns()

type StMATICTransactorRaw

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

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

func (*StMATICTransactorRaw) Transact

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

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

func (*StMATICTransactorRaw) Transfer

func (_StMATIC *StMATICTransactorRaw) 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 StMATICTransactorSession

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

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

func (*StMATICTransactorSession) Approve

func (_StMATIC *StMATICTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*StMATICTransactorSession) ClaimTokens

func (_StMATIC *StMATICTransactorSession) ClaimTokens(_tokenId *big.Int) (*types.Transaction, error)

ClaimTokens is a paid mutator transaction binding the contract method 0x46e04a2f.

Solidity: function claimTokens(uint256 _tokenId) returns()

func (*StMATICTransactorSession) ClaimTokensFromValidatorToContract

func (_StMATIC *StMATICTransactorSession) ClaimTokensFromValidatorToContract(_index *big.Int) (*types.Transaction, error)

ClaimTokensFromValidatorToContract is a paid mutator transaction binding the contract method 0x4cfeb862.

Solidity: function claimTokensFromValidatorToContract(uint256 _index) returns()

func (*StMATICTransactorSession) DecreaseAllowance

func (_StMATIC *StMATICTransactorSession) 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 (*StMATICTransactorSession) Delegate

func (_StMATIC *StMATICTransactorSession) Delegate() (*types.Transaction, error)

Delegate is a paid mutator transaction binding the contract method 0xc89e4361.

Solidity: function delegate() returns()

func (*StMATICTransactorSession) DistributeRewards

func (_StMATIC *StMATICTransactorSession) DistributeRewards() (*types.Transaction, error)

DistributeRewards is a paid mutator transaction binding the contract method 0x6f4a2cd0.

Solidity: function distributeRewards() returns()

func (*StMATICTransactorSession) GrantRole

func (_StMATIC *StMATICTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*StMATICTransactorSession) IncreaseAllowance

func (_StMATIC *StMATICTransactorSession) 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 (*StMATICTransactorSession) Initialize

func (_StMATIC *StMATICTransactorSession) Initialize(_nodeOperatorRegistry common.Address, _token common.Address, _dao common.Address, _insurance common.Address, _stakeManager common.Address, _poLidoNFT common.Address, _fxStateRootTunnel common.Address) (*types.Transaction, error)

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

Solidity: function initialize(address _nodeOperatorRegistry, address _token, address _dao, address _insurance, address _stakeManager, address _poLidoNFT, address _fxStateRootTunnel) returns()

func (*StMATICTransactorSession) Pause

func (_StMATIC *StMATICTransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*StMATICTransactorSession) RebalanceDelegatedTokens

func (_StMATIC *StMATICTransactorSession) RebalanceDelegatedTokens() (*types.Transaction, error)

RebalanceDelegatedTokens is a paid mutator transaction binding the contract method 0xd280f14f.

Solidity: function rebalanceDelegatedTokens() returns()

func (*StMATICTransactorSession) RenounceRole

func (_StMATIC *StMATICTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*StMATICTransactorSession) RequestWithdraw

func (_StMATIC *StMATICTransactorSession) RequestWithdraw(_amount *big.Int, _referral common.Address) (*types.Transaction, error)

RequestWithdraw is a paid mutator transaction binding the contract method 0xccc143b8.

Solidity: function requestWithdraw(uint256 _amount, address _referral) returns(uint256)

func (*StMATICTransactorSession) RevokeRole

func (_StMATIC *StMATICTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*StMATICTransactorSession) SetDaoAddress

func (_StMATIC *StMATICTransactorSession) SetDaoAddress(_newDAO common.Address) (*types.Transaction, error)

SetDaoAddress is a paid mutator transaction binding the contract method 0x9a3cac6a.

Solidity: function setDaoAddress(address _newDAO) returns()

func (*StMATICTransactorSession) SetDelegationLowerBound

func (_StMATIC *StMATICTransactorSession) SetDelegationLowerBound(_delegationLowerBound *big.Int) (*types.Transaction, error)

SetDelegationLowerBound is a paid mutator transaction binding the contract method 0x7682c902.

Solidity: function setDelegationLowerBound(uint256 _delegationLowerBound) returns()

func (*StMATICTransactorSession) SetFees

func (_StMATIC *StMATICTransactorSession) SetFees(_daoFee uint8, _operatorsFee uint8, _insuranceFee uint8) (*types.Transaction, error)

SetFees is a paid mutator transaction binding the contract method 0xf6794fdb.

Solidity: function setFees(uint8 _daoFee, uint8 _operatorsFee, uint8 _insuranceFee) returns()

func (*StMATICTransactorSession) SetFxStateRootTunnel

func (_StMATIC *StMATICTransactorSession) SetFxStateRootTunnel(_newFxStateRootTunnel common.Address) (*types.Transaction, error)

SetFxStateRootTunnel is a paid mutator transaction binding the contract method 0x70bf9fe9.

Solidity: function setFxStateRootTunnel(address _newFxStateRootTunnel) returns()

func (*StMATICTransactorSession) SetInsuranceAddress

func (_StMATIC *StMATICTransactorSession) SetInsuranceAddress(_address common.Address) (*types.Transaction, error)

SetInsuranceAddress is a paid mutator transaction binding the contract method 0xbb208f55.

Solidity: function setInsuranceAddress(address _address) returns()

func (*StMATICTransactorSession) SetNodeOperatorRegistryAddress

func (_StMATIC *StMATICTransactorSession) SetNodeOperatorRegistryAddress(_address common.Address) (*types.Transaction, error)

SetNodeOperatorRegistryAddress is a paid mutator transaction binding the contract method 0x0f2b2639.

Solidity: function setNodeOperatorRegistryAddress(address _address) returns()

func (*StMATICTransactorSession) SetPoLidoNFT

func (_StMATIC *StMATICTransactorSession) SetPoLidoNFT(_newLidoNFT common.Address) (*types.Transaction, error)

SetPoLidoNFT is a paid mutator transaction binding the contract method 0x15539d3f.

Solidity: function setPoLidoNFT(address _newLidoNFT) returns()

func (*StMATICTransactorSession) SetProtocolFee

func (_StMATIC *StMATICTransactorSession) SetProtocolFee(_newProtocolFee uint8) (*types.Transaction, error)

SetProtocolFee is a paid mutator transaction binding the contract method 0x4e91f811.

Solidity: function setProtocolFee(uint8 _newProtocolFee) returns()

func (*StMATICTransactorSession) SetRewardDistributionLowerBound

func (_StMATIC *StMATICTransactorSession) SetRewardDistributionLowerBound(_newRewardDistributionLowerBound *big.Int) (*types.Transaction, error)

SetRewardDistributionLowerBound is a paid mutator transaction binding the contract method 0x3b573c4a.

Solidity: function setRewardDistributionLowerBound(uint256 _newRewardDistributionLowerBound) returns()

func (*StMATICTransactorSession) SetVersion

func (_StMATIC *StMATICTransactorSession) SetVersion(_newVersion string) (*types.Transaction, error)

SetVersion is a paid mutator transaction binding the contract method 0x788bc78c.

Solidity: function setVersion(string _newVersion) returns()

func (*StMATICTransactorSession) Submit

func (_StMATIC *StMATICTransactorSession) Submit(_amount *big.Int, _referral common.Address) (*types.Transaction, error)

Submit is a paid mutator transaction binding the contract method 0xf532e86a.

Solidity: function submit(uint256 _amount, address _referral) returns(uint256)

func (*StMATICTransactorSession) Transfer

func (_StMATIC *StMATICTransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*StMATICTransactorSession) TransferFrom

func (_StMATIC *StMATICTransactorSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*StMATICTransactorSession) Unpause

func (_StMATIC *StMATICTransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*StMATICTransactorSession) WithdrawTotalDelegated

func (_StMATIC *StMATICTransactorSession) WithdrawTotalDelegated(_validatorShare common.Address) (*types.Transaction, error)

WithdrawTotalDelegated is a paid mutator transaction binding the contract method 0xc75e7832.

Solidity: function withdrawTotalDelegated(address _validatorShare) returns()

Jump to

Keyboard shortcuts

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