network_withdraw

package
v0.0.0-...-b167e45 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NetworkWithdrawABI = NetworkWithdrawMetaData.ABI

NetworkWithdrawABI is the input ABI used to generate the binding from. Deprecated: Use NetworkWithdrawMetaData.ABI instead.

View Source
var NetworkWithdrawMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AddressNotAllowed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AlreadyClaimed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AlreadyDealedEpoch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AlreadyDealedHeight\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AlreadyInitialized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AlreadyNotifiedCycle\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AlreadyVoted\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AmountNotZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AmountUnmatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AmountZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"BalanceNotEnough\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"BlockNotMatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CallerNotAllowed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ClaimableAmountZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ClaimableDepositZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ClaimableRewardZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ClaimableWithdrawIndexOverflow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CommissionRateInvalid\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CycleNotMatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DepositAmountGTMaxAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DepositAmountLTMinAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"EmptyEntrustedVoters\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"EthAmountZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FailedToCall\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidMerkleProof\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidThreshold\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LengthNotMatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LsdTokenAmountZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LsdTokenCanOnlyUseOnce\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NodeAlreadyExist\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NodeAlreadyRemoved\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NodeNotClaimable\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotAuthorizedLsdToken\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotClaimable\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotPubkeyOwner\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotTrustNode\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ProposalExecFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PubkeyAlreadyExist\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PubkeyNotExist\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PubkeyNumberOverLimit\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PubkeyStatusUnmatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RateChangeOverLimit\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SoloNodeDepositAmountZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SoloNodeDepositDisabled\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SubmitBalancesDisabled\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"min\",\"type\":\"uint256\"}],\"name\":\"TooLow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TrustNodeDepositDisabled\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UserDepositDisabled\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"VotersDuplicate\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"VotersNotEnough\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"VotersNotExist\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"WithdrawIndexEmpty\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousAdmin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"beacon\",\"type\":\"address\"}],\"name\":\"BeaconUpgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"enumINetworkWithdraw.DistributeType\",\"name\":\"distributeType\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"dealedHeight\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"userAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"nodeAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"platformAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"maxClaimableWithdrawIndex\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"mvAmount\",\"type\":\"uint256\"}],\"name\":\"DistributeRewards\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"time\",\"type\":\"uint256\"}],\"name\":\"EtherDeposited\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"claimableReward\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"claimableDeposit\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"enumINetworkWithdraw.ClaimType\",\"name\":\"claimType\",\"type\":\"uint8\"}],\"name\":\"NodeClaimed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"withdrawCycle\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"ejectedStartWithdrawCycle\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"ejectedValidators\",\"type\":\"uint256[]\"}],\"name\":\"NotifyValidatorExit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"dealedEpoch\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"merkleRoot\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"nodeRewardsFileCid\",\"type\":\"string\"}],\"name\":\"SetMerkleRoot\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"cycleSeconds\",\"type\":\"uint256\"}],\"name\":\"SetWithdrawCycleSeconds\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lsdTokenAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"ethAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"withdrawIndex\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"instantly\",\"type\":\"bool\"}],\"name\":\"Unstake\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"withdrawIndexList\",\"type\":\"uint256[]\"}],\"name\":\"Withdraw\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"currentWithdrawCycle\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"depositEth\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"depositEthAndUpdateTotalMissingAmount\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"enumINetworkWithdraw.DistributeType\",\"name\":\"_distributeType\",\"type\":\"uint8\"},{\"internalType\":\"uint256\",\"name\":\"_dealedHeight\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_userAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_nodeAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_platformAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_maxClaimableWithdrawIndex\",\"type\":\"uint256\"}],\"name\":\"distribute\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ejectedStartCycle\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"ejectedValidatorsAtCycle\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"factoryAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feePoolAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"cycle\",\"type\":\"uint256\"}],\"name\":\"getEjectedValidatorsAtCycle\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"}],\"name\":\"getUnclaimedWithdrawalsOfUser\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_lsdTokenAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_userDepositAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_networkProposalAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_networkBalancesAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_feePoolAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_factoryAddress\",\"type\":\"address\"}],\"name\":\"init\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"latestDistributePriorityFeeHeight\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"latestDistributeWithdrawalsHeight\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"latestMerkleRootEpoch\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lsdTokenAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"maxClaimableWithdrawIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"merkleRoot\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"networkBalancesAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"networkProposalAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nextWithdrawIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_index\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_totalRewardAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_totalExitDepositAmount\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"_merkleProof\",\"type\":\"bytes32[]\"},{\"internalType\":\"enumINetworkWithdraw.ClaimType\",\"name\":\"_claimType\",\"type\":\"uint8\"}],\"name\":\"nodeClaim\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nodeClaimEnabled\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nodeCommissionRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nodeRewardsFileCid\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_withdrawCycle\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_ejectedStartCycle\",\"type\":\"uint256\"},{\"internalType\":\"uint256[]\",\"name\":\"_validatorIndexList\",\"type\":\"uint256[]\"}],\"name\":\"notifyValidatorExit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_recipient\",\"type\":\"address\"}],\"name\":\"platformClaim\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"platformCommissionRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proxiableUUID\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"reinit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_dealedEpoch\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"_merkleRoot\",\"type\":\"bytes32\"},{\"internalType\":\"string\",\"name\":\"_nodeRewardsFileCid\",\"type\":\"string\"}],\"name\":\"setMerkleRoot\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_value\",\"type\":\"bool\"}],\"name\":\"setNodeClaimEnabled\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_platformCommissionRate\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_nodeCommissionRate\",\"type\":\"uint256\"}],\"name\":\"setPlatformAndNodeCommissionRate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_stackCommissionRate\",\"type\":\"uint256\"}],\"name\":\"setStackCommissionRate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_withdrawCycleSeconds\",\"type\":\"uint256\"}],\"name\":\"setWithdrawCycleSeconds\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"stackCommissionRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"totalClaimedDepositOfNode\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"totalClaimedRewardOfNode\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalMissingAmountForWithdraw\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalPlatformClaimedAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalPlatformCommission\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_lsdTokenAmount\",\"type\":\"uint256\"}],\"name\":\"unstake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"}],\"name\":\"upgradeTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"upgradeToAndCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"userDepositAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256[]\",\"name\":\"_withdrawalIndexList\",\"type\":\"uint256[]\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdrawCycleSeconds\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"withdrawalAtIndex\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"_address\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
}

NetworkWithdrawMetaData contains all meta data concerning the NetworkWithdraw contract.

Functions

This section is empty.

Types

type NetworkWithdraw

type NetworkWithdraw struct {
	NetworkWithdrawCaller     // Read-only binding to the contract
	NetworkWithdrawTransactor // Write-only binding to the contract
	NetworkWithdrawFilterer   // Log filterer for contract events
}

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

func NewNetworkWithdraw

func NewNetworkWithdraw(address common.Address, backend bind.ContractBackend) (*NetworkWithdraw, error)

NewNetworkWithdraw creates a new instance of NetworkWithdraw, bound to a specific deployed contract.

type NetworkWithdrawAdminChanged

type NetworkWithdrawAdminChanged struct {
	PreviousAdmin common.Address
	NewAdmin      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

NetworkWithdrawAdminChanged represents a AdminChanged event raised by the NetworkWithdraw contract.

type NetworkWithdrawAdminChangedIterator

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

NetworkWithdrawAdminChangedIterator is returned from FilterAdminChanged and is used to iterate over the raw logs and unpacked data for AdminChanged events raised by the NetworkWithdraw contract.

func (*NetworkWithdrawAdminChangedIterator) Close

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

func (*NetworkWithdrawAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*NetworkWithdrawAdminChangedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type NetworkWithdrawBeaconUpgraded

type NetworkWithdrawBeaconUpgraded struct {
	Beacon common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

NetworkWithdrawBeaconUpgraded represents a BeaconUpgraded event raised by the NetworkWithdraw contract.

type NetworkWithdrawBeaconUpgradedIterator

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

NetworkWithdrawBeaconUpgradedIterator is returned from FilterBeaconUpgraded and is used to iterate over the raw logs and unpacked data for BeaconUpgraded events raised by the NetworkWithdraw contract.

func (*NetworkWithdrawBeaconUpgradedIterator) Close

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

func (*NetworkWithdrawBeaconUpgradedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*NetworkWithdrawBeaconUpgradedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type NetworkWithdrawCaller

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

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

func NewNetworkWithdrawCaller

func NewNetworkWithdrawCaller(address common.Address, caller bind.ContractCaller) (*NetworkWithdrawCaller, error)

NewNetworkWithdrawCaller creates a new read-only instance of NetworkWithdraw, bound to a specific deployed contract.

func (*NetworkWithdrawCaller) CurrentWithdrawCycle

func (_NetworkWithdraw *NetworkWithdrawCaller) CurrentWithdrawCycle(opts *bind.CallOpts) (*big.Int, error)

CurrentWithdrawCycle is a free data retrieval call binding the contract method 0xdb17815b.

Solidity: function currentWithdrawCycle() view returns(uint256)

func (*NetworkWithdrawCaller) EjectedStartCycle

func (_NetworkWithdraw *NetworkWithdrawCaller) EjectedStartCycle(opts *bind.CallOpts) (*big.Int, error)

EjectedStartCycle is a free data retrieval call binding the contract method 0x8a699828.

Solidity: function ejectedStartCycle() view returns(uint256)

func (*NetworkWithdrawCaller) EjectedValidatorsAtCycle

func (_NetworkWithdraw *NetworkWithdrawCaller) EjectedValidatorsAtCycle(opts *bind.CallOpts, arg0 *big.Int, arg1 *big.Int) (*big.Int, error)

EjectedValidatorsAtCycle is a free data retrieval call binding the contract method 0x261a792d.

Solidity: function ejectedValidatorsAtCycle(uint256 , uint256 ) view returns(uint256)

func (*NetworkWithdrawCaller) FactoryAddress

func (_NetworkWithdraw *NetworkWithdrawCaller) FactoryAddress(opts *bind.CallOpts) (common.Address, error)

FactoryAddress is a free data retrieval call binding the contract method 0x966dae0e.

Solidity: function factoryAddress() view returns(address)

func (*NetworkWithdrawCaller) FeePoolAddress

func (_NetworkWithdraw *NetworkWithdrawCaller) FeePoolAddress(opts *bind.CallOpts) (common.Address, error)

FeePoolAddress is a free data retrieval call binding the contract method 0x4319ebe4.

Solidity: function feePoolAddress() view returns(address)

func (*NetworkWithdrawCaller) GetEjectedValidatorsAtCycle

func (_NetworkWithdraw *NetworkWithdrawCaller) GetEjectedValidatorsAtCycle(opts *bind.CallOpts, cycle *big.Int) ([]*big.Int, error)

GetEjectedValidatorsAtCycle is a free data retrieval call binding the contract method 0x2c0f4166.

Solidity: function getEjectedValidatorsAtCycle(uint256 cycle) view returns(uint256[])

func (*NetworkWithdrawCaller) GetUnclaimedWithdrawalsOfUser

func (_NetworkWithdraw *NetworkWithdrawCaller) GetUnclaimedWithdrawalsOfUser(opts *bind.CallOpts, user common.Address) ([]*big.Int, error)

GetUnclaimedWithdrawalsOfUser is a free data retrieval call binding the contract method 0xfd6b5a49.

Solidity: function getUnclaimedWithdrawalsOfUser(address user) view returns(uint256[])

func (*NetworkWithdrawCaller) LatestDistributePriorityFeeHeight

func (_NetworkWithdraw *NetworkWithdrawCaller) LatestDistributePriorityFeeHeight(opts *bind.CallOpts) (*big.Int, error)

LatestDistributePriorityFeeHeight is a free data retrieval call binding the contract method 0x4dff8430.

Solidity: function latestDistributePriorityFeeHeight() view returns(uint256)

func (*NetworkWithdrawCaller) LatestDistributeWithdrawalsHeight

func (_NetworkWithdraw *NetworkWithdrawCaller) LatestDistributeWithdrawalsHeight(opts *bind.CallOpts) (*big.Int, error)

LatestDistributeWithdrawalsHeight is a free data retrieval call binding the contract method 0x9fa1f5ba.

Solidity: function latestDistributeWithdrawalsHeight() view returns(uint256)

func (*NetworkWithdrawCaller) LatestMerkleRootEpoch

func (_NetworkWithdraw *NetworkWithdrawCaller) LatestMerkleRootEpoch(opts *bind.CallOpts) (*big.Int, error)

LatestMerkleRootEpoch is a free data retrieval call binding the contract method 0xb5ca7410.

Solidity: function latestMerkleRootEpoch() view returns(uint256)

func (*NetworkWithdrawCaller) LsdTokenAddress

func (_NetworkWithdraw *NetworkWithdrawCaller) LsdTokenAddress(opts *bind.CallOpts) (common.Address, error)

LsdTokenAddress is a free data retrieval call binding the contract method 0x87505b9d.

Solidity: function lsdTokenAddress() view returns(address)

func (*NetworkWithdrawCaller) MaxClaimableWithdrawIndex

func (_NetworkWithdraw *NetworkWithdrawCaller) MaxClaimableWithdrawIndex(opts *bind.CallOpts) (*big.Int, error)

MaxClaimableWithdrawIndex is a free data retrieval call binding the contract method 0x0a64041b.

Solidity: function maxClaimableWithdrawIndex() view returns(uint256)

func (*NetworkWithdrawCaller) MerkleRoot

func (_NetworkWithdraw *NetworkWithdrawCaller) MerkleRoot(opts *bind.CallOpts) ([32]byte, error)

MerkleRoot is a free data retrieval call binding the contract method 0x2eb4a7ab.

Solidity: function merkleRoot() view returns(bytes32)

func (*NetworkWithdrawCaller) NetworkBalancesAddress

func (_NetworkWithdraw *NetworkWithdrawCaller) NetworkBalancesAddress(opts *bind.CallOpts) (common.Address, error)

NetworkBalancesAddress is a free data retrieval call binding the contract method 0x38fcf092.

Solidity: function networkBalancesAddress() view returns(address)

func (*NetworkWithdrawCaller) NetworkProposalAddress

func (_NetworkWithdraw *NetworkWithdrawCaller) NetworkProposalAddress(opts *bind.CallOpts) (common.Address, error)

NetworkProposalAddress is a free data retrieval call binding the contract method 0xb4701c09.

Solidity: function networkProposalAddress() view returns(address)

func (*NetworkWithdrawCaller) NextWithdrawIndex

func (_NetworkWithdraw *NetworkWithdrawCaller) NextWithdrawIndex(opts *bind.CallOpts) (*big.Int, error)

NextWithdrawIndex is a free data retrieval call binding the contract method 0x7e4dc15c.

Solidity: function nextWithdrawIndex() view returns(uint256)

func (*NetworkWithdrawCaller) NodeClaimEnabled

func (_NetworkWithdraw *NetworkWithdrawCaller) NodeClaimEnabled(opts *bind.CallOpts) (bool, error)

NodeClaimEnabled is a free data retrieval call binding the contract method 0xd3638c7e.

Solidity: function nodeClaimEnabled() view returns(bool)

func (*NetworkWithdrawCaller) NodeCommissionRate

func (_NetworkWithdraw *NetworkWithdrawCaller) NodeCommissionRate(opts *bind.CallOpts) (*big.Int, error)

NodeCommissionRate is a free data retrieval call binding the contract method 0x4636e4e5.

Solidity: function nodeCommissionRate() view returns(uint256)

func (*NetworkWithdrawCaller) NodeRewardsFileCid

func (_NetworkWithdraw *NetworkWithdrawCaller) NodeRewardsFileCid(opts *bind.CallOpts) (string, error)

NodeRewardsFileCid is a free data retrieval call binding the contract method 0xd57dc824.

Solidity: function nodeRewardsFileCid() view returns(string)

func (*NetworkWithdrawCaller) PlatformCommissionRate

func (_NetworkWithdraw *NetworkWithdrawCaller) PlatformCommissionRate(opts *bind.CallOpts) (*big.Int, error)

PlatformCommissionRate is a free data retrieval call binding the contract method 0x1da4dd0d.

Solidity: function platformCommissionRate() view returns(uint256)

func (*NetworkWithdrawCaller) ProxiableUUID

func (_NetworkWithdraw *NetworkWithdrawCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)

ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

func (*NetworkWithdrawCaller) StackCommissionRate

func (_NetworkWithdraw *NetworkWithdrawCaller) StackCommissionRate(opts *bind.CallOpts) (*big.Int, error)

StackCommissionRate is a free data retrieval call binding the contract method 0xd6514304.

Solidity: function stackCommissionRate() view returns(uint256)

func (*NetworkWithdrawCaller) TotalClaimedDepositOfNode

func (_NetworkWithdraw *NetworkWithdrawCaller) TotalClaimedDepositOfNode(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

TotalClaimedDepositOfNode is a free data retrieval call binding the contract method 0x6c570dc1.

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

func (*NetworkWithdrawCaller) TotalClaimedRewardOfNode

func (_NetworkWithdraw *NetworkWithdrawCaller) TotalClaimedRewardOfNode(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

TotalClaimedRewardOfNode is a free data retrieval call binding the contract method 0xbb2d840c.

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

func (*NetworkWithdrawCaller) TotalMissingAmountForWithdraw

func (_NetworkWithdraw *NetworkWithdrawCaller) TotalMissingAmountForWithdraw(opts *bind.CallOpts) (*big.Int, error)

TotalMissingAmountForWithdraw is a free data retrieval call binding the contract method 0x3c677dbe.

Solidity: function totalMissingAmountForWithdraw() view returns(uint256)

func (*NetworkWithdrawCaller) TotalPlatformClaimedAmount

func (_NetworkWithdraw *NetworkWithdrawCaller) TotalPlatformClaimedAmount(opts *bind.CallOpts) (*big.Int, error)

TotalPlatformClaimedAmount is a free data retrieval call binding the contract method 0xb3594059.

Solidity: function totalPlatformClaimedAmount() view returns(uint256)

func (*NetworkWithdrawCaller) TotalPlatformCommission

func (_NetworkWithdraw *NetworkWithdrawCaller) TotalPlatformCommission(opts *bind.CallOpts) (*big.Int, error)

TotalPlatformCommission is a free data retrieval call binding the contract method 0xfef25c0d.

Solidity: function totalPlatformCommission() view returns(uint256)

func (*NetworkWithdrawCaller) UserDepositAddress

func (_NetworkWithdraw *NetworkWithdrawCaller) UserDepositAddress(opts *bind.CallOpts) (common.Address, error)

UserDepositAddress is a free data retrieval call binding the contract method 0x46773830.

Solidity: function userDepositAddress() view returns(address)

func (*NetworkWithdrawCaller) Version

func (_NetworkWithdraw *NetworkWithdrawCaller) Version(opts *bind.CallOpts) (uint8, error)

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

Solidity: function version() view returns(uint8)

func (*NetworkWithdrawCaller) WithdrawCycleSeconds

func (_NetworkWithdraw *NetworkWithdrawCaller) WithdrawCycleSeconds(opts *bind.CallOpts) (*big.Int, error)

WithdrawCycleSeconds is a free data retrieval call binding the contract method 0x4a4b061b.

Solidity: function withdrawCycleSeconds() view returns(uint256)

func (*NetworkWithdrawCaller) WithdrawalAtIndex

func (_NetworkWithdraw *NetworkWithdrawCaller) WithdrawalAtIndex(opts *bind.CallOpts, arg0 *big.Int) (struct {
	Address common.Address
	Amount  *big.Int
}, error)

WithdrawalAtIndex is a free data retrieval call binding the contract method 0xa8e1b8ef.

Solidity: function withdrawalAtIndex(uint256 ) view returns(address _address, uint256 _amount)

type NetworkWithdrawCallerRaw

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

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

func (*NetworkWithdrawCallerRaw) Call

func (_NetworkWithdraw *NetworkWithdrawCallerRaw) 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 NetworkWithdrawCallerSession

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

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

func (*NetworkWithdrawCallerSession) CurrentWithdrawCycle

func (_NetworkWithdraw *NetworkWithdrawCallerSession) CurrentWithdrawCycle() (*big.Int, error)

CurrentWithdrawCycle is a free data retrieval call binding the contract method 0xdb17815b.

Solidity: function currentWithdrawCycle() view returns(uint256)

func (*NetworkWithdrawCallerSession) EjectedStartCycle

func (_NetworkWithdraw *NetworkWithdrawCallerSession) EjectedStartCycle() (*big.Int, error)

EjectedStartCycle is a free data retrieval call binding the contract method 0x8a699828.

Solidity: function ejectedStartCycle() view returns(uint256)

func (*NetworkWithdrawCallerSession) EjectedValidatorsAtCycle

func (_NetworkWithdraw *NetworkWithdrawCallerSession) EjectedValidatorsAtCycle(arg0 *big.Int, arg1 *big.Int) (*big.Int, error)

EjectedValidatorsAtCycle is a free data retrieval call binding the contract method 0x261a792d.

Solidity: function ejectedValidatorsAtCycle(uint256 , uint256 ) view returns(uint256)

func (*NetworkWithdrawCallerSession) FactoryAddress

func (_NetworkWithdraw *NetworkWithdrawCallerSession) FactoryAddress() (common.Address, error)

FactoryAddress is a free data retrieval call binding the contract method 0x966dae0e.

Solidity: function factoryAddress() view returns(address)

func (*NetworkWithdrawCallerSession) FeePoolAddress

func (_NetworkWithdraw *NetworkWithdrawCallerSession) FeePoolAddress() (common.Address, error)

FeePoolAddress is a free data retrieval call binding the contract method 0x4319ebe4.

Solidity: function feePoolAddress() view returns(address)

func (*NetworkWithdrawCallerSession) GetEjectedValidatorsAtCycle

func (_NetworkWithdraw *NetworkWithdrawCallerSession) GetEjectedValidatorsAtCycle(cycle *big.Int) ([]*big.Int, error)

GetEjectedValidatorsAtCycle is a free data retrieval call binding the contract method 0x2c0f4166.

Solidity: function getEjectedValidatorsAtCycle(uint256 cycle) view returns(uint256[])

func (*NetworkWithdrawCallerSession) GetUnclaimedWithdrawalsOfUser

func (_NetworkWithdraw *NetworkWithdrawCallerSession) GetUnclaimedWithdrawalsOfUser(user common.Address) ([]*big.Int, error)

GetUnclaimedWithdrawalsOfUser is a free data retrieval call binding the contract method 0xfd6b5a49.

Solidity: function getUnclaimedWithdrawalsOfUser(address user) view returns(uint256[])

func (*NetworkWithdrawCallerSession) LatestDistributePriorityFeeHeight

func (_NetworkWithdraw *NetworkWithdrawCallerSession) LatestDistributePriorityFeeHeight() (*big.Int, error)

LatestDistributePriorityFeeHeight is a free data retrieval call binding the contract method 0x4dff8430.

Solidity: function latestDistributePriorityFeeHeight() view returns(uint256)

func (*NetworkWithdrawCallerSession) LatestDistributeWithdrawalsHeight

func (_NetworkWithdraw *NetworkWithdrawCallerSession) LatestDistributeWithdrawalsHeight() (*big.Int, error)

LatestDistributeWithdrawalsHeight is a free data retrieval call binding the contract method 0x9fa1f5ba.

Solidity: function latestDistributeWithdrawalsHeight() view returns(uint256)

func (*NetworkWithdrawCallerSession) LatestMerkleRootEpoch

func (_NetworkWithdraw *NetworkWithdrawCallerSession) LatestMerkleRootEpoch() (*big.Int, error)

LatestMerkleRootEpoch is a free data retrieval call binding the contract method 0xb5ca7410.

Solidity: function latestMerkleRootEpoch() view returns(uint256)

func (*NetworkWithdrawCallerSession) LsdTokenAddress

func (_NetworkWithdraw *NetworkWithdrawCallerSession) LsdTokenAddress() (common.Address, error)

LsdTokenAddress is a free data retrieval call binding the contract method 0x87505b9d.

Solidity: function lsdTokenAddress() view returns(address)

func (*NetworkWithdrawCallerSession) MaxClaimableWithdrawIndex

func (_NetworkWithdraw *NetworkWithdrawCallerSession) MaxClaimableWithdrawIndex() (*big.Int, error)

MaxClaimableWithdrawIndex is a free data retrieval call binding the contract method 0x0a64041b.

Solidity: function maxClaimableWithdrawIndex() view returns(uint256)

func (*NetworkWithdrawCallerSession) MerkleRoot

func (_NetworkWithdraw *NetworkWithdrawCallerSession) MerkleRoot() ([32]byte, error)

MerkleRoot is a free data retrieval call binding the contract method 0x2eb4a7ab.

Solidity: function merkleRoot() view returns(bytes32)

func (*NetworkWithdrawCallerSession) NetworkBalancesAddress

func (_NetworkWithdraw *NetworkWithdrawCallerSession) NetworkBalancesAddress() (common.Address, error)

NetworkBalancesAddress is a free data retrieval call binding the contract method 0x38fcf092.

Solidity: function networkBalancesAddress() view returns(address)

func (*NetworkWithdrawCallerSession) NetworkProposalAddress

func (_NetworkWithdraw *NetworkWithdrawCallerSession) NetworkProposalAddress() (common.Address, error)

NetworkProposalAddress is a free data retrieval call binding the contract method 0xb4701c09.

Solidity: function networkProposalAddress() view returns(address)

func (*NetworkWithdrawCallerSession) NextWithdrawIndex

func (_NetworkWithdraw *NetworkWithdrawCallerSession) NextWithdrawIndex() (*big.Int, error)

NextWithdrawIndex is a free data retrieval call binding the contract method 0x7e4dc15c.

Solidity: function nextWithdrawIndex() view returns(uint256)

func (*NetworkWithdrawCallerSession) NodeClaimEnabled

func (_NetworkWithdraw *NetworkWithdrawCallerSession) NodeClaimEnabled() (bool, error)

NodeClaimEnabled is a free data retrieval call binding the contract method 0xd3638c7e.

Solidity: function nodeClaimEnabled() view returns(bool)

func (*NetworkWithdrawCallerSession) NodeCommissionRate

func (_NetworkWithdraw *NetworkWithdrawCallerSession) NodeCommissionRate() (*big.Int, error)

NodeCommissionRate is a free data retrieval call binding the contract method 0x4636e4e5.

Solidity: function nodeCommissionRate() view returns(uint256)

func (*NetworkWithdrawCallerSession) NodeRewardsFileCid

func (_NetworkWithdraw *NetworkWithdrawCallerSession) NodeRewardsFileCid() (string, error)

NodeRewardsFileCid is a free data retrieval call binding the contract method 0xd57dc824.

Solidity: function nodeRewardsFileCid() view returns(string)

func (*NetworkWithdrawCallerSession) PlatformCommissionRate

func (_NetworkWithdraw *NetworkWithdrawCallerSession) PlatformCommissionRate() (*big.Int, error)

PlatformCommissionRate is a free data retrieval call binding the contract method 0x1da4dd0d.

Solidity: function platformCommissionRate() view returns(uint256)

func (*NetworkWithdrawCallerSession) ProxiableUUID

func (_NetworkWithdraw *NetworkWithdrawCallerSession) ProxiableUUID() ([32]byte, error)

ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

func (*NetworkWithdrawCallerSession) StackCommissionRate

func (_NetworkWithdraw *NetworkWithdrawCallerSession) StackCommissionRate() (*big.Int, error)

StackCommissionRate is a free data retrieval call binding the contract method 0xd6514304.

Solidity: function stackCommissionRate() view returns(uint256)

func (*NetworkWithdrawCallerSession) TotalClaimedDepositOfNode

func (_NetworkWithdraw *NetworkWithdrawCallerSession) TotalClaimedDepositOfNode(arg0 common.Address) (*big.Int, error)

TotalClaimedDepositOfNode is a free data retrieval call binding the contract method 0x6c570dc1.

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

func (*NetworkWithdrawCallerSession) TotalClaimedRewardOfNode

func (_NetworkWithdraw *NetworkWithdrawCallerSession) TotalClaimedRewardOfNode(arg0 common.Address) (*big.Int, error)

TotalClaimedRewardOfNode is a free data retrieval call binding the contract method 0xbb2d840c.

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

func (*NetworkWithdrawCallerSession) TotalMissingAmountForWithdraw

func (_NetworkWithdraw *NetworkWithdrawCallerSession) TotalMissingAmountForWithdraw() (*big.Int, error)

TotalMissingAmountForWithdraw is a free data retrieval call binding the contract method 0x3c677dbe.

Solidity: function totalMissingAmountForWithdraw() view returns(uint256)

func (*NetworkWithdrawCallerSession) TotalPlatformClaimedAmount

func (_NetworkWithdraw *NetworkWithdrawCallerSession) TotalPlatformClaimedAmount() (*big.Int, error)

TotalPlatformClaimedAmount is a free data retrieval call binding the contract method 0xb3594059.

Solidity: function totalPlatformClaimedAmount() view returns(uint256)

func (*NetworkWithdrawCallerSession) TotalPlatformCommission

func (_NetworkWithdraw *NetworkWithdrawCallerSession) TotalPlatformCommission() (*big.Int, error)

TotalPlatformCommission is a free data retrieval call binding the contract method 0xfef25c0d.

Solidity: function totalPlatformCommission() view returns(uint256)

func (*NetworkWithdrawCallerSession) UserDepositAddress

func (_NetworkWithdraw *NetworkWithdrawCallerSession) UserDepositAddress() (common.Address, error)

UserDepositAddress is a free data retrieval call binding the contract method 0x46773830.

Solidity: function userDepositAddress() view returns(address)

func (*NetworkWithdrawCallerSession) Version

func (_NetworkWithdraw *NetworkWithdrawCallerSession) Version() (uint8, error)

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

Solidity: function version() view returns(uint8)

func (*NetworkWithdrawCallerSession) WithdrawCycleSeconds

func (_NetworkWithdraw *NetworkWithdrawCallerSession) WithdrawCycleSeconds() (*big.Int, error)

WithdrawCycleSeconds is a free data retrieval call binding the contract method 0x4a4b061b.

Solidity: function withdrawCycleSeconds() view returns(uint256)

func (*NetworkWithdrawCallerSession) WithdrawalAtIndex

func (_NetworkWithdraw *NetworkWithdrawCallerSession) WithdrawalAtIndex(arg0 *big.Int) (struct {
	Address common.Address
	Amount  *big.Int
}, error)

WithdrawalAtIndex is a free data retrieval call binding the contract method 0xa8e1b8ef.

Solidity: function withdrawalAtIndex(uint256 ) view returns(address _address, uint256 _amount)

type NetworkWithdrawDistributeRewards

type NetworkWithdrawDistributeRewards struct {
	DistributeType            uint8
	DealedHeight              *big.Int
	UserAmount                *big.Int
	NodeAmount                *big.Int
	PlatformAmount            *big.Int
	MaxClaimableWithdrawIndex *big.Int
	MvAmount                  *big.Int
	Raw                       types.Log // Blockchain specific contextual infos
}

NetworkWithdrawDistributeRewards represents a DistributeRewards event raised by the NetworkWithdraw contract.

type NetworkWithdrawDistributeRewardsIterator

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

NetworkWithdrawDistributeRewardsIterator is returned from FilterDistributeRewards and is used to iterate over the raw logs and unpacked data for DistributeRewards events raised by the NetworkWithdraw contract.

func (*NetworkWithdrawDistributeRewardsIterator) Close

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

func (*NetworkWithdrawDistributeRewardsIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*NetworkWithdrawDistributeRewardsIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type NetworkWithdrawEtherDeposited

type NetworkWithdrawEtherDeposited struct {
	From   common.Address
	Amount *big.Int
	Time   *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

NetworkWithdrawEtherDeposited represents a EtherDeposited event raised by the NetworkWithdraw contract.

type NetworkWithdrawEtherDepositedIterator

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

NetworkWithdrawEtherDepositedIterator is returned from FilterEtherDeposited and is used to iterate over the raw logs and unpacked data for EtherDeposited events raised by the NetworkWithdraw contract.

func (*NetworkWithdrawEtherDepositedIterator) Close

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

func (*NetworkWithdrawEtherDepositedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*NetworkWithdrawEtherDepositedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type NetworkWithdrawFilterer

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

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

func NewNetworkWithdrawFilterer

func NewNetworkWithdrawFilterer(address common.Address, filterer bind.ContractFilterer) (*NetworkWithdrawFilterer, error)

NewNetworkWithdrawFilterer creates a new log filterer instance of NetworkWithdraw, bound to a specific deployed contract.

func (*NetworkWithdrawFilterer) FilterAdminChanged

func (_NetworkWithdraw *NetworkWithdrawFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*NetworkWithdrawAdminChangedIterator, error)

FilterAdminChanged is a free log retrieval operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*NetworkWithdrawFilterer) FilterBeaconUpgraded

func (_NetworkWithdraw *NetworkWithdrawFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*NetworkWithdrawBeaconUpgradedIterator, error)

FilterBeaconUpgraded is a free log retrieval operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*NetworkWithdrawFilterer) FilterDistributeRewards

func (_NetworkWithdraw *NetworkWithdrawFilterer) FilterDistributeRewards(opts *bind.FilterOpts) (*NetworkWithdrawDistributeRewardsIterator, error)

FilterDistributeRewards is a free log retrieval operation binding the contract event 0xf10021cf129ec9c5003084ae330dba6d0bd143c47a2677c4d68939a19423206b.

Solidity: event DistributeRewards(uint8 distributeType, uint256 dealedHeight, uint256 userAmount, uint256 nodeAmount, uint256 platformAmount, uint256 maxClaimableWithdrawIndex, uint256 mvAmount)

func (*NetworkWithdrawFilterer) FilterEtherDeposited

func (_NetworkWithdraw *NetworkWithdrawFilterer) FilterEtherDeposited(opts *bind.FilterOpts, from []common.Address) (*NetworkWithdrawEtherDepositedIterator, error)

FilterEtherDeposited is a free log retrieval operation binding the contract event 0xef51b4c870b8b0100eae2072e91db01222a303072af3728e58c9d4d2da33127f.

Solidity: event EtherDeposited(address indexed from, uint256 amount, uint256 time)

func (*NetworkWithdrawFilterer) FilterInitialized

func (_NetworkWithdraw *NetworkWithdrawFilterer) FilterInitialized(opts *bind.FilterOpts) (*NetworkWithdrawInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*NetworkWithdrawFilterer) FilterNodeClaimed

func (_NetworkWithdraw *NetworkWithdrawFilterer) FilterNodeClaimed(opts *bind.FilterOpts) (*NetworkWithdrawNodeClaimedIterator, error)

FilterNodeClaimed is a free log retrieval operation binding the contract event 0x659e842f0209726671f562e8d7ee3a25d2cef92c2b85dcd268af93ef5d13582c.

Solidity: event NodeClaimed(uint256 index, address account, uint256 claimableReward, uint256 claimableDeposit, uint8 claimType)

func (*NetworkWithdrawFilterer) FilterNotifyValidatorExit

func (_NetworkWithdraw *NetworkWithdrawFilterer) FilterNotifyValidatorExit(opts *bind.FilterOpts) (*NetworkWithdrawNotifyValidatorExitIterator, error)

FilterNotifyValidatorExit is a free log retrieval operation binding the contract event 0xb83477449e27b4bab4f28c938d033b953557d6a1b9b4469a43d229f78ed6e55c.

Solidity: event NotifyValidatorExit(uint256 withdrawCycle, uint256 ejectedStartWithdrawCycle, uint256[] ejectedValidators)

func (*NetworkWithdrawFilterer) FilterSetMerkleRoot

func (_NetworkWithdraw *NetworkWithdrawFilterer) FilterSetMerkleRoot(opts *bind.FilterOpts, dealedEpoch []*big.Int) (*NetworkWithdrawSetMerkleRootIterator, error)

FilterSetMerkleRoot is a free log retrieval operation binding the contract event 0xec43b2424d0504da473794ad49016df3e06fb0d772bb403d724c9e5d53d8afb8.

Solidity: event SetMerkleRoot(uint256 indexed dealedEpoch, bytes32 merkleRoot, string nodeRewardsFileCid)

func (*NetworkWithdrawFilterer) FilterSetWithdrawCycleSeconds

func (_NetworkWithdraw *NetworkWithdrawFilterer) FilterSetWithdrawCycleSeconds(opts *bind.FilterOpts) (*NetworkWithdrawSetWithdrawCycleSecondsIterator, error)

FilterSetWithdrawCycleSeconds is a free log retrieval operation binding the contract event 0xa8bf31f5ff469d988ee50031edcb6b8a44b1cd010a1561d9a7a06d71c2193e6c.

Solidity: event SetWithdrawCycleSeconds(uint256 cycleSeconds)

func (*NetworkWithdrawFilterer) FilterUnstake

func (_NetworkWithdraw *NetworkWithdrawFilterer) FilterUnstake(opts *bind.FilterOpts, from []common.Address) (*NetworkWithdrawUnstakeIterator, error)

FilterUnstake is a free log retrieval operation binding the contract event 0xc7ccdcb2d25f572c6814e377dbb34ea4318a4b7d3cd890f5cfad699d75327c7c.

Solidity: event Unstake(address indexed from, uint256 lsdTokenAmount, uint256 ethAmount, uint256 withdrawIndex, bool instantly)

func (*NetworkWithdrawFilterer) FilterUpgraded

func (_NetworkWithdraw *NetworkWithdrawFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*NetworkWithdrawUpgradedIterator, error)

FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*NetworkWithdrawFilterer) FilterWithdraw

func (_NetworkWithdraw *NetworkWithdrawFilterer) FilterWithdraw(opts *bind.FilterOpts, from []common.Address) (*NetworkWithdrawWithdrawIterator, error)

FilterWithdraw is a free log retrieval operation binding the contract event 0x67e9df8b3c7743c9f1b625ba4f2b4e601206dbd46ed5c33c85a1242e4d23a2d1.

Solidity: event Withdraw(address indexed from, uint256[] withdrawIndexList)

func (*NetworkWithdrawFilterer) ParseAdminChanged

func (_NetworkWithdraw *NetworkWithdrawFilterer) ParseAdminChanged(log types.Log) (*NetworkWithdrawAdminChanged, error)

ParseAdminChanged is a log parse operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*NetworkWithdrawFilterer) ParseBeaconUpgraded

func (_NetworkWithdraw *NetworkWithdrawFilterer) ParseBeaconUpgraded(log types.Log) (*NetworkWithdrawBeaconUpgraded, error)

ParseBeaconUpgraded is a log parse operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*NetworkWithdrawFilterer) ParseDistributeRewards

func (_NetworkWithdraw *NetworkWithdrawFilterer) ParseDistributeRewards(log types.Log) (*NetworkWithdrawDistributeRewards, error)

ParseDistributeRewards is a log parse operation binding the contract event 0xf10021cf129ec9c5003084ae330dba6d0bd143c47a2677c4d68939a19423206b.

Solidity: event DistributeRewards(uint8 distributeType, uint256 dealedHeight, uint256 userAmount, uint256 nodeAmount, uint256 platformAmount, uint256 maxClaimableWithdrawIndex, uint256 mvAmount)

func (*NetworkWithdrawFilterer) ParseEtherDeposited

func (_NetworkWithdraw *NetworkWithdrawFilterer) ParseEtherDeposited(log types.Log) (*NetworkWithdrawEtherDeposited, error)

ParseEtherDeposited is a log parse operation binding the contract event 0xef51b4c870b8b0100eae2072e91db01222a303072af3728e58c9d4d2da33127f.

Solidity: event EtherDeposited(address indexed from, uint256 amount, uint256 time)

func (*NetworkWithdrawFilterer) ParseInitialized

func (_NetworkWithdraw *NetworkWithdrawFilterer) ParseInitialized(log types.Log) (*NetworkWithdrawInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*NetworkWithdrawFilterer) ParseNodeClaimed

func (_NetworkWithdraw *NetworkWithdrawFilterer) ParseNodeClaimed(log types.Log) (*NetworkWithdrawNodeClaimed, error)

ParseNodeClaimed is a log parse operation binding the contract event 0x659e842f0209726671f562e8d7ee3a25d2cef92c2b85dcd268af93ef5d13582c.

Solidity: event NodeClaimed(uint256 index, address account, uint256 claimableReward, uint256 claimableDeposit, uint8 claimType)

func (*NetworkWithdrawFilterer) ParseNotifyValidatorExit

func (_NetworkWithdraw *NetworkWithdrawFilterer) ParseNotifyValidatorExit(log types.Log) (*NetworkWithdrawNotifyValidatorExit, error)

ParseNotifyValidatorExit is a log parse operation binding the contract event 0xb83477449e27b4bab4f28c938d033b953557d6a1b9b4469a43d229f78ed6e55c.

Solidity: event NotifyValidatorExit(uint256 withdrawCycle, uint256 ejectedStartWithdrawCycle, uint256[] ejectedValidators)

func (*NetworkWithdrawFilterer) ParseSetMerkleRoot

func (_NetworkWithdraw *NetworkWithdrawFilterer) ParseSetMerkleRoot(log types.Log) (*NetworkWithdrawSetMerkleRoot, error)

ParseSetMerkleRoot is a log parse operation binding the contract event 0xec43b2424d0504da473794ad49016df3e06fb0d772bb403d724c9e5d53d8afb8.

Solidity: event SetMerkleRoot(uint256 indexed dealedEpoch, bytes32 merkleRoot, string nodeRewardsFileCid)

func (*NetworkWithdrawFilterer) ParseSetWithdrawCycleSeconds

func (_NetworkWithdraw *NetworkWithdrawFilterer) ParseSetWithdrawCycleSeconds(log types.Log) (*NetworkWithdrawSetWithdrawCycleSeconds, error)

ParseSetWithdrawCycleSeconds is a log parse operation binding the contract event 0xa8bf31f5ff469d988ee50031edcb6b8a44b1cd010a1561d9a7a06d71c2193e6c.

Solidity: event SetWithdrawCycleSeconds(uint256 cycleSeconds)

func (*NetworkWithdrawFilterer) ParseUnstake

func (_NetworkWithdraw *NetworkWithdrawFilterer) ParseUnstake(log types.Log) (*NetworkWithdrawUnstake, error)

ParseUnstake is a log parse operation binding the contract event 0xc7ccdcb2d25f572c6814e377dbb34ea4318a4b7d3cd890f5cfad699d75327c7c.

Solidity: event Unstake(address indexed from, uint256 lsdTokenAmount, uint256 ethAmount, uint256 withdrawIndex, bool instantly)

func (*NetworkWithdrawFilterer) ParseUpgraded

func (_NetworkWithdraw *NetworkWithdrawFilterer) ParseUpgraded(log types.Log) (*NetworkWithdrawUpgraded, error)

ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*NetworkWithdrawFilterer) ParseWithdraw

func (_NetworkWithdraw *NetworkWithdrawFilterer) ParseWithdraw(log types.Log) (*NetworkWithdrawWithdraw, error)

ParseWithdraw is a log parse operation binding the contract event 0x67e9df8b3c7743c9f1b625ba4f2b4e601206dbd46ed5c33c85a1242e4d23a2d1.

Solidity: event Withdraw(address indexed from, uint256[] withdrawIndexList)

func (*NetworkWithdrawFilterer) WatchAdminChanged

func (_NetworkWithdraw *NetworkWithdrawFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *NetworkWithdrawAdminChanged) (event.Subscription, error)

WatchAdminChanged is a free log subscription operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.

Solidity: event AdminChanged(address previousAdmin, address newAdmin)

func (*NetworkWithdrawFilterer) WatchBeaconUpgraded

func (_NetworkWithdraw *NetworkWithdrawFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *NetworkWithdrawBeaconUpgraded, beacon []common.Address) (event.Subscription, error)

WatchBeaconUpgraded is a free log subscription operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.

Solidity: event BeaconUpgraded(address indexed beacon)

func (*NetworkWithdrawFilterer) WatchDistributeRewards

func (_NetworkWithdraw *NetworkWithdrawFilterer) WatchDistributeRewards(opts *bind.WatchOpts, sink chan<- *NetworkWithdrawDistributeRewards) (event.Subscription, error)

WatchDistributeRewards is a free log subscription operation binding the contract event 0xf10021cf129ec9c5003084ae330dba6d0bd143c47a2677c4d68939a19423206b.

Solidity: event DistributeRewards(uint8 distributeType, uint256 dealedHeight, uint256 userAmount, uint256 nodeAmount, uint256 platformAmount, uint256 maxClaimableWithdrawIndex, uint256 mvAmount)

func (*NetworkWithdrawFilterer) WatchEtherDeposited

func (_NetworkWithdraw *NetworkWithdrawFilterer) WatchEtherDeposited(opts *bind.WatchOpts, sink chan<- *NetworkWithdrawEtherDeposited, from []common.Address) (event.Subscription, error)

WatchEtherDeposited is a free log subscription operation binding the contract event 0xef51b4c870b8b0100eae2072e91db01222a303072af3728e58c9d4d2da33127f.

Solidity: event EtherDeposited(address indexed from, uint256 amount, uint256 time)

func (*NetworkWithdrawFilterer) WatchInitialized

func (_NetworkWithdraw *NetworkWithdrawFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *NetworkWithdrawInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*NetworkWithdrawFilterer) WatchNodeClaimed

func (_NetworkWithdraw *NetworkWithdrawFilterer) WatchNodeClaimed(opts *bind.WatchOpts, sink chan<- *NetworkWithdrawNodeClaimed) (event.Subscription, error)

WatchNodeClaimed is a free log subscription operation binding the contract event 0x659e842f0209726671f562e8d7ee3a25d2cef92c2b85dcd268af93ef5d13582c.

Solidity: event NodeClaimed(uint256 index, address account, uint256 claimableReward, uint256 claimableDeposit, uint8 claimType)

func (*NetworkWithdrawFilterer) WatchNotifyValidatorExit

func (_NetworkWithdraw *NetworkWithdrawFilterer) WatchNotifyValidatorExit(opts *bind.WatchOpts, sink chan<- *NetworkWithdrawNotifyValidatorExit) (event.Subscription, error)

WatchNotifyValidatorExit is a free log subscription operation binding the contract event 0xb83477449e27b4bab4f28c938d033b953557d6a1b9b4469a43d229f78ed6e55c.

Solidity: event NotifyValidatorExit(uint256 withdrawCycle, uint256 ejectedStartWithdrawCycle, uint256[] ejectedValidators)

func (*NetworkWithdrawFilterer) WatchSetMerkleRoot

func (_NetworkWithdraw *NetworkWithdrawFilterer) WatchSetMerkleRoot(opts *bind.WatchOpts, sink chan<- *NetworkWithdrawSetMerkleRoot, dealedEpoch []*big.Int) (event.Subscription, error)

WatchSetMerkleRoot is a free log subscription operation binding the contract event 0xec43b2424d0504da473794ad49016df3e06fb0d772bb403d724c9e5d53d8afb8.

Solidity: event SetMerkleRoot(uint256 indexed dealedEpoch, bytes32 merkleRoot, string nodeRewardsFileCid)

func (*NetworkWithdrawFilterer) WatchSetWithdrawCycleSeconds

func (_NetworkWithdraw *NetworkWithdrawFilterer) WatchSetWithdrawCycleSeconds(opts *bind.WatchOpts, sink chan<- *NetworkWithdrawSetWithdrawCycleSeconds) (event.Subscription, error)

WatchSetWithdrawCycleSeconds is a free log subscription operation binding the contract event 0xa8bf31f5ff469d988ee50031edcb6b8a44b1cd010a1561d9a7a06d71c2193e6c.

Solidity: event SetWithdrawCycleSeconds(uint256 cycleSeconds)

func (*NetworkWithdrawFilterer) WatchUnstake

func (_NetworkWithdraw *NetworkWithdrawFilterer) WatchUnstake(opts *bind.WatchOpts, sink chan<- *NetworkWithdrawUnstake, from []common.Address) (event.Subscription, error)

WatchUnstake is a free log subscription operation binding the contract event 0xc7ccdcb2d25f572c6814e377dbb34ea4318a4b7d3cd890f5cfad699d75327c7c.

Solidity: event Unstake(address indexed from, uint256 lsdTokenAmount, uint256 ethAmount, uint256 withdrawIndex, bool instantly)

func (*NetworkWithdrawFilterer) WatchUpgraded

func (_NetworkWithdraw *NetworkWithdrawFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *NetworkWithdrawUpgraded, implementation []common.Address) (event.Subscription, error)

WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.

Solidity: event Upgraded(address indexed implementation)

func (*NetworkWithdrawFilterer) WatchWithdraw

func (_NetworkWithdraw *NetworkWithdrawFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *NetworkWithdrawWithdraw, from []common.Address) (event.Subscription, error)

WatchWithdraw is a free log subscription operation binding the contract event 0x67e9df8b3c7743c9f1b625ba4f2b4e601206dbd46ed5c33c85a1242e4d23a2d1.

Solidity: event Withdraw(address indexed from, uint256[] withdrawIndexList)

type NetworkWithdrawInitialized

type NetworkWithdrawInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

NetworkWithdrawInitialized represents a Initialized event raised by the NetworkWithdraw contract.

type NetworkWithdrawInitializedIterator

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

NetworkWithdrawInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the NetworkWithdraw contract.

func (*NetworkWithdrawInitializedIterator) Close

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

func (*NetworkWithdrawInitializedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*NetworkWithdrawInitializedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type NetworkWithdrawNodeClaimed

type NetworkWithdrawNodeClaimed struct {
	Index            *big.Int
	Account          common.Address
	ClaimableReward  *big.Int
	ClaimableDeposit *big.Int
	ClaimType        uint8
	Raw              types.Log // Blockchain specific contextual infos
}

NetworkWithdrawNodeClaimed represents a NodeClaimed event raised by the NetworkWithdraw contract.

type NetworkWithdrawNodeClaimedIterator

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

NetworkWithdrawNodeClaimedIterator is returned from FilterNodeClaimed and is used to iterate over the raw logs and unpacked data for NodeClaimed events raised by the NetworkWithdraw contract.

func (*NetworkWithdrawNodeClaimedIterator) Close

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

func (*NetworkWithdrawNodeClaimedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*NetworkWithdrawNodeClaimedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type NetworkWithdrawNotifyValidatorExit

type NetworkWithdrawNotifyValidatorExit struct {
	WithdrawCycle             *big.Int
	EjectedStartWithdrawCycle *big.Int
	EjectedValidators         []*big.Int
	Raw                       types.Log // Blockchain specific contextual infos
}

NetworkWithdrawNotifyValidatorExit represents a NotifyValidatorExit event raised by the NetworkWithdraw contract.

type NetworkWithdrawNotifyValidatorExitIterator

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

NetworkWithdrawNotifyValidatorExitIterator is returned from FilterNotifyValidatorExit and is used to iterate over the raw logs and unpacked data for NotifyValidatorExit events raised by the NetworkWithdraw contract.

func (*NetworkWithdrawNotifyValidatorExitIterator) Close

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

func (*NetworkWithdrawNotifyValidatorExitIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*NetworkWithdrawNotifyValidatorExitIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type NetworkWithdrawRaw

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

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

func (*NetworkWithdrawRaw) Call

func (_NetworkWithdraw *NetworkWithdrawRaw) 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 (*NetworkWithdrawRaw) Transact

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

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

func (*NetworkWithdrawRaw) Transfer

func (_NetworkWithdraw *NetworkWithdrawRaw) 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 NetworkWithdrawSession

type NetworkWithdrawSession struct {
	Contract     *NetworkWithdraw  // 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
}

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

func (*NetworkWithdrawSession) CurrentWithdrawCycle

func (_NetworkWithdraw *NetworkWithdrawSession) CurrentWithdrawCycle() (*big.Int, error)

CurrentWithdrawCycle is a free data retrieval call binding the contract method 0xdb17815b.

Solidity: function currentWithdrawCycle() view returns(uint256)

func (*NetworkWithdrawSession) DepositEth

func (_NetworkWithdraw *NetworkWithdrawSession) DepositEth() (*types.Transaction, error)

DepositEth is a paid mutator transaction binding the contract method 0x439370b1.

Solidity: function depositEth() payable returns()

func (*NetworkWithdrawSession) DepositEthAndUpdateTotalMissingAmount

func (_NetworkWithdraw *NetworkWithdrawSession) DepositEthAndUpdateTotalMissingAmount() (*types.Transaction, error)

DepositEthAndUpdateTotalMissingAmount is a paid mutator transaction binding the contract method 0x9d2f846e.

Solidity: function depositEthAndUpdateTotalMissingAmount() payable returns()

func (*NetworkWithdrawSession) Distribute

func (_NetworkWithdraw *NetworkWithdrawSession) Distribute(_distributeType uint8, _dealedHeight *big.Int, _userAmount *big.Int, _nodeAmount *big.Int, _platformAmount *big.Int, _maxClaimableWithdrawIndex *big.Int) (*types.Transaction, error)

Distribute is a paid mutator transaction binding the contract method 0xc980ba89.

Solidity: function distribute(uint8 _distributeType, uint256 _dealedHeight, uint256 _userAmount, uint256 _nodeAmount, uint256 _platformAmount, uint256 _maxClaimableWithdrawIndex) returns()

func (*NetworkWithdrawSession) EjectedStartCycle

func (_NetworkWithdraw *NetworkWithdrawSession) EjectedStartCycle() (*big.Int, error)

EjectedStartCycle is a free data retrieval call binding the contract method 0x8a699828.

Solidity: function ejectedStartCycle() view returns(uint256)

func (*NetworkWithdrawSession) EjectedValidatorsAtCycle

func (_NetworkWithdraw *NetworkWithdrawSession) EjectedValidatorsAtCycle(arg0 *big.Int, arg1 *big.Int) (*big.Int, error)

EjectedValidatorsAtCycle is a free data retrieval call binding the contract method 0x261a792d.

Solidity: function ejectedValidatorsAtCycle(uint256 , uint256 ) view returns(uint256)

func (*NetworkWithdrawSession) FactoryAddress

func (_NetworkWithdraw *NetworkWithdrawSession) FactoryAddress() (common.Address, error)

FactoryAddress is a free data retrieval call binding the contract method 0x966dae0e.

Solidity: function factoryAddress() view returns(address)

func (*NetworkWithdrawSession) FeePoolAddress

func (_NetworkWithdraw *NetworkWithdrawSession) FeePoolAddress() (common.Address, error)

FeePoolAddress is a free data retrieval call binding the contract method 0x4319ebe4.

Solidity: function feePoolAddress() view returns(address)

func (*NetworkWithdrawSession) GetEjectedValidatorsAtCycle

func (_NetworkWithdraw *NetworkWithdrawSession) GetEjectedValidatorsAtCycle(cycle *big.Int) ([]*big.Int, error)

GetEjectedValidatorsAtCycle is a free data retrieval call binding the contract method 0x2c0f4166.

Solidity: function getEjectedValidatorsAtCycle(uint256 cycle) view returns(uint256[])

func (*NetworkWithdrawSession) GetUnclaimedWithdrawalsOfUser

func (_NetworkWithdraw *NetworkWithdrawSession) GetUnclaimedWithdrawalsOfUser(user common.Address) ([]*big.Int, error)

GetUnclaimedWithdrawalsOfUser is a free data retrieval call binding the contract method 0xfd6b5a49.

Solidity: function getUnclaimedWithdrawalsOfUser(address user) view returns(uint256[])

func (*NetworkWithdrawSession) Init

func (_NetworkWithdraw *NetworkWithdrawSession) Init(_lsdTokenAddress common.Address, _userDepositAddress common.Address, _networkProposalAddress common.Address, _networkBalancesAddress common.Address, _feePoolAddress common.Address, _factoryAddress common.Address) (*types.Transaction, error)

Init is a paid mutator transaction binding the contract method 0x99e133f9.

Solidity: function init(address _lsdTokenAddress, address _userDepositAddress, address _networkProposalAddress, address _networkBalancesAddress, address _feePoolAddress, address _factoryAddress) returns()

func (*NetworkWithdrawSession) LatestDistributePriorityFeeHeight

func (_NetworkWithdraw *NetworkWithdrawSession) LatestDistributePriorityFeeHeight() (*big.Int, error)

LatestDistributePriorityFeeHeight is a free data retrieval call binding the contract method 0x4dff8430.

Solidity: function latestDistributePriorityFeeHeight() view returns(uint256)

func (*NetworkWithdrawSession) LatestDistributeWithdrawalsHeight

func (_NetworkWithdraw *NetworkWithdrawSession) LatestDistributeWithdrawalsHeight() (*big.Int, error)

LatestDistributeWithdrawalsHeight is a free data retrieval call binding the contract method 0x9fa1f5ba.

Solidity: function latestDistributeWithdrawalsHeight() view returns(uint256)

func (*NetworkWithdrawSession) LatestMerkleRootEpoch

func (_NetworkWithdraw *NetworkWithdrawSession) LatestMerkleRootEpoch() (*big.Int, error)

LatestMerkleRootEpoch is a free data retrieval call binding the contract method 0xb5ca7410.

Solidity: function latestMerkleRootEpoch() view returns(uint256)

func (*NetworkWithdrawSession) LsdTokenAddress

func (_NetworkWithdraw *NetworkWithdrawSession) LsdTokenAddress() (common.Address, error)

LsdTokenAddress is a free data retrieval call binding the contract method 0x87505b9d.

Solidity: function lsdTokenAddress() view returns(address)

func (*NetworkWithdrawSession) MaxClaimableWithdrawIndex

func (_NetworkWithdraw *NetworkWithdrawSession) MaxClaimableWithdrawIndex() (*big.Int, error)

MaxClaimableWithdrawIndex is a free data retrieval call binding the contract method 0x0a64041b.

Solidity: function maxClaimableWithdrawIndex() view returns(uint256)

func (*NetworkWithdrawSession) MerkleRoot

func (_NetworkWithdraw *NetworkWithdrawSession) MerkleRoot() ([32]byte, error)

MerkleRoot is a free data retrieval call binding the contract method 0x2eb4a7ab.

Solidity: function merkleRoot() view returns(bytes32)

func (*NetworkWithdrawSession) NetworkBalancesAddress

func (_NetworkWithdraw *NetworkWithdrawSession) NetworkBalancesAddress() (common.Address, error)

NetworkBalancesAddress is a free data retrieval call binding the contract method 0x38fcf092.

Solidity: function networkBalancesAddress() view returns(address)

func (*NetworkWithdrawSession) NetworkProposalAddress

func (_NetworkWithdraw *NetworkWithdrawSession) NetworkProposalAddress() (common.Address, error)

NetworkProposalAddress is a free data retrieval call binding the contract method 0xb4701c09.

Solidity: function networkProposalAddress() view returns(address)

func (*NetworkWithdrawSession) NextWithdrawIndex

func (_NetworkWithdraw *NetworkWithdrawSession) NextWithdrawIndex() (*big.Int, error)

NextWithdrawIndex is a free data retrieval call binding the contract method 0x7e4dc15c.

Solidity: function nextWithdrawIndex() view returns(uint256)

func (*NetworkWithdrawSession) NodeClaim

func (_NetworkWithdraw *NetworkWithdrawSession) NodeClaim(_index *big.Int, _account common.Address, _totalRewardAmount *big.Int, _totalExitDepositAmount *big.Int, _merkleProof [][32]byte, _claimType uint8) (*types.Transaction, error)

NodeClaim is a paid mutator transaction binding the contract method 0xfdf435e9.

Solidity: function nodeClaim(uint256 _index, address _account, uint256 _totalRewardAmount, uint256 _totalExitDepositAmount, bytes32[] _merkleProof, uint8 _claimType) returns()

func (*NetworkWithdrawSession) NodeClaimEnabled

func (_NetworkWithdraw *NetworkWithdrawSession) NodeClaimEnabled() (bool, error)

NodeClaimEnabled is a free data retrieval call binding the contract method 0xd3638c7e.

Solidity: function nodeClaimEnabled() view returns(bool)

func (*NetworkWithdrawSession) NodeCommissionRate

func (_NetworkWithdraw *NetworkWithdrawSession) NodeCommissionRate() (*big.Int, error)

NodeCommissionRate is a free data retrieval call binding the contract method 0x4636e4e5.

Solidity: function nodeCommissionRate() view returns(uint256)

func (*NetworkWithdrawSession) NodeRewardsFileCid

func (_NetworkWithdraw *NetworkWithdrawSession) NodeRewardsFileCid() (string, error)

NodeRewardsFileCid is a free data retrieval call binding the contract method 0xd57dc824.

Solidity: function nodeRewardsFileCid() view returns(string)

func (*NetworkWithdrawSession) NotifyValidatorExit

func (_NetworkWithdraw *NetworkWithdrawSession) NotifyValidatorExit(_withdrawCycle *big.Int, _ejectedStartCycle *big.Int, _validatorIndexList []*big.Int) (*types.Transaction, error)

NotifyValidatorExit is a paid mutator transaction binding the contract method 0x1e0f4aae.

Solidity: function notifyValidatorExit(uint256 _withdrawCycle, uint256 _ejectedStartCycle, uint256[] _validatorIndexList) returns()

func (*NetworkWithdrawSession) PlatformClaim

func (_NetworkWithdraw *NetworkWithdrawSession) PlatformClaim(_recipient common.Address) (*types.Transaction, error)

PlatformClaim is a paid mutator transaction binding the contract method 0xaaf82770.

Solidity: function platformClaim(address _recipient) returns()

func (*NetworkWithdrawSession) PlatformCommissionRate

func (_NetworkWithdraw *NetworkWithdrawSession) PlatformCommissionRate() (*big.Int, error)

PlatformCommissionRate is a free data retrieval call binding the contract method 0x1da4dd0d.

Solidity: function platformCommissionRate() view returns(uint256)

func (*NetworkWithdrawSession) ProxiableUUID

func (_NetworkWithdraw *NetworkWithdrawSession) ProxiableUUID() ([32]byte, error)

ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.

Solidity: function proxiableUUID() view returns(bytes32)

func (*NetworkWithdrawSession) Receive

func (_NetworkWithdraw *NetworkWithdrawSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*NetworkWithdrawSession) Reinit

func (_NetworkWithdraw *NetworkWithdrawSession) Reinit() (*types.Transaction, error)

Reinit is a paid mutator transaction binding the contract method 0xc482ceaf.

Solidity: function reinit() returns()

func (*NetworkWithdrawSession) SetMerkleRoot

func (_NetworkWithdraw *NetworkWithdrawSession) SetMerkleRoot(_dealedEpoch *big.Int, _merkleRoot [32]byte, _nodeRewardsFileCid string) (*types.Transaction, error)

SetMerkleRoot is a paid mutator transaction binding the contract method 0x12b81931.

Solidity: function setMerkleRoot(uint256 _dealedEpoch, bytes32 _merkleRoot, string _nodeRewardsFileCid) returns()

func (*NetworkWithdrawSession) SetNodeClaimEnabled

func (_NetworkWithdraw *NetworkWithdrawSession) SetNodeClaimEnabled(_value bool) (*types.Transaction, error)

SetNodeClaimEnabled is a paid mutator transaction binding the contract method 0xf1583c08.

Solidity: function setNodeClaimEnabled(bool _value) returns()

func (*NetworkWithdrawSession) SetPlatformAndNodeCommissionRate

func (_NetworkWithdraw *NetworkWithdrawSession) SetPlatformAndNodeCommissionRate(_platformCommissionRate *big.Int, _nodeCommissionRate *big.Int) (*types.Transaction, error)

SetPlatformAndNodeCommissionRate is a paid mutator transaction binding the contract method 0x7a1a934d.

Solidity: function setPlatformAndNodeCommissionRate(uint256 _platformCommissionRate, uint256 _nodeCommissionRate) returns()

func (*NetworkWithdrawSession) SetStackCommissionRate

func (_NetworkWithdraw *NetworkWithdrawSession) SetStackCommissionRate(_stackCommissionRate *big.Int) (*types.Transaction, error)

SetStackCommissionRate is a paid mutator transaction binding the contract method 0xea8532fb.

Solidity: function setStackCommissionRate(uint256 _stackCommissionRate) returns()

func (*NetworkWithdrawSession) SetWithdrawCycleSeconds

func (_NetworkWithdraw *NetworkWithdrawSession) SetWithdrawCycleSeconds(_withdrawCycleSeconds *big.Int) (*types.Transaction, error)

SetWithdrawCycleSeconds is a paid mutator transaction binding the contract method 0x939d1ee4.

Solidity: function setWithdrawCycleSeconds(uint256 _withdrawCycleSeconds) returns()

func (*NetworkWithdrawSession) StackCommissionRate

func (_NetworkWithdraw *NetworkWithdrawSession) StackCommissionRate() (*big.Int, error)

StackCommissionRate is a free data retrieval call binding the contract method 0xd6514304.

Solidity: function stackCommissionRate() view returns(uint256)

func (*NetworkWithdrawSession) TotalClaimedDepositOfNode

func (_NetworkWithdraw *NetworkWithdrawSession) TotalClaimedDepositOfNode(arg0 common.Address) (*big.Int, error)

TotalClaimedDepositOfNode is a free data retrieval call binding the contract method 0x6c570dc1.

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

func (*NetworkWithdrawSession) TotalClaimedRewardOfNode

func (_NetworkWithdraw *NetworkWithdrawSession) TotalClaimedRewardOfNode(arg0 common.Address) (*big.Int, error)

TotalClaimedRewardOfNode is a free data retrieval call binding the contract method 0xbb2d840c.

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

func (*NetworkWithdrawSession) TotalMissingAmountForWithdraw

func (_NetworkWithdraw *NetworkWithdrawSession) TotalMissingAmountForWithdraw() (*big.Int, error)

TotalMissingAmountForWithdraw is a free data retrieval call binding the contract method 0x3c677dbe.

Solidity: function totalMissingAmountForWithdraw() view returns(uint256)

func (*NetworkWithdrawSession) TotalPlatformClaimedAmount

func (_NetworkWithdraw *NetworkWithdrawSession) TotalPlatformClaimedAmount() (*big.Int, error)

TotalPlatformClaimedAmount is a free data retrieval call binding the contract method 0xb3594059.

Solidity: function totalPlatformClaimedAmount() view returns(uint256)

func (*NetworkWithdrawSession) TotalPlatformCommission

func (_NetworkWithdraw *NetworkWithdrawSession) TotalPlatformCommission() (*big.Int, error)

TotalPlatformCommission is a free data retrieval call binding the contract method 0xfef25c0d.

Solidity: function totalPlatformCommission() view returns(uint256)

func (*NetworkWithdrawSession) Unstake

func (_NetworkWithdraw *NetworkWithdrawSession) Unstake(_lsdTokenAmount *big.Int) (*types.Transaction, error)

Unstake is a paid mutator transaction binding the contract method 0x2e17de78.

Solidity: function unstake(uint256 _lsdTokenAmount) returns()

func (*NetworkWithdrawSession) UpgradeTo

func (_NetworkWithdraw *NetworkWithdrawSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*NetworkWithdrawSession) UpgradeToAndCall

func (_NetworkWithdraw *NetworkWithdrawSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

func (*NetworkWithdrawSession) UserDepositAddress

func (_NetworkWithdraw *NetworkWithdrawSession) UserDepositAddress() (common.Address, error)

UserDepositAddress is a free data retrieval call binding the contract method 0x46773830.

Solidity: function userDepositAddress() view returns(address)

func (*NetworkWithdrawSession) Version

func (_NetworkWithdraw *NetworkWithdrawSession) Version() (uint8, error)

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

Solidity: function version() view returns(uint8)

func (*NetworkWithdrawSession) Withdraw

func (_NetworkWithdraw *NetworkWithdrawSession) Withdraw(_withdrawalIndexList []*big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x983d95ce.

Solidity: function withdraw(uint256[] _withdrawalIndexList) returns()

func (*NetworkWithdrawSession) WithdrawCycleSeconds

func (_NetworkWithdraw *NetworkWithdrawSession) WithdrawCycleSeconds() (*big.Int, error)

WithdrawCycleSeconds is a free data retrieval call binding the contract method 0x4a4b061b.

Solidity: function withdrawCycleSeconds() view returns(uint256)

func (*NetworkWithdrawSession) WithdrawalAtIndex

func (_NetworkWithdraw *NetworkWithdrawSession) WithdrawalAtIndex(arg0 *big.Int) (struct {
	Address common.Address
	Amount  *big.Int
}, error)

WithdrawalAtIndex is a free data retrieval call binding the contract method 0xa8e1b8ef.

Solidity: function withdrawalAtIndex(uint256 ) view returns(address _address, uint256 _amount)

type NetworkWithdrawSetMerkleRoot

type NetworkWithdrawSetMerkleRoot struct {
	DealedEpoch        *big.Int
	MerkleRoot         [32]byte
	NodeRewardsFileCid string
	Raw                types.Log // Blockchain specific contextual infos
}

NetworkWithdrawSetMerkleRoot represents a SetMerkleRoot event raised by the NetworkWithdraw contract.

type NetworkWithdrawSetMerkleRootIterator

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

NetworkWithdrawSetMerkleRootIterator is returned from FilterSetMerkleRoot and is used to iterate over the raw logs and unpacked data for SetMerkleRoot events raised by the NetworkWithdraw contract.

func (*NetworkWithdrawSetMerkleRootIterator) Close

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

func (*NetworkWithdrawSetMerkleRootIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*NetworkWithdrawSetMerkleRootIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type NetworkWithdrawSetWithdrawCycleSeconds

type NetworkWithdrawSetWithdrawCycleSeconds struct {
	CycleSeconds *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

NetworkWithdrawSetWithdrawCycleSeconds represents a SetWithdrawCycleSeconds event raised by the NetworkWithdraw contract.

type NetworkWithdrawSetWithdrawCycleSecondsIterator

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

NetworkWithdrawSetWithdrawCycleSecondsIterator is returned from FilterSetWithdrawCycleSeconds and is used to iterate over the raw logs and unpacked data for SetWithdrawCycleSeconds events raised by the NetworkWithdraw contract.

func (*NetworkWithdrawSetWithdrawCycleSecondsIterator) Close

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

func (*NetworkWithdrawSetWithdrawCycleSecondsIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*NetworkWithdrawSetWithdrawCycleSecondsIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type NetworkWithdrawTransactor

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

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

func NewNetworkWithdrawTransactor

func NewNetworkWithdrawTransactor(address common.Address, transactor bind.ContractTransactor) (*NetworkWithdrawTransactor, error)

NewNetworkWithdrawTransactor creates a new write-only instance of NetworkWithdraw, bound to a specific deployed contract.

func (*NetworkWithdrawTransactor) DepositEth

func (_NetworkWithdraw *NetworkWithdrawTransactor) DepositEth(opts *bind.TransactOpts) (*types.Transaction, error)

DepositEth is a paid mutator transaction binding the contract method 0x439370b1.

Solidity: function depositEth() payable returns()

func (*NetworkWithdrawTransactor) DepositEthAndUpdateTotalMissingAmount

func (_NetworkWithdraw *NetworkWithdrawTransactor) DepositEthAndUpdateTotalMissingAmount(opts *bind.TransactOpts) (*types.Transaction, error)

DepositEthAndUpdateTotalMissingAmount is a paid mutator transaction binding the contract method 0x9d2f846e.

Solidity: function depositEthAndUpdateTotalMissingAmount() payable returns()

func (*NetworkWithdrawTransactor) Distribute

func (_NetworkWithdraw *NetworkWithdrawTransactor) Distribute(opts *bind.TransactOpts, _distributeType uint8, _dealedHeight *big.Int, _userAmount *big.Int, _nodeAmount *big.Int, _platformAmount *big.Int, _maxClaimableWithdrawIndex *big.Int) (*types.Transaction, error)

Distribute is a paid mutator transaction binding the contract method 0xc980ba89.

Solidity: function distribute(uint8 _distributeType, uint256 _dealedHeight, uint256 _userAmount, uint256 _nodeAmount, uint256 _platformAmount, uint256 _maxClaimableWithdrawIndex) returns()

func (*NetworkWithdrawTransactor) Init

func (_NetworkWithdraw *NetworkWithdrawTransactor) Init(opts *bind.TransactOpts, _lsdTokenAddress common.Address, _userDepositAddress common.Address, _networkProposalAddress common.Address, _networkBalancesAddress common.Address, _feePoolAddress common.Address, _factoryAddress common.Address) (*types.Transaction, error)

Init is a paid mutator transaction binding the contract method 0x99e133f9.

Solidity: function init(address _lsdTokenAddress, address _userDepositAddress, address _networkProposalAddress, address _networkBalancesAddress, address _feePoolAddress, address _factoryAddress) returns()

func (*NetworkWithdrawTransactor) NodeClaim

func (_NetworkWithdraw *NetworkWithdrawTransactor) NodeClaim(opts *bind.TransactOpts, _index *big.Int, _account common.Address, _totalRewardAmount *big.Int, _totalExitDepositAmount *big.Int, _merkleProof [][32]byte, _claimType uint8) (*types.Transaction, error)

NodeClaim is a paid mutator transaction binding the contract method 0xfdf435e9.

Solidity: function nodeClaim(uint256 _index, address _account, uint256 _totalRewardAmount, uint256 _totalExitDepositAmount, bytes32[] _merkleProof, uint8 _claimType) returns()

func (*NetworkWithdrawTransactor) NotifyValidatorExit

func (_NetworkWithdraw *NetworkWithdrawTransactor) NotifyValidatorExit(opts *bind.TransactOpts, _withdrawCycle *big.Int, _ejectedStartCycle *big.Int, _validatorIndexList []*big.Int) (*types.Transaction, error)

NotifyValidatorExit is a paid mutator transaction binding the contract method 0x1e0f4aae.

Solidity: function notifyValidatorExit(uint256 _withdrawCycle, uint256 _ejectedStartCycle, uint256[] _validatorIndexList) returns()

func (*NetworkWithdrawTransactor) PlatformClaim

func (_NetworkWithdraw *NetworkWithdrawTransactor) PlatformClaim(opts *bind.TransactOpts, _recipient common.Address) (*types.Transaction, error)

PlatformClaim is a paid mutator transaction binding the contract method 0xaaf82770.

Solidity: function platformClaim(address _recipient) returns()

func (*NetworkWithdrawTransactor) Receive

func (_NetworkWithdraw *NetworkWithdrawTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*NetworkWithdrawTransactor) Reinit

func (_NetworkWithdraw *NetworkWithdrawTransactor) Reinit(opts *bind.TransactOpts) (*types.Transaction, error)

Reinit is a paid mutator transaction binding the contract method 0xc482ceaf.

Solidity: function reinit() returns()

func (*NetworkWithdrawTransactor) SetMerkleRoot

func (_NetworkWithdraw *NetworkWithdrawTransactor) SetMerkleRoot(opts *bind.TransactOpts, _dealedEpoch *big.Int, _merkleRoot [32]byte, _nodeRewardsFileCid string) (*types.Transaction, error)

SetMerkleRoot is a paid mutator transaction binding the contract method 0x12b81931.

Solidity: function setMerkleRoot(uint256 _dealedEpoch, bytes32 _merkleRoot, string _nodeRewardsFileCid) returns()

func (*NetworkWithdrawTransactor) SetNodeClaimEnabled

func (_NetworkWithdraw *NetworkWithdrawTransactor) SetNodeClaimEnabled(opts *bind.TransactOpts, _value bool) (*types.Transaction, error)

SetNodeClaimEnabled is a paid mutator transaction binding the contract method 0xf1583c08.

Solidity: function setNodeClaimEnabled(bool _value) returns()

func (*NetworkWithdrawTransactor) SetPlatformAndNodeCommissionRate

func (_NetworkWithdraw *NetworkWithdrawTransactor) SetPlatformAndNodeCommissionRate(opts *bind.TransactOpts, _platformCommissionRate *big.Int, _nodeCommissionRate *big.Int) (*types.Transaction, error)

SetPlatformAndNodeCommissionRate is a paid mutator transaction binding the contract method 0x7a1a934d.

Solidity: function setPlatformAndNodeCommissionRate(uint256 _platformCommissionRate, uint256 _nodeCommissionRate) returns()

func (*NetworkWithdrawTransactor) SetStackCommissionRate

func (_NetworkWithdraw *NetworkWithdrawTransactor) SetStackCommissionRate(opts *bind.TransactOpts, _stackCommissionRate *big.Int) (*types.Transaction, error)

SetStackCommissionRate is a paid mutator transaction binding the contract method 0xea8532fb.

Solidity: function setStackCommissionRate(uint256 _stackCommissionRate) returns()

func (*NetworkWithdrawTransactor) SetWithdrawCycleSeconds

func (_NetworkWithdraw *NetworkWithdrawTransactor) SetWithdrawCycleSeconds(opts *bind.TransactOpts, _withdrawCycleSeconds *big.Int) (*types.Transaction, error)

SetWithdrawCycleSeconds is a paid mutator transaction binding the contract method 0x939d1ee4.

Solidity: function setWithdrawCycleSeconds(uint256 _withdrawCycleSeconds) returns()

func (*NetworkWithdrawTransactor) Unstake

func (_NetworkWithdraw *NetworkWithdrawTransactor) Unstake(opts *bind.TransactOpts, _lsdTokenAmount *big.Int) (*types.Transaction, error)

Unstake is a paid mutator transaction binding the contract method 0x2e17de78.

Solidity: function unstake(uint256 _lsdTokenAmount) returns()

func (*NetworkWithdrawTransactor) UpgradeTo

func (_NetworkWithdraw *NetworkWithdrawTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*NetworkWithdrawTransactor) UpgradeToAndCall

func (_NetworkWithdraw *NetworkWithdrawTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

func (*NetworkWithdrawTransactor) Withdraw

func (_NetworkWithdraw *NetworkWithdrawTransactor) Withdraw(opts *bind.TransactOpts, _withdrawalIndexList []*big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x983d95ce.

Solidity: function withdraw(uint256[] _withdrawalIndexList) returns()

type NetworkWithdrawTransactorRaw

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

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

func (*NetworkWithdrawTransactorRaw) Transact

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

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

func (*NetworkWithdrawTransactorRaw) Transfer

func (_NetworkWithdraw *NetworkWithdrawTransactorRaw) 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 NetworkWithdrawTransactorSession

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

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

func (*NetworkWithdrawTransactorSession) DepositEth

func (_NetworkWithdraw *NetworkWithdrawTransactorSession) DepositEth() (*types.Transaction, error)

DepositEth is a paid mutator transaction binding the contract method 0x439370b1.

Solidity: function depositEth() payable returns()

func (*NetworkWithdrawTransactorSession) DepositEthAndUpdateTotalMissingAmount

func (_NetworkWithdraw *NetworkWithdrawTransactorSession) DepositEthAndUpdateTotalMissingAmount() (*types.Transaction, error)

DepositEthAndUpdateTotalMissingAmount is a paid mutator transaction binding the contract method 0x9d2f846e.

Solidity: function depositEthAndUpdateTotalMissingAmount() payable returns()

func (*NetworkWithdrawTransactorSession) Distribute

func (_NetworkWithdraw *NetworkWithdrawTransactorSession) Distribute(_distributeType uint8, _dealedHeight *big.Int, _userAmount *big.Int, _nodeAmount *big.Int, _platformAmount *big.Int, _maxClaimableWithdrawIndex *big.Int) (*types.Transaction, error)

Distribute is a paid mutator transaction binding the contract method 0xc980ba89.

Solidity: function distribute(uint8 _distributeType, uint256 _dealedHeight, uint256 _userAmount, uint256 _nodeAmount, uint256 _platformAmount, uint256 _maxClaimableWithdrawIndex) returns()

func (*NetworkWithdrawTransactorSession) Init

func (_NetworkWithdraw *NetworkWithdrawTransactorSession) Init(_lsdTokenAddress common.Address, _userDepositAddress common.Address, _networkProposalAddress common.Address, _networkBalancesAddress common.Address, _feePoolAddress common.Address, _factoryAddress common.Address) (*types.Transaction, error)

Init is a paid mutator transaction binding the contract method 0x99e133f9.

Solidity: function init(address _lsdTokenAddress, address _userDepositAddress, address _networkProposalAddress, address _networkBalancesAddress, address _feePoolAddress, address _factoryAddress) returns()

func (*NetworkWithdrawTransactorSession) NodeClaim

func (_NetworkWithdraw *NetworkWithdrawTransactorSession) NodeClaim(_index *big.Int, _account common.Address, _totalRewardAmount *big.Int, _totalExitDepositAmount *big.Int, _merkleProof [][32]byte, _claimType uint8) (*types.Transaction, error)

NodeClaim is a paid mutator transaction binding the contract method 0xfdf435e9.

Solidity: function nodeClaim(uint256 _index, address _account, uint256 _totalRewardAmount, uint256 _totalExitDepositAmount, bytes32[] _merkleProof, uint8 _claimType) returns()

func (*NetworkWithdrawTransactorSession) NotifyValidatorExit

func (_NetworkWithdraw *NetworkWithdrawTransactorSession) NotifyValidatorExit(_withdrawCycle *big.Int, _ejectedStartCycle *big.Int, _validatorIndexList []*big.Int) (*types.Transaction, error)

NotifyValidatorExit is a paid mutator transaction binding the contract method 0x1e0f4aae.

Solidity: function notifyValidatorExit(uint256 _withdrawCycle, uint256 _ejectedStartCycle, uint256[] _validatorIndexList) returns()

func (*NetworkWithdrawTransactorSession) PlatformClaim

func (_NetworkWithdraw *NetworkWithdrawTransactorSession) PlatformClaim(_recipient common.Address) (*types.Transaction, error)

PlatformClaim is a paid mutator transaction binding the contract method 0xaaf82770.

Solidity: function platformClaim(address _recipient) returns()

func (*NetworkWithdrawTransactorSession) Receive

func (_NetworkWithdraw *NetworkWithdrawTransactorSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*NetworkWithdrawTransactorSession) Reinit

func (_NetworkWithdraw *NetworkWithdrawTransactorSession) Reinit() (*types.Transaction, error)

Reinit is a paid mutator transaction binding the contract method 0xc482ceaf.

Solidity: function reinit() returns()

func (*NetworkWithdrawTransactorSession) SetMerkleRoot

func (_NetworkWithdraw *NetworkWithdrawTransactorSession) SetMerkleRoot(_dealedEpoch *big.Int, _merkleRoot [32]byte, _nodeRewardsFileCid string) (*types.Transaction, error)

SetMerkleRoot is a paid mutator transaction binding the contract method 0x12b81931.

Solidity: function setMerkleRoot(uint256 _dealedEpoch, bytes32 _merkleRoot, string _nodeRewardsFileCid) returns()

func (*NetworkWithdrawTransactorSession) SetNodeClaimEnabled

func (_NetworkWithdraw *NetworkWithdrawTransactorSession) SetNodeClaimEnabled(_value bool) (*types.Transaction, error)

SetNodeClaimEnabled is a paid mutator transaction binding the contract method 0xf1583c08.

Solidity: function setNodeClaimEnabled(bool _value) returns()

func (*NetworkWithdrawTransactorSession) SetPlatformAndNodeCommissionRate

func (_NetworkWithdraw *NetworkWithdrawTransactorSession) SetPlatformAndNodeCommissionRate(_platformCommissionRate *big.Int, _nodeCommissionRate *big.Int) (*types.Transaction, error)

SetPlatformAndNodeCommissionRate is a paid mutator transaction binding the contract method 0x7a1a934d.

Solidity: function setPlatformAndNodeCommissionRate(uint256 _platformCommissionRate, uint256 _nodeCommissionRate) returns()

func (*NetworkWithdrawTransactorSession) SetStackCommissionRate

func (_NetworkWithdraw *NetworkWithdrawTransactorSession) SetStackCommissionRate(_stackCommissionRate *big.Int) (*types.Transaction, error)

SetStackCommissionRate is a paid mutator transaction binding the contract method 0xea8532fb.

Solidity: function setStackCommissionRate(uint256 _stackCommissionRate) returns()

func (*NetworkWithdrawTransactorSession) SetWithdrawCycleSeconds

func (_NetworkWithdraw *NetworkWithdrawTransactorSession) SetWithdrawCycleSeconds(_withdrawCycleSeconds *big.Int) (*types.Transaction, error)

SetWithdrawCycleSeconds is a paid mutator transaction binding the contract method 0x939d1ee4.

Solidity: function setWithdrawCycleSeconds(uint256 _withdrawCycleSeconds) returns()

func (*NetworkWithdrawTransactorSession) Unstake

func (_NetworkWithdraw *NetworkWithdrawTransactorSession) Unstake(_lsdTokenAmount *big.Int) (*types.Transaction, error)

Unstake is a paid mutator transaction binding the contract method 0x2e17de78.

Solidity: function unstake(uint256 _lsdTokenAmount) returns()

func (*NetworkWithdrawTransactorSession) UpgradeTo

func (_NetworkWithdraw *NetworkWithdrawTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)

UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.

Solidity: function upgradeTo(address newImplementation) returns()

func (*NetworkWithdrawTransactorSession) UpgradeToAndCall

func (_NetworkWithdraw *NetworkWithdrawTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)

UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.

Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()

func (*NetworkWithdrawTransactorSession) Withdraw

func (_NetworkWithdraw *NetworkWithdrawTransactorSession) Withdraw(_withdrawalIndexList []*big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x983d95ce.

Solidity: function withdraw(uint256[] _withdrawalIndexList) returns()

type NetworkWithdrawUnstake

type NetworkWithdrawUnstake struct {
	From           common.Address
	LsdTokenAmount *big.Int
	EthAmount      *big.Int
	WithdrawIndex  *big.Int
	Instantly      bool
	Raw            types.Log // Blockchain specific contextual infos
}

NetworkWithdrawUnstake represents a Unstake event raised by the NetworkWithdraw contract.

type NetworkWithdrawUnstakeIterator

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

NetworkWithdrawUnstakeIterator is returned from FilterUnstake and is used to iterate over the raw logs and unpacked data for Unstake events raised by the NetworkWithdraw contract.

func (*NetworkWithdrawUnstakeIterator) Close

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

func (*NetworkWithdrawUnstakeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*NetworkWithdrawUnstakeIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type NetworkWithdrawUpgraded

type NetworkWithdrawUpgraded struct {
	Implementation common.Address
	Raw            types.Log // Blockchain specific contextual infos
}

NetworkWithdrawUpgraded represents a Upgraded event raised by the NetworkWithdraw contract.

type NetworkWithdrawUpgradedIterator

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

NetworkWithdrawUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the NetworkWithdraw contract.

func (*NetworkWithdrawUpgradedIterator) Close

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

func (*NetworkWithdrawUpgradedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*NetworkWithdrawUpgradedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type NetworkWithdrawWithdraw

type NetworkWithdrawWithdraw struct {
	From              common.Address
	WithdrawIndexList []*big.Int
	Raw               types.Log // Blockchain specific contextual infos
}

NetworkWithdrawWithdraw represents a Withdraw event raised by the NetworkWithdraw contract.

type NetworkWithdrawWithdrawIterator

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

NetworkWithdrawWithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the NetworkWithdraw contract.

func (*NetworkWithdrawWithdrawIterator) Close

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

func (*NetworkWithdrawWithdrawIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*NetworkWithdrawWithdrawIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

Jump to

Keyboard shortcuts

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