Documentation ¶
Index ¶
- func ConvertEthToSd(sdc *stader.SdCollateralContractManager, ethAmount *big.Int, ...) (*big.Int, error)
- func ConvertSdToEth(sdc *stader.SdCollateralContractManager, sdAmount *big.Int, ...) (*big.Int, error)
- func DepositSdAsCollateral(sdc *stader.SdCollateralContractManager, amount *big.Int, ...) (*types.Transaction, error)
- func EstimateDepositSdAsCollateral(sdc *stader.SdCollateralContractManager, amount *big.Int, ...) (stader.GasInfo, error)
- func EstimateWithdrawSd(sdc *stader.SdCollateralContractManager, amount *big.Int, ...) (stader.GasInfo, error)
- func GetMaxValidatorSpawnable(sdc *stader.SdCollateralContractManager, sdAmount *big.Int, poolType uint8, ...) (*big.Int, error)
- func GetOperatorSdBalance(sdc *stader.SdCollateralContractManager, operatorAddress common.Address, ...) (*big.Int, error)
- func GetOperatorUtilizedSDBalance(sdc *stader.SdCollateralContractManager, operatorAddress common.Address, ...) (*big.Int, error)
- func GetPoolThreshold(sdc *stader.SdCollateralContractManager, poolType uint8, opts *bind.CallOpts) (types2.PoolThresholdInfo, error)
- func HasEnoughSdCollateral(sdc *stader.SdCollateralContractManager, operatorAddress common.Address, ...) (bool, error)
- func MinimumSDToBond(sdc *stader.SdCollateralContractManager, poolID uint8, numValidators *big.Int, ...) (*big.Int, error)
- func RewardEligibleSD(sdc *stader.SdCollateralContractManager, poolID uint8, numValidators *big.Int, ...) (*big.Int, error)
- func WithdrawSd(sdc *stader.SdCollateralContractManager, amount *big.Int, ...) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertEthToSd ¶
func ConvertSdToEth ¶
func DepositSdAsCollateral ¶
func DepositSdAsCollateral(sdc *stader.SdCollateralContractManager, amount *big.Int, opts *bind.TransactOpts) (*types.Transaction, error)
func EstimateDepositSdAsCollateral ¶
func EstimateDepositSdAsCollateral(sdc *stader.SdCollateralContractManager, amount *big.Int, opts *bind.TransactOpts) (stader.GasInfo, error)
func EstimateWithdrawSd ¶
func EstimateWithdrawSd(sdc *stader.SdCollateralContractManager, amount *big.Int, opts *bind.TransactOpts) (stader.GasInfo, error)
func GetOperatorSdBalance ¶
func GetOperatorUtilizedSDBalance ¶ added in v1.5.0
func GetPoolThreshold ¶
func GetPoolThreshold(sdc *stader.SdCollateralContractManager, poolType uint8, opts *bind.CallOpts) (types2.PoolThresholdInfo, error)
func HasEnoughSdCollateral ¶
func MinimumSDToBond ¶ added in v1.5.0
func RewardEligibleSD ¶ added in v1.5.0
func WithdrawSd ¶
func WithdrawSd(sdc *stader.SdCollateralContractManager, amount *big.Int, opts *bind.TransactOpts) (*types.Transaction, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.