Skip to content Search Apps Documentation Source Content Run Reset Eval Playground File Folder Download Copy Actions State String Boolean Number Struct Map Slice Pointer Function Closure Reference Nil Package Type Interface Unknown

instance.gno

0.32 Kb · 12 lines
 1package impl
 2
 3import plimit "gno.land/p/gnoswap/order/limit/v0"
 4
 5type limitOrderImpl struct {
 6	store plimit.ILimitOrderStore
 7}
 8
 9// NewLimitOrderImpl binds the implementation to the proxy-owned store.
10func NewLimitOrderImpl(orderStore plimit.ILimitOrderStore) plimit.ILimitOrder {
11	return &limitOrderImpl{store: orderStore}
12}