Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BigMapV1 ¶
type BigMapV1 struct { Prim string `json:"prim"` Args json.RawMessage `json:"args"` }
BigMapV1 represents a big_map for ExchangeContractV1
type ExchangeContractV1 ¶
type ExchangeContractV1 struct { Prim string `json:"prim"` Args []struct { Int int `json:"int,string,omitempty"` Prim string `json:"prim,omitempty"` Args []struct { Prim string `json:"prim"` Args []struct { Prim string `json:"prim"` Args []struct { Prim string `json:"prim,omitempty"` Int int `json:"int,string,omitempty"` } `json:"args,omitempty"` } `json:"args"` } `json:"args,omitempty"` } `json:"args"` }
ExchangeContractV1 represents a liquidity pool contract
storage (pair (big_map %accounts (address :owner)
(pair (nat :balance) (map (address :spender) (nat :allowance)))) (pair (pair (bool :selfIsUpdatingTokenPool) (pair (bool :freezeBaker) (nat :lqtTotal))) (pair (pair (address :manager) (address :tokenAddress)) (pair (nat :tokenPool) (mutez :xtzPool)))));
type IFace ¶
type IFace interface {
Execute() (tzkt.RewardsSplit, error)
}
IFace for testing things that consume Payout
type Payout ¶
type Payout struct {
// contains filtered or unexported fields
}
Payout represents a payout and payout operations.
Click to show internal directories.
Click to hide internal directories.