@zoralabs/protocol-deployments 0.3.1 → 0.3.3
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 +22 -17
- package/CHANGELOG.md +13 -0
- package/dist/encoding.d.ts +15 -0
- package/dist/encoding.d.ts.map +1 -0
- package/dist/generated/wagmi.d.ts +718 -7
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +251 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +247 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -2
- package/src/encoding.ts +6 -0
- package/src/generated/wagmi.ts +276 -1
- package/src/index.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zoralabs/protocol-deployments",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"repository": "https://github.com/ourzora/zora-protocol",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -30,8 +30,9 @@
|
|
|
30
30
|
"@zoralabs/tsconfig": "^0.0.0"
|
|
31
31
|
},
|
|
32
32
|
"scripts": {
|
|
33
|
-
"build": "pnpm bundle-configs && tsup",
|
|
33
|
+
"build": "pnpm bundle-configs && pnpm copy-generated && tsup",
|
|
34
34
|
"bundle-configs": "tsx scripts/bundle-configs.ts && pnpm prettier:write",
|
|
35
|
+
"copy-generated": "cp ../protocol-deployments-gen/generated/wagmi.ts src/generated/wagmi.ts",
|
|
35
36
|
"prettier:write": "prettier --write 'src/**/*.ts' 'scripts/*'",
|
|
36
37
|
"lint": "prettier --check 'src/**/*.ts' 'scripts/*'"
|
|
37
38
|
}
|
package/src/encoding.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/** ABI parameters for performing a SafeTransferFrom based swap when selling on secondary. */
|
|
2
|
+
export const safeTransferSwapAbiParameters = [
|
|
3
|
+
{ name: "recipient", internalType: "address payable", type: "address" },
|
|
4
|
+
{ name: "minEthToAcquire", internalType: "uint256", type: "uint256" },
|
|
5
|
+
{ name: "sqrtPriceLimitX96", internalType: "uint160", type: "uint160" },
|
|
6
|
+
] as const;
|
package/src/generated/wagmi.ts
CHANGED
|
@@ -2383,6 +2383,49 @@ export const secondarySwapABI = [
|
|
|
2383
2383
|
],
|
|
2384
2384
|
name: 'SecondaryBuy',
|
|
2385
2385
|
},
|
|
2386
|
+
{
|
|
2387
|
+
type: 'event',
|
|
2388
|
+
anonymous: false,
|
|
2389
|
+
inputs: [
|
|
2390
|
+
{
|
|
2391
|
+
name: 'sender',
|
|
2392
|
+
internalType: 'address',
|
|
2393
|
+
type: 'address',
|
|
2394
|
+
indexed: true,
|
|
2395
|
+
},
|
|
2396
|
+
{
|
|
2397
|
+
name: 'collection',
|
|
2398
|
+
internalType: 'address',
|
|
2399
|
+
type: 'address',
|
|
2400
|
+
indexed: true,
|
|
2401
|
+
},
|
|
2402
|
+
{
|
|
2403
|
+
name: 'tokenId',
|
|
2404
|
+
internalType: 'uint256',
|
|
2405
|
+
type: 'uint256',
|
|
2406
|
+
indexed: true,
|
|
2407
|
+
},
|
|
2408
|
+
{
|
|
2409
|
+
name: 'quantity',
|
|
2410
|
+
internalType: 'uint256',
|
|
2411
|
+
type: 'uint256',
|
|
2412
|
+
indexed: false,
|
|
2413
|
+
},
|
|
2414
|
+
{
|
|
2415
|
+
name: 'comment',
|
|
2416
|
+
internalType: 'string',
|
|
2417
|
+
type: 'string',
|
|
2418
|
+
indexed: false,
|
|
2419
|
+
},
|
|
2420
|
+
{
|
|
2421
|
+
name: 'secondaryType',
|
|
2422
|
+
internalType: 'enum ISecondarySwap.SecondaryType',
|
|
2423
|
+
type: 'uint8',
|
|
2424
|
+
indexed: false,
|
|
2425
|
+
},
|
|
2426
|
+
],
|
|
2427
|
+
name: 'SecondaryComment',
|
|
2428
|
+
},
|
|
2386
2429
|
{
|
|
2387
2430
|
type: 'event',
|
|
2388
2431
|
anonymous: false,
|
|
@@ -3148,6 +3191,113 @@ export const upgradeGateConfig = {
|
|
|
3148
3191
|
abi: upgradeGateABI,
|
|
3149
3192
|
} as const
|
|
3150
3193
|
|
|
3194
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
3195
|
+
// WETH
|
|
3196
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
3197
|
+
|
|
3198
|
+
/**
|
|
3199
|
+
* - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2)
|
|
3200
|
+
* - [__View Contract on Op Mainnet Optimism Explorer__](https://explorer.optimism.io/address/0x4200000000000000000000000000000000000006)
|
|
3201
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x4200000000000000000000000000000000000006)
|
|
3202
|
+
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x82af49447d8a07e3bd95bd0d56f35241523fbab1)
|
|
3203
|
+
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x4200000000000000000000000000000000000006)
|
|
3204
|
+
* - [__View Contract on Arbitrum Sepolia Arbiscan__](https://sepolia.arbiscan.io/address/0xc556bae1e86b2ae9c22ea5e036b07e55e7596074)
|
|
3205
|
+
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x4200000000000000000000000000000000000006)
|
|
3206
|
+
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7b79995e5f793A07Bc00c21412e50Ecae098E7f9)
|
|
3207
|
+
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x4200000000000000000000000000000000000006)
|
|
3208
|
+
*/
|
|
3209
|
+
export const wethABI = [
|
|
3210
|
+
{
|
|
3211
|
+
stateMutability: 'nonpayable',
|
|
3212
|
+
type: 'function',
|
|
3213
|
+
inputs: [
|
|
3214
|
+
{ name: 'guy', internalType: 'address', type: 'address' },
|
|
3215
|
+
{ name: 'wad', internalType: 'uint256', type: 'uint256' },
|
|
3216
|
+
],
|
|
3217
|
+
name: 'approve',
|
|
3218
|
+
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
3219
|
+
},
|
|
3220
|
+
{
|
|
3221
|
+
stateMutability: 'view',
|
|
3222
|
+
type: 'function',
|
|
3223
|
+
inputs: [{ name: 'guy', internalType: 'address', type: 'address' }],
|
|
3224
|
+
name: 'balanceOf',
|
|
3225
|
+
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
3226
|
+
},
|
|
3227
|
+
{
|
|
3228
|
+
stateMutability: 'payable',
|
|
3229
|
+
type: 'function',
|
|
3230
|
+
inputs: [],
|
|
3231
|
+
name: 'deposit',
|
|
3232
|
+
outputs: [],
|
|
3233
|
+
},
|
|
3234
|
+
{
|
|
3235
|
+
stateMutability: 'nonpayable',
|
|
3236
|
+
type: 'function',
|
|
3237
|
+
inputs: [
|
|
3238
|
+
{ name: 'dst', internalType: 'address', type: 'address' },
|
|
3239
|
+
{ name: 'wad', internalType: 'uint256', type: 'uint256' },
|
|
3240
|
+
],
|
|
3241
|
+
name: 'transfer',
|
|
3242
|
+
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
3243
|
+
},
|
|
3244
|
+
{
|
|
3245
|
+
stateMutability: 'nonpayable',
|
|
3246
|
+
type: 'function',
|
|
3247
|
+
inputs: [
|
|
3248
|
+
{ name: 'src', internalType: 'address', type: 'address' },
|
|
3249
|
+
{ name: 'dst', internalType: 'address', type: 'address' },
|
|
3250
|
+
{ name: 'wad', internalType: 'uint256', type: 'uint256' },
|
|
3251
|
+
],
|
|
3252
|
+
name: 'transferFrom',
|
|
3253
|
+
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
3254
|
+
},
|
|
3255
|
+
{
|
|
3256
|
+
stateMutability: 'nonpayable',
|
|
3257
|
+
type: 'function',
|
|
3258
|
+
inputs: [{ name: 'wad', internalType: 'uint256', type: 'uint256' }],
|
|
3259
|
+
name: 'withdraw',
|
|
3260
|
+
outputs: [],
|
|
3261
|
+
},
|
|
3262
|
+
] as const
|
|
3263
|
+
|
|
3264
|
+
/**
|
|
3265
|
+
* - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2)
|
|
3266
|
+
* - [__View Contract on Op Mainnet Optimism Explorer__](https://explorer.optimism.io/address/0x4200000000000000000000000000000000000006)
|
|
3267
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x4200000000000000000000000000000000000006)
|
|
3268
|
+
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x82af49447d8a07e3bd95bd0d56f35241523fbab1)
|
|
3269
|
+
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x4200000000000000000000000000000000000006)
|
|
3270
|
+
* - [__View Contract on Arbitrum Sepolia Arbiscan__](https://sepolia.arbiscan.io/address/0xc556bae1e86b2ae9c22ea5e036b07e55e7596074)
|
|
3271
|
+
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x4200000000000000000000000000000000000006)
|
|
3272
|
+
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7b79995e5f793A07Bc00c21412e50Ecae098E7f9)
|
|
3273
|
+
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x4200000000000000000000000000000000000006)
|
|
3274
|
+
*/
|
|
3275
|
+
export const wethAddress = {
|
|
3276
|
+
1: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2',
|
|
3277
|
+
10: '0x4200000000000000000000000000000000000006',
|
|
3278
|
+
8453: '0x4200000000000000000000000000000000000006',
|
|
3279
|
+
42161: '0x82aF49447D8a07e3bd95BD0d56f35241523fBab1',
|
|
3280
|
+
81457: '0x4300000000000000000000000000000000000004',
|
|
3281
|
+
84532: '0x4200000000000000000000000000000000000006',
|
|
3282
|
+
421614: '0xc556bAe1e86B2aE9c22eA5E036b07E55E7596074',
|
|
3283
|
+
7777777: '0x4200000000000000000000000000000000000006',
|
|
3284
|
+
11155111: '0x7b79995e5f793A07Bc00c21412e50Ecae098E7f9',
|
|
3285
|
+
999999999: '0x4200000000000000000000000000000000000006',
|
|
3286
|
+
} as const
|
|
3287
|
+
|
|
3288
|
+
/**
|
|
3289
|
+
* - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2)
|
|
3290
|
+
* - [__View Contract on Op Mainnet Optimism Explorer__](https://explorer.optimism.io/address/0x4200000000000000000000000000000000000006)
|
|
3291
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x4200000000000000000000000000000000000006)
|
|
3292
|
+
* - [__View Contract on Arbitrum One Arbiscan__](https://arbiscan.io/address/0x82af49447d8a07e3bd95bd0d56f35241523fbab1)
|
|
3293
|
+
* - [__View Contract on Base Sepolia Blockscout__](https://base-sepolia.blockscout.com/address/0x4200000000000000000000000000000000000006)
|
|
3294
|
+
* - [__View Contract on Arbitrum Sepolia Arbiscan__](https://sepolia.arbiscan.io/address/0xc556bae1e86b2ae9c22ea5e036b07e55e7596074)
|
|
3295
|
+
* - [__View Contract on Zora Explorer__](https://explorer.zora.energy/address/0x4200000000000000000000000000000000000006)
|
|
3296
|
+
* - [__View Contract on Sepolia Etherscan__](https://sepolia.etherscan.io/address/0x7b79995e5f793A07Bc00c21412e50Ecae098E7f9)
|
|
3297
|
+
* - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x4200000000000000000000000000000000000006)
|
|
3298
|
+
*/
|
|
3299
|
+
export const wethConfig = { address: wethAddress, abi: wethABI } as const
|
|
3300
|
+
|
|
3151
3301
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
3152
3302
|
// ZoraCreator1155FactoryImpl
|
|
3153
3303
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
@@ -3967,6 +4117,8 @@ export const zoraCreator1155FactoryImplABI = [
|
|
|
3967
4117
|
{ type: 'error', inputs: [], name: 'InsufficientFunds' },
|
|
3968
4118
|
{ type: 'error', inputs: [], name: 'InvalidInitialization' },
|
|
3969
4119
|
{ type: 'error', inputs: [], name: 'MarketAlreadyLaunched' },
|
|
4120
|
+
{ type: 'error', inputs: [], name: 'MarketMinimumNotReached' },
|
|
4121
|
+
{ type: 'error', inputs: [], name: 'MinimumMarketEthNotMet' },
|
|
3970
4122
|
{ type: 'error', inputs: [], name: 'NeedsToBeAtLeastOneSaleToStartMarket' },
|
|
3971
4123
|
{ type: 'error', inputs: [], name: 'NotInitializing' },
|
|
3972
4124
|
{ type: 'error', inputs: [], name: 'OnlyZoraRewardRecipient' },
|
|
@@ -3988,6 +4140,9 @@ export const zoraCreator1155FactoryImplABI = [
|
|
|
3988
4140
|
{ type: 'error', inputs: [], name: 'SaleHasNotStarted' },
|
|
3989
4141
|
{ type: 'error', inputs: [], name: 'SaleInProgress' },
|
|
3990
4142
|
{ type: 'error', inputs: [], name: 'SaleNotSet' },
|
|
4143
|
+
{ type: 'error', inputs: [], name: 'SaleV2AlreadyStarted' },
|
|
4144
|
+
{ type: 'error', inputs: [], name: 'SaleV2Ended' },
|
|
4145
|
+
{ type: 'error', inputs: [], name: 'SaleV2NotSet' },
|
|
3991
4146
|
{ type: 'error', inputs: [], name: 'StartTimeCannotBeAfterEndTime' },
|
|
3992
4147
|
{ type: 'error', inputs: [], name: 'UUPSUnauthorizedCallContext' },
|
|
3993
4148
|
{
|
|
@@ -5414,6 +5569,8 @@ export const zoraCreator1155ImplABI = [
|
|
|
5414
5569
|
{ type: 'error', inputs: [], name: 'InsufficientFunds' },
|
|
5415
5570
|
{ type: 'error', inputs: [], name: 'InvalidInitialization' },
|
|
5416
5571
|
{ type: 'error', inputs: [], name: 'MarketAlreadyLaunched' },
|
|
5572
|
+
{ type: 'error', inputs: [], name: 'MarketMinimumNotReached' },
|
|
5573
|
+
{ type: 'error', inputs: [], name: 'MinimumMarketEthNotMet' },
|
|
5417
5574
|
{ type: 'error', inputs: [], name: 'NeedsToBeAtLeastOneSaleToStartMarket' },
|
|
5418
5575
|
{ type: 'error', inputs: [], name: 'NotInitializing' },
|
|
5419
5576
|
{ type: 'error', inputs: [], name: 'OnlyZoraRewardRecipient' },
|
|
@@ -5435,6 +5592,9 @@ export const zoraCreator1155ImplABI = [
|
|
|
5435
5592
|
{ type: 'error', inputs: [], name: 'SaleHasNotStarted' },
|
|
5436
5593
|
{ type: 'error', inputs: [], name: 'SaleInProgress' },
|
|
5437
5594
|
{ type: 'error', inputs: [], name: 'SaleNotSet' },
|
|
5595
|
+
{ type: 'error', inputs: [], name: 'SaleV2AlreadyStarted' },
|
|
5596
|
+
{ type: 'error', inputs: [], name: 'SaleV2Ended' },
|
|
5597
|
+
{ type: 'error', inputs: [], name: 'SaleV2NotSet' },
|
|
5438
5598
|
{ type: 'error', inputs: [], name: 'StartTimeCannotBeAfterEndTime' },
|
|
5439
5599
|
{ type: 'error', inputs: [], name: 'UUPSUnauthorizedCallContext' },
|
|
5440
5600
|
{
|
|
@@ -10446,6 +10606,41 @@ export const zoraTimedSaleStrategyABI = [
|
|
|
10446
10606
|
},
|
|
10447
10607
|
],
|
|
10448
10608
|
},
|
|
10609
|
+
{
|
|
10610
|
+
stateMutability: 'view',
|
|
10611
|
+
type: 'function',
|
|
10612
|
+
inputs: [
|
|
10613
|
+
{ name: 'collection', internalType: 'address', type: 'address' },
|
|
10614
|
+
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
10615
|
+
],
|
|
10616
|
+
name: 'saleV2',
|
|
10617
|
+
outputs: [
|
|
10618
|
+
{
|
|
10619
|
+
name: '',
|
|
10620
|
+
internalType: 'struct IZoraTimedSaleStrategy.SaleData',
|
|
10621
|
+
type: 'tuple',
|
|
10622
|
+
components: [
|
|
10623
|
+
{ name: 'saleStart', internalType: 'uint64', type: 'uint64' },
|
|
10624
|
+
{ name: 'marketCountdown', internalType: 'uint64', type: 'uint64' },
|
|
10625
|
+
{ name: 'saleEnd', internalType: 'uint64', type: 'uint64' },
|
|
10626
|
+
{ name: 'secondaryActivated', internalType: 'bool', type: 'bool' },
|
|
10627
|
+
{
|
|
10628
|
+
name: 'minimumMarketEth',
|
|
10629
|
+
internalType: 'uint256',
|
|
10630
|
+
type: 'uint256',
|
|
10631
|
+
},
|
|
10632
|
+
{ name: 'poolAddress', internalType: 'address', type: 'address' },
|
|
10633
|
+
{
|
|
10634
|
+
name: 'erc20zAddress',
|
|
10635
|
+
internalType: 'address payable',
|
|
10636
|
+
type: 'address',
|
|
10637
|
+
},
|
|
10638
|
+
{ name: 'name', internalType: 'string', type: 'string' },
|
|
10639
|
+
{ name: 'symbol', internalType: 'string', type: 'string' },
|
|
10640
|
+
],
|
|
10641
|
+
},
|
|
10642
|
+
],
|
|
10643
|
+
},
|
|
10449
10644
|
{
|
|
10450
10645
|
stateMutability: 'nonpayable',
|
|
10451
10646
|
type: 'function',
|
|
@@ -10466,6 +10661,31 @@ export const zoraTimedSaleStrategyABI = [
|
|
|
10466
10661
|
name: 'setSale',
|
|
10467
10662
|
outputs: [],
|
|
10468
10663
|
},
|
|
10664
|
+
{
|
|
10665
|
+
stateMutability: 'nonpayable',
|
|
10666
|
+
type: 'function',
|
|
10667
|
+
inputs: [
|
|
10668
|
+
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
10669
|
+
{
|
|
10670
|
+
name: 'salesConfig',
|
|
10671
|
+
internalType: 'struct IZoraTimedSaleStrategy.SalesConfigV2',
|
|
10672
|
+
type: 'tuple',
|
|
10673
|
+
components: [
|
|
10674
|
+
{ name: 'saleStart', internalType: 'uint64', type: 'uint64' },
|
|
10675
|
+
{ name: 'marketCountdown', internalType: 'uint64', type: 'uint64' },
|
|
10676
|
+
{
|
|
10677
|
+
name: 'minimumMarketEth',
|
|
10678
|
+
internalType: 'uint256',
|
|
10679
|
+
type: 'uint256',
|
|
10680
|
+
},
|
|
10681
|
+
{ name: 'name', internalType: 'string', type: 'string' },
|
|
10682
|
+
{ name: 'symbol', internalType: 'string', type: 'string' },
|
|
10683
|
+
],
|
|
10684
|
+
},
|
|
10685
|
+
],
|
|
10686
|
+
name: 'setSaleV2',
|
|
10687
|
+
outputs: [],
|
|
10688
|
+
},
|
|
10469
10689
|
{
|
|
10470
10690
|
stateMutability: 'nonpayable',
|
|
10471
10691
|
type: 'function',
|
|
@@ -10504,7 +10724,7 @@ export const zoraTimedSaleStrategyABI = [
|
|
|
10504
10724
|
inputs: [
|
|
10505
10725
|
{ name: 'tokenId', internalType: 'uint256', type: 'uint256' },
|
|
10506
10726
|
{ name: 'newStartTime', internalType: 'uint64', type: 'uint64' },
|
|
10507
|
-
{ name: '
|
|
10727
|
+
{ name: 'newMarketCountdown', internalType: 'uint64', type: 'uint64' },
|
|
10508
10728
|
],
|
|
10509
10729
|
name: 'updateSale',
|
|
10510
10730
|
outputs: [],
|
|
@@ -10687,6 +10907,56 @@ export const zoraTimedSaleStrategyABI = [
|
|
|
10687
10907
|
],
|
|
10688
10908
|
name: 'SaleSet',
|
|
10689
10909
|
},
|
|
10910
|
+
{
|
|
10911
|
+
type: 'event',
|
|
10912
|
+
anonymous: false,
|
|
10913
|
+
inputs: [
|
|
10914
|
+
{
|
|
10915
|
+
name: 'collection',
|
|
10916
|
+
internalType: 'address',
|
|
10917
|
+
type: 'address',
|
|
10918
|
+
indexed: true,
|
|
10919
|
+
},
|
|
10920
|
+
{
|
|
10921
|
+
name: 'tokenId',
|
|
10922
|
+
internalType: 'uint256',
|
|
10923
|
+
type: 'uint256',
|
|
10924
|
+
indexed: true,
|
|
10925
|
+
},
|
|
10926
|
+
{
|
|
10927
|
+
name: 'saleData',
|
|
10928
|
+
internalType: 'struct IZoraTimedSaleStrategy.SaleData',
|
|
10929
|
+
type: 'tuple',
|
|
10930
|
+
components: [
|
|
10931
|
+
{ name: 'saleStart', internalType: 'uint64', type: 'uint64' },
|
|
10932
|
+
{ name: 'marketCountdown', internalType: 'uint64', type: 'uint64' },
|
|
10933
|
+
{ name: 'saleEnd', internalType: 'uint64', type: 'uint64' },
|
|
10934
|
+
{ name: 'secondaryActivated', internalType: 'bool', type: 'bool' },
|
|
10935
|
+
{
|
|
10936
|
+
name: 'minimumMarketEth',
|
|
10937
|
+
internalType: 'uint256',
|
|
10938
|
+
type: 'uint256',
|
|
10939
|
+
},
|
|
10940
|
+
{ name: 'poolAddress', internalType: 'address', type: 'address' },
|
|
10941
|
+
{
|
|
10942
|
+
name: 'erc20zAddress',
|
|
10943
|
+
internalType: 'address payable',
|
|
10944
|
+
type: 'address',
|
|
10945
|
+
},
|
|
10946
|
+
{ name: 'name', internalType: 'string', type: 'string' },
|
|
10947
|
+
{ name: 'symbol', internalType: 'string', type: 'string' },
|
|
10948
|
+
],
|
|
10949
|
+
indexed: false,
|
|
10950
|
+
},
|
|
10951
|
+
{
|
|
10952
|
+
name: 'mintFee',
|
|
10953
|
+
internalType: 'uint256',
|
|
10954
|
+
type: 'uint256',
|
|
10955
|
+
indexed: false,
|
|
10956
|
+
},
|
|
10957
|
+
],
|
|
10958
|
+
name: 'SaleSetV2',
|
|
10959
|
+
},
|
|
10690
10960
|
{
|
|
10691
10961
|
type: 'event',
|
|
10692
10962
|
anonymous: false,
|
|
@@ -10823,6 +11093,8 @@ export const zoraTimedSaleStrategyABI = [
|
|
|
10823
11093
|
{ type: 'error', inputs: [], name: 'InsufficientFunds' },
|
|
10824
11094
|
{ type: 'error', inputs: [], name: 'InvalidInitialization' },
|
|
10825
11095
|
{ type: 'error', inputs: [], name: 'MarketAlreadyLaunched' },
|
|
11096
|
+
{ type: 'error', inputs: [], name: 'MarketMinimumNotReached' },
|
|
11097
|
+
{ type: 'error', inputs: [], name: 'MinimumMarketEthNotMet' },
|
|
10826
11098
|
{ type: 'error', inputs: [], name: 'NeedsToBeAtLeastOneSaleToStartMarket' },
|
|
10827
11099
|
{ type: 'error', inputs: [], name: 'NotInitializing' },
|
|
10828
11100
|
{ type: 'error', inputs: [], name: 'OnlyZoraRewardRecipient' },
|
|
@@ -10844,6 +11116,9 @@ export const zoraTimedSaleStrategyABI = [
|
|
|
10844
11116
|
{ type: 'error', inputs: [], name: 'SaleHasNotStarted' },
|
|
10845
11117
|
{ type: 'error', inputs: [], name: 'SaleInProgress' },
|
|
10846
11118
|
{ type: 'error', inputs: [], name: 'SaleNotSet' },
|
|
11119
|
+
{ type: 'error', inputs: [], name: 'SaleV2AlreadyStarted' },
|
|
11120
|
+
{ type: 'error', inputs: [], name: 'SaleV2Ended' },
|
|
11121
|
+
{ type: 'error', inputs: [], name: 'SaleV2NotSet' },
|
|
10847
11122
|
{ type: 'error', inputs: [], name: 'StartTimeCannotBeAfterEndTime' },
|
|
10848
11123
|
{ type: 'error', inputs: [], name: 'UUPSUnauthorizedCallContext' },
|
|
10849
11124
|
{
|