@rabby-wallet/rabby-api 0.9.39 → 0.9.40-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types.d.ts +12 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -803,6 +803,18 @@ export interface PortfolioItem {
|
|
|
803
803
|
};
|
|
804
804
|
pool: PoolItem;
|
|
805
805
|
position_index: string;
|
|
806
|
+
withdraw_actions?: WithdrawAction[];
|
|
807
|
+
}
|
|
808
|
+
export interface WithdrawAction {
|
|
809
|
+
type: 'withdraw' | 'claim' | 'queue';
|
|
810
|
+
contract_id: string;
|
|
811
|
+
func: string;
|
|
812
|
+
params: string[];
|
|
813
|
+
need_approve: {
|
|
814
|
+
token_id?: string;
|
|
815
|
+
to?: string;
|
|
816
|
+
raw_amount?: string;
|
|
817
|
+
};
|
|
806
818
|
}
|
|
807
819
|
export interface Protocol {
|
|
808
820
|
chain: string;
|