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.29 Kb · 14 lines
 1package impl
 2
 3import (
 4	pdca "gno.land/p/gnoswap/order/dca/v0"
 5)
 6
 7type dcaOrderImpl struct {
 8	store pdca.IDCAOrderStore
 9}
10
11// NewDCAOrderImpl creates the implementation over the shared store.
12func NewDCAOrderImpl(dcaStore pdca.IDCAOrderStore) pdca.IDCAOrder {
13	return &dcaOrderImpl{store: dcaStore}
14}