@longdotxyz/shared 0.0.72 → 0.0.73
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.
|
@@ -3715,299 +3715,6 @@ export declare const rootContract: {
|
|
|
3715
3715
|
};
|
|
3716
3716
|
};
|
|
3717
3717
|
};
|
|
3718
|
-
quotes: {
|
|
3719
|
-
v4ExactOutputSingle: {
|
|
3720
|
-
description: "Get a quote for an exact output single V4 swap";
|
|
3721
|
-
query: import("zod").ZodObject<{
|
|
3722
|
-
chainId: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodNumber, number, number>>>;
|
|
3723
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
3724
|
-
chainId: number;
|
|
3725
|
-
}, {
|
|
3726
|
-
chainId?: number | undefined;
|
|
3727
|
-
}>;
|
|
3728
|
-
method: "POST";
|
|
3729
|
-
body: import("zod").ZodObject<{
|
|
3730
|
-
pool_key: import("zod").ZodObject<{
|
|
3731
|
-
currency0: import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>;
|
|
3732
|
-
currency1: import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>;
|
|
3733
|
-
fee: import("zod").ZodNumber;
|
|
3734
|
-
tickSpacing: import("zod").ZodNumber;
|
|
3735
|
-
hooks: import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>;
|
|
3736
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
3737
|
-
currency0: `0x${string}`;
|
|
3738
|
-
currency1: `0x${string}`;
|
|
3739
|
-
fee: number;
|
|
3740
|
-
tickSpacing: number;
|
|
3741
|
-
hooks: `0x${string}`;
|
|
3742
|
-
}, {
|
|
3743
|
-
currency0: string;
|
|
3744
|
-
currency1: string;
|
|
3745
|
-
fee: number;
|
|
3746
|
-
tickSpacing: number;
|
|
3747
|
-
hooks: string;
|
|
3748
|
-
}>;
|
|
3749
|
-
zero_for_one: import("zod").ZodBoolean;
|
|
3750
|
-
exact_amount: import("zod").ZodEffects<import("zod").ZodAny, bigint, any>;
|
|
3751
|
-
hook_data: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3752
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
3753
|
-
pool_key: {
|
|
3754
|
-
currency0: `0x${string}`;
|
|
3755
|
-
currency1: `0x${string}`;
|
|
3756
|
-
fee: number;
|
|
3757
|
-
tickSpacing: number;
|
|
3758
|
-
hooks: `0x${string}`;
|
|
3759
|
-
};
|
|
3760
|
-
zero_for_one: boolean;
|
|
3761
|
-
exact_amount: bigint;
|
|
3762
|
-
hook_data?: string | undefined;
|
|
3763
|
-
}, {
|
|
3764
|
-
pool_key: {
|
|
3765
|
-
currency0: string;
|
|
3766
|
-
currency1: string;
|
|
3767
|
-
fee: number;
|
|
3768
|
-
tickSpacing: number;
|
|
3769
|
-
hooks: string;
|
|
3770
|
-
};
|
|
3771
|
-
zero_for_one: boolean;
|
|
3772
|
-
exact_amount?: any;
|
|
3773
|
-
hook_data?: string | undefined;
|
|
3774
|
-
}>;
|
|
3775
|
-
path: "/quotes/v4/exact-output-single";
|
|
3776
|
-
responses: {
|
|
3777
|
-
200: import("zod").ZodObject<{
|
|
3778
|
-
result: import("zod").ZodObject<{
|
|
3779
|
-
amount_in: import("zod").ZodString;
|
|
3780
|
-
gas_estimate: import("zod").ZodString;
|
|
3781
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
3782
|
-
amount_in: string;
|
|
3783
|
-
gas_estimate: string;
|
|
3784
|
-
}, {
|
|
3785
|
-
amount_in: string;
|
|
3786
|
-
gas_estimate: string;
|
|
3787
|
-
}>;
|
|
3788
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
3789
|
-
result: {
|
|
3790
|
-
amount_in: string;
|
|
3791
|
-
gas_estimate: string;
|
|
3792
|
-
};
|
|
3793
|
-
}, {
|
|
3794
|
-
result: {
|
|
3795
|
-
amount_in: string;
|
|
3796
|
-
gas_estimate: string;
|
|
3797
|
-
};
|
|
3798
|
-
}>;
|
|
3799
|
-
};
|
|
3800
|
-
};
|
|
3801
|
-
v4ExactInputSingle: {
|
|
3802
|
-
description: "Get a quote for an exact input single V4 swap";
|
|
3803
|
-
query: import("zod").ZodObject<{
|
|
3804
|
-
chainId: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodNumber, number, number>>>;
|
|
3805
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
3806
|
-
chainId: number;
|
|
3807
|
-
}, {
|
|
3808
|
-
chainId?: number | undefined;
|
|
3809
|
-
}>;
|
|
3810
|
-
method: "POST";
|
|
3811
|
-
body: import("zod").ZodObject<{
|
|
3812
|
-
pool_key: import("zod").ZodObject<{
|
|
3813
|
-
currency0: import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>;
|
|
3814
|
-
currency1: import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>;
|
|
3815
|
-
fee: import("zod").ZodNumber;
|
|
3816
|
-
tickSpacing: import("zod").ZodNumber;
|
|
3817
|
-
hooks: import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>;
|
|
3818
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
3819
|
-
currency0: `0x${string}`;
|
|
3820
|
-
currency1: `0x${string}`;
|
|
3821
|
-
fee: number;
|
|
3822
|
-
tickSpacing: number;
|
|
3823
|
-
hooks: `0x${string}`;
|
|
3824
|
-
}, {
|
|
3825
|
-
currency0: string;
|
|
3826
|
-
currency1: string;
|
|
3827
|
-
fee: number;
|
|
3828
|
-
tickSpacing: number;
|
|
3829
|
-
hooks: string;
|
|
3830
|
-
}>;
|
|
3831
|
-
zero_for_one: import("zod").ZodBoolean;
|
|
3832
|
-
exact_amount: import("zod").ZodEffects<import("zod").ZodAny, bigint, any>;
|
|
3833
|
-
hook_data: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3834
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
3835
|
-
pool_key: {
|
|
3836
|
-
currency0: `0x${string}`;
|
|
3837
|
-
currency1: `0x${string}`;
|
|
3838
|
-
fee: number;
|
|
3839
|
-
tickSpacing: number;
|
|
3840
|
-
hooks: `0x${string}`;
|
|
3841
|
-
};
|
|
3842
|
-
zero_for_one: boolean;
|
|
3843
|
-
exact_amount: bigint;
|
|
3844
|
-
hook_data?: string | undefined;
|
|
3845
|
-
}, {
|
|
3846
|
-
pool_key: {
|
|
3847
|
-
currency0: string;
|
|
3848
|
-
currency1: string;
|
|
3849
|
-
fee: number;
|
|
3850
|
-
tickSpacing: number;
|
|
3851
|
-
hooks: string;
|
|
3852
|
-
};
|
|
3853
|
-
zero_for_one: boolean;
|
|
3854
|
-
exact_amount?: any;
|
|
3855
|
-
hook_data?: string | undefined;
|
|
3856
|
-
}>;
|
|
3857
|
-
path: "/quotes/v4/exact-input-single";
|
|
3858
|
-
responses: {
|
|
3859
|
-
200: import("zod").ZodObject<{
|
|
3860
|
-
result: import("zod").ZodObject<{
|
|
3861
|
-
amount_out: import("zod").ZodString;
|
|
3862
|
-
gas_estimate: import("zod").ZodString;
|
|
3863
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
3864
|
-
gas_estimate: string;
|
|
3865
|
-
amount_out: string;
|
|
3866
|
-
}, {
|
|
3867
|
-
gas_estimate: string;
|
|
3868
|
-
amount_out: string;
|
|
3869
|
-
}>;
|
|
3870
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
3871
|
-
result: {
|
|
3872
|
-
gas_estimate: string;
|
|
3873
|
-
amount_out: string;
|
|
3874
|
-
};
|
|
3875
|
-
}, {
|
|
3876
|
-
result: {
|
|
3877
|
-
gas_estimate: string;
|
|
3878
|
-
amount_out: string;
|
|
3879
|
-
};
|
|
3880
|
-
}>;
|
|
3881
|
-
};
|
|
3882
|
-
};
|
|
3883
|
-
v3ExactOutputSingle: {
|
|
3884
|
-
description: "Get a quote for an exact output single V3 swap";
|
|
3885
|
-
query: import("zod").ZodObject<{
|
|
3886
|
-
chainId: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodNumber, number, number>>>;
|
|
3887
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
3888
|
-
chainId: number;
|
|
3889
|
-
}, {
|
|
3890
|
-
chainId?: number | undefined;
|
|
3891
|
-
}>;
|
|
3892
|
-
method: "POST";
|
|
3893
|
-
body: import("zod").ZodObject<{
|
|
3894
|
-
token_in: import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>;
|
|
3895
|
-
token_out: import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>;
|
|
3896
|
-
amount_out: import("zod").ZodEffects<import("zod").ZodAny, bigint, any>;
|
|
3897
|
-
fee: import("zod").ZodNumber;
|
|
3898
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
3899
|
-
fee: number;
|
|
3900
|
-
amount_out: bigint;
|
|
3901
|
-
token_in: `0x${string}`;
|
|
3902
|
-
token_out: `0x${string}`;
|
|
3903
|
-
}, {
|
|
3904
|
-
fee: number;
|
|
3905
|
-
token_in: string;
|
|
3906
|
-
token_out: string;
|
|
3907
|
-
amount_out?: any;
|
|
3908
|
-
}>;
|
|
3909
|
-
path: "/quotes/v3/exact-output-single";
|
|
3910
|
-
responses: {
|
|
3911
|
-
200: import("zod").ZodObject<{
|
|
3912
|
-
result: import("zod").ZodObject<{
|
|
3913
|
-
amount_in: import("zod").ZodString;
|
|
3914
|
-
sqrt_price_x96_after: import("zod").ZodString;
|
|
3915
|
-
initialized_ticks_crossed: import("zod").ZodNumber;
|
|
3916
|
-
gas_estimate: import("zod").ZodString;
|
|
3917
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
3918
|
-
amount_in: string;
|
|
3919
|
-
gas_estimate: string;
|
|
3920
|
-
sqrt_price_x96_after: string;
|
|
3921
|
-
initialized_ticks_crossed: number;
|
|
3922
|
-
}, {
|
|
3923
|
-
amount_in: string;
|
|
3924
|
-
gas_estimate: string;
|
|
3925
|
-
sqrt_price_x96_after: string;
|
|
3926
|
-
initialized_ticks_crossed: number;
|
|
3927
|
-
}>;
|
|
3928
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
3929
|
-
result: {
|
|
3930
|
-
amount_in: string;
|
|
3931
|
-
gas_estimate: string;
|
|
3932
|
-
sqrt_price_x96_after: string;
|
|
3933
|
-
initialized_ticks_crossed: number;
|
|
3934
|
-
};
|
|
3935
|
-
}, {
|
|
3936
|
-
result: {
|
|
3937
|
-
amount_in: string;
|
|
3938
|
-
gas_estimate: string;
|
|
3939
|
-
sqrt_price_x96_after: string;
|
|
3940
|
-
initialized_ticks_crossed: number;
|
|
3941
|
-
};
|
|
3942
|
-
}>;
|
|
3943
|
-
};
|
|
3944
|
-
};
|
|
3945
|
-
v3ExactInputSingle: {
|
|
3946
|
-
description: "Get a quote for an exact input single V3 swap";
|
|
3947
|
-
query: import("zod").ZodObject<{
|
|
3948
|
-
chainId: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodNumber, number, number>>>;
|
|
3949
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
3950
|
-
chainId: number;
|
|
3951
|
-
}, {
|
|
3952
|
-
chainId?: number | undefined;
|
|
3953
|
-
}>;
|
|
3954
|
-
method: "POST";
|
|
3955
|
-
body: import("zod").ZodObject<{
|
|
3956
|
-
token_in: import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>;
|
|
3957
|
-
token_out: import("zod").ZodPipeline<import("zod").ZodString, import("zod").ZodType<`0x${string}`, import("zod").ZodTypeDef, `0x${string}`>>;
|
|
3958
|
-
amount_in: import("zod").ZodEffects<import("zod").ZodAny, bigint, any>;
|
|
3959
|
-
fee: import("zod").ZodNumber;
|
|
3960
|
-
sqrt_price_limit_x96: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodAny, bigint, any>>;
|
|
3961
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
3962
|
-
fee: number;
|
|
3963
|
-
amount_in: bigint;
|
|
3964
|
-
token_in: `0x${string}`;
|
|
3965
|
-
token_out: `0x${string}`;
|
|
3966
|
-
sqrt_price_limit_x96?: bigint | undefined;
|
|
3967
|
-
}, {
|
|
3968
|
-
fee: number;
|
|
3969
|
-
token_in: string;
|
|
3970
|
-
token_out: string;
|
|
3971
|
-
amount_in?: any;
|
|
3972
|
-
sqrt_price_limit_x96?: any;
|
|
3973
|
-
}>;
|
|
3974
|
-
path: "/quotes/v3/exact-input-single";
|
|
3975
|
-
responses: {
|
|
3976
|
-
200: import("zod").ZodObject<{
|
|
3977
|
-
result: import("zod").ZodObject<{
|
|
3978
|
-
amount_out: import("zod").ZodString;
|
|
3979
|
-
sqrt_price_x96_after: import("zod").ZodString;
|
|
3980
|
-
initialized_ticks_crossed: import("zod").ZodNumber;
|
|
3981
|
-
gas_estimate: import("zod").ZodString;
|
|
3982
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
3983
|
-
gas_estimate: string;
|
|
3984
|
-
amount_out: string;
|
|
3985
|
-
sqrt_price_x96_after: string;
|
|
3986
|
-
initialized_ticks_crossed: number;
|
|
3987
|
-
}, {
|
|
3988
|
-
gas_estimate: string;
|
|
3989
|
-
amount_out: string;
|
|
3990
|
-
sqrt_price_x96_after: string;
|
|
3991
|
-
initialized_ticks_crossed: number;
|
|
3992
|
-
}>;
|
|
3993
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
3994
|
-
result: {
|
|
3995
|
-
gas_estimate: string;
|
|
3996
|
-
amount_out: string;
|
|
3997
|
-
sqrt_price_x96_after: string;
|
|
3998
|
-
initialized_ticks_crossed: number;
|
|
3999
|
-
};
|
|
4000
|
-
}, {
|
|
4001
|
-
result: {
|
|
4002
|
-
gas_estimate: string;
|
|
4003
|
-
amount_out: string;
|
|
4004
|
-
sqrt_price_x96_after: string;
|
|
4005
|
-
initialized_ticks_crossed: number;
|
|
4006
|
-
};
|
|
4007
|
-
}>;
|
|
4008
|
-
};
|
|
4009
|
-
};
|
|
4010
|
-
};
|
|
4011
3718
|
sponsorships: {
|
|
4012
3719
|
broadcastSponsored: {
|
|
4013
3720
|
description: "Broadcast a transaction with gas sponsorship using Privy server wallet";
|
|
@@ -4061,5 +3768,4 @@ export * from "./auction.contract";
|
|
|
4061
3768
|
export * from "./auction-template.contract";
|
|
4062
3769
|
export * from "./community.contract";
|
|
4063
3770
|
export * from "./ipfs.contract";
|
|
4064
|
-
export * from "./quote.contract";
|
|
4065
3771
|
export * from "./sponsorship.contract";
|
package/dist/contracts/index.js
CHANGED
|
@@ -21,7 +21,6 @@ const auction_template_contract_1 = require("./auction-template.contract");
|
|
|
21
21
|
const auction_contract_1 = require("./auction.contract");
|
|
22
22
|
const community_contract_1 = require("./community.contract");
|
|
23
23
|
const ipfs_contract_1 = require("./ipfs.contract");
|
|
24
|
-
const quote_contract_1 = require("./quote.contract");
|
|
25
24
|
const sponsorship_contract_1 = require("./sponsorship.contract");
|
|
26
25
|
const contract = (0, core_1.initContract)();
|
|
27
26
|
exports.rootContract = contract.router({
|
|
@@ -30,7 +29,6 @@ exports.rootContract = contract.router({
|
|
|
30
29
|
auctionTemplates: auction_template_contract_1.auctionTemplateContract,
|
|
31
30
|
communities: community_contract_1.communityContract,
|
|
32
31
|
ipfs: ipfs_contract_1.ipfsContract,
|
|
33
|
-
quotes: quote_contract_1.quoteContract,
|
|
34
32
|
sponsorships: sponsorship_contract_1.sponsorshipContract,
|
|
35
33
|
});
|
|
36
34
|
__exportStar(require("./asset.contract"), exports);
|
|
@@ -38,6 +36,5 @@ __exportStar(require("./auction.contract"), exports);
|
|
|
38
36
|
__exportStar(require("./auction-template.contract"), exports);
|
|
39
37
|
__exportStar(require("./community.contract"), exports);
|
|
40
38
|
__exportStar(require("./ipfs.contract"), exports);
|
|
41
|
-
__exportStar(require("./quote.contract"), exports);
|
|
42
39
|
__exportStar(require("./sponsorship.contract"), exports);
|
|
43
40
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/contracts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,wCAA6C;AAE7C,qDAAiD;AACjD,2EAAsE;AACtE,yDAAqD;AACrD,6DAAyD;AACzD,mDAA+C;AAC/C,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/contracts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,wCAA6C;AAE7C,qDAAiD;AACjD,2EAAsE;AACtE,yDAAqD;AACrD,6DAAyD;AACzD,mDAA+C;AAC/C,iEAA6D;AAE7D,MAAM,QAAQ,GAAG,IAAA,mBAAY,GAAE,CAAC;AACnB,QAAA,YAAY,GAAG,QAAQ,CAAC,MAAM,CAAC;IACxC,MAAM,EAAE,8BAAa;IACrB,QAAQ,EAAE,kCAAe;IACzB,gBAAgB,EAAE,mDAAuB;IACzC,WAAW,EAAE,sCAAiB;IAC9B,IAAI,EAAE,4BAAY;IAClB,YAAY,EAAE,0CAAmB;CACpC,CAAC,CAAC;AAEH,mDAAiC;AACjC,qDAAmC;AACnC,8DAA4C;AAC5C,uDAAqC;AACrC,kDAAgC;AAChC,yDAAuC"}
|
package/package.json
CHANGED
|
@@ -1,295 +0,0 @@
|
|
|
1
|
-
import z from "zod";
|
|
2
|
-
declare const quoteContract: {
|
|
3
|
-
v4ExactOutputSingle: {
|
|
4
|
-
description: "Get a quote for an exact output single V4 swap";
|
|
5
|
-
query: z.ZodObject<{
|
|
6
|
-
chainId: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
7
|
-
}, "strip", z.ZodTypeAny, {
|
|
8
|
-
chainId: number;
|
|
9
|
-
}, {
|
|
10
|
-
chainId?: number | undefined;
|
|
11
|
-
}>;
|
|
12
|
-
method: "POST";
|
|
13
|
-
body: z.ZodObject<{
|
|
14
|
-
pool_key: z.ZodObject<{
|
|
15
|
-
currency0: z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
|
|
16
|
-
currency1: z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
|
|
17
|
-
fee: z.ZodNumber;
|
|
18
|
-
tickSpacing: z.ZodNumber;
|
|
19
|
-
hooks: z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
|
|
20
|
-
}, "strip", z.ZodTypeAny, {
|
|
21
|
-
currency0: `0x${string}`;
|
|
22
|
-
currency1: `0x${string}`;
|
|
23
|
-
fee: number;
|
|
24
|
-
tickSpacing: number;
|
|
25
|
-
hooks: `0x${string}`;
|
|
26
|
-
}, {
|
|
27
|
-
currency0: string;
|
|
28
|
-
currency1: string;
|
|
29
|
-
fee: number;
|
|
30
|
-
tickSpacing: number;
|
|
31
|
-
hooks: string;
|
|
32
|
-
}>;
|
|
33
|
-
zero_for_one: z.ZodBoolean;
|
|
34
|
-
exact_amount: z.ZodEffects<z.ZodAny, bigint, any>;
|
|
35
|
-
hook_data: z.ZodOptional<z.ZodString>;
|
|
36
|
-
}, "strip", z.ZodTypeAny, {
|
|
37
|
-
pool_key: {
|
|
38
|
-
currency0: `0x${string}`;
|
|
39
|
-
currency1: `0x${string}`;
|
|
40
|
-
fee: number;
|
|
41
|
-
tickSpacing: number;
|
|
42
|
-
hooks: `0x${string}`;
|
|
43
|
-
};
|
|
44
|
-
zero_for_one: boolean;
|
|
45
|
-
exact_amount: bigint;
|
|
46
|
-
hook_data?: string | undefined;
|
|
47
|
-
}, {
|
|
48
|
-
pool_key: {
|
|
49
|
-
currency0: string;
|
|
50
|
-
currency1: string;
|
|
51
|
-
fee: number;
|
|
52
|
-
tickSpacing: number;
|
|
53
|
-
hooks: string;
|
|
54
|
-
};
|
|
55
|
-
zero_for_one: boolean;
|
|
56
|
-
exact_amount?: any;
|
|
57
|
-
hook_data?: string | undefined;
|
|
58
|
-
}>;
|
|
59
|
-
path: "/quotes/v4/exact-output-single";
|
|
60
|
-
responses: {
|
|
61
|
-
200: z.ZodObject<{
|
|
62
|
-
result: z.ZodObject<{
|
|
63
|
-
amount_in: z.ZodString;
|
|
64
|
-
gas_estimate: z.ZodString;
|
|
65
|
-
}, "strip", z.ZodTypeAny, {
|
|
66
|
-
amount_in: string;
|
|
67
|
-
gas_estimate: string;
|
|
68
|
-
}, {
|
|
69
|
-
amount_in: string;
|
|
70
|
-
gas_estimate: string;
|
|
71
|
-
}>;
|
|
72
|
-
}, "strip", z.ZodTypeAny, {
|
|
73
|
-
result: {
|
|
74
|
-
amount_in: string;
|
|
75
|
-
gas_estimate: string;
|
|
76
|
-
};
|
|
77
|
-
}, {
|
|
78
|
-
result: {
|
|
79
|
-
amount_in: string;
|
|
80
|
-
gas_estimate: string;
|
|
81
|
-
};
|
|
82
|
-
}>;
|
|
83
|
-
};
|
|
84
|
-
};
|
|
85
|
-
v4ExactInputSingle: {
|
|
86
|
-
description: "Get a quote for an exact input single V4 swap";
|
|
87
|
-
query: z.ZodObject<{
|
|
88
|
-
chainId: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
89
|
-
}, "strip", z.ZodTypeAny, {
|
|
90
|
-
chainId: number;
|
|
91
|
-
}, {
|
|
92
|
-
chainId?: number | undefined;
|
|
93
|
-
}>;
|
|
94
|
-
method: "POST";
|
|
95
|
-
body: z.ZodObject<{
|
|
96
|
-
pool_key: z.ZodObject<{
|
|
97
|
-
currency0: z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
|
|
98
|
-
currency1: z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
|
|
99
|
-
fee: z.ZodNumber;
|
|
100
|
-
tickSpacing: z.ZodNumber;
|
|
101
|
-
hooks: z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
|
|
102
|
-
}, "strip", z.ZodTypeAny, {
|
|
103
|
-
currency0: `0x${string}`;
|
|
104
|
-
currency1: `0x${string}`;
|
|
105
|
-
fee: number;
|
|
106
|
-
tickSpacing: number;
|
|
107
|
-
hooks: `0x${string}`;
|
|
108
|
-
}, {
|
|
109
|
-
currency0: string;
|
|
110
|
-
currency1: string;
|
|
111
|
-
fee: number;
|
|
112
|
-
tickSpacing: number;
|
|
113
|
-
hooks: string;
|
|
114
|
-
}>;
|
|
115
|
-
zero_for_one: z.ZodBoolean;
|
|
116
|
-
exact_amount: z.ZodEffects<z.ZodAny, bigint, any>;
|
|
117
|
-
hook_data: z.ZodOptional<z.ZodString>;
|
|
118
|
-
}, "strip", z.ZodTypeAny, {
|
|
119
|
-
pool_key: {
|
|
120
|
-
currency0: `0x${string}`;
|
|
121
|
-
currency1: `0x${string}`;
|
|
122
|
-
fee: number;
|
|
123
|
-
tickSpacing: number;
|
|
124
|
-
hooks: `0x${string}`;
|
|
125
|
-
};
|
|
126
|
-
zero_for_one: boolean;
|
|
127
|
-
exact_amount: bigint;
|
|
128
|
-
hook_data?: string | undefined;
|
|
129
|
-
}, {
|
|
130
|
-
pool_key: {
|
|
131
|
-
currency0: string;
|
|
132
|
-
currency1: string;
|
|
133
|
-
fee: number;
|
|
134
|
-
tickSpacing: number;
|
|
135
|
-
hooks: string;
|
|
136
|
-
};
|
|
137
|
-
zero_for_one: boolean;
|
|
138
|
-
exact_amount?: any;
|
|
139
|
-
hook_data?: string | undefined;
|
|
140
|
-
}>;
|
|
141
|
-
path: "/quotes/v4/exact-input-single";
|
|
142
|
-
responses: {
|
|
143
|
-
200: z.ZodObject<{
|
|
144
|
-
result: z.ZodObject<{
|
|
145
|
-
amount_out: z.ZodString;
|
|
146
|
-
gas_estimate: z.ZodString;
|
|
147
|
-
}, "strip", z.ZodTypeAny, {
|
|
148
|
-
gas_estimate: string;
|
|
149
|
-
amount_out: string;
|
|
150
|
-
}, {
|
|
151
|
-
gas_estimate: string;
|
|
152
|
-
amount_out: string;
|
|
153
|
-
}>;
|
|
154
|
-
}, "strip", z.ZodTypeAny, {
|
|
155
|
-
result: {
|
|
156
|
-
gas_estimate: string;
|
|
157
|
-
amount_out: string;
|
|
158
|
-
};
|
|
159
|
-
}, {
|
|
160
|
-
result: {
|
|
161
|
-
gas_estimate: string;
|
|
162
|
-
amount_out: string;
|
|
163
|
-
};
|
|
164
|
-
}>;
|
|
165
|
-
};
|
|
166
|
-
};
|
|
167
|
-
v3ExactOutputSingle: {
|
|
168
|
-
description: "Get a quote for an exact output single V3 swap";
|
|
169
|
-
query: z.ZodObject<{
|
|
170
|
-
chainId: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
171
|
-
}, "strip", z.ZodTypeAny, {
|
|
172
|
-
chainId: number;
|
|
173
|
-
}, {
|
|
174
|
-
chainId?: number | undefined;
|
|
175
|
-
}>;
|
|
176
|
-
method: "POST";
|
|
177
|
-
body: z.ZodObject<{
|
|
178
|
-
token_in: z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
|
|
179
|
-
token_out: z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
|
|
180
|
-
amount_out: z.ZodEffects<z.ZodAny, bigint, any>;
|
|
181
|
-
fee: z.ZodNumber;
|
|
182
|
-
}, "strip", z.ZodTypeAny, {
|
|
183
|
-
fee: number;
|
|
184
|
-
amount_out: bigint;
|
|
185
|
-
token_in: `0x${string}`;
|
|
186
|
-
token_out: `0x${string}`;
|
|
187
|
-
}, {
|
|
188
|
-
fee: number;
|
|
189
|
-
token_in: string;
|
|
190
|
-
token_out: string;
|
|
191
|
-
amount_out?: any;
|
|
192
|
-
}>;
|
|
193
|
-
path: "/quotes/v3/exact-output-single";
|
|
194
|
-
responses: {
|
|
195
|
-
200: z.ZodObject<{
|
|
196
|
-
result: z.ZodObject<{
|
|
197
|
-
amount_in: z.ZodString;
|
|
198
|
-
sqrt_price_x96_after: z.ZodString;
|
|
199
|
-
initialized_ticks_crossed: z.ZodNumber;
|
|
200
|
-
gas_estimate: z.ZodString;
|
|
201
|
-
}, "strip", z.ZodTypeAny, {
|
|
202
|
-
amount_in: string;
|
|
203
|
-
gas_estimate: string;
|
|
204
|
-
sqrt_price_x96_after: string;
|
|
205
|
-
initialized_ticks_crossed: number;
|
|
206
|
-
}, {
|
|
207
|
-
amount_in: string;
|
|
208
|
-
gas_estimate: string;
|
|
209
|
-
sqrt_price_x96_after: string;
|
|
210
|
-
initialized_ticks_crossed: number;
|
|
211
|
-
}>;
|
|
212
|
-
}, "strip", z.ZodTypeAny, {
|
|
213
|
-
result: {
|
|
214
|
-
amount_in: string;
|
|
215
|
-
gas_estimate: string;
|
|
216
|
-
sqrt_price_x96_after: string;
|
|
217
|
-
initialized_ticks_crossed: number;
|
|
218
|
-
};
|
|
219
|
-
}, {
|
|
220
|
-
result: {
|
|
221
|
-
amount_in: string;
|
|
222
|
-
gas_estimate: string;
|
|
223
|
-
sqrt_price_x96_after: string;
|
|
224
|
-
initialized_ticks_crossed: number;
|
|
225
|
-
};
|
|
226
|
-
}>;
|
|
227
|
-
};
|
|
228
|
-
};
|
|
229
|
-
v3ExactInputSingle: {
|
|
230
|
-
description: "Get a quote for an exact input single V3 swap";
|
|
231
|
-
query: z.ZodObject<{
|
|
232
|
-
chainId: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
233
|
-
}, "strip", z.ZodTypeAny, {
|
|
234
|
-
chainId: number;
|
|
235
|
-
}, {
|
|
236
|
-
chainId?: number | undefined;
|
|
237
|
-
}>;
|
|
238
|
-
method: "POST";
|
|
239
|
-
body: z.ZodObject<{
|
|
240
|
-
token_in: z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
|
|
241
|
-
token_out: z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
|
|
242
|
-
amount_in: z.ZodEffects<z.ZodAny, bigint, any>;
|
|
243
|
-
fee: z.ZodNumber;
|
|
244
|
-
sqrt_price_limit_x96: z.ZodOptional<z.ZodEffects<z.ZodAny, bigint, any>>;
|
|
245
|
-
}, "strip", z.ZodTypeAny, {
|
|
246
|
-
fee: number;
|
|
247
|
-
amount_in: bigint;
|
|
248
|
-
token_in: `0x${string}`;
|
|
249
|
-
token_out: `0x${string}`;
|
|
250
|
-
sqrt_price_limit_x96?: bigint | undefined;
|
|
251
|
-
}, {
|
|
252
|
-
fee: number;
|
|
253
|
-
token_in: string;
|
|
254
|
-
token_out: string;
|
|
255
|
-
amount_in?: any;
|
|
256
|
-
sqrt_price_limit_x96?: any;
|
|
257
|
-
}>;
|
|
258
|
-
path: "/quotes/v3/exact-input-single";
|
|
259
|
-
responses: {
|
|
260
|
-
200: z.ZodObject<{
|
|
261
|
-
result: z.ZodObject<{
|
|
262
|
-
amount_out: z.ZodString;
|
|
263
|
-
sqrt_price_x96_after: z.ZodString;
|
|
264
|
-
initialized_ticks_crossed: z.ZodNumber;
|
|
265
|
-
gas_estimate: z.ZodString;
|
|
266
|
-
}, "strip", z.ZodTypeAny, {
|
|
267
|
-
gas_estimate: string;
|
|
268
|
-
amount_out: string;
|
|
269
|
-
sqrt_price_x96_after: string;
|
|
270
|
-
initialized_ticks_crossed: number;
|
|
271
|
-
}, {
|
|
272
|
-
gas_estimate: string;
|
|
273
|
-
amount_out: string;
|
|
274
|
-
sqrt_price_x96_after: string;
|
|
275
|
-
initialized_ticks_crossed: number;
|
|
276
|
-
}>;
|
|
277
|
-
}, "strip", z.ZodTypeAny, {
|
|
278
|
-
result: {
|
|
279
|
-
gas_estimate: string;
|
|
280
|
-
amount_out: string;
|
|
281
|
-
sqrt_price_x96_after: string;
|
|
282
|
-
initialized_ticks_crossed: number;
|
|
283
|
-
};
|
|
284
|
-
}, {
|
|
285
|
-
result: {
|
|
286
|
-
gas_estimate: string;
|
|
287
|
-
amount_out: string;
|
|
288
|
-
sqrt_price_x96_after: string;
|
|
289
|
-
initialized_ticks_crossed: number;
|
|
290
|
-
};
|
|
291
|
-
}>;
|
|
292
|
-
};
|
|
293
|
-
};
|
|
294
|
-
};
|
|
295
|
-
export { quoteContract };
|
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.quoteContract = void 0;
|
|
4
|
-
const core_1 = require("@ts-rest/core");
|
|
5
|
-
const zod_1 = require("zod");
|
|
6
|
-
const types_1 = require("../types");
|
|
7
|
-
const contract = (0, core_1.initContract)();
|
|
8
|
-
const quoteContract = contract.router({
|
|
9
|
-
v4ExactOutputSingle: {
|
|
10
|
-
method: "POST",
|
|
11
|
-
path: "/v4/exact-output-single",
|
|
12
|
-
query: zod_1.default.object({
|
|
13
|
-
chainId: zod_1.default.coerce
|
|
14
|
-
.number()
|
|
15
|
-
.int()
|
|
16
|
-
.refine((val) => Object.values(types_1.ChainID).includes(val), {
|
|
17
|
-
message: "Invalid chain ID",
|
|
18
|
-
})
|
|
19
|
-
.optional()
|
|
20
|
-
.default(types_1.ChainID.BASE_MAINNET)
|
|
21
|
-
.describe("The chain ID of the quote to get"),
|
|
22
|
-
}),
|
|
23
|
-
body: zod_1.default.object({
|
|
24
|
-
pool_key: types_1.poolKeySchema,
|
|
25
|
-
zero_for_one: zod_1.default.boolean(),
|
|
26
|
-
exact_amount: types_1.coerceBigInt,
|
|
27
|
-
hook_data: zod_1.default.optional(zod_1.default.string()),
|
|
28
|
-
}),
|
|
29
|
-
responses: {
|
|
30
|
-
200: zod_1.default.object({
|
|
31
|
-
result: zod_1.default.object({
|
|
32
|
-
amount_in: zod_1.default.string(),
|
|
33
|
-
gas_estimate: zod_1.default.string(),
|
|
34
|
-
}),
|
|
35
|
-
}),
|
|
36
|
-
},
|
|
37
|
-
description: "Get a quote for an exact output single V4 swap",
|
|
38
|
-
},
|
|
39
|
-
v4ExactInputSingle: {
|
|
40
|
-
method: "POST",
|
|
41
|
-
path: "/v4/exact-input-single",
|
|
42
|
-
query: zod_1.default.object({
|
|
43
|
-
chainId: zod_1.default.coerce
|
|
44
|
-
.number()
|
|
45
|
-
.int()
|
|
46
|
-
.refine((val) => Object.values(types_1.ChainID).includes(val), {
|
|
47
|
-
message: "Invalid chain ID",
|
|
48
|
-
})
|
|
49
|
-
.optional()
|
|
50
|
-
.default(types_1.ChainID.BASE_MAINNET)
|
|
51
|
-
.describe("The chain ID of the quote to get"),
|
|
52
|
-
}),
|
|
53
|
-
body: zod_1.default.object({
|
|
54
|
-
pool_key: types_1.poolKeySchema,
|
|
55
|
-
zero_for_one: zod_1.default.boolean(),
|
|
56
|
-
exact_amount: types_1.coerceBigInt,
|
|
57
|
-
hook_data: zod_1.default.optional(zod_1.default.string()),
|
|
58
|
-
}),
|
|
59
|
-
responses: {
|
|
60
|
-
200: zod_1.default.object({
|
|
61
|
-
result: zod_1.default.object({
|
|
62
|
-
amount_out: zod_1.default.string(),
|
|
63
|
-
gas_estimate: zod_1.default.string(),
|
|
64
|
-
}),
|
|
65
|
-
}),
|
|
66
|
-
},
|
|
67
|
-
description: "Get a quote for an exact input single V4 swap",
|
|
68
|
-
},
|
|
69
|
-
v3ExactOutputSingle: {
|
|
70
|
-
method: "POST",
|
|
71
|
-
path: "/v3/exact-output-single",
|
|
72
|
-
query: zod_1.default.object({
|
|
73
|
-
chainId: zod_1.default.coerce
|
|
74
|
-
.number()
|
|
75
|
-
.int()
|
|
76
|
-
.refine((val) => Object.values(types_1.ChainID).includes(val), {
|
|
77
|
-
message: "Invalid chain ID",
|
|
78
|
-
})
|
|
79
|
-
.optional()
|
|
80
|
-
.default(types_1.ChainID.BASE_MAINNET)
|
|
81
|
-
.describe("The chain ID of the quote to get"),
|
|
82
|
-
}),
|
|
83
|
-
body: zod_1.default.object({
|
|
84
|
-
token_in: zod_1.default.string().pipe(types_1.hex),
|
|
85
|
-
token_out: zod_1.default.string().pipe(types_1.hex),
|
|
86
|
-
amount_out: types_1.coerceBigInt,
|
|
87
|
-
fee: zod_1.default.number(),
|
|
88
|
-
}),
|
|
89
|
-
responses: {
|
|
90
|
-
200: zod_1.default.object({
|
|
91
|
-
result: zod_1.default.object({
|
|
92
|
-
amount_in: zod_1.default.string(),
|
|
93
|
-
sqrt_price_x96_after: zod_1.default.string(),
|
|
94
|
-
initialized_ticks_crossed: zod_1.default.number(),
|
|
95
|
-
gas_estimate: zod_1.default.string(),
|
|
96
|
-
}),
|
|
97
|
-
}),
|
|
98
|
-
},
|
|
99
|
-
description: "Get a quote for an exact output single V3 swap",
|
|
100
|
-
},
|
|
101
|
-
v3ExactInputSingle: {
|
|
102
|
-
method: "POST",
|
|
103
|
-
path: "/v3/exact-input-single",
|
|
104
|
-
query: zod_1.default.object({
|
|
105
|
-
chainId: zod_1.default.coerce
|
|
106
|
-
.number()
|
|
107
|
-
.int()
|
|
108
|
-
.refine((val) => Object.values(types_1.ChainID).includes(val), {
|
|
109
|
-
message: "Invalid chain ID",
|
|
110
|
-
})
|
|
111
|
-
.optional()
|
|
112
|
-
.default(types_1.ChainID.BASE_MAINNET)
|
|
113
|
-
.describe("The chain ID of the quote to get"),
|
|
114
|
-
}),
|
|
115
|
-
body: zod_1.default.object({
|
|
116
|
-
token_in: zod_1.default.string().pipe(types_1.hex),
|
|
117
|
-
token_out: zod_1.default.string().pipe(types_1.hex),
|
|
118
|
-
amount_in: types_1.coerceBigInt,
|
|
119
|
-
fee: zod_1.default.number(),
|
|
120
|
-
sqrt_price_limit_x96: zod_1.default.optional(types_1.coerceBigInt),
|
|
121
|
-
}),
|
|
122
|
-
responses: {
|
|
123
|
-
200: zod_1.default.object({
|
|
124
|
-
result: zod_1.default.object({
|
|
125
|
-
amount_out: zod_1.default.string(),
|
|
126
|
-
sqrt_price_x96_after: zod_1.default.string(),
|
|
127
|
-
initialized_ticks_crossed: zod_1.default.number(),
|
|
128
|
-
gas_estimate: zod_1.default.string(),
|
|
129
|
-
}),
|
|
130
|
-
}),
|
|
131
|
-
},
|
|
132
|
-
description: "Get a quote for an exact input single V3 swap",
|
|
133
|
-
},
|
|
134
|
-
}, {
|
|
135
|
-
pathPrefix: "/quotes",
|
|
136
|
-
});
|
|
137
|
-
exports.quoteContract = quoteContract;
|
|
138
|
-
//# sourceMappingURL=quote.contract.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"quote.contract.js","sourceRoot":"","sources":["../../src/contracts/quote.contract.ts"],"names":[],"mappings":";;;AAAA,wCAA6C;AAC7C,6BAAoB;AAEpB,oCAAqE;AAErE,MAAM,QAAQ,GAAG,IAAA,mBAAY,GAAE,CAAC;AAEhC,MAAM,aAAa,GAAG,QAAQ,CAAC,MAAM,CACjC;IACI,mBAAmB,EAAE;QACjB,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,yBAAyB;QAC/B,KAAK,EAAE,aAAC,CAAC,MAAM,CAAC;YACZ,OAAO,EAAE,aAAC,CAAC,MAAM;iBACZ,MAAM,EAAE;iBACR,GAAG,EAAE;iBACL,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,eAAO,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACnD,OAAO,EAAE,kBAAkB;aAC9B,CAAC;iBACD,QAAQ,EAAE;iBACV,OAAO,CAAC,eAAO,CAAC,YAAY,CAAC;iBAC7B,QA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