v3.8.2: feat(#310) add set collateral coin endpoints
This commit is contained in:
@@ -38,3 +38,12 @@ export interface MMPModifyParamsV5 {
|
||||
qtyLimit: string;
|
||||
deltaLimit: string;
|
||||
}
|
||||
|
||||
export interface RepayLiabilityParamsV5 {
|
||||
coin?: string;
|
||||
}
|
||||
|
||||
export interface SetCollateralCoinParamsV5 {
|
||||
coin: string;
|
||||
collateralSwitch: 'ON' | 'OFF';
|
||||
}
|
||||
|
||||
@@ -120,3 +120,8 @@ export interface MMPStateV5 {
|
||||
mmpFrozenUntil: string;
|
||||
mmpFrozen: boolean;
|
||||
}
|
||||
|
||||
export interface RepayLiabilityResultV5 {
|
||||
coin: string;
|
||||
repaymentQty: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user