Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseFee ¶
func NewBaseFee ¶
func NewBaseFee(client *redis.Client) BaseFee
type FeeToken ¶
type FeeToken interface { Get(order *types.Order) (types.AssetData, error) Set(types.AssetData) error }
func NewRpcFeeToken ¶
func StaticFeeToken ¶
type TokenProxy ¶
type TokenProxy interface { Get(order *types.Order) (*types.Address, error) GetById(order *types.Order, proxyID [4]byte) (*types.Address, error) Set(*types.Address) error }
func NewRpcTokenProxy ¶
func NewRpcTokenProxy(rpcURL string) (TokenProxy, error)
func StaticTokenProxy ¶
func StaticTokenProxy(address *types.Address) TokenProxy
Click to show internal directories.
Click to hide internal directories.