v3.8.2: feat(#310) add set collateral coin endpoints

This commit is contained in:
tiagosiebler
2024-01-25 10:44:24 +00:00
parent d86db861e5
commit 9ba44d9477
5 changed files with 49 additions and 3 deletions

View File

@@ -38,3 +38,12 @@ export interface MMPModifyParamsV5 {
qtyLimit: string;
deltaLimit: string;
}
export interface RepayLiabilityParamsV5 {
coin?: string;
}
export interface SetCollateralCoinParamsV5 {
coin: string;
collateralSwitch: 'ON' | 'OFF';
}

View File

@@ -120,3 +120,8 @@ export interface MMPStateV5 {
mmpFrozenUntil: string;
mmpFrozen: boolean;
}
export interface RepayLiabilityResultV5 {
coin: string;
repaymentQty: string;
}