Documentation ¶
Index ¶
- func AlreadyLiquidated(sp *stader.SDUtilityPoolContractManager, address common.Address) (bool, error)
- func EstimateRepay(sp *stader.SDUtilityPoolContractManager, utilityAmount *big.Int, ...) (stader.GasInfo, error)
- func EstimateRepayFullAmount(sp *stader.SDUtilityPoolContractManager, opts *bind.TransactOpts) (stader.GasInfo, error)
- func EstimateUtilize(sp *stader.SDUtilityPoolContractManager, utilityAmount *big.Int, ...) (stader.GasInfo, error)
- func GetAccumulatedProtocolFee(sp *stader.SDUtilityPoolContractManager, opts *bind.CallOpts) (*big.Int, error)
- func GetPoolAvailableSDBalance(sp *stader.SDUtilityPoolContractManager, opts *bind.CallOpts) (*big.Int, error)
- func GetSdRequestedForWithdraw(sp *stader.SDUtilityPoolContractManager, opts *bind.CallOpts) (*big.Int, error)
- func GetTotalTVL(sp *stader.SDUtilityPoolContractManager, opts *bind.CallOpts) (*big.Int, error)
- func GetTotalUtilized(sp *stader.SDUtilityPoolContractManager, opts *bind.CallOpts) (*big.Int, error)
- func GetUserData(sp *stader.SDUtilityPoolContractManager, address common.Address, ...) (*contracts.UserData, error)
- func GetUtilityPoolBalance(sp *stader.SDUtilityPoolContractManager, opts *bind.CallOpts) (*big.Int, error)
- func GetUtilizationRatePercent(sp *stader.SDUtilityPoolContractManager, opts *bind.CallOpts) (*big.Float, error)
- func GetUtilizerLatestBalance(sp *stader.SDUtilityPoolContractManager, address common.Address, ...) (*big.Int, error)
- func LiquidationIndexByOperator(sp *stader.SDUtilityPoolContractManager, address common.Address, ...) (*big.Int, error)
- func Repay(sp *stader.SDUtilityPoolContractManager, utilityAmount *big.Int, ...) (*types.Transaction, error)
- func RepayFullAmount(sp *stader.SDUtilityPoolContractManager, opts *bind.TransactOpts) (*types.Transaction, error)
- func SDMaxUtilizableAmount(sp *stader.SDUtilityPoolContractManager, ...) (*big.Int, error)
- func Utilize(sp *stader.SDUtilityPoolContractManager, utilityAmount *big.Int, ...) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AlreadyLiquidated ¶
func EstimateRepay ¶
func EstimateRepay(sp *stader.SDUtilityPoolContractManager, utilityAmount *big.Int, opts *bind.TransactOpts) (stader.GasInfo, error)
func EstimateRepayFullAmount ¶
func EstimateRepayFullAmount(sp *stader.SDUtilityPoolContractManager, opts *bind.TransactOpts) (stader.GasInfo, error)
func EstimateUtilize ¶
func EstimateUtilize(sp *stader.SDUtilityPoolContractManager, utilityAmount *big.Int, opts *bind.TransactOpts) (stader.GasInfo, error)
Estimate the gas of Utilize
func GetTotalTVL ¶
func GetTotalUtilized ¶
func GetUserData ¶
func GetUtilityPoolBalance ¶
func Repay ¶
func Repay(sp *stader.SDUtilityPoolContractManager, utilityAmount *big.Int, opts *bind.TransactOpts) (*types.Transaction, error)
func RepayFullAmount ¶
func RepayFullAmount(sp *stader.SDUtilityPoolContractManager, opts *bind.TransactOpts) (*types.Transaction, error)
func SDMaxUtilizableAmount ¶
func Utilize ¶
func Utilize(sp *stader.SDUtilityPoolContractManager, utilityAmount *big.Int, opts *bind.TransactOpts) (*types.Transaction, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.