@zoralabs/protocol-deployments 0.5.5 → 0.5.6-PRE.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +19 -19
- package/CHANGELOG.md +6 -0
- package/dist/encoding.d.ts +2 -2
- package/dist/generated/sparks.d.ts +8 -0
- package/dist/generated/sparks.d.ts.map +1 -1
- package/dist/generated/wagmi.d.ts +1329 -10
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +481 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +478 -5
- package/dist/index.js.map +1 -1
- package/package.json +11 -11
- package/src/generated/sparks.ts +8 -0
- package/src/generated/wagmi.ts +487 -9
- package/LICENSE +0 -21
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zoralabs/protocol-deployments",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.6-PRE.1",
|
|
4
4
|
"repository": "https://github.com/ourzora/zora-protocol",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -15,9 +15,17 @@
|
|
|
15
15
|
"default": "./dist/index.cjs"
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
|
+
"scripts": {
|
|
19
|
+
"build": "pnpm bundle-configs && pnpm copy-generated && tsup",
|
|
20
|
+
"bundle-configs": "tsx scripts/bundle-configs.ts && pnpm prettier:write",
|
|
21
|
+
"copy-generated": "cp ../protocol-deployments-gen/generated/wagmi.ts src/generated/wagmi.ts",
|
|
22
|
+
"prettier:write": "prettier --write 'src/**/*.ts' 'scripts/*'",
|
|
23
|
+
"lint": "prettier --check 'src/**/*.ts' 'scripts/*'"
|
|
24
|
+
},
|
|
18
25
|
"devDependencies": {
|
|
19
26
|
"@lavamoat/preinstall-always-fail": "2.0.0",
|
|
20
27
|
"@types/node": "^20.3.2",
|
|
28
|
+
"@zoralabs/tsconfig": "workspace:^",
|
|
21
29
|
"abitype": "^1.0.2",
|
|
22
30
|
"es-main": "^1.2.0",
|
|
23
31
|
"prettier": "^3.2.5",
|
|
@@ -25,14 +33,6 @@
|
|
|
25
33
|
"tsup": "^7.2.0",
|
|
26
34
|
"tsx": "^3.13.0",
|
|
27
35
|
"typescript": "^5.2.2",
|
|
28
|
-
"viem": "^2.21.21"
|
|
29
|
-
"@zoralabs/tsconfig": "^0.0.1"
|
|
30
|
-
},
|
|
31
|
-
"scripts": {
|
|
32
|
-
"build": "pnpm bundle-configs && pnpm copy-generated && tsup",
|
|
33
|
-
"bundle-configs": "tsx scripts/bundle-configs.ts && pnpm prettier:write",
|
|
34
|
-
"copy-generated": "cp ../protocol-deployments-gen/generated/wagmi.ts src/generated/wagmi.ts",
|
|
35
|
-
"prettier:write": "prettier --write 'src/**/*.ts' 'scripts/*'",
|
|
36
|
-
"lint": "prettier --check 'src/**/*.ts' 'scripts/*'"
|
|
36
|
+
"viem": "^2.21.21"
|
|
37
37
|
}
|
|
38
|
-
}
|
|
38
|
+
}
|
package/src/generated/sparks.ts
CHANGED
|
@@ -21,6 +21,10 @@ export const chainConfigs = {
|
|
|
21
21
|
PROXY_ADMIN: "0x004d6611884B4A661749B64b2ADc78505c3e1AB3",
|
|
22
22
|
ZORA_RECIPIENT: "0x7bf90111Ad7C22bec9E9dFf8A01A44713CC1b1B6",
|
|
23
23
|
WETH: "0x4200000000000000000000000000000000000006",
|
|
24
|
+
UNISWAP_V4_POOL_MANAGER: "0x498581ff718922c3f8e6a244956af099b2652b2b",
|
|
25
|
+
UNISWAP_V4_POSITION_MANAGER: "0x7c5f5a4bbd8fd63184577525326123b519429bdc",
|
|
26
|
+
UNISWAP_PERMIT2: "0x000000000022D473030F116dDEE9F6B43aC78BA3",
|
|
27
|
+
UNISWAP_UNIVERSAL_ROUTER: "0x6ff5693b99212da76ad316178a184ab56d299b43",
|
|
24
28
|
},
|
|
25
29
|
42161: {
|
|
26
30
|
NONFUNGIBLE_POSITION_MANAGER: "0xC36442b4a4522E871399CD717aBDD847Ab11FE88",
|
|
@@ -44,6 +48,10 @@ export const chainConfigs = {
|
|
|
44
48
|
PROXY_ADMIN: "0x5F14C23983c9e0840Dc60dA880349622f0785420",
|
|
45
49
|
ZORA_RECIPIENT: "0x5F14C23983c9e0840Dc60dA880349622f0785420",
|
|
46
50
|
WETH: "0x4200000000000000000000000000000000000006",
|
|
51
|
+
UNISWAP_V4_POOL_MANAGER: "0x05E73354cFDd6745C338b50BcFDfA3Aa6fA03408",
|
|
52
|
+
UNISWAP_V4_POSITION_MANAGER: "0x4b2c77d209d3405f41a037ec6c77f7f5b8e2ca80",
|
|
53
|
+
UNISWAP_PERMIT2: "0x000000000022D473030F116dDEE9F6B43aC78BA3",
|
|
54
|
+
UNISWAP_UNIVERSAL_ROUTER: "0x492E6456D9528771018DeB9E87ef7750EF184104",
|
|
47
55
|
},
|
|
48
56
|
421614: {
|
|
49
57
|
NONFUNGIBLE_POSITION_MANAGER: "0x6b2937Bde17889EDCf8fbD8dE31C3C2a70Bc4d65",
|
package/src/generated/wagmi.ts
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
|
-
* - [__View Contract on Base Basescan__](https://basescan.org/address/
|
|
7
|
-
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/
|
|
6
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x5Ee02936e2A92133aC66B5235cAf4ad59E25632d)
|
|
7
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0xe7D871cD216f780b1B66e2652Dc5072ebB71C14F)
|
|
8
8
|
*/
|
|
9
9
|
export const buySupplyWithSwapRouterHookABI = [
|
|
10
10
|
{
|
|
@@ -64,17 +64,17 @@ export const buySupplyWithSwapRouterHookABI = [
|
|
|
64
64
|
] as const
|
|
65
65
|
|
|
66
66
|
/**
|
|
67
|
-
* - [__View Contract on Base Basescan__](https://basescan.org/address/
|
|
68
|
-
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/
|
|
67
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x5Ee02936e2A92133aC66B5235cAf4ad59E25632d)
|
|
68
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0xe7D871cD216f780b1B66e2652Dc5072ebB71C14F)
|
|
69
69
|
*/
|
|
70
70
|
export const buySupplyWithSwapRouterHookAddress = {
|
|
71
|
-
8453: '
|
|
72
|
-
84532: '
|
|
71
|
+
8453: '0x5Ee02936e2A92133aC66B5235cAf4ad59E25632d',
|
|
72
|
+
84532: '0xe7D871cD216f780b1B66e2652Dc5072ebB71C14F',
|
|
73
73
|
} as const
|
|
74
74
|
|
|
75
75
|
/**
|
|
76
|
-
* - [__View Contract on Base Basescan__](https://basescan.org/address/
|
|
77
|
-
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/
|
|
76
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x5Ee02936e2A92133aC66B5235cAf4ad59E25632d)
|
|
77
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0xe7D871cD216f780b1B66e2652Dc5072ebB71C14F)
|
|
78
78
|
*/
|
|
79
79
|
export const buySupplyWithSwapRouterHookConfig = {
|
|
80
80
|
address: buySupplyWithSwapRouterHookAddress,
|
|
@@ -2146,7 +2146,10 @@ export const coinABI = [
|
|
|
2146
2146
|
export const coinFactoryABI = [
|
|
2147
2147
|
{
|
|
2148
2148
|
type: 'constructor',
|
|
2149
|
-
inputs: [
|
|
2149
|
+
inputs: [
|
|
2150
|
+
{ name: '_coinImpl', internalType: 'address', type: 'address' },
|
|
2151
|
+
{ name: '_coinV4Impl', internalType: 'address', type: 'address' },
|
|
2152
|
+
],
|
|
2150
2153
|
stateMutability: 'nonpayable',
|
|
2151
2154
|
},
|
|
2152
2155
|
{
|
|
@@ -2163,6 +2166,13 @@ export const coinFactoryABI = [
|
|
|
2163
2166
|
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
2164
2167
|
stateMutability: 'view',
|
|
2165
2168
|
},
|
|
2169
|
+
{
|
|
2170
|
+
type: 'function',
|
|
2171
|
+
inputs: [],
|
|
2172
|
+
name: 'coinV4Impl',
|
|
2173
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
2174
|
+
stateMutability: 'view',
|
|
2175
|
+
},
|
|
2166
2176
|
{
|
|
2167
2177
|
type: 'function',
|
|
2168
2178
|
inputs: [],
|
|
@@ -2347,6 +2357,70 @@ export const coinFactoryABI = [
|
|
|
2347
2357
|
],
|
|
2348
2358
|
name: 'CoinCreated',
|
|
2349
2359
|
},
|
|
2360
|
+
{
|
|
2361
|
+
type: 'event',
|
|
2362
|
+
anonymous: false,
|
|
2363
|
+
inputs: [
|
|
2364
|
+
{
|
|
2365
|
+
name: 'caller',
|
|
2366
|
+
internalType: 'address',
|
|
2367
|
+
type: 'address',
|
|
2368
|
+
indexed: true,
|
|
2369
|
+
},
|
|
2370
|
+
{
|
|
2371
|
+
name: 'payoutRecipient',
|
|
2372
|
+
internalType: 'address',
|
|
2373
|
+
type: 'address',
|
|
2374
|
+
indexed: true,
|
|
2375
|
+
},
|
|
2376
|
+
{
|
|
2377
|
+
name: 'platformReferrer',
|
|
2378
|
+
internalType: 'address',
|
|
2379
|
+
type: 'address',
|
|
2380
|
+
indexed: true,
|
|
2381
|
+
},
|
|
2382
|
+
{
|
|
2383
|
+
name: 'currency',
|
|
2384
|
+
internalType: 'address',
|
|
2385
|
+
type: 'address',
|
|
2386
|
+
indexed: false,
|
|
2387
|
+
},
|
|
2388
|
+
{ name: 'uri', internalType: 'string', type: 'string', indexed: false },
|
|
2389
|
+
{ name: 'name', internalType: 'string', type: 'string', indexed: false },
|
|
2390
|
+
{
|
|
2391
|
+
name: 'symbol',
|
|
2392
|
+
internalType: 'string',
|
|
2393
|
+
type: 'string',
|
|
2394
|
+
indexed: false,
|
|
2395
|
+
},
|
|
2396
|
+
{
|
|
2397
|
+
name: 'coin',
|
|
2398
|
+
internalType: 'address',
|
|
2399
|
+
type: 'address',
|
|
2400
|
+
indexed: false,
|
|
2401
|
+
},
|
|
2402
|
+
{
|
|
2403
|
+
name: 'poolKey',
|
|
2404
|
+
internalType: 'struct PoolKey',
|
|
2405
|
+
type: 'tuple',
|
|
2406
|
+
components: [
|
|
2407
|
+
{ name: 'currency0', internalType: 'Currency', type: 'address' },
|
|
2408
|
+
{ name: 'currency1', internalType: 'Currency', type: 'address' },
|
|
2409
|
+
{ name: 'fee', internalType: 'uint24', type: 'uint24' },
|
|
2410
|
+
{ name: 'tickSpacing', internalType: 'int24', type: 'int24' },
|
|
2411
|
+
{ name: 'hooks', internalType: 'contract IHooks', type: 'address' },
|
|
2412
|
+
],
|
|
2413
|
+
indexed: false,
|
|
2414
|
+
},
|
|
2415
|
+
{
|
|
2416
|
+
name: 'version',
|
|
2417
|
+
internalType: 'string',
|
|
2418
|
+
type: 'string',
|
|
2419
|
+
indexed: false,
|
|
2420
|
+
},
|
|
2421
|
+
],
|
|
2422
|
+
name: 'CoinCreatedV4',
|
|
2423
|
+
},
|
|
2350
2424
|
{
|
|
2351
2425
|
type: 'event',
|
|
2352
2426
|
anonymous: false,
|
|
@@ -2416,6 +2490,7 @@ export const coinFactoryABI = [
|
|
|
2416
2490
|
{ type: 'error', inputs: [], name: 'FailedInnerCall' },
|
|
2417
2491
|
{ type: 'error', inputs: [], name: 'InvalidHook' },
|
|
2418
2492
|
{ type: 'error', inputs: [], name: 'InvalidInitialization' },
|
|
2493
|
+
{ type: 'error', inputs: [], name: 'InvalidPoolVersion' },
|
|
2419
2494
|
{ type: 'error', inputs: [], name: 'NotInitializing' },
|
|
2420
2495
|
{
|
|
2421
2496
|
type: 'error',
|
|
@@ -4315,6 +4390,409 @@ export const commentsConfig = {
|
|
|
4315
4390
|
abi: commentsABI,
|
|
4316
4391
|
} as const
|
|
4317
4392
|
|
|
4393
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
4394
|
+
// DevCoinFactory
|
|
4395
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
4396
|
+
|
|
4397
|
+
/**
|
|
4398
|
+
* [__View Contract on Base Basescan__](https://basescan.org/address/0x8A7d3ae26c4De36A24BcC892953e6c3823bBFA85)
|
|
4399
|
+
*/
|
|
4400
|
+
export const devCoinFactoryABI = [
|
|
4401
|
+
{
|
|
4402
|
+
type: 'constructor',
|
|
4403
|
+
inputs: [
|
|
4404
|
+
{ name: '_coinImpl', internalType: 'address', type: 'address' },
|
|
4405
|
+
{ name: '_coinV4Impl', internalType: 'address', type: 'address' },
|
|
4406
|
+
],
|
|
4407
|
+
stateMutability: 'nonpayable',
|
|
4408
|
+
},
|
|
4409
|
+
{
|
|
4410
|
+
type: 'function',
|
|
4411
|
+
inputs: [],
|
|
4412
|
+
name: 'UPGRADE_INTERFACE_VERSION',
|
|
4413
|
+
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
4414
|
+
stateMutability: 'view',
|
|
4415
|
+
},
|
|
4416
|
+
{
|
|
4417
|
+
type: 'function',
|
|
4418
|
+
inputs: [],
|
|
4419
|
+
name: 'coinImpl',
|
|
4420
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
4421
|
+
stateMutability: 'view',
|
|
4422
|
+
},
|
|
4423
|
+
{
|
|
4424
|
+
type: 'function',
|
|
4425
|
+
inputs: [],
|
|
4426
|
+
name: 'coinV4Impl',
|
|
4427
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
4428
|
+
stateMutability: 'view',
|
|
4429
|
+
},
|
|
4430
|
+
{
|
|
4431
|
+
type: 'function',
|
|
4432
|
+
inputs: [],
|
|
4433
|
+
name: 'contractName',
|
|
4434
|
+
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
4435
|
+
stateMutability: 'pure',
|
|
4436
|
+
},
|
|
4437
|
+
{
|
|
4438
|
+
type: 'function',
|
|
4439
|
+
inputs: [],
|
|
4440
|
+
name: 'contractVersion',
|
|
4441
|
+
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
4442
|
+
stateMutability: 'pure',
|
|
4443
|
+
},
|
|
4444
|
+
{
|
|
4445
|
+
type: 'function',
|
|
4446
|
+
inputs: [
|
|
4447
|
+
{ name: 'payoutRecipient', internalType: 'address', type: 'address' },
|
|
4448
|
+
{ name: 'owners', internalType: 'address[]', type: 'address[]' },
|
|
4449
|
+
{ name: 'uri', internalType: 'string', type: 'string' },
|
|
4450
|
+
{ name: 'name', internalType: 'string', type: 'string' },
|
|
4451
|
+
{ name: 'symbol', internalType: 'string', type: 'string' },
|
|
4452
|
+
{ name: 'platformReferrer', internalType: 'address', type: 'address' },
|
|
4453
|
+
{ name: 'currency', internalType: 'address', type: 'address' },
|
|
4454
|
+
{ name: 'tickLower', internalType: 'int24', type: 'int24' },
|
|
4455
|
+
{ name: 'orderSize', internalType: 'uint256', type: 'uint256' },
|
|
4456
|
+
],
|
|
4457
|
+
name: 'deploy',
|
|
4458
|
+
outputs: [
|
|
4459
|
+
{ name: '', internalType: 'address', type: 'address' },
|
|
4460
|
+
{ name: '', internalType: 'uint256', type: 'uint256' },
|
|
4461
|
+
],
|
|
4462
|
+
stateMutability: 'payable',
|
|
4463
|
+
},
|
|
4464
|
+
{
|
|
4465
|
+
type: 'function',
|
|
4466
|
+
inputs: [
|
|
4467
|
+
{ name: 'payoutRecipient', internalType: 'address', type: 'address' },
|
|
4468
|
+
{ name: 'owners', internalType: 'address[]', type: 'address[]' },
|
|
4469
|
+
{ name: 'uri', internalType: 'string', type: 'string' },
|
|
4470
|
+
{ name: 'name', internalType: 'string', type: 'string' },
|
|
4471
|
+
{ name: 'symbol', internalType: 'string', type: 'string' },
|
|
4472
|
+
{ name: 'poolConfig', internalType: 'bytes', type: 'bytes' },
|
|
4473
|
+
{ name: 'platformReferrer', internalType: 'address', type: 'address' },
|
|
4474
|
+
{ name: 'orderSize', internalType: 'uint256', type: 'uint256' },
|
|
4475
|
+
],
|
|
4476
|
+
name: 'deploy',
|
|
4477
|
+
outputs: [
|
|
4478
|
+
{ name: '', internalType: 'address', type: 'address' },
|
|
4479
|
+
{ name: '', internalType: 'uint256', type: 'uint256' },
|
|
4480
|
+
],
|
|
4481
|
+
stateMutability: 'payable',
|
|
4482
|
+
},
|
|
4483
|
+
{
|
|
4484
|
+
type: 'function',
|
|
4485
|
+
inputs: [
|
|
4486
|
+
{ name: 'payoutRecipient', internalType: 'address', type: 'address' },
|
|
4487
|
+
{ name: 'owners', internalType: 'address[]', type: 'address[]' },
|
|
4488
|
+
{ name: 'uri', internalType: 'string', type: 'string' },
|
|
4489
|
+
{ name: 'name', internalType: 'string', type: 'string' },
|
|
4490
|
+
{ name: 'symbol', internalType: 'string', type: 'string' },
|
|
4491
|
+
{ name: 'poolConfig', internalType: 'bytes', type: 'bytes' },
|
|
4492
|
+
{ name: 'platformReferrer', internalType: 'address', type: 'address' },
|
|
4493
|
+
{ name: 'hook', internalType: 'address', type: 'address' },
|
|
4494
|
+
{ name: 'hookData', internalType: 'bytes', type: 'bytes' },
|
|
4495
|
+
],
|
|
4496
|
+
name: 'deployWithHook',
|
|
4497
|
+
outputs: [
|
|
4498
|
+
{ name: 'coin', internalType: 'address', type: 'address' },
|
|
4499
|
+
{ name: 'hookDataOut', internalType: 'bytes', type: 'bytes' },
|
|
4500
|
+
],
|
|
4501
|
+
stateMutability: 'payable',
|
|
4502
|
+
},
|
|
4503
|
+
{
|
|
4504
|
+
type: 'function',
|
|
4505
|
+
inputs: [],
|
|
4506
|
+
name: 'implementation',
|
|
4507
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
4508
|
+
stateMutability: 'view',
|
|
4509
|
+
},
|
|
4510
|
+
{
|
|
4511
|
+
type: 'function',
|
|
4512
|
+
inputs: [
|
|
4513
|
+
{ name: 'initialOwner', internalType: 'address', type: 'address' },
|
|
4514
|
+
],
|
|
4515
|
+
name: 'initialize',
|
|
4516
|
+
outputs: [],
|
|
4517
|
+
stateMutability: 'nonpayable',
|
|
4518
|
+
},
|
|
4519
|
+
{
|
|
4520
|
+
type: 'function',
|
|
4521
|
+
inputs: [],
|
|
4522
|
+
name: 'owner',
|
|
4523
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
4524
|
+
stateMutability: 'view',
|
|
4525
|
+
},
|
|
4526
|
+
{
|
|
4527
|
+
type: 'function',
|
|
4528
|
+
inputs: [],
|
|
4529
|
+
name: 'proxiableUUID',
|
|
4530
|
+
outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
|
|
4531
|
+
stateMutability: 'view',
|
|
4532
|
+
},
|
|
4533
|
+
{
|
|
4534
|
+
type: 'function',
|
|
4535
|
+
inputs: [],
|
|
4536
|
+
name: 'renounceOwnership',
|
|
4537
|
+
outputs: [],
|
|
4538
|
+
stateMutability: 'nonpayable',
|
|
4539
|
+
},
|
|
4540
|
+
{
|
|
4541
|
+
type: 'function',
|
|
4542
|
+
inputs: [{ name: 'newOwner', internalType: 'address', type: 'address' }],
|
|
4543
|
+
name: 'transferOwnership',
|
|
4544
|
+
outputs: [],
|
|
4545
|
+
stateMutability: 'nonpayable',
|
|
4546
|
+
},
|
|
4547
|
+
{
|
|
4548
|
+
type: 'function',
|
|
4549
|
+
inputs: [
|
|
4550
|
+
{ name: 'newImplementation', internalType: 'address', type: 'address' },
|
|
4551
|
+
{ name: 'data', internalType: 'bytes', type: 'bytes' },
|
|
4552
|
+
],
|
|
4553
|
+
name: 'upgradeToAndCall',
|
|
4554
|
+
outputs: [],
|
|
4555
|
+
stateMutability: 'payable',
|
|
4556
|
+
},
|
|
4557
|
+
{
|
|
4558
|
+
type: 'event',
|
|
4559
|
+
anonymous: false,
|
|
4560
|
+
inputs: [
|
|
4561
|
+
{
|
|
4562
|
+
name: 'caller',
|
|
4563
|
+
internalType: 'address',
|
|
4564
|
+
type: 'address',
|
|
4565
|
+
indexed: true,
|
|
4566
|
+
},
|
|
4567
|
+
{
|
|
4568
|
+
name: 'payoutRecipient',
|
|
4569
|
+
internalType: 'address',
|
|
4570
|
+
type: 'address',
|
|
4571
|
+
indexed: true,
|
|
4572
|
+
},
|
|
4573
|
+
{
|
|
4574
|
+
name: 'platformReferrer',
|
|
4575
|
+
internalType: 'address',
|
|
4576
|
+
type: 'address',
|
|
4577
|
+
indexed: true,
|
|
4578
|
+
},
|
|
4579
|
+
{
|
|
4580
|
+
name: 'currency',
|
|
4581
|
+
internalType: 'address',
|
|
4582
|
+
type: 'address',
|
|
4583
|
+
indexed: false,
|
|
4584
|
+
},
|
|
4585
|
+
{ name: 'uri', internalType: 'string', type: 'string', indexed: false },
|
|
4586
|
+
{ name: 'name', internalType: 'string', type: 'string', indexed: false },
|
|
4587
|
+
{
|
|
4588
|
+
name: 'symbol',
|
|
4589
|
+
internalType: 'string',
|
|
4590
|
+
type: 'string',
|
|
4591
|
+
indexed: false,
|
|
4592
|
+
},
|
|
4593
|
+
{
|
|
4594
|
+
name: 'coin',
|
|
4595
|
+
internalType: 'address',
|
|
4596
|
+
type: 'address',
|
|
4597
|
+
indexed: false,
|
|
4598
|
+
},
|
|
4599
|
+
{
|
|
4600
|
+
name: 'pool',
|
|
4601
|
+
internalType: 'address',
|
|
4602
|
+
type: 'address',
|
|
4603
|
+
indexed: false,
|
|
4604
|
+
},
|
|
4605
|
+
{
|
|
4606
|
+
name: 'version',
|
|
4607
|
+
internalType: 'string',
|
|
4608
|
+
type: 'string',
|
|
4609
|
+
indexed: false,
|
|
4610
|
+
},
|
|
4611
|
+
],
|
|
4612
|
+
name: 'CoinCreated',
|
|
4613
|
+
},
|
|
4614
|
+
{
|
|
4615
|
+
type: 'event',
|
|
4616
|
+
anonymous: false,
|
|
4617
|
+
inputs: [
|
|
4618
|
+
{
|
|
4619
|
+
name: 'caller',
|
|
4620
|
+
internalType: 'address',
|
|
4621
|
+
type: 'address',
|
|
4622
|
+
indexed: true,
|
|
4623
|
+
},
|
|
4624
|
+
{
|
|
4625
|
+
name: 'payoutRecipient',
|
|
4626
|
+
internalType: 'address',
|
|
4627
|
+
type: 'address',
|
|
4628
|
+
indexed: true,
|
|
4629
|
+
},
|
|
4630
|
+
{
|
|
4631
|
+
name: 'platformReferrer',
|
|
4632
|
+
internalType: 'address',
|
|
4633
|
+
type: 'address',
|
|
4634
|
+
indexed: true,
|
|
4635
|
+
},
|
|
4636
|
+
{
|
|
4637
|
+
name: 'currency',
|
|
4638
|
+
internalType: 'address',
|
|
4639
|
+
type: 'address',
|
|
4640
|
+
indexed: false,
|
|
4641
|
+
},
|
|
4642
|
+
{ name: 'uri', internalType: 'string', type: 'string', indexed: false },
|
|
4643
|
+
{ name: 'name', internalType: 'string', type: 'string', indexed: false },
|
|
4644
|
+
{
|
|
4645
|
+
name: 'symbol',
|
|
4646
|
+
internalType: 'string',
|
|
4647
|
+
type: 'string',
|
|
4648
|
+
indexed: false,
|
|
4649
|
+
},
|
|
4650
|
+
{
|
|
4651
|
+
name: 'coin',
|
|
4652
|
+
internalType: 'address',
|
|
4653
|
+
type: 'address',
|
|
4654
|
+
indexed: false,
|
|
4655
|
+
},
|
|
4656
|
+
{
|
|
4657
|
+
name: 'poolKey',
|
|
4658
|
+
internalType: 'struct PoolKey',
|
|
4659
|
+
type: 'tuple',
|
|
4660
|
+
components: [
|
|
4661
|
+
{ name: 'currency0', internalType: 'Currency', type: 'address' },
|
|
4662
|
+
{ name: 'currency1', internalType: 'Currency', type: 'address' },
|
|
4663
|
+
{ name: 'fee', internalType: 'uint24', type: 'uint24' },
|
|
4664
|
+
{ name: 'tickSpacing', internalType: 'int24', type: 'int24' },
|
|
4665
|
+
{ name: 'hooks', internalType: 'contract IHooks', type: 'address' },
|
|
4666
|
+
],
|
|
4667
|
+
indexed: false,
|
|
4668
|
+
},
|
|
4669
|
+
{
|
|
4670
|
+
name: 'version',
|
|
4671
|
+
internalType: 'string',
|
|
4672
|
+
type: 'string',
|
|
4673
|
+
indexed: false,
|
|
4674
|
+
},
|
|
4675
|
+
],
|
|
4676
|
+
name: 'CoinCreatedV4',
|
|
4677
|
+
},
|
|
4678
|
+
{
|
|
4679
|
+
type: 'event',
|
|
4680
|
+
anonymous: false,
|
|
4681
|
+
inputs: [
|
|
4682
|
+
{
|
|
4683
|
+
name: 'version',
|
|
4684
|
+
internalType: 'uint64',
|
|
4685
|
+
type: 'uint64',
|
|
4686
|
+
indexed: false,
|
|
4687
|
+
},
|
|
4688
|
+
],
|
|
4689
|
+
name: 'Initialized',
|
|
4690
|
+
},
|
|
4691
|
+
{
|
|
4692
|
+
type: 'event',
|
|
4693
|
+
anonymous: false,
|
|
4694
|
+
inputs: [
|
|
4695
|
+
{
|
|
4696
|
+
name: 'previousOwner',
|
|
4697
|
+
internalType: 'address',
|
|
4698
|
+
type: 'address',
|
|
4699
|
+
indexed: true,
|
|
4700
|
+
},
|
|
4701
|
+
{
|
|
4702
|
+
name: 'newOwner',
|
|
4703
|
+
internalType: 'address',
|
|
4704
|
+
type: 'address',
|
|
4705
|
+
indexed: true,
|
|
4706
|
+
},
|
|
4707
|
+
],
|
|
4708
|
+
name: 'OwnershipTransferred',
|
|
4709
|
+
},
|
|
4710
|
+
{
|
|
4711
|
+
type: 'event',
|
|
4712
|
+
anonymous: false,
|
|
4713
|
+
inputs: [
|
|
4714
|
+
{
|
|
4715
|
+
name: 'implementation',
|
|
4716
|
+
internalType: 'address',
|
|
4717
|
+
type: 'address',
|
|
4718
|
+
indexed: true,
|
|
4719
|
+
},
|
|
4720
|
+
],
|
|
4721
|
+
name: 'Upgraded',
|
|
4722
|
+
},
|
|
4723
|
+
{
|
|
4724
|
+
type: 'error',
|
|
4725
|
+
inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
|
|
4726
|
+
name: 'AddressEmptyCode',
|
|
4727
|
+
},
|
|
4728
|
+
{
|
|
4729
|
+
type: 'error',
|
|
4730
|
+
inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
|
|
4731
|
+
name: 'AddressInsufficientBalance',
|
|
4732
|
+
},
|
|
4733
|
+
{ type: 'error', inputs: [], name: 'ERC1167FailedCreateClone' },
|
|
4734
|
+
{
|
|
4735
|
+
type: 'error',
|
|
4736
|
+
inputs: [
|
|
4737
|
+
{ name: 'implementation', internalType: 'address', type: 'address' },
|
|
4738
|
+
],
|
|
4739
|
+
name: 'ERC1967InvalidImplementation',
|
|
4740
|
+
},
|
|
4741
|
+
{ type: 'error', inputs: [], name: 'ERC1967NonPayable' },
|
|
4742
|
+
{ type: 'error', inputs: [], name: 'ERC20TransferAmountMismatch' },
|
|
4743
|
+
{ type: 'error', inputs: [], name: 'EthTransferInvalid' },
|
|
4744
|
+
{ type: 'error', inputs: [], name: 'FailedInnerCall' },
|
|
4745
|
+
{ type: 'error', inputs: [], name: 'InvalidHook' },
|
|
4746
|
+
{ type: 'error', inputs: [], name: 'InvalidInitialization' },
|
|
4747
|
+
{ type: 'error', inputs: [], name: 'InvalidPoolVersion' },
|
|
4748
|
+
{ type: 'error', inputs: [], name: 'NotInitializing' },
|
|
4749
|
+
{
|
|
4750
|
+
type: 'error',
|
|
4751
|
+
inputs: [{ name: 'owner', internalType: 'address', type: 'address' }],
|
|
4752
|
+
name: 'OwnableInvalidOwner',
|
|
4753
|
+
},
|
|
4754
|
+
{
|
|
4755
|
+
type: 'error',
|
|
4756
|
+
inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
|
|
4757
|
+
name: 'OwnableUnauthorizedAccount',
|
|
4758
|
+
},
|
|
4759
|
+
{ type: 'error', inputs: [], name: 'ReentrancyGuardReentrantCall' },
|
|
4760
|
+
{
|
|
4761
|
+
type: 'error',
|
|
4762
|
+
inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
|
|
4763
|
+
name: 'SafeERC20FailedOperation',
|
|
4764
|
+
},
|
|
4765
|
+
{ type: 'error', inputs: [], name: 'UUPSUnauthorizedCallContext' },
|
|
4766
|
+
{
|
|
4767
|
+
type: 'error',
|
|
4768
|
+
inputs: [{ name: 'slot', internalType: 'bytes32', type: 'bytes32' }],
|
|
4769
|
+
name: 'UUPSUnsupportedProxiableUUID',
|
|
4770
|
+
},
|
|
4771
|
+
{
|
|
4772
|
+
type: 'error',
|
|
4773
|
+
inputs: [
|
|
4774
|
+
{ name: 'currentName', internalType: 'string', type: 'string' },
|
|
4775
|
+
{ name: 'newName', internalType: 'string', type: 'string' },
|
|
4776
|
+
],
|
|
4777
|
+
name: 'UpgradeToMismatchedContractName',
|
|
4778
|
+
},
|
|
4779
|
+
] as const
|
|
4780
|
+
|
|
4781
|
+
/**
|
|
4782
|
+
* [__View Contract on Base Basescan__](https://basescan.org/address/0x8A7d3ae26c4De36A24BcC892953e6c3823bBFA85)
|
|
4783
|
+
*/
|
|
4784
|
+
export const devCoinFactoryAddress = {
|
|
4785
|
+
8453: '0x8A7d3ae26c4De36A24BcC892953e6c3823bBFA85',
|
|
4786
|
+
} as const
|
|
4787
|
+
|
|
4788
|
+
/**
|
|
4789
|
+
* [__View Contract on Base Basescan__](https://basescan.org/address/0x8A7d3ae26c4De36A24BcC892953e6c3823bBFA85)
|
|
4790
|
+
*/
|
|
4791
|
+
export const devCoinFactoryConfig = {
|
|
4792
|
+
address: devCoinFactoryAddress,
|
|
4793
|
+
abi: devCoinFactoryABI,
|
|
4794
|
+
} as const
|
|
4795
|
+
|
|
4318
4796
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
4319
4797
|
// ERC20Minter
|
|
4320
4798
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2023 Zora Labs
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|