Skip to main content

StorageFundV1

type StorageFundV1

A typed view of the `0x3::storage_fund::StorageFundV1` embedded in the system state.

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

func LiftFromExternalStorageFundV1

func LiftFromExternalStorageFundV1(handle uint64) *StorageFundV1

func (*StorageFundV1) DebugString

func (_self *StorageFundV1) DebugString() string

func (*StorageFundV1) Destroy

func (object *StorageFundV1) Destroy()

func (*StorageFundV1) NonRefundableBalance

func (_self *StorageFundV1) NonRefundableBalance() uint64

The non-refundable portion of the storage fund, in nanos.

func (*StorageFundV1) TotalObjectStorageRebates

func (_self *StorageFundV1) TotalObjectStorageRebates() uint64

The sum of the storage rebates of all live objects, in nanos.