staderMaticXEthereum

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: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var StaderMaticXEthereumABI = StaderMaticXEthereumMetaData.ABI

StaderMaticXEthereumABI is the input ABI used to generate the binding from. Deprecated: Use StaderMaticXEthereumMetaData.ABI instead.

View Source
var StaderMaticXEthereumMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"BOT\",\"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\":\"INSTANT_POOL_OWNER\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PREDICATE_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\":[{\"internalType\":\"uint256\",\"name\":\"_idx\",\"type\":\"uint256\"}],\"name\":\"claimWithdrawal\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_balance\",\"type\":\"uint256\"}],\"name\":\"convertMaticToMaticX\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_balance\",\"type\":\"uint256\"}],\"name\":\"convertMaticXToMatic\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"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\":\"feePercent\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fxStateRootTunnel\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getContracts\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"_stakeManager\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_polygonERC20\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_validatorRegistry\",\"type\":\"address\"}],\"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\":\"address\",\"name\":\"_address\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_idx\",\"type\":\"uint256\"}],\"name\":\"getSharesAmountOfUserWithdrawalRequest\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"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\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"getUserWithdrawalRequests\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"validatorNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"requestEpoch\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"validatorAddress\",\"type\":\"address\"}],\"internalType\":\"structIStaderMaticXEthereum.WithdrawalRequest[]\",\"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\":\"_validatorRegistry\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_stakeManager\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_polygonERC20\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_manager\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_instantPoolOwner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_treasury\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"instantPoolMatic\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"instantPoolMaticX\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"instantPoolOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_fromValidatorId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_toValidatorId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"migrateDelegation\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"mintMaticXToInstantPool\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"provideInstantPoolMatic\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"provideInstantPoolMaticX\",\"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\"}],\"name\":\"requestWithdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"_feePercent\",\"type\":\"uint8\"}],\"name\":\"setFeePercent\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"setFxStateRootTunnel\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"setInstantPoolOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"setTreasury\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"}],\"name\":\"setValidatorRegistry\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_version\",\"type\":\"string\"}],\"name\":\"setVersion\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"setupBotAdmin\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_validatorId\",\"type\":\"uint256\"}],\"name\":\"stakeRewardsAndDistributeFees\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"submit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"swapMaticForMaticXViaInstantPool\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"togglePause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"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\":\"treasury\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"withdrawInstantPoolMatic\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"withdrawInstantPoolMaticX\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_validatorId\",\"type\":\"uint256\"}],\"name\":\"withdrawRewards\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"_validatorIds\",\"type\":\"uint256[]\"}],\"name\":\"withdrawValidatorsReward\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

StaderMaticXEthereumMetaData contains all meta data concerning the StaderMaticXEthereum contract.

Functions

This section is empty.

Types

type IStaderMaticXEthereumWithdrawalRequest

type IStaderMaticXEthereumWithdrawalRequest struct {
	ValidatorNonce   *big.Int
	RequestEpoch     *big.Int
	ValidatorAddress common.Address
}

IStaderMaticXEthereumWithdrawalRequest is an auto generated low-level Go binding around an user-defined struct.

type StaderMaticXEthereum

type StaderMaticXEthereum struct {
	StaderMaticXEthereumCaller     // Read-only binding to the contract
	StaderMaticXEthereumTransactor // Write-only binding to the contract
	StaderMaticXEthereumFilterer   // Log filterer for contract events
}

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

func NewStaderMaticXEthereum

func NewStaderMaticXEthereum(address common.Address, backend bind.ContractBackend) (*StaderMaticXEthereum, error)

NewStaderMaticXEthereum creates a new instance of StaderMaticXEthereum, bound to a specific deployed contract.

type StaderMaticXEthereumCaller

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

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

func NewStaderMaticXEthereumCaller

func NewStaderMaticXEthereumCaller(address common.Address, caller bind.ContractCaller) (*StaderMaticXEthereumCaller, error)

NewStaderMaticXEthereumCaller creates a new read-only instance of StaderMaticXEthereum, bound to a specific deployed contract.

func (*StaderMaticXEthereumCaller) Allowance

func (_StaderMaticXEthereum *StaderMaticXEthereumCaller) 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 (*StaderMaticXEthereumCaller) BOT

func (_StaderMaticXEthereum *StaderMaticXEthereumCaller) BOT(opts *bind.CallOpts) ([32]byte, error)

BOT is a free data retrieval call binding the contract method 0x486277f6.

Solidity: function BOT() view returns(bytes32)

func (*StaderMaticXEthereumCaller) BalanceOf

func (_StaderMaticXEthereum *StaderMaticXEthereumCaller) 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 (*StaderMaticXEthereumCaller) ConvertMaticToMaticX

func (_StaderMaticXEthereum *StaderMaticXEthereumCaller) ConvertMaticToMaticX(opts *bind.CallOpts, _balance *big.Int) (*big.Int, *big.Int, *big.Int, error)

ConvertMaticToMaticX is a free data retrieval call binding the contract method 0x9683e28e.

Solidity: function convertMaticToMaticX(uint256 _balance) view returns(uint256, uint256, uint256)

func (*StaderMaticXEthereumCaller) ConvertMaticXToMatic

func (_StaderMaticXEthereum *StaderMaticXEthereumCaller) ConvertMaticXToMatic(opts *bind.CallOpts, _balance *big.Int) (*big.Int, *big.Int, *big.Int, error)

ConvertMaticXToMatic is a free data retrieval call binding the contract method 0x75a85ef5.

Solidity: function convertMaticXToMatic(uint256 _balance) view returns(uint256, uint256, uint256)

func (*StaderMaticXEthereumCaller) DEFAULTADMINROLE

func (_StaderMaticXEthereum *StaderMaticXEthereumCaller) 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 (*StaderMaticXEthereumCaller) Decimals

func (_StaderMaticXEthereum *StaderMaticXEthereumCaller) 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 (*StaderMaticXEthereumCaller) FeePercent

func (_StaderMaticXEthereum *StaderMaticXEthereumCaller) FeePercent(opts *bind.CallOpts) (uint8, error)

FeePercent is a free data retrieval call binding the contract method 0x7fd6f15c.

Solidity: function feePercent() view returns(uint8)

func (*StaderMaticXEthereumCaller) FxStateRootTunnel

func (_StaderMaticXEthereum *StaderMaticXEthereumCaller) 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 (*StaderMaticXEthereumCaller) GetContracts

func (_StaderMaticXEthereum *StaderMaticXEthereumCaller) GetContracts(opts *bind.CallOpts) (struct {
	StakeManager      common.Address
	PolygonERC20      common.Address
	ValidatorRegistry common.Address
}, error)

GetContracts is a free data retrieval call binding the contract method 0xc3a2a93a.

Solidity: function getContracts() view returns(address _stakeManager, address _polygonERC20, address _validatorRegistry)

func (*StaderMaticXEthereumCaller) GetRoleAdmin

func (_StaderMaticXEthereum *StaderMaticXEthereumCaller) 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 (*StaderMaticXEthereumCaller) GetSharesAmountOfUserWithdrawalRequest

func (_StaderMaticXEthereum *StaderMaticXEthereumCaller) GetSharesAmountOfUserWithdrawalRequest(opts *bind.CallOpts, _address common.Address, _idx *big.Int) (*big.Int, error)

GetSharesAmountOfUserWithdrawalRequest is a free data retrieval call binding the contract method 0x73f0ecdf.

Solidity: function getSharesAmountOfUserWithdrawalRequest(address _address, uint256 _idx) view returns(uint256)

func (*StaderMaticXEthereumCaller) GetTotalPooledMatic

func (_StaderMaticXEthereum *StaderMaticXEthereumCaller) 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 (*StaderMaticXEthereumCaller) GetTotalStake

func (_StaderMaticXEthereum *StaderMaticXEthereumCaller) 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 (*StaderMaticXEthereumCaller) GetTotalStakeAcrossAllValidators

func (_StaderMaticXEthereum *StaderMaticXEthereumCaller) 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 (*StaderMaticXEthereumCaller) GetUserWithdrawalRequests

func (_StaderMaticXEthereum *StaderMaticXEthereumCaller) GetUserWithdrawalRequests(opts *bind.CallOpts, _address common.Address) ([]IStaderMaticXEthereumWithdrawalRequest, error)

GetUserWithdrawalRequests is a free data retrieval call binding the contract method 0x6c930228.

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

func (*StaderMaticXEthereumCaller) HasRole

func (_StaderMaticXEthereum *StaderMaticXEthereumCaller) 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 (*StaderMaticXEthereumCaller) INSTANTPOOLOWNER

func (_StaderMaticXEthereum *StaderMaticXEthereumCaller) INSTANTPOOLOWNER(opts *bind.CallOpts) ([32]byte, error)

INSTANTPOOLOWNER is a free data retrieval call binding the contract method 0xcba45a7c.

Solidity: function INSTANT_POOL_OWNER() view returns(bytes32)

func (*StaderMaticXEthereumCaller) InstantPoolMatic

func (_StaderMaticXEthereum *StaderMaticXEthereumCaller) InstantPoolMatic(opts *bind.CallOpts) (*big.Int, error)

InstantPoolMatic is a free data retrieval call binding the contract method 0x89dfa025.

Solidity: function instantPoolMatic() view returns(uint256)

func (*StaderMaticXEthereumCaller) InstantPoolMaticX

func (_StaderMaticXEthereum *StaderMaticXEthereumCaller) InstantPoolMaticX(opts *bind.CallOpts) (*big.Int, error)

InstantPoolMaticX is a free data retrieval call binding the contract method 0xc759352d.

Solidity: function instantPoolMaticX() view returns(uint256)

func (*StaderMaticXEthereumCaller) InstantPoolOwner

func (_StaderMaticXEthereum *StaderMaticXEthereumCaller) InstantPoolOwner(opts *bind.CallOpts) (common.Address, error)

InstantPoolOwner is a free data retrieval call binding the contract method 0x1c083124.

Solidity: function instantPoolOwner() view returns(address)

func (*StaderMaticXEthereumCaller) Name

func (_StaderMaticXEthereum *StaderMaticXEthereumCaller) 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 (*StaderMaticXEthereumCaller) PREDICATEROLE

func (_StaderMaticXEthereum *StaderMaticXEthereumCaller) PREDICATEROLE(opts *bind.CallOpts) ([32]byte, error)

PREDICATEROLE is a free data retrieval call binding the contract method 0xe72db5fd.

Solidity: function PREDICATE_ROLE() view returns(bytes32)

func (*StaderMaticXEthereumCaller) Paused

func (_StaderMaticXEthereum *StaderMaticXEthereumCaller) 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 (*StaderMaticXEthereumCaller) SupportsInterface

func (_StaderMaticXEthereum *StaderMaticXEthereumCaller) 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 (*StaderMaticXEthereumCaller) Symbol

func (_StaderMaticXEthereum *StaderMaticXEthereumCaller) 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 (*StaderMaticXEthereumCaller) TotalSupply

func (_StaderMaticXEthereum *StaderMaticXEthereumCaller) 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 (*StaderMaticXEthereumCaller) Treasury

func (_StaderMaticXEthereum *StaderMaticXEthereumCaller) Treasury(opts *bind.CallOpts) (common.Address, error)

Treasury is a free data retrieval call binding the contract method 0x61d027b3.

Solidity: function treasury() view returns(address)

func (*StaderMaticXEthereumCaller) Version

func (_StaderMaticXEthereum *StaderMaticXEthereumCaller) 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 StaderMaticXEthereumCallerRaw

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

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

func (*StaderMaticXEthereumCallerRaw) Call

func (_StaderMaticXEthereum *StaderMaticXEthereumCallerRaw) 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 StaderMaticXEthereumCallerSession

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

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

func (*StaderMaticXEthereumCallerSession) Allowance

func (_StaderMaticXEthereum *StaderMaticXEthereumCallerSession) 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 (*StaderMaticXEthereumCallerSession) BOT

func (_StaderMaticXEthereum *StaderMaticXEthereumCallerSession) BOT() ([32]byte, error)

BOT is a free data retrieval call binding the contract method 0x486277f6.

Solidity: function BOT() view returns(bytes32)

func (*StaderMaticXEthereumCallerSession) BalanceOf

func (_StaderMaticXEthereum *StaderMaticXEthereumCallerSession) 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 (*StaderMaticXEthereumCallerSession) ConvertMaticToMaticX

func (_StaderMaticXEthereum *StaderMaticXEthereumCallerSession) ConvertMaticToMaticX(_balance *big.Int) (*big.Int, *big.Int, *big.Int, error)

ConvertMaticToMaticX is a free data retrieval call binding the contract method 0x9683e28e.

Solidity: function convertMaticToMaticX(uint256 _balance) view returns(uint256, uint256, uint256)

func (*StaderMaticXEthereumCallerSession) ConvertMaticXToMatic

func (_StaderMaticXEthereum *StaderMaticXEthereumCallerSession) ConvertMaticXToMatic(_balance *big.Int) (*big.Int, *big.Int, *big.Int, error)

ConvertMaticXToMatic is a free data retrieval call binding the contract method 0x75a85ef5.

Solidity: function convertMaticXToMatic(uint256 _balance) view returns(uint256, uint256, uint256)

func (*StaderMaticXEthereumCallerSession) DEFAULTADMINROLE

func (_StaderMaticXEthereum *StaderMaticXEthereumCallerSession) 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 (*StaderMaticXEthereumCallerSession) Decimals

func (_StaderMaticXEthereum *StaderMaticXEthereumCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*StaderMaticXEthereumCallerSession) FeePercent

func (_StaderMaticXEthereum *StaderMaticXEthereumCallerSession) FeePercent() (uint8, error)

FeePercent is a free data retrieval call binding the contract method 0x7fd6f15c.

Solidity: function feePercent() view returns(uint8)

func (*StaderMaticXEthereumCallerSession) FxStateRootTunnel

func (_StaderMaticXEthereum *StaderMaticXEthereumCallerSession) FxStateRootTunnel() (common.Address, error)

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

Solidity: function fxStateRootTunnel() view returns(address)

func (*StaderMaticXEthereumCallerSession) GetContracts

func (_StaderMaticXEthereum *StaderMaticXEthereumCallerSession) GetContracts() (struct {
	StakeManager      common.Address
	PolygonERC20      common.Address
	ValidatorRegistry common.Address
}, error)

GetContracts is a free data retrieval call binding the contract method 0xc3a2a93a.

Solidity: function getContracts() view returns(address _stakeManager, address _polygonERC20, address _validatorRegistry)

func (*StaderMaticXEthereumCallerSession) GetRoleAdmin

func (_StaderMaticXEthereum *StaderMaticXEthereumCallerSession) 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 (*StaderMaticXEthereumCallerSession) GetSharesAmountOfUserWithdrawalRequest

func (_StaderMaticXEthereum *StaderMaticXEthereumCallerSession) GetSharesAmountOfUserWithdrawalRequest(_address common.Address, _idx *big.Int) (*big.Int, error)

GetSharesAmountOfUserWithdrawalRequest is a free data retrieval call binding the contract method 0x73f0ecdf.

Solidity: function getSharesAmountOfUserWithdrawalRequest(address _address, uint256 _idx) view returns(uint256)

func (*StaderMaticXEthereumCallerSession) GetTotalPooledMatic

func (_StaderMaticXEthereum *StaderMaticXEthereumCallerSession) GetTotalPooledMatic() (*big.Int, error)

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

Solidity: function getTotalPooledMatic() view returns(uint256)

func (*StaderMaticXEthereumCallerSession) GetTotalStake

func (_StaderMaticXEthereum *StaderMaticXEthereumCallerSession) 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 (*StaderMaticXEthereumCallerSession) GetTotalStakeAcrossAllValidators

func (_StaderMaticXEthereum *StaderMaticXEthereumCallerSession) GetTotalStakeAcrossAllValidators() (*big.Int, error)

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

Solidity: function getTotalStakeAcrossAllValidators() view returns(uint256)

func (*StaderMaticXEthereumCallerSession) GetUserWithdrawalRequests

func (_StaderMaticXEthereum *StaderMaticXEthereumCallerSession) GetUserWithdrawalRequests(_address common.Address) ([]IStaderMaticXEthereumWithdrawalRequest, error)

GetUserWithdrawalRequests is a free data retrieval call binding the contract method 0x6c930228.

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

func (*StaderMaticXEthereumCallerSession) HasRole

func (_StaderMaticXEthereum *StaderMaticXEthereumCallerSession) 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 (*StaderMaticXEthereumCallerSession) INSTANTPOOLOWNER

func (_StaderMaticXEthereum *StaderMaticXEthereumCallerSession) INSTANTPOOLOWNER() ([32]byte, error)

INSTANTPOOLOWNER is a free data retrieval call binding the contract method 0xcba45a7c.

Solidity: function INSTANT_POOL_OWNER() view returns(bytes32)

func (*StaderMaticXEthereumCallerSession) InstantPoolMatic

func (_StaderMaticXEthereum *StaderMaticXEthereumCallerSession) InstantPoolMatic() (*big.Int, error)

InstantPoolMatic is a free data retrieval call binding the contract method 0x89dfa025.

Solidity: function instantPoolMatic() view returns(uint256)

func (*StaderMaticXEthereumCallerSession) InstantPoolMaticX

func (_StaderMaticXEthereum *StaderMaticXEthereumCallerSession) InstantPoolMaticX() (*big.Int, error)

InstantPoolMaticX is a free data retrieval call binding the contract method 0xc759352d.

Solidity: function instantPoolMaticX() view returns(uint256)

func (*StaderMaticXEthereumCallerSession) InstantPoolOwner

func (_StaderMaticXEthereum *StaderMaticXEthereumCallerSession) InstantPoolOwner() (common.Address, error)

InstantPoolOwner is a free data retrieval call binding the contract method 0x1c083124.

Solidity: function instantPoolOwner() view returns(address)

func (*StaderMaticXEthereumCallerSession) Name

func (_StaderMaticXEthereum *StaderMaticXEthereumCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*StaderMaticXEthereumCallerSession) PREDICATEROLE

func (_StaderMaticXEthereum *StaderMaticXEthereumCallerSession) PREDICATEROLE() ([32]byte, error)

PREDICATEROLE is a free data retrieval call binding the contract method 0xe72db5fd.

Solidity: function PREDICATE_ROLE() view returns(bytes32)

func (*StaderMaticXEthereumCallerSession) Paused

func (_StaderMaticXEthereum *StaderMaticXEthereumCallerSession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*StaderMaticXEthereumCallerSession) SupportsInterface

func (_StaderMaticXEthereum *StaderMaticXEthereumCallerSession) 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 (*StaderMaticXEthereumCallerSession) Symbol

func (_StaderMaticXEthereum *StaderMaticXEthereumCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*StaderMaticXEthereumCallerSession) TotalSupply

func (_StaderMaticXEthereum *StaderMaticXEthereumCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*StaderMaticXEthereumCallerSession) Treasury

func (_StaderMaticXEthereum *StaderMaticXEthereumCallerSession) Treasury() (common.Address, error)

Treasury is a free data retrieval call binding the contract method 0x61d027b3.

Solidity: function treasury() view returns(address)

func (*StaderMaticXEthereumCallerSession) Version

func (_StaderMaticXEthereum *StaderMaticXEthereumCallerSession) Version() (string, error)

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

Solidity: function version() view returns(string)

type StaderMaticXEthereumFilterer

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

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

func NewStaderMaticXEthereumFilterer

func NewStaderMaticXEthereumFilterer(address common.Address, filterer bind.ContractFilterer) (*StaderMaticXEthereumFilterer, error)

NewStaderMaticXEthereumFilterer creates a new log filterer instance of StaderMaticXEthereum, bound to a specific deployed contract.

type StaderMaticXEthereumRaw

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

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

func (*StaderMaticXEthereumRaw) Call

func (_StaderMaticXEthereum *StaderMaticXEthereumRaw) 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 (*StaderMaticXEthereumRaw) Transact

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

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

func (*StaderMaticXEthereumRaw) Transfer

func (_StaderMaticXEthereum *StaderMaticXEthereumRaw) 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 StaderMaticXEthereumSession

type StaderMaticXEthereumSession struct {
	Contract     *StaderMaticXEthereum // 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
}

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

func (*StaderMaticXEthereumSession) Allowance

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) 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 (*StaderMaticXEthereumSession) Approve

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) 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 (*StaderMaticXEthereumSession) BOT

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) BOT() ([32]byte, error)

BOT is a free data retrieval call binding the contract method 0x486277f6.

Solidity: function BOT() view returns(bytes32)

func (*StaderMaticXEthereumSession) BalanceOf

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) 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 (*StaderMaticXEthereumSession) ClaimWithdrawal

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) ClaimWithdrawal(_idx *big.Int) (*types.Transaction, error)

ClaimWithdrawal is a paid mutator transaction binding the contract method 0xf8444436.

Solidity: function claimWithdrawal(uint256 _idx) returns()

func (*StaderMaticXEthereumSession) ConvertMaticToMaticX

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) ConvertMaticToMaticX(_balance *big.Int) (*big.Int, *big.Int, *big.Int, error)

ConvertMaticToMaticX is a free data retrieval call binding the contract method 0x9683e28e.

Solidity: function convertMaticToMaticX(uint256 _balance) view returns(uint256, uint256, uint256)

func (*StaderMaticXEthereumSession) ConvertMaticXToMatic

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) ConvertMaticXToMatic(_balance *big.Int) (*big.Int, *big.Int, *big.Int, error)

ConvertMaticXToMatic is a free data retrieval call binding the contract method 0x75a85ef5.

Solidity: function convertMaticXToMatic(uint256 _balance) view returns(uint256, uint256, uint256)

func (*StaderMaticXEthereumSession) DEFAULTADMINROLE

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) 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 (*StaderMaticXEthereumSession) Decimals

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*StaderMaticXEthereumSession) DecreaseAllowance

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) 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 (*StaderMaticXEthereumSession) FeePercent

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) FeePercent() (uint8, error)

FeePercent is a free data retrieval call binding the contract method 0x7fd6f15c.

Solidity: function feePercent() view returns(uint8)

func (*StaderMaticXEthereumSession) FxStateRootTunnel

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) FxStateRootTunnel() (common.Address, error)

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

Solidity: function fxStateRootTunnel() view returns(address)

func (*StaderMaticXEthereumSession) GetContracts

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) GetContracts() (struct {
	StakeManager      common.Address
	PolygonERC20      common.Address
	ValidatorRegistry common.Address
}, error)

GetContracts is a free data retrieval call binding the contract method 0xc3a2a93a.

Solidity: function getContracts() view returns(address _stakeManager, address _polygonERC20, address _validatorRegistry)

func (*StaderMaticXEthereumSession) GetRoleAdmin

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) 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 (*StaderMaticXEthereumSession) GetSharesAmountOfUserWithdrawalRequest

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) GetSharesAmountOfUserWithdrawalRequest(_address common.Address, _idx *big.Int) (*big.Int, error)

GetSharesAmountOfUserWithdrawalRequest is a free data retrieval call binding the contract method 0x73f0ecdf.

Solidity: function getSharesAmountOfUserWithdrawalRequest(address _address, uint256 _idx) view returns(uint256)

func (*StaderMaticXEthereumSession) GetTotalPooledMatic

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) GetTotalPooledMatic() (*big.Int, error)

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

Solidity: function getTotalPooledMatic() view returns(uint256)

func (*StaderMaticXEthereumSession) GetTotalStake

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) 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 (*StaderMaticXEthereumSession) GetTotalStakeAcrossAllValidators

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) GetTotalStakeAcrossAllValidators() (*big.Int, error)

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

Solidity: function getTotalStakeAcrossAllValidators() view returns(uint256)

func (*StaderMaticXEthereumSession) GetUserWithdrawalRequests

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) GetUserWithdrawalRequests(_address common.Address) ([]IStaderMaticXEthereumWithdrawalRequest, error)

GetUserWithdrawalRequests is a free data retrieval call binding the contract method 0x6c930228.

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

func (*StaderMaticXEthereumSession) GrantRole

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) 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 (*StaderMaticXEthereumSession) HasRole

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) 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 (*StaderMaticXEthereumSession) INSTANTPOOLOWNER

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) INSTANTPOOLOWNER() ([32]byte, error)

INSTANTPOOLOWNER is a free data retrieval call binding the contract method 0xcba45a7c.

Solidity: function INSTANT_POOL_OWNER() view returns(bytes32)

func (*StaderMaticXEthereumSession) IncreaseAllowance

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) 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 (*StaderMaticXEthereumSession) Initialize

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) Initialize(_validatorRegistry common.Address, _stakeManager common.Address, _polygonERC20 common.Address, _manager common.Address, _instantPoolOwner common.Address, _treasury common.Address) (*types.Transaction, error)

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

Solidity: function initialize(address _validatorRegistry, address _stakeManager, address _polygonERC20, address _manager, address _instantPoolOwner, address _treasury) returns()

func (*StaderMaticXEthereumSession) InstantPoolMatic

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) InstantPoolMatic() (*big.Int, error)

InstantPoolMatic is a free data retrieval call binding the contract method 0x89dfa025.

Solidity: function instantPoolMatic() view returns(uint256)

func (*StaderMaticXEthereumSession) InstantPoolMaticX

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) InstantPoolMaticX() (*big.Int, error)

InstantPoolMaticX is a free data retrieval call binding the contract method 0xc759352d.

Solidity: function instantPoolMaticX() view returns(uint256)

func (*StaderMaticXEthereumSession) InstantPoolOwner

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) InstantPoolOwner() (common.Address, error)

InstantPoolOwner is a free data retrieval call binding the contract method 0x1c083124.

Solidity: function instantPoolOwner() view returns(address)

func (*StaderMaticXEthereumSession) MigrateDelegation

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) MigrateDelegation(_fromValidatorId *big.Int, _toValidatorId *big.Int, _amount *big.Int) (*types.Transaction, error)

MigrateDelegation is a paid mutator transaction binding the contract method 0xfb1ef52c.

Solidity: function migrateDelegation(uint256 _fromValidatorId, uint256 _toValidatorId, uint256 _amount) returns()

func (*StaderMaticXEthereumSession) Mint

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) Mint(_user common.Address, _amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address _user, uint256 _amount) returns()

func (*StaderMaticXEthereumSession) MintMaticXToInstantPool

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) MintMaticXToInstantPool() (*types.Transaction, error)

MintMaticXToInstantPool is a paid mutator transaction binding the contract method 0x02b09f2e.

Solidity: function mintMaticXToInstantPool() returns()

func (*StaderMaticXEthereumSession) Name

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*StaderMaticXEthereumSession) PREDICATEROLE

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) PREDICATEROLE() ([32]byte, error)

PREDICATEROLE is a free data retrieval call binding the contract method 0xe72db5fd.

Solidity: function PREDICATE_ROLE() view returns(bytes32)

func (*StaderMaticXEthereumSession) Paused

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*StaderMaticXEthereumSession) ProvideInstantPoolMatic

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) ProvideInstantPoolMatic(_amount *big.Int) (*types.Transaction, error)

ProvideInstantPoolMatic is a paid mutator transaction binding the contract method 0x74b7b2d2.

Solidity: function provideInstantPoolMatic(uint256 _amount) returns()

func (*StaderMaticXEthereumSession) ProvideInstantPoolMaticX

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) ProvideInstantPoolMaticX(_amount *big.Int) (*types.Transaction, error)

ProvideInstantPoolMaticX is a paid mutator transaction binding the contract method 0x68c05c97.

Solidity: function provideInstantPoolMaticX(uint256 _amount) returns()

func (*StaderMaticXEthereumSession) RenounceRole

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) 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 (*StaderMaticXEthereumSession) RequestWithdraw

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) RequestWithdraw(_amount *big.Int) (*types.Transaction, error)

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

Solidity: function requestWithdraw(uint256 _amount) returns()

func (*StaderMaticXEthereumSession) RevokeRole

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) 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 (*StaderMaticXEthereumSession) SetFeePercent

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) SetFeePercent(_feePercent uint8) (*types.Transaction, error)

SetFeePercent is a paid mutator transaction binding the contract method 0xf4838176.

Solidity: function setFeePercent(uint8 _feePercent) returns()

func (*StaderMaticXEthereumSession) SetFxStateRootTunnel

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) SetFxStateRootTunnel(_address common.Address) (*types.Transaction, error)

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

Solidity: function setFxStateRootTunnel(address _address) returns()

func (*StaderMaticXEthereumSession) SetInstantPoolOwner

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) SetInstantPoolOwner(_address common.Address) (*types.Transaction, error)

SetInstantPoolOwner is a paid mutator transaction binding the contract method 0x701845b8.

Solidity: function setInstantPoolOwner(address _address) returns()

func (*StaderMaticXEthereumSession) SetTreasury

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) SetTreasury(_address common.Address) (*types.Transaction, error)

SetTreasury is a paid mutator transaction binding the contract method 0xf0f44260.

Solidity: function setTreasury(address _address) returns()

func (*StaderMaticXEthereumSession) SetValidatorRegistry

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) SetValidatorRegistry(_address common.Address) (*types.Transaction, error)

SetValidatorRegistry is a paid mutator transaction binding the contract method 0x49773050.

Solidity: function setValidatorRegistry(address _address) returns()

func (*StaderMaticXEthereumSession) SetVersion

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) SetVersion(_version string) (*types.Transaction, error)

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

Solidity: function setVersion(string _version) returns()

func (*StaderMaticXEthereumSession) SetupBotAdmin

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) SetupBotAdmin() (*types.Transaction, error)

SetupBotAdmin is a paid mutator transaction binding the contract method 0xc21e4634.

Solidity: function setupBotAdmin() returns()

func (*StaderMaticXEthereumSession) StakeRewardsAndDistributeFees

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) StakeRewardsAndDistributeFees(_validatorId *big.Int) (*types.Transaction, error)

StakeRewardsAndDistributeFees is a paid mutator transaction binding the contract method 0xdcea4be9.

Solidity: function stakeRewardsAndDistributeFees(uint256 _validatorId) returns()

func (*StaderMaticXEthereumSession) Submit

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) Submit(_amount *big.Int) (*types.Transaction, error)

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

Solidity: function submit(uint256 _amount) returns(uint256)

func (*StaderMaticXEthereumSession) SupportsInterface

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) 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 (*StaderMaticXEthereumSession) SwapMaticForMaticXViaInstantPool

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) SwapMaticForMaticXViaInstantPool(_amount *big.Int) (*types.Transaction, error)

SwapMaticForMaticXViaInstantPool is a paid mutator transaction binding the contract method 0xbaec30ca.

Solidity: function swapMaticForMaticXViaInstantPool(uint256 _amount) returns()

func (*StaderMaticXEthereumSession) Symbol

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*StaderMaticXEthereumSession) TogglePause

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) TogglePause() (*types.Transaction, error)

TogglePause is a paid mutator transaction binding the contract method 0xc4ae3168.

Solidity: function togglePause() returns()

func (*StaderMaticXEthereumSession) TotalSupply

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*StaderMaticXEthereumSession) Transfer

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) 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 (*StaderMaticXEthereumSession) TransferFrom

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) 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 (*StaderMaticXEthereumSession) Treasury

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) Treasury() (common.Address, error)

Treasury is a free data retrieval call binding the contract method 0x61d027b3.

Solidity: function treasury() view returns(address)

func (*StaderMaticXEthereumSession) Version

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) Version() (string, error)

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

Solidity: function version() view returns(string)

func (*StaderMaticXEthereumSession) WithdrawInstantPoolMatic

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) WithdrawInstantPoolMatic(_amount *big.Int) (*types.Transaction, error)

WithdrawInstantPoolMatic is a paid mutator transaction binding the contract method 0x00fd822c.

Solidity: function withdrawInstantPoolMatic(uint256 _amount) returns()

func (*StaderMaticXEthereumSession) WithdrawInstantPoolMaticX

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) WithdrawInstantPoolMaticX(_amount *big.Int) (*types.Transaction, error)

WithdrawInstantPoolMaticX is a paid mutator transaction binding the contract method 0xc1e324a5.

Solidity: function withdrawInstantPoolMaticX(uint256 _amount) returns()

func (*StaderMaticXEthereumSession) WithdrawRewards

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) WithdrawRewards(_validatorId *big.Int) (*types.Transaction, error)

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

Solidity: function withdrawRewards(uint256 _validatorId) returns(uint256)

func (*StaderMaticXEthereumSession) WithdrawValidatorsReward

func (_StaderMaticXEthereum *StaderMaticXEthereumSession) WithdrawValidatorsReward(_validatorIds []*big.Int) (*types.Transaction, error)

WithdrawValidatorsReward is a paid mutator transaction binding the contract method 0x74d72acc.

Solidity: function withdrawValidatorsReward(uint256[] _validatorIds) returns(uint256[])

type StaderMaticXEthereumTransactor

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

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

func NewStaderMaticXEthereumTransactor

func NewStaderMaticXEthereumTransactor(address common.Address, transactor bind.ContractTransactor) (*StaderMaticXEthereumTransactor, error)

NewStaderMaticXEthereumTransactor creates a new write-only instance of StaderMaticXEthereum, bound to a specific deployed contract.

func (*StaderMaticXEthereumTransactor) Approve

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactor) 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 (*StaderMaticXEthereumTransactor) ClaimWithdrawal

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactor) ClaimWithdrawal(opts *bind.TransactOpts, _idx *big.Int) (*types.Transaction, error)

ClaimWithdrawal is a paid mutator transaction binding the contract method 0xf8444436.

Solidity: function claimWithdrawal(uint256 _idx) returns()

func (*StaderMaticXEthereumTransactor) DecreaseAllowance

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactor) 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 (*StaderMaticXEthereumTransactor) GrantRole

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactor) 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 (*StaderMaticXEthereumTransactor) IncreaseAllowance

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactor) 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 (*StaderMaticXEthereumTransactor) Initialize

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactor) Initialize(opts *bind.TransactOpts, _validatorRegistry common.Address, _stakeManager common.Address, _polygonERC20 common.Address, _manager common.Address, _instantPoolOwner common.Address, _treasury common.Address) (*types.Transaction, error)

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

Solidity: function initialize(address _validatorRegistry, address _stakeManager, address _polygonERC20, address _manager, address _instantPoolOwner, address _treasury) returns()

func (*StaderMaticXEthereumTransactor) MigrateDelegation

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactor) MigrateDelegation(opts *bind.TransactOpts, _fromValidatorId *big.Int, _toValidatorId *big.Int, _amount *big.Int) (*types.Transaction, error)

MigrateDelegation is a paid mutator transaction binding the contract method 0xfb1ef52c.

Solidity: function migrateDelegation(uint256 _fromValidatorId, uint256 _toValidatorId, uint256 _amount) returns()

func (*StaderMaticXEthereumTransactor) Mint

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactor) Mint(opts *bind.TransactOpts, _user common.Address, _amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address _user, uint256 _amount) returns()

func (*StaderMaticXEthereumTransactor) MintMaticXToInstantPool

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactor) MintMaticXToInstantPool(opts *bind.TransactOpts) (*types.Transaction, error)

MintMaticXToInstantPool is a paid mutator transaction binding the contract method 0x02b09f2e.

Solidity: function mintMaticXToInstantPool() returns()

func (*StaderMaticXEthereumTransactor) ProvideInstantPoolMatic

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactor) ProvideInstantPoolMatic(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)

ProvideInstantPoolMatic is a paid mutator transaction binding the contract method 0x74b7b2d2.

Solidity: function provideInstantPoolMatic(uint256 _amount) returns()

func (*StaderMaticXEthereumTransactor) ProvideInstantPoolMaticX

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactor) ProvideInstantPoolMaticX(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)

ProvideInstantPoolMaticX is a paid mutator transaction binding the contract method 0x68c05c97.

Solidity: function provideInstantPoolMaticX(uint256 _amount) returns()

func (*StaderMaticXEthereumTransactor) RenounceRole

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactor) 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 (*StaderMaticXEthereumTransactor) RequestWithdraw

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactor) RequestWithdraw(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)

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

Solidity: function requestWithdraw(uint256 _amount) returns()

func (*StaderMaticXEthereumTransactor) RevokeRole

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactor) 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 (*StaderMaticXEthereumTransactor) SetFeePercent

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactor) SetFeePercent(opts *bind.TransactOpts, _feePercent uint8) (*types.Transaction, error)

SetFeePercent is a paid mutator transaction binding the contract method 0xf4838176.

Solidity: function setFeePercent(uint8 _feePercent) returns()

func (*StaderMaticXEthereumTransactor) SetFxStateRootTunnel

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactor) SetFxStateRootTunnel(opts *bind.TransactOpts, _address common.Address) (*types.Transaction, error)

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

Solidity: function setFxStateRootTunnel(address _address) returns()

func (*StaderMaticXEthereumTransactor) SetInstantPoolOwner

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactor) SetInstantPoolOwner(opts *bind.TransactOpts, _address common.Address) (*types.Transaction, error)

SetInstantPoolOwner is a paid mutator transaction binding the contract method 0x701845b8.

Solidity: function setInstantPoolOwner(address _address) returns()

func (*StaderMaticXEthereumTransactor) SetTreasury

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactor) SetTreasury(opts *bind.TransactOpts, _address common.Address) (*types.Transaction, error)

SetTreasury is a paid mutator transaction binding the contract method 0xf0f44260.

Solidity: function setTreasury(address _address) returns()

func (*StaderMaticXEthereumTransactor) SetValidatorRegistry

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactor) SetValidatorRegistry(opts *bind.TransactOpts, _address common.Address) (*types.Transaction, error)

SetValidatorRegistry is a paid mutator transaction binding the contract method 0x49773050.

Solidity: function setValidatorRegistry(address _address) returns()

func (*StaderMaticXEthereumTransactor) SetVersion

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactor) SetVersion(opts *bind.TransactOpts, _version string) (*types.Transaction, error)

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

Solidity: function setVersion(string _version) returns()

func (*StaderMaticXEthereumTransactor) SetupBotAdmin

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactor) SetupBotAdmin(opts *bind.TransactOpts) (*types.Transaction, error)

SetupBotAdmin is a paid mutator transaction binding the contract method 0xc21e4634.

Solidity: function setupBotAdmin() returns()

func (*StaderMaticXEthereumTransactor) StakeRewardsAndDistributeFees

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactor) StakeRewardsAndDistributeFees(opts *bind.TransactOpts, _validatorId *big.Int) (*types.Transaction, error)

StakeRewardsAndDistributeFees is a paid mutator transaction binding the contract method 0xdcea4be9.

Solidity: function stakeRewardsAndDistributeFees(uint256 _validatorId) returns()

func (*StaderMaticXEthereumTransactor) Submit

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactor) Submit(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)

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

Solidity: function submit(uint256 _amount) returns(uint256)

func (*StaderMaticXEthereumTransactor) SwapMaticForMaticXViaInstantPool

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactor) SwapMaticForMaticXViaInstantPool(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)

SwapMaticForMaticXViaInstantPool is a paid mutator transaction binding the contract method 0xbaec30ca.

Solidity: function swapMaticForMaticXViaInstantPool(uint256 _amount) returns()

func (*StaderMaticXEthereumTransactor) TogglePause

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactor) TogglePause(opts *bind.TransactOpts) (*types.Transaction, error)

TogglePause is a paid mutator transaction binding the contract method 0xc4ae3168.

Solidity: function togglePause() returns()

func (*StaderMaticXEthereumTransactor) Transfer

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactor) 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 (*StaderMaticXEthereumTransactor) TransferFrom

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactor) 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 (*StaderMaticXEthereumTransactor) WithdrawInstantPoolMatic

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactor) WithdrawInstantPoolMatic(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)

WithdrawInstantPoolMatic is a paid mutator transaction binding the contract method 0x00fd822c.

Solidity: function withdrawInstantPoolMatic(uint256 _amount) returns()

func (*StaderMaticXEthereumTransactor) WithdrawInstantPoolMaticX

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactor) WithdrawInstantPoolMaticX(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)

WithdrawInstantPoolMaticX is a paid mutator transaction binding the contract method 0xc1e324a5.

Solidity: function withdrawInstantPoolMaticX(uint256 _amount) returns()

func (*StaderMaticXEthereumTransactor) WithdrawRewards

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactor) WithdrawRewards(opts *bind.TransactOpts, _validatorId *big.Int) (*types.Transaction, error)

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

Solidity: function withdrawRewards(uint256 _validatorId) returns(uint256)

func (*StaderMaticXEthereumTransactor) WithdrawValidatorsReward

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactor) WithdrawValidatorsReward(opts *bind.TransactOpts, _validatorIds []*big.Int) (*types.Transaction, error)

WithdrawValidatorsReward is a paid mutator transaction binding the contract method 0x74d72acc.

Solidity: function withdrawValidatorsReward(uint256[] _validatorIds) returns(uint256[])

type StaderMaticXEthereumTransactorRaw

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

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

func (*StaderMaticXEthereumTransactorRaw) Transact

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

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

func (*StaderMaticXEthereumTransactorRaw) Transfer

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactorRaw) 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 StaderMaticXEthereumTransactorSession

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

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

func (*StaderMaticXEthereumTransactorSession) Approve

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactorSession) 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 (*StaderMaticXEthereumTransactorSession) ClaimWithdrawal

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactorSession) ClaimWithdrawal(_idx *big.Int) (*types.Transaction, error)

ClaimWithdrawal is a paid mutator transaction binding the contract method 0xf8444436.

Solidity: function claimWithdrawal(uint256 _idx) returns()

func (*StaderMaticXEthereumTransactorSession) DecreaseAllowance

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactorSession) 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 (*StaderMaticXEthereumTransactorSession) GrantRole

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactorSession) 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 (*StaderMaticXEthereumTransactorSession) IncreaseAllowance

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactorSession) 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 (*StaderMaticXEthereumTransactorSession) Initialize

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactorSession) Initialize(_validatorRegistry common.Address, _stakeManager common.Address, _polygonERC20 common.Address, _manager common.Address, _instantPoolOwner common.Address, _treasury common.Address) (*types.Transaction, error)

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

Solidity: function initialize(address _validatorRegistry, address _stakeManager, address _polygonERC20, address _manager, address _instantPoolOwner, address _treasury) returns()

func (*StaderMaticXEthereumTransactorSession) MigrateDelegation

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactorSession) MigrateDelegation(_fromValidatorId *big.Int, _toValidatorId *big.Int, _amount *big.Int) (*types.Transaction, error)

MigrateDelegation is a paid mutator transaction binding the contract method 0xfb1ef52c.

Solidity: function migrateDelegation(uint256 _fromValidatorId, uint256 _toValidatorId, uint256 _amount) returns()

func (*StaderMaticXEthereumTransactorSession) Mint

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactorSession) Mint(_user common.Address, _amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address _user, uint256 _amount) returns()

func (*StaderMaticXEthereumTransactorSession) MintMaticXToInstantPool

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactorSession) MintMaticXToInstantPool() (*types.Transaction, error)

MintMaticXToInstantPool is a paid mutator transaction binding the contract method 0x02b09f2e.

Solidity: function mintMaticXToInstantPool() returns()

func (*StaderMaticXEthereumTransactorSession) ProvideInstantPoolMatic

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactorSession) ProvideInstantPoolMatic(_amount *big.Int) (*types.Transaction, error)

ProvideInstantPoolMatic is a paid mutator transaction binding the contract method 0x74b7b2d2.

Solidity: function provideInstantPoolMatic(uint256 _amount) returns()

func (*StaderMaticXEthereumTransactorSession) ProvideInstantPoolMaticX

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactorSession) ProvideInstantPoolMaticX(_amount *big.Int) (*types.Transaction, error)

ProvideInstantPoolMaticX is a paid mutator transaction binding the contract method 0x68c05c97.

Solidity: function provideInstantPoolMaticX(uint256 _amount) returns()

func (*StaderMaticXEthereumTransactorSession) RenounceRole

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactorSession) 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 (*StaderMaticXEthereumTransactorSession) RequestWithdraw

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactorSession) RequestWithdraw(_amount *big.Int) (*types.Transaction, error)

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

Solidity: function requestWithdraw(uint256 _amount) returns()

func (*StaderMaticXEthereumTransactorSession) RevokeRole

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactorSession) 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 (*StaderMaticXEthereumTransactorSession) SetFeePercent

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactorSession) SetFeePercent(_feePercent uint8) (*types.Transaction, error)

SetFeePercent is a paid mutator transaction binding the contract method 0xf4838176.

Solidity: function setFeePercent(uint8 _feePercent) returns()

func (*StaderMaticXEthereumTransactorSession) SetFxStateRootTunnel

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactorSession) SetFxStateRootTunnel(_address common.Address) (*types.Transaction, error)

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

Solidity: function setFxStateRootTunnel(address _address) returns()

func (*StaderMaticXEthereumTransactorSession) SetInstantPoolOwner

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactorSession) SetInstantPoolOwner(_address common.Address) (*types.Transaction, error)

SetInstantPoolOwner is a paid mutator transaction binding the contract method 0x701845b8.

Solidity: function setInstantPoolOwner(address _address) returns()

func (*StaderMaticXEthereumTransactorSession) SetTreasury

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactorSession) SetTreasury(_address common.Address) (*types.Transaction, error)

SetTreasury is a paid mutator transaction binding the contract method 0xf0f44260.

Solidity: function setTreasury(address _address) returns()

func (*StaderMaticXEthereumTransactorSession) SetValidatorRegistry

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactorSession) SetValidatorRegistry(_address common.Address) (*types.Transaction, error)

SetValidatorRegistry is a paid mutator transaction binding the contract method 0x49773050.

Solidity: function setValidatorRegistry(address _address) returns()

func (*StaderMaticXEthereumTransactorSession) SetVersion

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactorSession) SetVersion(_version string) (*types.Transaction, error)

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

Solidity: function setVersion(string _version) returns()

func (*StaderMaticXEthereumTransactorSession) SetupBotAdmin

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactorSession) SetupBotAdmin() (*types.Transaction, error)

SetupBotAdmin is a paid mutator transaction binding the contract method 0xc21e4634.

Solidity: function setupBotAdmin() returns()

func (*StaderMaticXEthereumTransactorSession) StakeRewardsAndDistributeFees

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactorSession) StakeRewardsAndDistributeFees(_validatorId *big.Int) (*types.Transaction, error)

StakeRewardsAndDistributeFees is a paid mutator transaction binding the contract method 0xdcea4be9.

Solidity: function stakeRewardsAndDistributeFees(uint256 _validatorId) returns()

func (*StaderMaticXEthereumTransactorSession) Submit

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactorSession) Submit(_amount *big.Int) (*types.Transaction, error)

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

Solidity: function submit(uint256 _amount) returns(uint256)

func (*StaderMaticXEthereumTransactorSession) SwapMaticForMaticXViaInstantPool

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactorSession) SwapMaticForMaticXViaInstantPool(_amount *big.Int) (*types.Transaction, error)

SwapMaticForMaticXViaInstantPool is a paid mutator transaction binding the contract method 0xbaec30ca.

Solidity: function swapMaticForMaticXViaInstantPool(uint256 _amount) returns()

func (*StaderMaticXEthereumTransactorSession) TogglePause

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactorSession) TogglePause() (*types.Transaction, error)

TogglePause is a paid mutator transaction binding the contract method 0xc4ae3168.

Solidity: function togglePause() returns()

func (*StaderMaticXEthereumTransactorSession) Transfer

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactorSession) 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 (*StaderMaticXEthereumTransactorSession) TransferFrom

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactorSession) 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 (*StaderMaticXEthereumTransactorSession) WithdrawInstantPoolMatic

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactorSession) WithdrawInstantPoolMatic(_amount *big.Int) (*types.Transaction, error)

WithdrawInstantPoolMatic is a paid mutator transaction binding the contract method 0x00fd822c.

Solidity: function withdrawInstantPoolMatic(uint256 _amount) returns()

func (*StaderMaticXEthereumTransactorSession) WithdrawInstantPoolMaticX

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactorSession) WithdrawInstantPoolMaticX(_amount *big.Int) (*types.Transaction, error)

WithdrawInstantPoolMaticX is a paid mutator transaction binding the contract method 0xc1e324a5.

Solidity: function withdrawInstantPoolMaticX(uint256 _amount) returns()

func (*StaderMaticXEthereumTransactorSession) WithdrawRewards

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactorSession) WithdrawRewards(_validatorId *big.Int) (*types.Transaction, error)

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

Solidity: function withdrawRewards(uint256 _validatorId) returns(uint256)

func (*StaderMaticXEthereumTransactorSession) WithdrawValidatorsReward

func (_StaderMaticXEthereum *StaderMaticXEthereumTransactorSession) WithdrawValidatorsReward(_validatorIds []*big.Int) (*types.Transaction, error)

WithdrawValidatorsReward is a paid mutator transaction binding the contract method 0x74d72acc.

Solidity: function withdrawValidatorsReward(uint256[] _validatorIds) returns(uint256[])

Jump to

Keyboard shortcuts

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