You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

26 lines
673 B

package settlers
type BalanceResponse struct {
Amount uint64 `json:"amount"`
}
type AddRequest struct {
CombinedToken string `json:"combined_token"`
Amount uint64 `json:"amount"`
}
type SubtractRequest struct {
CombinedToken string `json:"combined_token"`
Amount uint64 `json:"amount"`
}
type EnableRequest struct {
CombinedToken string `json:"combined_token"`
CombinedDepositOnlyToken string `json:"combined_deposit_only_token"`
AdminToken string `json:"admin_token"`
}
type DepositRequest struct {
CombinedDepositOnlyToken string `json:"combined_deposit_only_token"`
Amount uint64 `json:"amount"`
}