@clawnch/clawncher-sdk 0.1.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/README.md +603 -0
- package/dist/abis.d.ts +935 -0
- package/dist/abis.d.ts.map +1 -0
- package/dist/abis.js +486 -0
- package/dist/abis.js.map +1 -0
- package/dist/addresses.d.ts +51 -0
- package/dist/addresses.d.ts.map +1 -0
- package/dist/addresses.js +80 -0
- package/dist/addresses.js.map +1 -0
- package/dist/api-deployer-types.d.ts +165 -0
- package/dist/api-deployer-types.d.ts.map +1 -0
- package/dist/api-deployer-types.js +9 -0
- package/dist/api-deployer-types.js.map +1 -0
- package/dist/api-deployer.d.ts +114 -0
- package/dist/api-deployer.d.ts.map +1 -0
- package/dist/api-deployer.js +309 -0
- package/dist/api-deployer.js.map +1 -0
- package/dist/claimer.d.ts +197 -0
- package/dist/claimer.d.ts.map +1 -0
- package/dist/claimer.js +311 -0
- package/dist/claimer.js.map +1 -0
- package/dist/deployer.d.ts +229 -0
- package/dist/deployer.d.ts.map +1 -0
- package/dist/deployer.js +305 -0
- package/dist/deployer.js.map +1 -0
- package/dist/erc8004-types.d.ts +94 -0
- package/dist/erc8004-types.d.ts.map +1 -0
- package/dist/erc8004-types.js +8 -0
- package/dist/erc8004-types.js.map +1 -0
- package/dist/errors.d.ts +62 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +75 -0
- package/dist/errors.js.map +1 -0
- package/dist/index.d.ts +204 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +358 -0
- package/dist/index.js.map +1 -0
- package/dist/liquidity-types.d.ts +198 -0
- package/dist/liquidity-types.d.ts.map +1 -0
- package/dist/liquidity-types.js +8 -0
- package/dist/liquidity-types.js.map +1 -0
- package/dist/liquidity.d.ts +111 -0
- package/dist/liquidity.d.ts.map +1 -0
- package/dist/liquidity.js +608 -0
- package/dist/liquidity.js.map +1 -0
- package/dist/molten-types.d.ts +282 -0
- package/dist/molten-types.d.ts.map +1 -0
- package/dist/molten-types.js +8 -0
- package/dist/molten-types.js.map +1 -0
- package/dist/molten.d.ts +336 -0
- package/dist/molten.d.ts.map +1 -0
- package/dist/molten.js +560 -0
- package/dist/molten.js.map +1 -0
- package/dist/portfolio.d.ts +129 -0
- package/dist/portfolio.d.ts.map +1 -0
- package/dist/portfolio.js +218 -0
- package/dist/portfolio.js.map +1 -0
- package/dist/reader.d.ts +249 -0
- package/dist/reader.d.ts.map +1 -0
- package/dist/reader.js +488 -0
- package/dist/reader.js.map +1 -0
- package/dist/swap-types.d.ts +159 -0
- package/dist/swap-types.d.ts.map +1 -0
- package/dist/swap-types.js +22 -0
- package/dist/swap-types.js.map +1 -0
- package/dist/swap.d.ts +762 -0
- package/dist/swap.d.ts.map +1 -0
- package/dist/swap.js +345 -0
- package/dist/swap.js.map +1 -0
- package/dist/token-verification-data.d.ts +4 -0
- package/dist/token-verification-data.d.ts.map +1 -0
- package/dist/token-verification-data.js +6 -0
- package/dist/token-verification-data.js.map +1 -0
- package/dist/types.d.ts +244 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +5 -0
- package/dist/types.js.map +1 -0
- package/dist/uniswap-abis.d.ts +470 -0
- package/dist/uniswap-abis.d.ts.map +1 -0
- package/dist/uniswap-abis.js +322 -0
- package/dist/uniswap-abis.js.map +1 -0
- package/dist/uniswap-addresses.d.ts +38 -0
- package/dist/uniswap-addresses.d.ts.map +1 -0
- package/dist/uniswap-addresses.js +67 -0
- package/dist/uniswap-addresses.js.map +1 -0
- package/dist/vanity.d.ts +115 -0
- package/dist/vanity.d.ts.map +1 -0
- package/dist/vanity.js +166 -0
- package/dist/vanity.js.map +1 -0
- package/dist/verify.d.ts +88 -0
- package/dist/verify.d.ts.map +1 -0
- package/dist/verify.js +181 -0
- package/dist/verify.js.map +1 -0
- package/dist/watcher.d.ts +112 -0
- package/dist/watcher.d.ts.map +1 -0
- package/dist/watcher.js +132 -0
- package/dist/watcher.js.map +1 -0
- package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M,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkBjB,CAAC;AAEX;;;;;;;;;;GAUG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0BtB,CAAC;AAEX;;;;;;;GAOG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkDlB,CAAC"}
|
package/dist/abis.js
ADDED
|
@@ -0,0 +1,486 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Clawncher Contract ABIs
|
|
3
|
+
*
|
|
4
|
+
* Minimal ABIs for SDK functionality. UI builders may need full ABIs
|
|
5
|
+
* which can be generated from contract compilation.
|
|
6
|
+
*/
|
|
7
|
+
export const ClawnchFactoryABI = [
|
|
8
|
+
{
|
|
9
|
+
inputs: [
|
|
10
|
+
{
|
|
11
|
+
components: [
|
|
12
|
+
{
|
|
13
|
+
components: [
|
|
14
|
+
{ internalType: 'address', name: 'tokenAdmin', type: 'address' },
|
|
15
|
+
{ internalType: 'string', name: 'name', type: 'string' },
|
|
16
|
+
{ internalType: 'string', name: 'symbol', type: 'string' },
|
|
17
|
+
{ internalType: 'bytes32', name: 'salt', type: 'bytes32' },
|
|
18
|
+
{ internalType: 'string', name: 'image', type: 'string' },
|
|
19
|
+
{ internalType: 'string', name: 'metadata', type: 'string' },
|
|
20
|
+
{ internalType: 'string', name: 'context', type: 'string' },
|
|
21
|
+
{ internalType: 'uint256', name: 'originatingChainId', type: 'uint256' },
|
|
22
|
+
],
|
|
23
|
+
internalType: 'struct IClawnch.TokenConfig',
|
|
24
|
+
name: 'tokenConfig',
|
|
25
|
+
type: 'tuple',
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
components: [
|
|
29
|
+
{ internalType: 'address', name: 'hook', type: 'address' },
|
|
30
|
+
{ internalType: 'address', name: 'pairedToken', type: 'address' },
|
|
31
|
+
{ internalType: 'int24', name: 'tickIfToken0IsClawnch', type: 'int24' },
|
|
32
|
+
{ internalType: 'int24', name: 'tickSpacing', type: 'int24' },
|
|
33
|
+
{ internalType: 'bytes', name: 'poolData', type: 'bytes' },
|
|
34
|
+
],
|
|
35
|
+
internalType: 'struct IClawnch.PoolConfig',
|
|
36
|
+
name: 'poolConfig',
|
|
37
|
+
type: 'tuple',
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
components: [
|
|
41
|
+
{ internalType: 'address', name: 'locker', type: 'address' },
|
|
42
|
+
{ internalType: 'address[]', name: 'rewardAdmins', type: 'address[]' },
|
|
43
|
+
{ internalType: 'address[]', name: 'rewardRecipients', type: 'address[]' },
|
|
44
|
+
{ internalType: 'uint16[]', name: 'rewardBps', type: 'uint16[]' },
|
|
45
|
+
{ internalType: 'int24[]', name: 'tickLower', type: 'int24[]' },
|
|
46
|
+
{ internalType: 'int24[]', name: 'tickUpper', type: 'int24[]' },
|
|
47
|
+
{ internalType: 'uint16[]', name: 'positionBps', type: 'uint16[]' },
|
|
48
|
+
{ internalType: 'bytes', name: 'lockerData', type: 'bytes' },
|
|
49
|
+
],
|
|
50
|
+
internalType: 'struct IClawnch.LockerConfig',
|
|
51
|
+
name: 'lockerConfig',
|
|
52
|
+
type: 'tuple',
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
components: [
|
|
56
|
+
{ internalType: 'address', name: 'mevModule', type: 'address' },
|
|
57
|
+
{ internalType: 'bytes', name: 'mevModuleData', type: 'bytes' },
|
|
58
|
+
],
|
|
59
|
+
internalType: 'struct IClawnch.MevModuleConfig',
|
|
60
|
+
name: 'mevModuleConfig',
|
|
61
|
+
type: 'tuple',
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
components: [
|
|
65
|
+
{ internalType: 'address', name: 'extension', type: 'address' },
|
|
66
|
+
{ internalType: 'uint256', name: 'msgValue', type: 'uint256' },
|
|
67
|
+
{ internalType: 'uint16', name: 'extensionBps', type: 'uint16' },
|
|
68
|
+
{ internalType: 'bytes', name: 'extensionData', type: 'bytes' },
|
|
69
|
+
],
|
|
70
|
+
internalType: 'struct IClawnch.ExtensionConfig[]',
|
|
71
|
+
name: 'extensionConfigs',
|
|
72
|
+
type: 'tuple[]',
|
|
73
|
+
},
|
|
74
|
+
],
|
|
75
|
+
internalType: 'struct IClawnch.DeploymentConfig',
|
|
76
|
+
name: 'deploymentConfig',
|
|
77
|
+
type: 'tuple',
|
|
78
|
+
},
|
|
79
|
+
],
|
|
80
|
+
name: 'deployToken',
|
|
81
|
+
outputs: [{ internalType: 'address', name: 'tokenAddress', type: 'address' }],
|
|
82
|
+
stateMutability: 'payable',
|
|
83
|
+
type: 'function',
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
inputs: [{ internalType: 'address', name: 'token', type: 'address' }],
|
|
87
|
+
name: 'tokenDeploymentInfo',
|
|
88
|
+
outputs: [
|
|
89
|
+
{
|
|
90
|
+
components: [
|
|
91
|
+
{ internalType: 'address', name: 'token', type: 'address' },
|
|
92
|
+
{ internalType: 'address', name: 'hook', type: 'address' },
|
|
93
|
+
{ internalType: 'address', name: 'locker', type: 'address' },
|
|
94
|
+
{ internalType: 'address[]', name: 'extensions', type: 'address[]' },
|
|
95
|
+
],
|
|
96
|
+
internalType: 'struct IClawnch.DeploymentInfo',
|
|
97
|
+
name: '',
|
|
98
|
+
type: 'tuple',
|
|
99
|
+
},
|
|
100
|
+
],
|
|
101
|
+
stateMutability: 'view',
|
|
102
|
+
type: 'function',
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
inputs: [],
|
|
106
|
+
name: 'deprecated',
|
|
107
|
+
outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
|
|
108
|
+
stateMutability: 'view',
|
|
109
|
+
type: 'function',
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
anonymous: false,
|
|
113
|
+
inputs: [
|
|
114
|
+
{ indexed: false, internalType: 'address', name: 'msgSender', type: 'address' },
|
|
115
|
+
{ indexed: true, internalType: 'address', name: 'tokenAddress', type: 'address' },
|
|
116
|
+
{ indexed: true, internalType: 'address', name: 'tokenAdmin', type: 'address' },
|
|
117
|
+
{ indexed: false, internalType: 'string', name: 'tokenImage', type: 'string' },
|
|
118
|
+
{ indexed: false, internalType: 'string', name: 'tokenName', type: 'string' },
|
|
119
|
+
{ indexed: false, internalType: 'string', name: 'tokenSymbol', type: 'string' },
|
|
120
|
+
{ indexed: false, internalType: 'string', name: 'tokenMetadata', type: 'string' },
|
|
121
|
+
{ indexed: false, internalType: 'string', name: 'tokenContext', type: 'string' },
|
|
122
|
+
{ indexed: false, internalType: 'int24', name: 'startingTick', type: 'int24' },
|
|
123
|
+
{ indexed: false, internalType: 'address', name: 'poolHook', type: 'address' },
|
|
124
|
+
{ indexed: false, internalType: 'bytes32', name: 'poolId', type: 'bytes32' },
|
|
125
|
+
{ indexed: false, internalType: 'address', name: 'pairedToken', type: 'address' },
|
|
126
|
+
{ indexed: false, internalType: 'address', name: 'locker', type: 'address' },
|
|
127
|
+
{ indexed: false, internalType: 'address', name: 'mevModule', type: 'address' },
|
|
128
|
+
{ indexed: false, internalType: 'uint256', name: 'extensionsSupply', type: 'uint256' },
|
|
129
|
+
{ indexed: false, internalType: 'address[]', name: 'extensions', type: 'address[]' },
|
|
130
|
+
],
|
|
131
|
+
name: 'TokenCreated',
|
|
132
|
+
type: 'event',
|
|
133
|
+
},
|
|
134
|
+
];
|
|
135
|
+
export const ClawnchFeeLockerABI = [
|
|
136
|
+
{
|
|
137
|
+
inputs: [
|
|
138
|
+
{ internalType: 'address', name: 'feeOwner', type: 'address' },
|
|
139
|
+
{ internalType: 'address', name: 'token', type: 'address' },
|
|
140
|
+
],
|
|
141
|
+
name: 'availableFees',
|
|
142
|
+
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
|
|
143
|
+
stateMutability: 'view',
|
|
144
|
+
type: 'function',
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
inputs: [
|
|
148
|
+
{ internalType: 'address', name: 'feeOwner', type: 'address' },
|
|
149
|
+
{ internalType: 'address', name: 'token', type: 'address' },
|
|
150
|
+
],
|
|
151
|
+
name: 'claim',
|
|
152
|
+
outputs: [],
|
|
153
|
+
stateMutability: 'nonpayable',
|
|
154
|
+
type: 'function',
|
|
155
|
+
},
|
|
156
|
+
];
|
|
157
|
+
export const ClawnchLpLockerABI = [
|
|
158
|
+
{
|
|
159
|
+
inputs: [{ internalType: 'address', name: 'token', type: 'address' }],
|
|
160
|
+
name: 'collectRewards',
|
|
161
|
+
outputs: [],
|
|
162
|
+
stateMutability: 'nonpayable',
|
|
163
|
+
type: 'function',
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
inputs: [{ internalType: 'address', name: 'token', type: 'address' }],
|
|
167
|
+
name: 'tokenRewards',
|
|
168
|
+
outputs: [
|
|
169
|
+
{
|
|
170
|
+
components: [
|
|
171
|
+
{ internalType: 'address', name: 'token', type: 'address' },
|
|
172
|
+
{
|
|
173
|
+
components: [
|
|
174
|
+
{ internalType: 'address', name: 'currency0', type: 'address' },
|
|
175
|
+
{ internalType: 'address', name: 'currency1', type: 'address' },
|
|
176
|
+
{ internalType: 'uint24', name: 'fee', type: 'uint24' },
|
|
177
|
+
{ internalType: 'int24', name: 'tickSpacing', type: 'int24' },
|
|
178
|
+
{ internalType: 'address', name: 'hooks', type: 'address' },
|
|
179
|
+
],
|
|
180
|
+
internalType: 'struct PoolKey',
|
|
181
|
+
name: 'poolKey',
|
|
182
|
+
type: 'tuple',
|
|
183
|
+
},
|
|
184
|
+
{ internalType: 'uint256', name: 'positionId', type: 'uint256' },
|
|
185
|
+
{ internalType: 'uint256', name: 'numPositions', type: 'uint256' },
|
|
186
|
+
{ internalType: 'uint16[]', name: 'rewardBps', type: 'uint16[]' },
|
|
187
|
+
{ internalType: 'address[]', name: 'rewardAdmins', type: 'address[]' },
|
|
188
|
+
{ internalType: 'address[]', name: 'rewardRecipients', type: 'address[]' },
|
|
189
|
+
],
|
|
190
|
+
internalType: 'struct IClawnchLpLocker.TokenRewardInfo',
|
|
191
|
+
name: '',
|
|
192
|
+
type: 'tuple',
|
|
193
|
+
},
|
|
194
|
+
],
|
|
195
|
+
stateMutability: 'view',
|
|
196
|
+
type: 'function',
|
|
197
|
+
},
|
|
198
|
+
];
|
|
199
|
+
export const ERC20ABI = [
|
|
200
|
+
{
|
|
201
|
+
inputs: [{ internalType: 'address', name: 'account', type: 'address' }],
|
|
202
|
+
name: 'balanceOf',
|
|
203
|
+
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
|
|
204
|
+
stateMutability: 'view',
|
|
205
|
+
type: 'function',
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
inputs: [],
|
|
209
|
+
name: 'totalSupply',
|
|
210
|
+
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
|
|
211
|
+
stateMutability: 'view',
|
|
212
|
+
type: 'function',
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
inputs: [],
|
|
216
|
+
name: 'name',
|
|
217
|
+
outputs: [{ internalType: 'string', name: '', type: 'string' }],
|
|
218
|
+
stateMutability: 'view',
|
|
219
|
+
type: 'function',
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
inputs: [],
|
|
223
|
+
name: 'symbol',
|
|
224
|
+
outputs: [{ internalType: 'string', name: '', type: 'string' }],
|
|
225
|
+
stateMutability: 'view',
|
|
226
|
+
type: 'function',
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
inputs: [],
|
|
230
|
+
name: 'decimals',
|
|
231
|
+
outputs: [{ internalType: 'uint8', name: '', type: 'uint8' }],
|
|
232
|
+
stateMutability: 'view',
|
|
233
|
+
type: 'function',
|
|
234
|
+
},
|
|
235
|
+
];
|
|
236
|
+
/**
|
|
237
|
+
* ClawnchVault ABI - Read vault allocation data
|
|
238
|
+
*/
|
|
239
|
+
export const ClawnchVaultABI = [
|
|
240
|
+
{
|
|
241
|
+
inputs: [{ internalType: 'address', name: 'token', type: 'address' }],
|
|
242
|
+
name: 'allocation',
|
|
243
|
+
outputs: [
|
|
244
|
+
{ internalType: 'address', name: 'token', type: 'address' },
|
|
245
|
+
{ internalType: 'uint256', name: 'amountTotal', type: 'uint256' },
|
|
246
|
+
{ internalType: 'uint256', name: 'amountClaimed', type: 'uint256' },
|
|
247
|
+
{ internalType: 'uint256', name: 'lockupEndTime', type: 'uint256' },
|
|
248
|
+
{ internalType: 'uint256', name: 'vestingEndTime', type: 'uint256' },
|
|
249
|
+
{ internalType: 'address', name: 'admin', type: 'address' },
|
|
250
|
+
],
|
|
251
|
+
stateMutability: 'view',
|
|
252
|
+
type: 'function',
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
inputs: [{ internalType: 'address', name: 'token', type: 'address' }],
|
|
256
|
+
name: 'amountAvailableToClaim',
|
|
257
|
+
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
|
|
258
|
+
stateMutability: 'view',
|
|
259
|
+
type: 'function',
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
inputs: [{ internalType: 'address', name: 'token', type: 'address' }],
|
|
263
|
+
name: 'claim',
|
|
264
|
+
outputs: [],
|
|
265
|
+
stateMutability: 'nonpayable',
|
|
266
|
+
type: 'function',
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
inputs: [
|
|
270
|
+
{ internalType: 'address', name: 'token', type: 'address' },
|
|
271
|
+
{ internalType: 'address', name: 'newAdmin', type: 'address' },
|
|
272
|
+
],
|
|
273
|
+
name: 'editAllocationAdmin',
|
|
274
|
+
outputs: [],
|
|
275
|
+
stateMutability: 'nonpayable',
|
|
276
|
+
type: 'function',
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
anonymous: false,
|
|
280
|
+
inputs: [
|
|
281
|
+
{ indexed: true, internalType: 'address', name: 'token', type: 'address' },
|
|
282
|
+
{ indexed: false, internalType: 'address', name: 'admin', type: 'address' },
|
|
283
|
+
{ indexed: false, internalType: 'uint256', name: 'supply', type: 'uint256' },
|
|
284
|
+
{ indexed: false, internalType: 'uint256', name: 'lockupDuration', type: 'uint256' },
|
|
285
|
+
{ indexed: false, internalType: 'uint256', name: 'vestingDuration', type: 'uint256' },
|
|
286
|
+
],
|
|
287
|
+
name: 'AllocationCreated',
|
|
288
|
+
type: 'event',
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
anonymous: false,
|
|
292
|
+
inputs: [
|
|
293
|
+
{ indexed: true, internalType: 'address', name: 'token', type: 'address' },
|
|
294
|
+
{ indexed: false, internalType: 'uint256', name: 'amountClaimed', type: 'uint256' },
|
|
295
|
+
{ indexed: false, internalType: 'uint256', name: 'amountRemaining', type: 'uint256' },
|
|
296
|
+
],
|
|
297
|
+
name: 'AllocationClaimed',
|
|
298
|
+
type: 'event',
|
|
299
|
+
},
|
|
300
|
+
];
|
|
301
|
+
/**
|
|
302
|
+
* ClawncherVestedDevBuy ABI - Read vested dev buy allocation data
|
|
303
|
+
*/
|
|
304
|
+
export const ClawncherVestedDevBuyABI = [
|
|
305
|
+
{
|
|
306
|
+
inputs: [{ internalType: 'address', name: 'token', type: 'address' }],
|
|
307
|
+
name: 'allocation',
|
|
308
|
+
outputs: [
|
|
309
|
+
{ internalType: 'address', name: 'token', type: 'address' },
|
|
310
|
+
{ internalType: 'uint256', name: 'amountTotal', type: 'uint256' },
|
|
311
|
+
{ internalType: 'uint256', name: 'amountClaimed', type: 'uint256' },
|
|
312
|
+
{ internalType: 'uint256', name: 'lockupEndTime', type: 'uint256' },
|
|
313
|
+
{ internalType: 'uint256', name: 'vestingEndTime', type: 'uint256' },
|
|
314
|
+
{ internalType: 'address', name: 'admin', type: 'address' },
|
|
315
|
+
],
|
|
316
|
+
stateMutability: 'view',
|
|
317
|
+
type: 'function',
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
inputs: [{ internalType: 'address', name: 'token', type: 'address' }],
|
|
321
|
+
name: 'amountAvailableToClaim',
|
|
322
|
+
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
|
|
323
|
+
stateMutability: 'view',
|
|
324
|
+
type: 'function',
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
inputs: [{ internalType: 'address', name: 'token', type: 'address' }],
|
|
328
|
+
name: 'claim',
|
|
329
|
+
outputs: [],
|
|
330
|
+
stateMutability: 'nonpayable',
|
|
331
|
+
type: 'function',
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
inputs: [
|
|
335
|
+
{ internalType: 'address', name: 'token', type: 'address' },
|
|
336
|
+
{ internalType: 'address', name: 'newAdmin', type: 'address' },
|
|
337
|
+
],
|
|
338
|
+
name: 'editAllocationAdmin',
|
|
339
|
+
outputs: [],
|
|
340
|
+
stateMutability: 'nonpayable',
|
|
341
|
+
type: 'function',
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
anonymous: false,
|
|
345
|
+
inputs: [
|
|
346
|
+
{ indexed: true, internalType: 'address', name: 'token', type: 'address' },
|
|
347
|
+
{ indexed: true, internalType: 'address', name: 'recipient', type: 'address' },
|
|
348
|
+
{ indexed: false, internalType: 'uint256', name: 'ethAmount', type: 'uint256' },
|
|
349
|
+
{ indexed: false, internalType: 'uint256', name: 'tokenAmount', type: 'uint256' },
|
|
350
|
+
{ indexed: false, internalType: 'uint256', name: 'lockupDuration', type: 'uint256' },
|
|
351
|
+
{ indexed: false, internalType: 'uint256', name: 'vestingDuration', type: 'uint256' },
|
|
352
|
+
],
|
|
353
|
+
name: 'VestedDevBuy',
|
|
354
|
+
type: 'event',
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
anonymous: false,
|
|
358
|
+
inputs: [
|
|
359
|
+
{ indexed: true, internalType: 'address', name: 'token', type: 'address' },
|
|
360
|
+
{ indexed: false, internalType: 'uint256', name: 'amountClaimed', type: 'uint256' },
|
|
361
|
+
{ indexed: false, internalType: 'uint256', name: 'amountRemaining', type: 'uint256' },
|
|
362
|
+
],
|
|
363
|
+
name: 'AllocationClaimed',
|
|
364
|
+
type: 'event',
|
|
365
|
+
},
|
|
366
|
+
];
|
|
367
|
+
/**
|
|
368
|
+
* ClawnchHookStaticFeeV2 ABI - Read fee configuration
|
|
369
|
+
*/
|
|
370
|
+
export const ClawnchHookABI = [
|
|
371
|
+
{
|
|
372
|
+
inputs: [{ internalType: 'bytes32', name: 'poolId', type: 'bytes32' }],
|
|
373
|
+
name: 'feeConfig',
|
|
374
|
+
outputs: [
|
|
375
|
+
{ internalType: 'uint24', name: 'buyFee', type: 'uint24' },
|
|
376
|
+
{ internalType: 'uint24', name: 'sellFee', type: 'uint24' },
|
|
377
|
+
],
|
|
378
|
+
stateMutability: 'view',
|
|
379
|
+
type: 'function',
|
|
380
|
+
},
|
|
381
|
+
{
|
|
382
|
+
inputs: [],
|
|
383
|
+
name: 'protocolFee',
|
|
384
|
+
outputs: [{ internalType: 'uint24', name: '', type: 'uint24' }],
|
|
385
|
+
stateMutability: 'view',
|
|
386
|
+
type: 'function',
|
|
387
|
+
},
|
|
388
|
+
];
|
|
389
|
+
/**
|
|
390
|
+
* ClawnchMevDescendingFees ABI - Read MEV protection config
|
|
391
|
+
*
|
|
392
|
+
* Contract function names:
|
|
393
|
+
* feeConfig(bytes32 poolId) - not mevConfig(address)
|
|
394
|
+
* getFee(bytes32 poolId) - not currentFee(address)
|
|
395
|
+
* poolStartTime(bytes32 poolId) - start time for decay calculation
|
|
396
|
+
*
|
|
397
|
+
* PoolId is bytes32 (Uniswap V4 pool identifier).
|
|
398
|
+
* Decay end = poolStartTime + feeConfig.secondsToDecay
|
|
399
|
+
*/
|
|
400
|
+
export const ClawnchMevModuleABI = [
|
|
401
|
+
{
|
|
402
|
+
inputs: [{ internalType: 'PoolId', name: 'poolId', type: 'bytes32' }],
|
|
403
|
+
name: 'feeConfig',
|
|
404
|
+
outputs: [
|
|
405
|
+
{ internalType: 'uint24', name: 'startingFee', type: 'uint24' },
|
|
406
|
+
{ internalType: 'uint24', name: 'endingFee', type: 'uint24' },
|
|
407
|
+
{ internalType: 'uint256', name: 'secondsToDecay', type: 'uint256' },
|
|
408
|
+
],
|
|
409
|
+
stateMutability: 'view',
|
|
410
|
+
type: 'function',
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
inputs: [{ internalType: 'PoolId', name: 'poolId', type: 'bytes32' }],
|
|
414
|
+
name: 'poolStartTime',
|
|
415
|
+
outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
|
|
416
|
+
stateMutability: 'view',
|
|
417
|
+
type: 'function',
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
inputs: [{ internalType: 'PoolId', name: 'poolId', type: 'bytes32' }],
|
|
421
|
+
name: 'getFee',
|
|
422
|
+
outputs: [{ internalType: 'uint24', name: '', type: 'uint24' }],
|
|
423
|
+
stateMutability: 'view',
|
|
424
|
+
type: 'function',
|
|
425
|
+
},
|
|
426
|
+
];
|
|
427
|
+
/**
|
|
428
|
+
* ClawnchToken ABI - Read token-specific data (admin, metadata)
|
|
429
|
+
*
|
|
430
|
+
* Contract function names:
|
|
431
|
+
* admin() - not tokenAdmin()
|
|
432
|
+
* imageUrl() - not image()
|
|
433
|
+
* allData() - returns all metadata in one call
|
|
434
|
+
*/
|
|
435
|
+
export const ClawnchTokenABI = [
|
|
436
|
+
...ERC20ABI,
|
|
437
|
+
{
|
|
438
|
+
inputs: [],
|
|
439
|
+
name: 'admin',
|
|
440
|
+
outputs: [{ internalType: 'address', name: '', type: 'address' }],
|
|
441
|
+
stateMutability: 'view',
|
|
442
|
+
type: 'function',
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
inputs: [],
|
|
446
|
+
name: 'originalAdmin',
|
|
447
|
+
outputs: [{ internalType: 'address', name: '', type: 'address' }],
|
|
448
|
+
stateMutability: 'view',
|
|
449
|
+
type: 'function',
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
inputs: [],
|
|
453
|
+
name: 'imageUrl',
|
|
454
|
+
outputs: [{ internalType: 'string', name: '', type: 'string' }],
|
|
455
|
+
stateMutability: 'view',
|
|
456
|
+
type: 'function',
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
inputs: [],
|
|
460
|
+
name: 'metadata',
|
|
461
|
+
outputs: [{ internalType: 'string', name: '', type: 'string' }],
|
|
462
|
+
stateMutability: 'view',
|
|
463
|
+
type: 'function',
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
inputs: [],
|
|
467
|
+
name: 'context',
|
|
468
|
+
outputs: [{ internalType: 'string', name: '', type: 'string' }],
|
|
469
|
+
stateMutability: 'view',
|
|
470
|
+
type: 'function',
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
inputs: [],
|
|
474
|
+
name: 'allData',
|
|
475
|
+
outputs: [
|
|
476
|
+
{ internalType: 'address', name: 'originalAdmin', type: 'address' },
|
|
477
|
+
{ internalType: 'address', name: 'admin', type: 'address' },
|
|
478
|
+
{ internalType: 'string', name: 'image', type: 'string' },
|
|
479
|
+
{ internalType: 'string', name: 'metadata', type: 'string' },
|
|
480
|
+
{ internalType: 'string', name: 'context', type: 'string' },
|
|
481
|
+
],
|
|
482
|
+
stateMutability: 'view',
|
|
483
|
+
type: 'function',
|
|
484
|
+
},
|
|
485
|
+
];
|
|
486
|
+
//# sourceMappingURL=abis.js.map
|
package/dist/abis.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"abis.js","sourceRoot":"","sources":["../src/abis.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B;QACE,MAAM,EAAE;YACN;gBACE,UAAU,EAAE;oBACV;wBACE,UAAU,EAAE;4BACV,EAAE,YAAY,EAAE,SAAS,EAAE,IAAI,EAAE,YAAY,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UAAU;KACjB;CACO,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Clawncher Contract Addresses (v3 - Clanker-backed)
|
|
3
|
+
*
|
|
4
|
+
* In v3, Clawncher deploys through Clanker's approved Uniswap V4 infrastructure.
|
|
5
|
+
* These addresses point to Clanker's contracts on Base networks.
|
|
6
|
+
*
|
|
7
|
+
* Our own v2 contracts are preserved in packages/sdk-direct for when our
|
|
8
|
+
* Uniswap V4 hook is approved.
|
|
9
|
+
*/
|
|
10
|
+
import type { Address } from 'viem';
|
|
11
|
+
export interface ClawnchAddresses {
|
|
12
|
+
factory: Address;
|
|
13
|
+
hook: Address;
|
|
14
|
+
locker: Address;
|
|
15
|
+
feeLocker: Address;
|
|
16
|
+
mevModule: Address;
|
|
17
|
+
vault: Address;
|
|
18
|
+
airdropV2: Address;
|
|
19
|
+
devBuy: Address;
|
|
20
|
+
vestedDevBuy: Address;
|
|
21
|
+
poolExtensionAllowlist: Address;
|
|
22
|
+
}
|
|
23
|
+
export interface NetworkAddresses {
|
|
24
|
+
clawnch: ClawnchAddresses;
|
|
25
|
+
infrastructure: {
|
|
26
|
+
poolManager: Address;
|
|
27
|
+
positionManager: Address;
|
|
28
|
+
permit2: Address;
|
|
29
|
+
universalRouter: Address;
|
|
30
|
+
weth: Address;
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Base Sepolia (testnet) addresses - Clanker's Sepolia deployment
|
|
35
|
+
*/
|
|
36
|
+
export declare const SEPOLIA_ADDRESSES: NetworkAddresses;
|
|
37
|
+
/**
|
|
38
|
+
* Base Mainnet addresses - Clanker's v4 deployment
|
|
39
|
+
*/
|
|
40
|
+
export declare const MAINNET_ADDRESSES: NetworkAddresses;
|
|
41
|
+
export type NetworkName = 'mainnet' | 'sepolia';
|
|
42
|
+
export declare function getAddresses(network: NetworkName): NetworkAddresses;
|
|
43
|
+
/**
|
|
44
|
+
* Check if mainnet is ready for deployment
|
|
45
|
+
*/
|
|
46
|
+
export declare function isMainnetReady(): boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Get the chain ID for a network
|
|
49
|
+
*/
|
|
50
|
+
export declare function getChainId(network: NetworkName): number;
|
|
51
|
+
//# sourceMappingURL=addresses.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"addresses.d.ts","sourceRoot":"","sources":["../src/addresses.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAEpC,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,OAAO,CAAC;IACjB,IAAI,EAAE,OAAO,CAAC;IACd,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,OAAO,CAAC;IACf,SAAS,EAAE,OAAO,CAAC;IACnB,MAAM,EAAE,OAAO,CAAC;IAChB,YAAY,EAAE,OAAO,CAAC;IACtB,sBAAsB,EAAE,OAAO,CAAC;CACjC;AAED,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,gBAAgB,CAAC;IAC1B,cAAc,EAAE;QACd,WAAW,EAAE,OAAO,CAAC;QACrB,eAAe,EAAE,OAAO,CAAC;QACzB,OAAO,EAAE,OAAO,CAAC;QACjB,eAAe,EAAE,OAAO,CAAC;QACzB,IAAI,EAAE,OAAO,CAAC;KACf,CAAC;CACH;AAED;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,gBAoB/B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,gBAoB/B,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,SAAS,CAAC;AAEhD,wBAAgB,YAAY,CAAC,OAAO,EAAE,WAAW,GAAG,gBAAgB,CASnE;AAED;;GAEG;AACH,wBAAgB,cAAc,IAAI,OAAO,CAExC;AAED;;GAEG;AACH,wBAAgB,UAAU,CAAC,OAAO,EAAE,WAAW,GAAG,MAAM,CAEvD"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Clawncher Contract Addresses (v3 - Clanker-backed)
|
|
3
|
+
*
|
|
4
|
+
* In v3, Clawncher deploys through Clanker's approved Uniswap V4 infrastructure.
|
|
5
|
+
* These addresses point to Clanker's contracts on Base networks.
|
|
6
|
+
*
|
|
7
|
+
* Our own v2 contracts are preserved in packages/sdk-direct for when our
|
|
8
|
+
* Uniswap V4 hook is approved.
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Base Sepolia (testnet) addresses - Clanker's Sepolia deployment
|
|
12
|
+
*/
|
|
13
|
+
export const SEPOLIA_ADDRESSES = {
|
|
14
|
+
clawnch: {
|
|
15
|
+
factory: '0xE85A59c628F7d27878ACeB4bf3b35733630083a9',
|
|
16
|
+
hook: '0x11b51DBC2f7F683b81CeDa83DC0078D57bA328cc',
|
|
17
|
+
locker: '0x824bB048a5EC6e06a09aEd115E9eEA4618DC2c8f',
|
|
18
|
+
feeLocker: '0x42A95190B4088C88Dd904d930c79deC1158bF09D',
|
|
19
|
+
mevModule: '0x261fE99C4D0D41EE8d0e594D11aec740E8354ab0',
|
|
20
|
+
vault: '0xcC80d1226F899a78fC2E459a1500A13C373CE0A5',
|
|
21
|
+
airdropV2: '0x5c68F1560a5913c176Fc5238038098970B567B19',
|
|
22
|
+
devBuy: '0x691f97752E91feAcD7933F32a1FEdCeDae7bB59c',
|
|
23
|
+
vestedDevBuy: '0x0000000000000000000000000000000000000000', // Not available via Clanker
|
|
24
|
+
poolExtensionAllowlist: '0x0000000000000000000000000000000000000000',
|
|
25
|
+
},
|
|
26
|
+
infrastructure: {
|
|
27
|
+
poolManager: '0x05E73354cFDd6745C338b50BcFDfA3Aa6fA03408',
|
|
28
|
+
positionManager: '0x4B2C77d209D3405F41a037Ec6c77F7F5b8e2ca80',
|
|
29
|
+
permit2: '0x000000000022D473030F116dDEE9F6B43aC78BA3',
|
|
30
|
+
universalRouter: '0x492E6456D9528771018DeB9E87ef7750EF184104',
|
|
31
|
+
weth: '0x4200000000000000000000000000000000000006',
|
|
32
|
+
},
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Base Mainnet addresses - Clanker's v4 deployment
|
|
36
|
+
*/
|
|
37
|
+
export const MAINNET_ADDRESSES = {
|
|
38
|
+
clawnch: {
|
|
39
|
+
factory: '0xE85A59c628F7d27878ACeB4bf3b35733630083a9',
|
|
40
|
+
hook: '0xb429d62f8f3bFFb98CdB9569533eA23bF0Ba28CC',
|
|
41
|
+
locker: '0x63D2DfEA64b3433F4071A98665bcD7Ca14d93496',
|
|
42
|
+
feeLocker: '0xF3622742b1E446D92e45E22923Ef11C2fcD55D68',
|
|
43
|
+
mevModule: '0xebB25BB797D82CB78E1bc70406b13233c0854413',
|
|
44
|
+
vault: '0x8E845EAd15737bF71904A30BdDD3aEE76d6ADF6C',
|
|
45
|
+
airdropV2: '0xf652B3610D75D81871bf96DB50825d9af28391E0',
|
|
46
|
+
devBuy: '0x1331f0788F9c08C8F38D52c7a1752250A9dE00be',
|
|
47
|
+
vestedDevBuy: '0x0000000000000000000000000000000000000000', // Not available via Clanker
|
|
48
|
+
poolExtensionAllowlist: '0x0000000000000000000000000000000000000000',
|
|
49
|
+
},
|
|
50
|
+
infrastructure: {
|
|
51
|
+
poolManager: '0x498581fF718922c3f8e6A244956aF099B2652b2b',
|
|
52
|
+
positionManager: '0x7C5f5A4bBd8fD63184577525326123B519429bDc',
|
|
53
|
+
permit2: '0x000000000022D473030F116dDEE9F6B43aC78BA3',
|
|
54
|
+
universalRouter: '0x6fF5693b99212Da76ad316178A184AB56D299b43',
|
|
55
|
+
weth: '0x4200000000000000000000000000000000000006',
|
|
56
|
+
},
|
|
57
|
+
};
|
|
58
|
+
export function getAddresses(network) {
|
|
59
|
+
switch (network) {
|
|
60
|
+
case 'mainnet':
|
|
61
|
+
return MAINNET_ADDRESSES;
|
|
62
|
+
case 'sepolia':
|
|
63
|
+
return SEPOLIA_ADDRESSES;
|
|
64
|
+
default:
|
|
65
|
+
throw new Error(`Unknown network: ${network}`);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Check if mainnet is ready for deployment
|
|
70
|
+
*/
|
|
71
|
+
export function isMainnetReady() {
|
|
72
|
+
return MAINNET_ADDRESSES.clawnch.factory !== '0x0000000000000000000000000000000000000000';
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Get the chain ID for a network
|
|
76
|
+
*/
|
|
77
|
+
export function getChainId(network) {
|
|
78
|
+
return network === 'mainnet' ? 8453 : 84532;
|
|
79
|
+
}
|
|
80
|
+
//# sourceMappingURL=addresses.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"addresses.js","sourceRoot":"","sources":["../src/addresses.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AA4BH;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAqB;IACjD,OAAO,EAAE;QACP,OAAO,EAAE,4CAA4C;QACrD,IAAI,EAAE,4CAA4C;QAClD,MAAM,EAAE,4CAA4C;QACpD,SAAS,EAAE,4CAA4C;QACvD,SAAS,EAAE,4CAA4C;QACvD,KAAK,EAAE,4CAA4C;QACnD,SAAS,EAAE,4CAA4C;QACvD,MAAM,EAAE,4CAA4C;QACpD,YAAY,EAAE,4CAA4C,EAAE,4BAA4B;QACxF,sBAAsB,EAAE,4CAA4C;KACrE;IACD,cAAc,EAAE;QACd,WAAW,EAAE,4CAA4C;QACzD,eAAe,EAAE,4CAA4C;QAC7D,OAAO,EAAE,4CAA4C;QACrD,eAAe,EAAE,4CAA4C;QAC7D,IAAI,EAAE,4CAA4C;KACnD;CACF,CAAC;AAEF;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAqB;IACjD,OAAO,EAAE;QACP,OAAO,EAAE,4CAA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