Module coupon

Source

Structs§

CouponBuyLibfunc
Libfunc for buying a coupon for a function.
CouponConcreteType
Concrete type information for Coupon<function>.
CouponRefundLibfunc
Libfunc for getting a refund for an unused coupon. The refund is the cost of the function and it is added back to the gas wallet.
CouponType
Coupon type Coupon<function> (function::Coupon) which represents that the cost of a function was paid, without calling the function yet.

Enums§

CouponConcreteLibfunc
CouponLibfunc

Functions§

coupon_ty
Returns the type Coupon<func>.