@zoralabs/protocol-deployments 0.5.10 → 0.5.11-PRE.0
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/.turbo/turbo-build.log +47 -46
- package/.turbo/turbo-lint.log +7 -0
- package/CHANGELOG.md +7 -0
- package/dist/generated/sparks.d.ts +2 -0
- package/dist/generated/sparks.d.ts.map +1 -1
- package/dist/generated/wagmi.d.ts +457 -0
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +224 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +220 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/sparks.ts +2 -0
- package/src/generated/wagmi.ts +238 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,46 +1,47 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
>
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
>
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
> prettier
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
src/
|
|
15
|
-
src/
|
|
16
|
-
src/
|
|
17
|
-
|
|
18
|
-
scripts/bundle-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
>
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
[34mCLI[39m
|
|
25
|
-
[34mCLI[39m
|
|
26
|
-
[34mCLI[39m
|
|
27
|
-
[34mCLI[39m
|
|
28
|
-
[34mCLI[39m
|
|
29
|
-
[
|
|
30
|
-
[
|
|
31
|
-
[
|
|
32
|
-
[32mCJS[39m [1mdist/index.cjs
|
|
33
|
-
[32mCJS[39m
|
|
34
|
-
[
|
|
35
|
-
[32mESM[39m [1mdist/
|
|
36
|
-
[32mESM[39m [1mdist/chunk-
|
|
37
|
-
[32mESM[39m [1mdist/_esm-AN6HMJZC.js [22m[32m132.93 KB[39m
|
|
38
|
-
[32mESM[39m [1mdist/
|
|
39
|
-
[32mESM[39m [1mdist/
|
|
40
|
-
[32mESM[39m [1mdist/secp256k1-QZA5SALG.js
|
|
41
|
-
[32mESM[39m [1mdist/
|
|
42
|
-
[32mESM[39m [1mdist/chunk-NPNNGXR4.js.map [22m[32m393.76 KB[39m
|
|
43
|
-
[32mESM[39m [1mdist/
|
|
44
|
-
[32mESM[39m [1mdist/
|
|
45
|
-
[32mESM[39m [1mdist/index.js.map [22m[32m1.
|
|
46
|
-
[32mESM[39m
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
> @zoralabs/protocol-deployments@0.5.10 build /Users/danovedzora/source/zora-protocol/packages/protocol-deployments
|
|
4
|
+
> pnpm bundle-configs && pnpm copy-generated && tsup
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
> @zoralabs/protocol-deployments@0.5.10 bundle-configs /Users/danovedzora/source/zora-protocol/packages/protocol-deployments
|
|
8
|
+
> tsx scripts/bundle-configs.ts && pnpm prettier:write
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
> @zoralabs/protocol-deployments@0.5.10 prettier:write /Users/danovedzora/source/zora-protocol/packages/protocol-deployments
|
|
12
|
+
> prettier --write 'src/**/*.ts' 'scripts/*'
|
|
13
|
+
|
|
14
|
+
src/encoding.ts[2K[1G[90msrc/encoding.ts[39m 53ms (unchanged)
|
|
15
|
+
src/index.ts[2K[1G[90msrc/index.ts[39m 2ms (unchanged)
|
|
16
|
+
src/typedData.ts[2K[1G[90msrc/typedData.ts[39m 38ms (unchanged)
|
|
17
|
+
src/types.ts[2K[1G[90msrc/types.ts[39m 9ms (unchanged)
|
|
18
|
+
scripts/bundle-chainConfigs.ts[2K[1G[90mscripts/bundle-chainConfigs.ts[39m 5ms (unchanged)
|
|
19
|
+
scripts/bundle-configs.ts[2K[1G[90mscripts/bundle-configs.ts[39m 8ms (unchanged)
|
|
20
|
+
|
|
21
|
+
> @zoralabs/protocol-deployments@0.5.10 copy-generated /Users/danovedzora/source/zora-protocol/packages/protocol-deployments
|
|
22
|
+
> cp ../protocol-deployments-gen/generated/wagmi.ts src/generated/wagmi.ts
|
|
23
|
+
|
|
24
|
+
[34mCLI[39m Building entry: src/index.ts
|
|
25
|
+
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
26
|
+
[34mCLI[39m tsup v8.4.0
|
|
27
|
+
[34mCLI[39m Using tsup config: /Users/danovedzora/source/zora-protocol/packages/protocol-deployments/tsup.config.ts
|
|
28
|
+
[34mCLI[39m Target: es2021
|
|
29
|
+
[34mCLI[39m Cleaning output folder
|
|
30
|
+
[34mCJS[39m Build start
|
|
31
|
+
[34mESM[39m Build start
|
|
32
|
+
[32mCJS[39m [1mdist/index.cjs [22m[32m630.10 KB[39m
|
|
33
|
+
[32mCJS[39m [1mdist/index.cjs.map [22m[32m1.28 MB[39m
|
|
34
|
+
[32mCJS[39m ⚡️ Build success in 166ms
|
|
35
|
+
[32mESM[39m [1mdist/chunk-NPNNGXR4.js [22m[32m136.42 KB[39m
|
|
36
|
+
[32mESM[39m [1mdist/chunk-PR4QN5HX.js [22m[32m1.87 KB[39m
|
|
37
|
+
[32mESM[39m [1mdist/_esm-AN6HMJZC.js [22m[32m132.93 KB[39m
|
|
38
|
+
[32mESM[39m [1mdist/index.js [22m[32m544.80 KB[39m
|
|
39
|
+
[32mESM[39m [1mdist/ccip-C5WONSSK.js [22m[32m290.00 B[39m
|
|
40
|
+
[32mESM[39m [1mdist/secp256k1-QZA5SALG.js [22m[32m80.13 KB[39m
|
|
41
|
+
[32mESM[39m [1mdist/chunk-PR4QN5HX.js.map [22m[32m71.00 B[39m
|
|
42
|
+
[32mESM[39m [1mdist/chunk-NPNNGXR4.js.map [22m[32m393.76 KB[39m
|
|
43
|
+
[32mESM[39m [1mdist/_esm-AN6HMJZC.js.map [22m[32m212.33 KB[39m
|
|
44
|
+
[32mESM[39m [1mdist/ccip-C5WONSSK.js.map [22m[32m71.00 B[39m
|
|
45
|
+
[32mESM[39m [1mdist/index.js.map [22m[32m1.03 MB[39m
|
|
46
|
+
[32mESM[39m [1mdist/secp256k1-QZA5SALG.js.map [22m[32m203.10 KB[39m
|
|
47
|
+
[32mESM[39m ⚡️ Build success in 166ms
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
> @zoralabs/protocol-deployments@0.5.5 lint /Users/danovedzora/source/zora-protocol/packages/protocol-deployments
|
|
4
|
+
> prettier --check 'src/**/*.ts' 'scripts/*'
|
|
5
|
+
|
|
6
|
+
Checking formatting...
|
|
7
|
+
src/encoding.ts[2K[1Gsrc/index.ts[2K[1Gsrc/typedData.ts[2K[1Gsrc/types.ts[2K[1Gscripts/bundle-chainConfigs.ts[2K[1Gscripts/bundle-configs.ts[2K[1GAll matched files use Prettier code style!
|
package/CHANGELOG.md
CHANGED
|
@@ -17,6 +17,7 @@ export declare const chainConfigs: {
|
|
|
17
17
|
NONFUNGIBLE_POSITION_MANAGER: string;
|
|
18
18
|
UNISWAP_SWAP_ROUTER: string;
|
|
19
19
|
UNISWAP_V3_FACTORY: string;
|
|
20
|
+
UNISWAP_QUOTER_V2: string;
|
|
20
21
|
DOPPLER_AIRLOCK: string;
|
|
21
22
|
PROXY_ADMIN: string;
|
|
22
23
|
ZORA_RECIPIENT: string;
|
|
@@ -44,6 +45,7 @@ export declare const chainConfigs: {
|
|
|
44
45
|
NONFUNGIBLE_POSITION_MANAGER: string;
|
|
45
46
|
UNISWAP_SWAP_ROUTER: string;
|
|
46
47
|
UNISWAP_V3_FACTORY: string;
|
|
48
|
+
UNISWAP_QUOTER_V2: string;
|
|
47
49
|
DOPPLER_AIRLOCK: string;
|
|
48
50
|
PROXY_ADMIN: string;
|
|
49
51
|
ZORA_RECIPIENT: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sparks.d.ts","sourceRoot":"","sources":["../../src/generated/sparks.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"sparks.d.ts","sourceRoot":"","sources":["../../src/generated/sparks.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4FxB,CAAC;AACF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyErB,CAAC"}
|
|
@@ -1,3 +1,128 @@
|
|
|
1
|
+
export declare const autoSwapperABI: readonly [{
|
|
2
|
+
readonly type: "constructor";
|
|
3
|
+
readonly inputs: readonly [{
|
|
4
|
+
readonly name: "_router";
|
|
5
|
+
readonly internalType: "contract ISwapRouter";
|
|
6
|
+
readonly type: "address";
|
|
7
|
+
}, {
|
|
8
|
+
readonly name: "_swapRecipient";
|
|
9
|
+
readonly internalType: "address";
|
|
10
|
+
readonly type: "address";
|
|
11
|
+
}, {
|
|
12
|
+
readonly name: "_swapper";
|
|
13
|
+
readonly internalType: "address";
|
|
14
|
+
readonly type: "address";
|
|
15
|
+
}];
|
|
16
|
+
readonly stateMutability: "nonpayable";
|
|
17
|
+
}, {
|
|
18
|
+
readonly type: "function";
|
|
19
|
+
readonly inputs: readonly [];
|
|
20
|
+
readonly name: "router";
|
|
21
|
+
readonly outputs: readonly [{
|
|
22
|
+
readonly name: "";
|
|
23
|
+
readonly internalType: "contract ISwapRouter";
|
|
24
|
+
readonly type: "address";
|
|
25
|
+
}];
|
|
26
|
+
readonly stateMutability: "view";
|
|
27
|
+
}, {
|
|
28
|
+
readonly type: "function";
|
|
29
|
+
readonly inputs: readonly [{
|
|
30
|
+
readonly name: "params";
|
|
31
|
+
readonly internalType: "struct AutoSwapper.ExactInputParams";
|
|
32
|
+
readonly type: "tuple";
|
|
33
|
+
readonly components: readonly [{
|
|
34
|
+
readonly name: "path";
|
|
35
|
+
readonly internalType: "bytes";
|
|
36
|
+
readonly type: "bytes";
|
|
37
|
+
}, {
|
|
38
|
+
readonly name: "amountIn";
|
|
39
|
+
readonly internalType: "uint256";
|
|
40
|
+
readonly type: "uint256";
|
|
41
|
+
}, {
|
|
42
|
+
readonly name: "amountOutMinimum";
|
|
43
|
+
readonly internalType: "uint256";
|
|
44
|
+
readonly type: "uint256";
|
|
45
|
+
}];
|
|
46
|
+
}];
|
|
47
|
+
readonly name: "swapExactInput";
|
|
48
|
+
readonly outputs: readonly [{
|
|
49
|
+
readonly name: "amountOut";
|
|
50
|
+
readonly internalType: "uint256";
|
|
51
|
+
readonly type: "uint256";
|
|
52
|
+
}];
|
|
53
|
+
readonly stateMutability: "nonpayable";
|
|
54
|
+
}, {
|
|
55
|
+
readonly type: "function";
|
|
56
|
+
readonly inputs: readonly [{
|
|
57
|
+
readonly name: "params";
|
|
58
|
+
readonly internalType: "struct AutoSwapper.ExactInputSingleParams";
|
|
59
|
+
readonly type: "tuple";
|
|
60
|
+
readonly components: readonly [{
|
|
61
|
+
readonly name: "tokenIn";
|
|
62
|
+
readonly internalType: "address";
|
|
63
|
+
readonly type: "address";
|
|
64
|
+
}, {
|
|
65
|
+
readonly name: "tokenOut";
|
|
66
|
+
readonly internalType: "address";
|
|
67
|
+
readonly type: "address";
|
|
68
|
+
}, {
|
|
69
|
+
readonly name: "fee";
|
|
70
|
+
readonly internalType: "uint24";
|
|
71
|
+
readonly type: "uint24";
|
|
72
|
+
}, {
|
|
73
|
+
readonly name: "amountIn";
|
|
74
|
+
readonly internalType: "uint256";
|
|
75
|
+
readonly type: "uint256";
|
|
76
|
+
}, {
|
|
77
|
+
readonly name: "amountOutMinimum";
|
|
78
|
+
readonly internalType: "uint256";
|
|
79
|
+
readonly type: "uint256";
|
|
80
|
+
}, {
|
|
81
|
+
readonly name: "sqrtPriceLimitX96";
|
|
82
|
+
readonly internalType: "uint160";
|
|
83
|
+
readonly type: "uint160";
|
|
84
|
+
}];
|
|
85
|
+
}];
|
|
86
|
+
readonly name: "swapExactInputSingle";
|
|
87
|
+
readonly outputs: readonly [{
|
|
88
|
+
readonly name: "amountOut";
|
|
89
|
+
readonly internalType: "uint256";
|
|
90
|
+
readonly type: "uint256";
|
|
91
|
+
}];
|
|
92
|
+
readonly stateMutability: "nonpayable";
|
|
93
|
+
}, {
|
|
94
|
+
readonly type: "function";
|
|
95
|
+
readonly inputs: readonly [];
|
|
96
|
+
readonly name: "swapRecipient";
|
|
97
|
+
readonly outputs: readonly [{
|
|
98
|
+
readonly name: "";
|
|
99
|
+
readonly internalType: "address";
|
|
100
|
+
readonly type: "address";
|
|
101
|
+
}];
|
|
102
|
+
readonly stateMutability: "view";
|
|
103
|
+
}, {
|
|
104
|
+
readonly type: "function";
|
|
105
|
+
readonly inputs: readonly [];
|
|
106
|
+
readonly name: "swapper";
|
|
107
|
+
readonly outputs: readonly [{
|
|
108
|
+
readonly name: "";
|
|
109
|
+
readonly internalType: "address";
|
|
110
|
+
readonly type: "address";
|
|
111
|
+
}];
|
|
112
|
+
readonly stateMutability: "view";
|
|
113
|
+
}, {
|
|
114
|
+
readonly type: "error";
|
|
115
|
+
readonly inputs: readonly [];
|
|
116
|
+
readonly name: "InvalidRecipient";
|
|
117
|
+
}, {
|
|
118
|
+
readonly type: "error";
|
|
119
|
+
readonly inputs: readonly [];
|
|
120
|
+
readonly name: "InvalidSelector";
|
|
121
|
+
}, {
|
|
122
|
+
readonly type: "error";
|
|
123
|
+
readonly inputs: readonly [];
|
|
124
|
+
readonly name: "NotSwapper";
|
|
125
|
+
}];
|
|
1
126
|
/**
|
|
2
127
|
* - [__View Contract on Base Basescan__](https://basescan.org/address/0xd77038a7f400E8242d2916f7EB5741e689d4aE25)
|
|
3
128
|
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0xE4Ec8cE893Cd41965b1aE27F1ad9798F207427aE)
|
|
@@ -22483,6 +22608,338 @@ export declare const sponsoredSparksSpenderConfig: {
|
|
|
22483
22608
|
readonly name: "WithdrawFailed";
|
|
22484
22609
|
}];
|
|
22485
22610
|
};
|
|
22611
|
+
/**
|
|
22612
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a)
|
|
22613
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0xC5290058841028F1614F3A6F0F5816cAd0df5E27)
|
|
22614
|
+
*/
|
|
22615
|
+
export declare const uniswapQuoterV2ABI: readonly [{
|
|
22616
|
+
readonly type: "function";
|
|
22617
|
+
readonly inputs: readonly [{
|
|
22618
|
+
readonly name: "path";
|
|
22619
|
+
readonly internalType: "bytes";
|
|
22620
|
+
readonly type: "bytes";
|
|
22621
|
+
}, {
|
|
22622
|
+
readonly name: "amountIn";
|
|
22623
|
+
readonly internalType: "uint256";
|
|
22624
|
+
readonly type: "uint256";
|
|
22625
|
+
}];
|
|
22626
|
+
readonly name: "quoteExactInput";
|
|
22627
|
+
readonly outputs: readonly [{
|
|
22628
|
+
readonly name: "amountOut";
|
|
22629
|
+
readonly internalType: "uint256";
|
|
22630
|
+
readonly type: "uint256";
|
|
22631
|
+
}, {
|
|
22632
|
+
readonly name: "sqrtPriceX96AfterList";
|
|
22633
|
+
readonly internalType: "uint160[]";
|
|
22634
|
+
readonly type: "uint160[]";
|
|
22635
|
+
}, {
|
|
22636
|
+
readonly name: "initializedTicksCrossedList";
|
|
22637
|
+
readonly internalType: "uint32[]";
|
|
22638
|
+
readonly type: "uint32[]";
|
|
22639
|
+
}, {
|
|
22640
|
+
readonly name: "gasEstimate";
|
|
22641
|
+
readonly internalType: "uint256";
|
|
22642
|
+
readonly type: "uint256";
|
|
22643
|
+
}];
|
|
22644
|
+
readonly stateMutability: "nonpayable";
|
|
22645
|
+
}, {
|
|
22646
|
+
readonly type: "function";
|
|
22647
|
+
readonly inputs: readonly [{
|
|
22648
|
+
readonly name: "params";
|
|
22649
|
+
readonly internalType: "struct IQuoterV2.QuoteExactInputSingleParams";
|
|
22650
|
+
readonly type: "tuple";
|
|
22651
|
+
readonly components: readonly [{
|
|
22652
|
+
readonly name: "tokenIn";
|
|
22653
|
+
readonly internalType: "address";
|
|
22654
|
+
readonly type: "address";
|
|
22655
|
+
}, {
|
|
22656
|
+
readonly name: "tokenOut";
|
|
22657
|
+
readonly internalType: "address";
|
|
22658
|
+
readonly type: "address";
|
|
22659
|
+
}, {
|
|
22660
|
+
readonly name: "amountIn";
|
|
22661
|
+
readonly internalType: "uint256";
|
|
22662
|
+
readonly type: "uint256";
|
|
22663
|
+
}, {
|
|
22664
|
+
readonly name: "fee";
|
|
22665
|
+
readonly internalType: "uint24";
|
|
22666
|
+
readonly type: "uint24";
|
|
22667
|
+
}, {
|
|
22668
|
+
readonly name: "sqrtPriceLimitX96";
|
|
22669
|
+
readonly internalType: "uint160";
|
|
22670
|
+
readonly type: "uint160";
|
|
22671
|
+
}];
|
|
22672
|
+
}];
|
|
22673
|
+
readonly name: "quoteExactInputSingle";
|
|
22674
|
+
readonly outputs: readonly [{
|
|
22675
|
+
readonly name: "amountOut";
|
|
22676
|
+
readonly internalType: "uint256";
|
|
22677
|
+
readonly type: "uint256";
|
|
22678
|
+
}, {
|
|
22679
|
+
readonly name: "sqrtPriceX96After";
|
|
22680
|
+
readonly internalType: "uint160";
|
|
22681
|
+
readonly type: "uint160";
|
|
22682
|
+
}, {
|
|
22683
|
+
readonly name: "initializedTicksCrossed";
|
|
22684
|
+
readonly internalType: "uint32";
|
|
22685
|
+
readonly type: "uint32";
|
|
22686
|
+
}, {
|
|
22687
|
+
readonly name: "gasEstimate";
|
|
22688
|
+
readonly internalType: "uint256";
|
|
22689
|
+
readonly type: "uint256";
|
|
22690
|
+
}];
|
|
22691
|
+
readonly stateMutability: "nonpayable";
|
|
22692
|
+
}, {
|
|
22693
|
+
readonly type: "function";
|
|
22694
|
+
readonly inputs: readonly [{
|
|
22695
|
+
readonly name: "path";
|
|
22696
|
+
readonly internalType: "bytes";
|
|
22697
|
+
readonly type: "bytes";
|
|
22698
|
+
}, {
|
|
22699
|
+
readonly name: "amountOut";
|
|
22700
|
+
readonly internalType: "uint256";
|
|
22701
|
+
readonly type: "uint256";
|
|
22702
|
+
}];
|
|
22703
|
+
readonly name: "quoteExactOutput";
|
|
22704
|
+
readonly outputs: readonly [{
|
|
22705
|
+
readonly name: "amountIn";
|
|
22706
|
+
readonly internalType: "uint256";
|
|
22707
|
+
readonly type: "uint256";
|
|
22708
|
+
}, {
|
|
22709
|
+
readonly name: "sqrtPriceX96AfterList";
|
|
22710
|
+
readonly internalType: "uint160[]";
|
|
22711
|
+
readonly type: "uint160[]";
|
|
22712
|
+
}, {
|
|
22713
|
+
readonly name: "initializedTicksCrossedList";
|
|
22714
|
+
readonly internalType: "uint32[]";
|
|
22715
|
+
readonly type: "uint32[]";
|
|
22716
|
+
}, {
|
|
22717
|
+
readonly name: "gasEstimate";
|
|
22718
|
+
readonly internalType: "uint256";
|
|
22719
|
+
readonly type: "uint256";
|
|
22720
|
+
}];
|
|
22721
|
+
readonly stateMutability: "nonpayable";
|
|
22722
|
+
}, {
|
|
22723
|
+
readonly type: "function";
|
|
22724
|
+
readonly inputs: readonly [{
|
|
22725
|
+
readonly name: "params";
|
|
22726
|
+
readonly internalType: "struct IQuoterV2.QuoteExactOutputSingleParams";
|
|
22727
|
+
readonly type: "tuple";
|
|
22728
|
+
readonly components: readonly [{
|
|
22729
|
+
readonly name: "tokenIn";
|
|
22730
|
+
readonly internalType: "address";
|
|
22731
|
+
readonly type: "address";
|
|
22732
|
+
}, {
|
|
22733
|
+
readonly name: "tokenOut";
|
|
22734
|
+
readonly internalType: "address";
|
|
22735
|
+
readonly type: "address";
|
|
22736
|
+
}, {
|
|
22737
|
+
readonly name: "amount";
|
|
22738
|
+
readonly internalType: "uint256";
|
|
22739
|
+
readonly type: "uint256";
|
|
22740
|
+
}, {
|
|
22741
|
+
readonly name: "fee";
|
|
22742
|
+
readonly internalType: "uint24";
|
|
22743
|
+
readonly type: "uint24";
|
|
22744
|
+
}, {
|
|
22745
|
+
readonly name: "sqrtPriceLimitX96";
|
|
22746
|
+
readonly internalType: "uint160";
|
|
22747
|
+
readonly type: "uint160";
|
|
22748
|
+
}];
|
|
22749
|
+
}];
|
|
22750
|
+
readonly name: "quoteExactOutputSingle";
|
|
22751
|
+
readonly outputs: readonly [{
|
|
22752
|
+
readonly name: "amountIn";
|
|
22753
|
+
readonly internalType: "uint256";
|
|
22754
|
+
readonly type: "uint256";
|
|
22755
|
+
}, {
|
|
22756
|
+
readonly name: "sqrtPriceX96After";
|
|
22757
|
+
readonly internalType: "uint160";
|
|
22758
|
+
readonly type: "uint160";
|
|
22759
|
+
}, {
|
|
22760
|
+
readonly name: "initializedTicksCrossed";
|
|
22761
|
+
readonly internalType: "uint32";
|
|
22762
|
+
readonly type: "uint32";
|
|
22763
|
+
}, {
|
|
22764
|
+
readonly name: "gasEstimate";
|
|
22765
|
+
readonly internalType: "uint256";
|
|
22766
|
+
readonly type: "uint256";
|
|
22767
|
+
}];
|
|
22768
|
+
readonly stateMutability: "nonpayable";
|
|
22769
|
+
}];
|
|
22770
|
+
/**
|
|
22771
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a)
|
|
22772
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0xC5290058841028F1614F3A6F0F5816cAd0df5E27)
|
|
22773
|
+
*/
|
|
22774
|
+
export declare const uniswapQuoterV2Address: {
|
|
22775
|
+
readonly 8453: "0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a";
|
|
22776
|
+
readonly 84532: "0xC5290058841028F1614F3A6F0F5816cAd0df5E27";
|
|
22777
|
+
};
|
|
22778
|
+
/**
|
|
22779
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a)
|
|
22780
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0xC5290058841028F1614F3A6F0F5816cAd0df5E27)
|
|
22781
|
+
*/
|
|
22782
|
+
export declare const uniswapQuoterV2Config: {
|
|
22783
|
+
readonly address: {
|
|
22784
|
+
readonly 8453: "0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a";
|
|
22785
|
+
readonly 84532: "0xC5290058841028F1614F3A6F0F5816cAd0df5E27";
|
|
22786
|
+
};
|
|
22787
|
+
readonly abi: readonly [{
|
|
22788
|
+
readonly type: "function";
|
|
22789
|
+
readonly inputs: readonly [{
|
|
22790
|
+
readonly name: "path";
|
|
22791
|
+
readonly internalType: "bytes";
|
|
22792
|
+
readonly type: "bytes";
|
|
22793
|
+
}, {
|
|
22794
|
+
readonly name: "amountIn";
|
|
22795
|
+
readonly internalType: "uint256";
|
|
22796
|
+
readonly type: "uint256";
|
|
22797
|
+
}];
|
|
22798
|
+
readonly name: "quoteExactInput";
|
|
22799
|
+
readonly outputs: readonly [{
|
|
22800
|
+
readonly name: "amountOut";
|
|
22801
|
+
readonly internalType: "uint256";
|
|
22802
|
+
readonly type: "uint256";
|
|
22803
|
+
}, {
|
|
22804
|
+
readonly name: "sqrtPriceX96AfterList";
|
|
22805
|
+
readonly internalType: "uint160[]";
|
|
22806
|
+
readonly type: "uint160[]";
|
|
22807
|
+
}, {
|
|
22808
|
+
readonly name: "initializedTicksCrossedList";
|
|
22809
|
+
readonly internalType: "uint32[]";
|
|
22810
|
+
readonly type: "uint32[]";
|
|
22811
|
+
}, {
|
|
22812
|
+
readonly name: "gasEstimate";
|
|
22813
|
+
readonly internalType: "uint256";
|
|
22814
|
+
readonly type: "uint256";
|
|
22815
|
+
}];
|
|
22816
|
+
readonly stateMutability: "nonpayable";
|
|
22817
|
+
}, {
|
|
22818
|
+
readonly type: "function";
|
|
22819
|
+
readonly inputs: readonly [{
|
|
22820
|
+
readonly name: "params";
|
|
22821
|
+
readonly internalType: "struct IQuoterV2.QuoteExactInputSingleParams";
|
|
22822
|
+
readonly type: "tuple";
|
|
22823
|
+
readonly components: readonly [{
|
|
22824
|
+
readonly name: "tokenIn";
|
|
22825
|
+
readonly internalType: "address";
|
|
22826
|
+
readonly type: "address";
|
|
22827
|
+
}, {
|
|
22828
|
+
readonly name: "tokenOut";
|
|
22829
|
+
readonly internalType: "address";
|
|
22830
|
+
readonly type: "address";
|
|
22831
|
+
}, {
|
|
22832
|
+
readonly name: "amountIn";
|
|
22833
|
+
readonly internalType: "uint256";
|
|
22834
|
+
readonly type: "uint256";
|
|
22835
|
+
}, {
|
|
22836
|
+
readonly name: "fee";
|
|
22837
|
+
readonly internalType: "uint24";
|
|
22838
|
+
readonly type: "uint24";
|
|
22839
|
+
}, {
|
|
22840
|
+
readonly name: "sqrtPriceLimitX96";
|
|
22841
|
+
readonly internalType: "uint160";
|
|
22842
|
+
readonly type: "uint160";
|
|
22843
|
+
}];
|
|
22844
|
+
}];
|
|
22845
|
+
readonly name: "quoteExactInputSingle";
|
|
22846
|
+
readonly outputs: readonly [{
|
|
22847
|
+
readonly name: "amountOut";
|
|
22848
|
+
readonly internalType: "uint256";
|
|
22849
|
+
readonly type: "uint256";
|
|
22850
|
+
}, {
|
|
22851
|
+
readonly name: "sqrtPriceX96After";
|
|
22852
|
+
readonly internalType: "uint160";
|
|
22853
|
+
readonly type: "uint160";
|
|
22854
|
+
}, {
|
|
22855
|
+
readonly name: "initializedTicksCrossed";
|
|
22856
|
+
readonly internalType: "uint32";
|
|
22857
|
+
readonly type: "uint32";
|
|
22858
|
+
}, {
|
|
22859
|
+
readonly name: "gasEstimate";
|
|
22860
|
+
readonly internalType: "uint256";
|
|
22861
|
+
readonly type: "uint256";
|
|
22862
|
+
}];
|
|
22863
|
+
readonly stateMutability: "nonpayable";
|
|
22864
|
+
}, {
|
|
22865
|
+
readonly type: "function";
|
|
22866
|
+
readonly inputs: readonly [{
|
|
22867
|
+
readonly name: "path";
|
|
22868
|
+
readonly internalType: "bytes";
|
|
22869
|
+
readonly type: "bytes";
|
|
22870
|
+
}, {
|
|
22871
|
+
readonly name: "amountOut";
|
|
22872
|
+
readonly internalType: "uint256";
|
|
22873
|
+
readonly type: "uint256";
|
|
22874
|
+
}];
|
|
22875
|
+
readonly name: "quoteExactOutput";
|
|
22876
|
+
readonly outputs: readonly [{
|
|
22877
|
+
readonly name: "amountIn";
|
|
22878
|
+
readonly internalType: "uint256";
|
|
22879
|
+
readonly type: "uint256";
|
|
22880
|
+
}, {
|
|
22881
|
+
readonly name: "sqrtPriceX96AfterList";
|
|
22882
|
+
readonly internalType: "uint160[]";
|
|
22883
|
+
readonly type: "uint160[]";
|
|
22884
|
+
}, {
|
|
22885
|
+
readonly name: "initializedTicksCrossedList";
|
|
22886
|
+
readonly internalType: "uint32[]";
|
|
22887
|
+
readonly type: "uint32[]";
|
|
22888
|
+
}, {
|
|
22889
|
+
readonly name: "gasEstimate";
|
|
22890
|
+
readonly internalType: "uint256";
|
|
22891
|
+
readonly type: "uint256";
|
|
22892
|
+
}];
|
|
22893
|
+
readonly stateMutability: "nonpayable";
|
|
22894
|
+
}, {
|
|
22895
|
+
readonly type: "function";
|
|
22896
|
+
readonly inputs: readonly [{
|
|
22897
|
+
readonly name: "params";
|
|
22898
|
+
readonly internalType: "struct IQuoterV2.QuoteExactOutputSingleParams";
|
|
22899
|
+
readonly type: "tuple";
|
|
22900
|
+
readonly components: readonly [{
|
|
22901
|
+
readonly name: "tokenIn";
|
|
22902
|
+
readonly internalType: "address";
|
|
22903
|
+
readonly type: "address";
|
|
22904
|
+
}, {
|
|
22905
|
+
readonly name: "tokenOut";
|
|
22906
|
+
readonly internalType: "address";
|
|
22907
|
+
readonly type: "address";
|
|
22908
|
+
}, {
|
|
22909
|
+
readonly name: "amount";
|
|
22910
|
+
readonly internalType: "uint256";
|
|
22911
|
+
readonly type: "uint256";
|
|
22912
|
+
}, {
|
|
22913
|
+
readonly name: "fee";
|
|
22914
|
+
readonly internalType: "uint24";
|
|
22915
|
+
readonly type: "uint24";
|
|
22916
|
+
}, {
|
|
22917
|
+
readonly name: "sqrtPriceLimitX96";
|
|
22918
|
+
readonly internalType: "uint160";
|
|
22919
|
+
readonly type: "uint160";
|
|
22920
|
+
}];
|
|
22921
|
+
}];
|
|
22922
|
+
readonly name: "quoteExactOutputSingle";
|
|
22923
|
+
readonly outputs: readonly [{
|
|
22924
|
+
readonly name: "amountIn";
|
|
22925
|
+
readonly internalType: "uint256";
|
|
22926
|
+
readonly type: "uint256";
|
|
22927
|
+
}, {
|
|
22928
|
+
readonly name: "sqrtPriceX96After";
|
|
22929
|
+
readonly internalType: "uint160";
|
|
22930
|
+
readonly type: "uint160";
|
|
22931
|
+
}, {
|
|
22932
|
+
readonly name: "initializedTicksCrossed";
|
|
22933
|
+
readonly internalType: "uint32";
|
|
22934
|
+
readonly type: "uint32";
|
|
22935
|
+
}, {
|
|
22936
|
+
readonly name: "gasEstimate";
|
|
22937
|
+
readonly internalType: "uint256";
|
|
22938
|
+
readonly type: "uint256";
|
|
22939
|
+
}];
|
|
22940
|
+
readonly stateMutability: "nonpayable";
|
|
22941
|
+
}];
|
|
22942
|
+
};
|
|
22486
22943
|
/**
|
|
22487
22944
|
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x6ff5693b99212da76ad316178a184ab56d299b43)
|
|
22488
22945
|
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x492E6456D9528771018DeB9E87ef7750EF184104)
|