def new
import bend-kit-resources@0.1.0.0/resources.bend as Resourcesimport Base
30# An empty pool of `capacity` units.
31def new(owner: Nat, capacity: Nat) -> Pool:
32 Pool{owner, capacity, 0n}
import bend-kit-resources@0.1.0.0/resources.bend as Resourcesimport Base
30# An empty pool of `capacity` units.
31def new(owner: Nat, capacity: Nat) -> Pool:
32 Pool{owner, capacity, 0n}