@chainflip/rpc 1.8.10 → 1.8.12
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/common.cjs +3 -1
- package/dist/common.d.cts +225 -16
- package/dist/common.d.ts +225 -16
- package/dist/common.mjs +4 -2
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/parsers.cjs +13 -3
- package/dist/parsers.d.cts +385 -17
- package/dist/parsers.d.ts +385 -17
- package/dist/parsers.mjs +12 -2
- package/dist/types.d.cts +3 -1
- package/dist/types.d.ts +3 -1
- package/package.json +2 -2
package/dist/parsers.d.cts
CHANGED
|
@@ -11775,15 +11775,154 @@ declare const requestSwapParameterEncoding: z.ZodDiscriminatedUnion<"chain", [z.
|
|
|
11775
11775
|
declare const unregistered: z.ZodObject<{
|
|
11776
11776
|
role: z.ZodLiteral<"unregistered">;
|
|
11777
11777
|
flip_balance: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
11778
|
+
asset_balances: z.ZodObject<{
|
|
11779
|
+
Bitcoin: z.ZodObject<{
|
|
11780
|
+
BTC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
11781
|
+
}, "strip", z.ZodTypeAny, {
|
|
11782
|
+
BTC: bigint;
|
|
11783
|
+
}, {
|
|
11784
|
+
BTC: string | number;
|
|
11785
|
+
}>;
|
|
11786
|
+
Ethereum: z.ZodObject<{
|
|
11787
|
+
ETH: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
11788
|
+
USDC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
11789
|
+
FLIP: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
11790
|
+
USDT: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
11791
|
+
}, "strip", z.ZodTypeAny, {
|
|
11792
|
+
ETH: bigint;
|
|
11793
|
+
USDC: bigint;
|
|
11794
|
+
FLIP: bigint;
|
|
11795
|
+
USDT: bigint;
|
|
11796
|
+
}, {
|
|
11797
|
+
ETH: string | number;
|
|
11798
|
+
USDC: string | number;
|
|
11799
|
+
FLIP: string | number;
|
|
11800
|
+
USDT: string | number;
|
|
11801
|
+
}>;
|
|
11802
|
+
Polkadot: z.ZodObject<{
|
|
11803
|
+
DOT: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
11804
|
+
}, "strip", z.ZodTypeAny, {
|
|
11805
|
+
DOT: bigint;
|
|
11806
|
+
}, {
|
|
11807
|
+
DOT: string | number;
|
|
11808
|
+
}>;
|
|
11809
|
+
Arbitrum: z.ZodObject<{
|
|
11810
|
+
ETH: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
11811
|
+
USDC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
11812
|
+
}, "strip", z.ZodTypeAny, {
|
|
11813
|
+
ETH: bigint;
|
|
11814
|
+
USDC: bigint;
|
|
11815
|
+
}, {
|
|
11816
|
+
ETH: string | number;
|
|
11817
|
+
USDC: string | number;
|
|
11818
|
+
}>;
|
|
11819
|
+
Solana: z.ZodObject<{
|
|
11820
|
+
SOL: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
11821
|
+
USDC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
11822
|
+
}, "strip", z.ZodTypeAny, {
|
|
11823
|
+
USDC: bigint;
|
|
11824
|
+
SOL: bigint;
|
|
11825
|
+
}, {
|
|
11826
|
+
USDC: string | number;
|
|
11827
|
+
SOL: string | number;
|
|
11828
|
+
}>;
|
|
11829
|
+
}, "strip", z.ZodTypeAny, {
|
|
11830
|
+
Bitcoin: {
|
|
11831
|
+
BTC: bigint;
|
|
11832
|
+
};
|
|
11833
|
+
Ethereum: {
|
|
11834
|
+
ETH: bigint;
|
|
11835
|
+
USDC: bigint;
|
|
11836
|
+
FLIP: bigint;
|
|
11837
|
+
USDT: bigint;
|
|
11838
|
+
};
|
|
11839
|
+
Arbitrum: {
|
|
11840
|
+
ETH: bigint;
|
|
11841
|
+
USDC: bigint;
|
|
11842
|
+
};
|
|
11843
|
+
Solana: {
|
|
11844
|
+
USDC: bigint;
|
|
11845
|
+
SOL: bigint;
|
|
11846
|
+
};
|
|
11847
|
+
Polkadot: {
|
|
11848
|
+
DOT: bigint;
|
|
11849
|
+
};
|
|
11850
|
+
}, {
|
|
11851
|
+
Bitcoin: {
|
|
11852
|
+
BTC: string | number;
|
|
11853
|
+
};
|
|
11854
|
+
Ethereum: {
|
|
11855
|
+
ETH: string | number;
|
|
11856
|
+
USDC: string | number;
|
|
11857
|
+
FLIP: string | number;
|
|
11858
|
+
USDT: string | number;
|
|
11859
|
+
};
|
|
11860
|
+
Arbitrum: {
|
|
11861
|
+
ETH: string | number;
|
|
11862
|
+
USDC: string | number;
|
|
11863
|
+
};
|
|
11864
|
+
Solana: {
|
|
11865
|
+
USDC: string | number;
|
|
11866
|
+
SOL: string | number;
|
|
11867
|
+
};
|
|
11868
|
+
Polkadot: {
|
|
11869
|
+
DOT: string | number;
|
|
11870
|
+
};
|
|
11871
|
+
}>;
|
|
11778
11872
|
}, "strip", z.ZodTypeAny, {
|
|
11779
11873
|
role: "unregistered";
|
|
11780
11874
|
flip_balance: bigint;
|
|
11875
|
+
asset_balances: {
|
|
11876
|
+
Bitcoin: {
|
|
11877
|
+
BTC: bigint;
|
|
11878
|
+
};
|
|
11879
|
+
Ethereum: {
|
|
11880
|
+
ETH: bigint;
|
|
11881
|
+
USDC: bigint;
|
|
11882
|
+
FLIP: bigint;
|
|
11883
|
+
USDT: bigint;
|
|
11884
|
+
};
|
|
11885
|
+
Arbitrum: {
|
|
11886
|
+
ETH: bigint;
|
|
11887
|
+
USDC: bigint;
|
|
11888
|
+
};
|
|
11889
|
+
Solana: {
|
|
11890
|
+
USDC: bigint;
|
|
11891
|
+
SOL: bigint;
|
|
11892
|
+
};
|
|
11893
|
+
Polkadot: {
|
|
11894
|
+
DOT: bigint;
|
|
11895
|
+
};
|
|
11896
|
+
};
|
|
11781
11897
|
}, {
|
|
11782
11898
|
role: "unregistered";
|
|
11783
11899
|
flip_balance: string | number;
|
|
11900
|
+
asset_balances: {
|
|
11901
|
+
Bitcoin: {
|
|
11902
|
+
BTC: string | number;
|
|
11903
|
+
};
|
|
11904
|
+
Ethereum: {
|
|
11905
|
+
ETH: string | number;
|
|
11906
|
+
USDC: string | number;
|
|
11907
|
+
FLIP: string | number;
|
|
11908
|
+
USDT: string | number;
|
|
11909
|
+
};
|
|
11910
|
+
Arbitrum: {
|
|
11911
|
+
ETH: string | number;
|
|
11912
|
+
USDC: string | number;
|
|
11913
|
+
};
|
|
11914
|
+
Solana: {
|
|
11915
|
+
USDC: string | number;
|
|
11916
|
+
SOL: string | number;
|
|
11917
|
+
};
|
|
11918
|
+
Polkadot: {
|
|
11919
|
+
DOT: string | number;
|
|
11920
|
+
};
|
|
11921
|
+
};
|
|
11784
11922
|
}>;
|
|
11785
11923
|
declare const broker: z.ZodObject<{
|
|
11786
11924
|
role: z.ZodLiteral<"broker">;
|
|
11925
|
+
bond: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
11787
11926
|
flip_balance: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
11788
11927
|
earned_fees: z.ZodObject<{
|
|
11789
11928
|
Bitcoin: z.ZodObject<{
|
|
@@ -11880,9 +12019,23 @@ declare const broker: z.ZodObject<{
|
|
|
11880
12019
|
};
|
|
11881
12020
|
}>;
|
|
11882
12021
|
btc_vault_deposit_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12022
|
+
affiliates: z.ZodArray<z.ZodObject<{
|
|
12023
|
+
account_id: z.ZodString;
|
|
12024
|
+
short_id: z.ZodNumber;
|
|
12025
|
+
withdrawal_address: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
12026
|
+
}, "strip", z.ZodTypeAny, {
|
|
12027
|
+
account_id: string;
|
|
12028
|
+
short_id: number;
|
|
12029
|
+
withdrawal_address: `0x${string}`;
|
|
12030
|
+
}, {
|
|
12031
|
+
account_id: string;
|
|
12032
|
+
short_id: number;
|
|
12033
|
+
withdrawal_address: string;
|
|
12034
|
+
}>, "many">;
|
|
11883
12035
|
}, "strip", z.ZodTypeAny, {
|
|
11884
12036
|
role: "broker";
|
|
11885
12037
|
flip_balance: bigint;
|
|
12038
|
+
bond: bigint;
|
|
11886
12039
|
earned_fees: {
|
|
11887
12040
|
Bitcoin: {
|
|
11888
12041
|
BTC: bigint;
|
|
@@ -11905,10 +12058,16 @@ declare const broker: z.ZodObject<{
|
|
|
11905
12058
|
DOT: bigint;
|
|
11906
12059
|
};
|
|
11907
12060
|
};
|
|
12061
|
+
affiliates: {
|
|
12062
|
+
account_id: string;
|
|
12063
|
+
short_id: number;
|
|
12064
|
+
withdrawal_address: `0x${string}`;
|
|
12065
|
+
}[];
|
|
11908
12066
|
btc_vault_deposit_address?: string | null | undefined;
|
|
11909
12067
|
}, {
|
|
11910
12068
|
role: "broker";
|
|
11911
12069
|
flip_balance: string | number;
|
|
12070
|
+
bond: string | number;
|
|
11912
12071
|
earned_fees: {
|
|
11913
12072
|
Bitcoin: {
|
|
11914
12073
|
BTC: string | number;
|
|
@@ -11931,6 +12090,11 @@ declare const broker: z.ZodObject<{
|
|
|
11931
12090
|
DOT: string | number;
|
|
11932
12091
|
};
|
|
11933
12092
|
};
|
|
12093
|
+
affiliates: {
|
|
12094
|
+
account_id: string;
|
|
12095
|
+
short_id: number;
|
|
12096
|
+
withdrawal_address: string;
|
|
12097
|
+
}[];
|
|
11934
12098
|
btc_vault_deposit_address?: string | null | undefined;
|
|
11935
12099
|
}>;
|
|
11936
12100
|
declare const liquidityProvider: z.ZodObject<{
|
|
@@ -12979,14 +13143,153 @@ declare const validator: z.ZodObject<{
|
|
|
12979
13143
|
declare const cfAccountInfo: z.ZodDiscriminatedUnion<"role", [z.ZodObject<{
|
|
12980
13144
|
role: z.ZodLiteral<"unregistered">;
|
|
12981
13145
|
flip_balance: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
13146
|
+
asset_balances: z.ZodObject<{
|
|
13147
|
+
Bitcoin: z.ZodObject<{
|
|
13148
|
+
BTC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
13149
|
+
}, "strip", z.ZodTypeAny, {
|
|
13150
|
+
BTC: bigint;
|
|
13151
|
+
}, {
|
|
13152
|
+
BTC: string | number;
|
|
13153
|
+
}>;
|
|
13154
|
+
Ethereum: z.ZodObject<{
|
|
13155
|
+
ETH: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
13156
|
+
USDC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
13157
|
+
FLIP: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
13158
|
+
USDT: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
13159
|
+
}, "strip", z.ZodTypeAny, {
|
|
13160
|
+
ETH: bigint;
|
|
13161
|
+
USDC: bigint;
|
|
13162
|
+
FLIP: bigint;
|
|
13163
|
+
USDT: bigint;
|
|
13164
|
+
}, {
|
|
13165
|
+
ETH: string | number;
|
|
13166
|
+
USDC: string | number;
|
|
13167
|
+
FLIP: string | number;
|
|
13168
|
+
USDT: string | number;
|
|
13169
|
+
}>;
|
|
13170
|
+
Polkadot: z.ZodObject<{
|
|
13171
|
+
DOT: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
13172
|
+
}, "strip", z.ZodTypeAny, {
|
|
13173
|
+
DOT: bigint;
|
|
13174
|
+
}, {
|
|
13175
|
+
DOT: string | number;
|
|
13176
|
+
}>;
|
|
13177
|
+
Arbitrum: z.ZodObject<{
|
|
13178
|
+
ETH: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
13179
|
+
USDC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
13180
|
+
}, "strip", z.ZodTypeAny, {
|
|
13181
|
+
ETH: bigint;
|
|
13182
|
+
USDC: bigint;
|
|
13183
|
+
}, {
|
|
13184
|
+
ETH: string | number;
|
|
13185
|
+
USDC: string | number;
|
|
13186
|
+
}>;
|
|
13187
|
+
Solana: z.ZodObject<{
|
|
13188
|
+
SOL: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
13189
|
+
USDC: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
13190
|
+
}, "strip", z.ZodTypeAny, {
|
|
13191
|
+
USDC: bigint;
|
|
13192
|
+
SOL: bigint;
|
|
13193
|
+
}, {
|
|
13194
|
+
USDC: string | number;
|
|
13195
|
+
SOL: string | number;
|
|
13196
|
+
}>;
|
|
13197
|
+
}, "strip", z.ZodTypeAny, {
|
|
13198
|
+
Bitcoin: {
|
|
13199
|
+
BTC: bigint;
|
|
13200
|
+
};
|
|
13201
|
+
Ethereum: {
|
|
13202
|
+
ETH: bigint;
|
|
13203
|
+
USDC: bigint;
|
|
13204
|
+
FLIP: bigint;
|
|
13205
|
+
USDT: bigint;
|
|
13206
|
+
};
|
|
13207
|
+
Arbitrum: {
|
|
13208
|
+
ETH: bigint;
|
|
13209
|
+
USDC: bigint;
|
|
13210
|
+
};
|
|
13211
|
+
Solana: {
|
|
13212
|
+
USDC: bigint;
|
|
13213
|
+
SOL: bigint;
|
|
13214
|
+
};
|
|
13215
|
+
Polkadot: {
|
|
13216
|
+
DOT: bigint;
|
|
13217
|
+
};
|
|
13218
|
+
}, {
|
|
13219
|
+
Bitcoin: {
|
|
13220
|
+
BTC: string | number;
|
|
13221
|
+
};
|
|
13222
|
+
Ethereum: {
|
|
13223
|
+
ETH: string | number;
|
|
13224
|
+
USDC: string | number;
|
|
13225
|
+
FLIP: string | number;
|
|
13226
|
+
USDT: string | number;
|
|
13227
|
+
};
|
|
13228
|
+
Arbitrum: {
|
|
13229
|
+
ETH: string | number;
|
|
13230
|
+
USDC: string | number;
|
|
13231
|
+
};
|
|
13232
|
+
Solana: {
|
|
13233
|
+
USDC: string | number;
|
|
13234
|
+
SOL: string | number;
|
|
13235
|
+
};
|
|
13236
|
+
Polkadot: {
|
|
13237
|
+
DOT: string | number;
|
|
13238
|
+
};
|
|
13239
|
+
}>;
|
|
12982
13240
|
}, "strip", z.ZodTypeAny, {
|
|
12983
13241
|
role: "unregistered";
|
|
12984
13242
|
flip_balance: bigint;
|
|
13243
|
+
asset_balances: {
|
|
13244
|
+
Bitcoin: {
|
|
13245
|
+
BTC: bigint;
|
|
13246
|
+
};
|
|
13247
|
+
Ethereum: {
|
|
13248
|
+
ETH: bigint;
|
|
13249
|
+
USDC: bigint;
|
|
13250
|
+
FLIP: bigint;
|
|
13251
|
+
USDT: bigint;
|
|
13252
|
+
};
|
|
13253
|
+
Arbitrum: {
|
|
13254
|
+
ETH: bigint;
|
|
13255
|
+
USDC: bigint;
|
|
13256
|
+
};
|
|
13257
|
+
Solana: {
|
|
13258
|
+
USDC: bigint;
|
|
13259
|
+
SOL: bigint;
|
|
13260
|
+
};
|
|
13261
|
+
Polkadot: {
|
|
13262
|
+
DOT: bigint;
|
|
13263
|
+
};
|
|
13264
|
+
};
|
|
12985
13265
|
}, {
|
|
12986
13266
|
role: "unregistered";
|
|
12987
13267
|
flip_balance: string | number;
|
|
13268
|
+
asset_balances: {
|
|
13269
|
+
Bitcoin: {
|
|
13270
|
+
BTC: string | number;
|
|
13271
|
+
};
|
|
13272
|
+
Ethereum: {
|
|
13273
|
+
ETH: string | number;
|
|
13274
|
+
USDC: string | number;
|
|
13275
|
+
FLIP: string | number;
|
|
13276
|
+
USDT: string | number;
|
|
13277
|
+
};
|
|
13278
|
+
Arbitrum: {
|
|
13279
|
+
ETH: string | number;
|
|
13280
|
+
USDC: string | number;
|
|
13281
|
+
};
|
|
13282
|
+
Solana: {
|
|
13283
|
+
USDC: string | number;
|
|
13284
|
+
SOL: string | number;
|
|
13285
|
+
};
|
|
13286
|
+
Polkadot: {
|
|
13287
|
+
DOT: string | number;
|
|
13288
|
+
};
|
|
13289
|
+
};
|
|
12988
13290
|
}>, z.ZodObject<{
|
|
12989
13291
|
role: z.ZodLiteral<"broker">;
|
|
13292
|
+
bond: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
12990
13293
|
flip_balance: z.ZodUnion<[z.ZodEffects<z.ZodNumber, bigint, number>, z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>]>;
|
|
12991
13294
|
earned_fees: z.ZodObject<{
|
|
12992
13295
|
Bitcoin: z.ZodObject<{
|
|
@@ -13083,9 +13386,23 @@ declare const cfAccountInfo: z.ZodDiscriminatedUnion<"role", [z.ZodObject<{
|
|
|
13083
13386
|
};
|
|
13084
13387
|
}>;
|
|
13085
13388
|
btc_vault_deposit_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13389
|
+
affiliates: z.ZodArray<z.ZodObject<{
|
|
13390
|
+
account_id: z.ZodString;
|
|
13391
|
+
short_id: z.ZodNumber;
|
|
13392
|
+
withdrawal_address: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
13393
|
+
}, "strip", z.ZodTypeAny, {
|
|
13394
|
+
account_id: string;
|
|
13395
|
+
short_id: number;
|
|
13396
|
+
withdrawal_address: `0x${string}`;
|
|
13397
|
+
}, {
|
|
13398
|
+
account_id: string;
|
|
13399
|
+
short_id: number;
|
|
13400
|
+
withdrawal_address: string;
|
|
13401
|
+
}>, "many">;
|
|
13086
13402
|
}, "strip", z.ZodTypeAny, {
|
|
13087
13403
|
role: "broker";
|
|
13088
13404
|
flip_balance: bigint;
|
|
13405
|
+
bond: bigint;
|
|
13089
13406
|
earned_fees: {
|
|
13090
13407
|
Bitcoin: {
|
|
13091
13408
|
BTC: bigint;
|
|
@@ -13108,10 +13425,16 @@ declare const cfAccountInfo: z.ZodDiscriminatedUnion<"role", [z.ZodObject<{
|
|
|
13108
13425
|
DOT: bigint;
|
|
13109
13426
|
};
|
|
13110
13427
|
};
|
|
13428
|
+
affiliates: {
|
|
13429
|
+
account_id: string;
|
|
13430
|
+
short_id: number;
|
|
13431
|
+
withdrawal_address: `0x${string}`;
|
|
13432
|
+
}[];
|
|
13111
13433
|
btc_vault_deposit_address?: string | null | undefined;
|
|
13112
13434
|
}, {
|
|
13113
13435
|
role: "broker";
|
|
13114
13436
|
flip_balance: string | number;
|
|
13437
|
+
bond: string | number;
|
|
13115
13438
|
earned_fees: {
|
|
13116
13439
|
Bitcoin: {
|
|
13117
13440
|
BTC: string | number;
|
|
@@ -13134,6 +13457,11 @@ declare const cfAccountInfo: z.ZodDiscriminatedUnion<"role", [z.ZodObject<{
|
|
|
13134
13457
|
DOT: string | number;
|
|
13135
13458
|
};
|
|
13136
13459
|
};
|
|
13460
|
+
affiliates: {
|
|
13461
|
+
account_id: string;
|
|
13462
|
+
short_id: number;
|
|
13463
|
+
withdrawal_address: string;
|
|
13464
|
+
}[];
|
|
13137
13465
|
btc_vault_deposit_address?: string | null | undefined;
|
|
13138
13466
|
}>, z.ZodObject<{
|
|
13139
13467
|
role: z.ZodLiteral<"liquidity_provider">;
|
|
@@ -14998,11 +15326,11 @@ declare const cfBoostPoolDetails: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.Zod
|
|
|
14998
15326
|
account_id: z.ZodString;
|
|
14999
15327
|
amount: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
15000
15328
|
}, "strip", z.ZodTypeAny, {
|
|
15001
|
-
amount: bigint;
|
|
15002
15329
|
account_id: string;
|
|
15330
|
+
amount: bigint;
|
|
15003
15331
|
}, {
|
|
15004
|
-
amount: string;
|
|
15005
15332
|
account_id: string;
|
|
15333
|
+
amount: string;
|
|
15006
15334
|
}>, "many">;
|
|
15007
15335
|
deposits_pending_finalization: z.ZodArray<z.ZodObject<{
|
|
15008
15336
|
deposit_id: z.ZodEffects<z.ZodNumber, bigint, number>;
|
|
@@ -15010,23 +15338,23 @@ declare const cfBoostPoolDetails: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.Zod
|
|
|
15010
15338
|
account_id: z.ZodString;
|
|
15011
15339
|
amount: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
15012
15340
|
}, "strip", z.ZodTypeAny, {
|
|
15013
|
-
amount: bigint;
|
|
15014
15341
|
account_id: string;
|
|
15342
|
+
amount: bigint;
|
|
15015
15343
|
}, {
|
|
15016
|
-
amount: string;
|
|
15017
15344
|
account_id: string;
|
|
15345
|
+
amount: string;
|
|
15018
15346
|
}>, "many">;
|
|
15019
15347
|
}, "strip", z.ZodTypeAny, {
|
|
15020
15348
|
deposit_id: bigint;
|
|
15021
15349
|
owed_amounts: {
|
|
15022
|
-
amount: bigint;
|
|
15023
15350
|
account_id: string;
|
|
15351
|
+
amount: bigint;
|
|
15024
15352
|
}[];
|
|
15025
15353
|
}, {
|
|
15026
15354
|
deposit_id: number;
|
|
15027
15355
|
owed_amounts: {
|
|
15028
|
-
amount: string;
|
|
15029
15356
|
account_id: string;
|
|
15357
|
+
amount: string;
|
|
15030
15358
|
}[];
|
|
15031
15359
|
}>, "many">;
|
|
15032
15360
|
pending_withdrawals: z.ZodArray<z.ZodObject<{
|
|
@@ -15043,14 +15371,14 @@ declare const cfBoostPoolDetails: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.Zod
|
|
|
15043
15371
|
}, "strip", z.ZodTypeAny, {
|
|
15044
15372
|
fee_tier: number;
|
|
15045
15373
|
available_amounts: {
|
|
15046
|
-
amount: bigint;
|
|
15047
15374
|
account_id: string;
|
|
15375
|
+
amount: bigint;
|
|
15048
15376
|
}[];
|
|
15049
15377
|
deposits_pending_finalization: {
|
|
15050
15378
|
deposit_id: bigint;
|
|
15051
15379
|
owed_amounts: {
|
|
15052
|
-
amount: bigint;
|
|
15053
15380
|
account_id: string;
|
|
15381
|
+
amount: bigint;
|
|
15054
15382
|
}[];
|
|
15055
15383
|
}[];
|
|
15056
15384
|
pending_withdrawals: {
|
|
@@ -15061,14 +15389,14 @@ declare const cfBoostPoolDetails: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z.Zod
|
|
|
15061
15389
|
}, {
|
|
15062
15390
|
fee_tier: number;
|
|
15063
15391
|
available_amounts: {
|
|
15064
|
-
amount: string;
|
|
15065
15392
|
account_id: string;
|
|
15393
|
+
amount: string;
|
|
15066
15394
|
}[];
|
|
15067
15395
|
deposits_pending_finalization: {
|
|
15068
15396
|
deposit_id: number;
|
|
15069
15397
|
owed_amounts: {
|
|
15070
|
-
amount: string;
|
|
15071
15398
|
account_id: string;
|
|
15399
|
+
amount: string;
|
|
15072
15400
|
}[];
|
|
15073
15401
|
}[];
|
|
15074
15402
|
pending_withdrawals: {
|
|
@@ -15175,22 +15503,22 @@ declare const cfBoostPoolPendingFees: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z
|
|
|
15175
15503
|
account_id: z.ZodString;
|
|
15176
15504
|
amount: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
15177
15505
|
}, "strip", z.ZodTypeAny, {
|
|
15178
|
-
amount: bigint;
|
|
15179
15506
|
account_id: string;
|
|
15507
|
+
amount: bigint;
|
|
15180
15508
|
}, {
|
|
15181
|
-
amount: string;
|
|
15182
15509
|
account_id: string;
|
|
15510
|
+
amount: string;
|
|
15183
15511
|
}>, "many">;
|
|
15184
15512
|
}, "strip", z.ZodTypeAny, {
|
|
15185
15513
|
fees: {
|
|
15186
|
-
amount: bigint;
|
|
15187
15514
|
account_id: string;
|
|
15515
|
+
amount: bigint;
|
|
15188
15516
|
}[];
|
|
15189
15517
|
deposit_id: bigint;
|
|
15190
15518
|
}, {
|
|
15191
15519
|
fees: {
|
|
15192
|
-
amount: string;
|
|
15193
15520
|
account_id: string;
|
|
15521
|
+
amount: string;
|
|
15194
15522
|
}[];
|
|
15195
15523
|
deposit_id: number;
|
|
15196
15524
|
}>, "many">;
|
|
@@ -15198,8 +15526,8 @@ declare const cfBoostPoolPendingFees: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z
|
|
|
15198
15526
|
fee_tier: number;
|
|
15199
15527
|
pending_fees: {
|
|
15200
15528
|
fees: {
|
|
15201
|
-
amount: bigint;
|
|
15202
15529
|
account_id: string;
|
|
15530
|
+
amount: bigint;
|
|
15203
15531
|
}[];
|
|
15204
15532
|
deposit_id: bigint;
|
|
15205
15533
|
}[];
|
|
@@ -15207,8 +15535,8 @@ declare const cfBoostPoolPendingFees: z.ZodArray<z.ZodIntersection<z.ZodUnion<[z
|
|
|
15207
15535
|
fee_tier: number;
|
|
15208
15536
|
pending_fees: {
|
|
15209
15537
|
fees: {
|
|
15210
|
-
amount: string;
|
|
15211
15538
|
account_id: string;
|
|
15539
|
+
amount: string;
|
|
15212
15540
|
}[];
|
|
15213
15541
|
deposit_id: number;
|
|
15214
15542
|
}[];
|
|
@@ -15344,5 +15672,45 @@ declare const cfFlipSuppy: z.ZodEffects<z.ZodTuple<[z.ZodUnion<[z.ZodEffects<z.Z
|
|
|
15344
15672
|
offchainFunds: bigint;
|
|
15345
15673
|
}, [string | number, string | number]>;
|
|
15346
15674
|
declare const ethereumAddress: z.ZodEffects<z.ZodString, `0x${string}`, string>;
|
|
15675
|
+
declare const cfPoolOrderbook: z.ZodObject<{
|
|
15676
|
+
bids: z.ZodArray<z.ZodObject<{
|
|
15677
|
+
amount: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
15678
|
+
sqrt_price: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
15679
|
+
}, "strip", z.ZodTypeAny, {
|
|
15680
|
+
amount: bigint;
|
|
15681
|
+
sqrt_price: bigint;
|
|
15682
|
+
}, {
|
|
15683
|
+
amount: string;
|
|
15684
|
+
sqrt_price: string;
|
|
15685
|
+
}>, "many">;
|
|
15686
|
+
asks: z.ZodArray<z.ZodObject<{
|
|
15687
|
+
amount: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
15688
|
+
sqrt_price: z.ZodEffects<z.ZodEffects<z.ZodString, `0x${string}`, string>, bigint, string>;
|
|
15689
|
+
}, "strip", z.ZodTypeAny, {
|
|
15690
|
+
amount: bigint;
|
|
15691
|
+
sqrt_price: bigint;
|
|
15692
|
+
}, {
|
|
15693
|
+
amount: string;
|
|
15694
|
+
sqrt_price: string;
|
|
15695
|
+
}>, "many">;
|
|
15696
|
+
}, "strip", z.ZodTypeAny, {
|
|
15697
|
+
asks: {
|
|
15698
|
+
amount: bigint;
|
|
15699
|
+
sqrt_price: bigint;
|
|
15700
|
+
}[];
|
|
15701
|
+
bids: {
|
|
15702
|
+
amount: bigint;
|
|
15703
|
+
sqrt_price: bigint;
|
|
15704
|
+
}[];
|
|
15705
|
+
}, {
|
|
15706
|
+
asks: {
|
|
15707
|
+
amount: string;
|
|
15708
|
+
sqrt_price: string;
|
|
15709
|
+
}[];
|
|
15710
|
+
bids: {
|
|
15711
|
+
amount: string;
|
|
15712
|
+
sqrt_price: string;
|
|
15713
|
+
}[];
|
|
15714
|
+
}>;
|
|
15347
15715
|
|
|
15348
|
-
export { type AssetAndChain, type RpcLimitOrder, type RpcRangeOrder, broker, brokerRequestSwapDepositAddress, cfAccountInfo, cfAccounts, cfAuctionState, cfBoostPoolDetails, cfBoostPoolPendingFees, cfBoostPoolsDepth, cfEnvironment, cfFailedCallEvm, cfFlipSuppy, cfFundingEnvironment, cfIngressEgressEnvironment, cfPoolDepth, cfPoolOrders, cfPoolPriceV2, cfPoolsEnvironment, cfSupportedAssets, cfSwapRate, cfSwapRateV2, cfSwapRateV3, cfSwappingEnvironment, chainGetBlockHash, ethereumAddress, hexString, liquidityProvider, lpTotalBalances, numberOrHex, requestSwapParameterEncoding, rpcResponse, stateGetMetadata, stateGetRuntimeVersion, u256, unregistered, validator };
|
|
15716
|
+
export { type AssetAndChain, type RpcLimitOrder, type RpcRangeOrder, broker, brokerRequestSwapDepositAddress, cfAccountInfo, cfAccounts, cfAuctionState, cfBoostPoolDetails, cfBoostPoolPendingFees, cfBoostPoolsDepth, cfEnvironment, cfFailedCallEvm, cfFlipSuppy, cfFundingEnvironment, cfIngressEgressEnvironment, cfPoolDepth, cfPoolOrderbook, cfPoolOrders, cfPoolPriceV2, cfPoolsEnvironment, cfSupportedAssets, cfSwapRate, cfSwapRateV2, cfSwapRateV3, cfSwappingEnvironment, chainGetBlockHash, ethereumAddress, hexString, liquidityProvider, lpTotalBalances, numberOrHex, requestSwapParameterEncoding, rpcResponse, stateGetMetadata, stateGetRuntimeVersion, u256, unregistered, validator };
|