@zoralabs/protocol-deployments 0.2.1 → 0.2.2
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 +17 -17
- package/CHANGELOG.md +7 -0
- package/dist/generated/wagmi.d.ts +1326 -49
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +568 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +562 -14
- package/dist/index.js.map +1 -1
- package/dist/typedData.d.ts +42 -1
- package/dist/typedData.d.ts.map +1 -1
- package/dist/types.d.ts +2 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/generated/1155.ts +14 -14
- package/src/generated/wagmi.ts +505 -0
- package/src/typedData.ts +73 -0
- package/src/types.ts +8 -0
package/dist/index.cjs
CHANGED
|
@@ -1619,6 +1619,7 @@ __export(src_exports, {
|
|
|
1619
1619
|
erc20MinterAddress: () => erc20MinterAddress,
|
|
1620
1620
|
erc20MinterConfig: () => erc20MinterConfig,
|
|
1621
1621
|
iPremintDefinitionsABI: () => iPremintDefinitionsABI,
|
|
1622
|
+
iSponsoredSparksSpenderActionABI: () => iSponsoredSparksSpenderActionABI,
|
|
1622
1623
|
iUnwrapAndForwardActionABI: () => iUnwrapAndForwardActionABI,
|
|
1623
1624
|
mintsEthUnwrapperAndCallerABI: () => mintsEthUnwrapperAndCallerABI,
|
|
1624
1625
|
mintsEthUnwrapperAndCallerAddress: () => mintsEthUnwrapperAndCallerAddress,
|
|
@@ -1632,6 +1633,11 @@ __export(src_exports, {
|
|
|
1632
1633
|
protocolRewardsAddress: () => protocolRewardsAddress,
|
|
1633
1634
|
protocolRewardsConfig: () => protocolRewardsConfig,
|
|
1634
1635
|
sparks: () => sparks_exports,
|
|
1636
|
+
sponsoredSparksBatchTransferTypedDataType: () => sponsoredSparksBatchTransferTypedDataType,
|
|
1637
|
+
sponsoredSparksBatchTypedDataDefinition: () => sponsoredSparksBatchTypedDataDefinition,
|
|
1638
|
+
sponsoredSparksSpenderABI: () => sponsoredSparksSpenderABI,
|
|
1639
|
+
sponsoredSparksSpenderAddress: () => sponsoredSparksSpenderAddress,
|
|
1640
|
+
sponsoredSparksSpenderConfig: () => sponsoredSparksSpenderConfig,
|
|
1635
1641
|
upgradeGateABI: () => upgradeGateABI,
|
|
1636
1642
|
upgradeGateAddress: () => upgradeGateAddress,
|
|
1637
1643
|
upgradeGateConfig: () => upgradeGateConfig,
|
|
@@ -2491,6 +2497,42 @@ var iPremintDefinitionsABI = [
|
|
|
2491
2497
|
outputs: []
|
|
2492
2498
|
}
|
|
2493
2499
|
];
|
|
2500
|
+
var iSponsoredSparksSpenderActionABI = [
|
|
2501
|
+
{
|
|
2502
|
+
stateMutability: "nonpayable",
|
|
2503
|
+
type: "function",
|
|
2504
|
+
inputs: [
|
|
2505
|
+
{
|
|
2506
|
+
name: "sponsoredMintBatch",
|
|
2507
|
+
internalType: "struct SponsoredMintBatch",
|
|
2508
|
+
type: "tuple",
|
|
2509
|
+
components: [
|
|
2510
|
+
{ name: "verifier", internalType: "address", type: "address" },
|
|
2511
|
+
{ name: "from", internalType: "address", type: "address" },
|
|
2512
|
+
{
|
|
2513
|
+
name: "destination",
|
|
2514
|
+
internalType: "address payable",
|
|
2515
|
+
type: "address"
|
|
2516
|
+
},
|
|
2517
|
+
{ name: "data", internalType: "bytes", type: "bytes" },
|
|
2518
|
+
{
|
|
2519
|
+
name: "expectedRedeemAmount",
|
|
2520
|
+
internalType: "uint256",
|
|
2521
|
+
type: "uint256"
|
|
2522
|
+
},
|
|
2523
|
+
{ name: "totalAmount", internalType: "uint256", type: "uint256" },
|
|
2524
|
+
{ name: "ids", internalType: "uint256[]", type: "uint256[]" },
|
|
2525
|
+
{ name: "quantities", internalType: "uint256[]", type: "uint256[]" },
|
|
2526
|
+
{ name: "nonce", internalType: "uint256", type: "uint256" },
|
|
2527
|
+
{ name: "deadline", internalType: "uint256", type: "uint256" }
|
|
2528
|
+
]
|
|
2529
|
+
},
|
|
2530
|
+
{ name: "signature", internalType: "bytes", type: "bytes" }
|
|
2531
|
+
],
|
|
2532
|
+
name: "sponsoredMintBatch",
|
|
2533
|
+
outputs: []
|
|
2534
|
+
}
|
|
2535
|
+
];
|
|
2494
2536
|
var iUnwrapAndForwardActionABI = [
|
|
2495
2537
|
{
|
|
2496
2538
|
stateMutability: "payable",
|
|
@@ -2867,6 +2909,380 @@ var protocolRewardsConfig = {
|
|
|
2867
2909
|
address: protocolRewardsAddress,
|
|
2868
2910
|
abi: protocolRewardsABI
|
|
2869
2911
|
};
|
|
2912
|
+
var sponsoredSparksSpenderABI = [
|
|
2913
|
+
{
|
|
2914
|
+
stateMutability: "nonpayable",
|
|
2915
|
+
type: "constructor",
|
|
2916
|
+
inputs: [
|
|
2917
|
+
{
|
|
2918
|
+
name: "_zoraSparks1155",
|
|
2919
|
+
internalType: "contract IZoraSparks1155",
|
|
2920
|
+
type: "address"
|
|
2921
|
+
},
|
|
2922
|
+
{ name: "fundsManager", internalType: "address", type: "address" },
|
|
2923
|
+
{
|
|
2924
|
+
name: "defaultVerifiers",
|
|
2925
|
+
internalType: "address[]",
|
|
2926
|
+
type: "address[]"
|
|
2927
|
+
}
|
|
2928
|
+
]
|
|
2929
|
+
},
|
|
2930
|
+
{ stateMutability: "payable", type: "receive" },
|
|
2931
|
+
{
|
|
2932
|
+
stateMutability: "view",
|
|
2933
|
+
type: "function",
|
|
2934
|
+
inputs: [],
|
|
2935
|
+
name: "NAME",
|
|
2936
|
+
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
2937
|
+
},
|
|
2938
|
+
{
|
|
2939
|
+
stateMutability: "view",
|
|
2940
|
+
type: "function",
|
|
2941
|
+
inputs: [],
|
|
2942
|
+
name: "SPONSORSHIP_TYPEHASH",
|
|
2943
|
+
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
|
|
2944
|
+
},
|
|
2945
|
+
{
|
|
2946
|
+
stateMutability: "view",
|
|
2947
|
+
type: "function",
|
|
2948
|
+
inputs: [],
|
|
2949
|
+
name: "VERSION",
|
|
2950
|
+
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
2951
|
+
},
|
|
2952
|
+
{
|
|
2953
|
+
stateMutability: "nonpayable",
|
|
2954
|
+
type: "function",
|
|
2955
|
+
inputs: [],
|
|
2956
|
+
name: "acceptOwnership",
|
|
2957
|
+
outputs: []
|
|
2958
|
+
},
|
|
2959
|
+
{
|
|
2960
|
+
stateMutability: "view",
|
|
2961
|
+
type: "function",
|
|
2962
|
+
inputs: [{ name: "", internalType: "address", type: "address" }],
|
|
2963
|
+
name: "allowedVerifiers",
|
|
2964
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }]
|
|
2965
|
+
},
|
|
2966
|
+
{
|
|
2967
|
+
stateMutability: "pure",
|
|
2968
|
+
type: "function",
|
|
2969
|
+
inputs: [],
|
|
2970
|
+
name: "contractName",
|
|
2971
|
+
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
2972
|
+
},
|
|
2973
|
+
{
|
|
2974
|
+
stateMutability: "pure",
|
|
2975
|
+
type: "function",
|
|
2976
|
+
inputs: [],
|
|
2977
|
+
name: "contractVersion",
|
|
2978
|
+
outputs: [{ name: "", internalType: "string", type: "string" }]
|
|
2979
|
+
},
|
|
2980
|
+
{
|
|
2981
|
+
stateMutability: "view",
|
|
2982
|
+
type: "function",
|
|
2983
|
+
inputs: [],
|
|
2984
|
+
name: "eip712Domain",
|
|
2985
|
+
outputs: [
|
|
2986
|
+
{ name: "fields", internalType: "bytes1", type: "bytes1" },
|
|
2987
|
+
{ name: "name", internalType: "string", type: "string" },
|
|
2988
|
+
{ name: "version", internalType: "string", type: "string" },
|
|
2989
|
+
{ name: "chainId", internalType: "uint256", type: "uint256" },
|
|
2990
|
+
{ name: "verifyingContract", internalType: "address", type: "address" },
|
|
2991
|
+
{ name: "salt", internalType: "bytes32", type: "bytes32" },
|
|
2992
|
+
{ name: "extensions", internalType: "uint256[]", type: "uint256[]" }
|
|
2993
|
+
]
|
|
2994
|
+
},
|
|
2995
|
+
{
|
|
2996
|
+
stateMutability: "payable",
|
|
2997
|
+
type: "function",
|
|
2998
|
+
inputs: [],
|
|
2999
|
+
name: "fund",
|
|
3000
|
+
outputs: []
|
|
3001
|
+
},
|
|
3002
|
+
{
|
|
3003
|
+
stateMutability: "view",
|
|
3004
|
+
type: "function",
|
|
3005
|
+
inputs: [
|
|
3006
|
+
{
|
|
3007
|
+
name: "sponsorship",
|
|
3008
|
+
internalType: "struct SponsoredMintBatch",
|
|
3009
|
+
type: "tuple",
|
|
3010
|
+
components: [
|
|
3011
|
+
{ name: "verifier", internalType: "address", type: "address" },
|
|
3012
|
+
{ name: "from", internalType: "address", type: "address" },
|
|
3013
|
+
{
|
|
3014
|
+
name: "destination",
|
|
3015
|
+
internalType: "address payable",
|
|
3016
|
+
type: "address"
|
|
3017
|
+
},
|
|
3018
|
+
{ name: "data", internalType: "bytes", type: "bytes" },
|
|
3019
|
+
{
|
|
3020
|
+
name: "expectedRedeemAmount",
|
|
3021
|
+
internalType: "uint256",
|
|
3022
|
+
type: "uint256"
|
|
3023
|
+
},
|
|
3024
|
+
{ name: "totalAmount", internalType: "uint256", type: "uint256" },
|
|
3025
|
+
{ name: "ids", internalType: "uint256[]", type: "uint256[]" },
|
|
3026
|
+
{ name: "quantities", internalType: "uint256[]", type: "uint256[]" },
|
|
3027
|
+
{ name: "nonce", internalType: "uint256", type: "uint256" },
|
|
3028
|
+
{ name: "deadline", internalType: "uint256", type: "uint256" }
|
|
3029
|
+
]
|
|
3030
|
+
}
|
|
3031
|
+
],
|
|
3032
|
+
name: "hashSponsoredMint",
|
|
3033
|
+
outputs: [{ name: "", internalType: "bytes32", type: "bytes32" }]
|
|
3034
|
+
},
|
|
3035
|
+
{
|
|
3036
|
+
stateMutability: "nonpayable",
|
|
3037
|
+
type: "function",
|
|
3038
|
+
inputs: [
|
|
3039
|
+
{ name: "", internalType: "address", type: "address" },
|
|
3040
|
+
{ name: "from", internalType: "address", type: "address" },
|
|
3041
|
+
{ name: "ids", internalType: "uint256[]", type: "uint256[]" },
|
|
3042
|
+
{ name: "values", internalType: "uint256[]", type: "uint256[]" },
|
|
3043
|
+
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
3044
|
+
],
|
|
3045
|
+
name: "onERC1155BatchReceived",
|
|
3046
|
+
outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
|
|
3047
|
+
},
|
|
3048
|
+
{
|
|
3049
|
+
stateMutability: "nonpayable",
|
|
3050
|
+
type: "function",
|
|
3051
|
+
inputs: [
|
|
3052
|
+
{ name: "", internalType: "address", type: "address" },
|
|
3053
|
+
{ name: "from", internalType: "address", type: "address" },
|
|
3054
|
+
{ name: "id", internalType: "uint256", type: "uint256" },
|
|
3055
|
+
{ name: "value", internalType: "uint256", type: "uint256" },
|
|
3056
|
+
{ name: "data", internalType: "bytes", type: "bytes" }
|
|
3057
|
+
],
|
|
3058
|
+
name: "onERC1155Received",
|
|
3059
|
+
outputs: [{ name: "", internalType: "bytes4", type: "bytes4" }]
|
|
3060
|
+
},
|
|
3061
|
+
{
|
|
3062
|
+
stateMutability: "view",
|
|
3063
|
+
type: "function",
|
|
3064
|
+
inputs: [],
|
|
3065
|
+
name: "owner",
|
|
3066
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
3067
|
+
},
|
|
3068
|
+
{
|
|
3069
|
+
stateMutability: "view",
|
|
3070
|
+
type: "function",
|
|
3071
|
+
inputs: [],
|
|
3072
|
+
name: "pendingOwner",
|
|
3073
|
+
outputs: [{ name: "", internalType: "address", type: "address" }]
|
|
3074
|
+
},
|
|
3075
|
+
{
|
|
3076
|
+
stateMutability: "nonpayable",
|
|
3077
|
+
type: "function",
|
|
3078
|
+
inputs: [],
|
|
3079
|
+
name: "renounceOwnership",
|
|
3080
|
+
outputs: []
|
|
3081
|
+
},
|
|
3082
|
+
{
|
|
3083
|
+
stateMutability: "nonpayable",
|
|
3084
|
+
type: "function",
|
|
3085
|
+
inputs: [
|
|
3086
|
+
{ name: "verifier", internalType: "address", type: "address" },
|
|
3087
|
+
{ name: "enabled", internalType: "bool", type: "bool" }
|
|
3088
|
+
],
|
|
3089
|
+
name: "setVerifierStatus",
|
|
3090
|
+
outputs: []
|
|
3091
|
+
},
|
|
3092
|
+
{
|
|
3093
|
+
stateMutability: "nonpayable",
|
|
3094
|
+
type: "function",
|
|
3095
|
+
inputs: [{ name: "newOwner", internalType: "address", type: "address" }],
|
|
3096
|
+
name: "transferOwnership",
|
|
3097
|
+
outputs: []
|
|
3098
|
+
},
|
|
3099
|
+
{
|
|
3100
|
+
stateMutability: "view",
|
|
3101
|
+
type: "function",
|
|
3102
|
+
inputs: [
|
|
3103
|
+
{ name: "", internalType: "address", type: "address" },
|
|
3104
|
+
{ name: "", internalType: "uint256", type: "uint256" }
|
|
3105
|
+
],
|
|
3106
|
+
name: "usedNonces",
|
|
3107
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }]
|
|
3108
|
+
},
|
|
3109
|
+
{
|
|
3110
|
+
stateMutability: "nonpayable",
|
|
3111
|
+
type: "function",
|
|
3112
|
+
inputs: [{ name: "amount", internalType: "uint256", type: "uint256" }],
|
|
3113
|
+
name: "withdraw",
|
|
3114
|
+
outputs: []
|
|
3115
|
+
},
|
|
3116
|
+
{
|
|
3117
|
+
type: "event",
|
|
3118
|
+
anonymous: false,
|
|
3119
|
+
inputs: [
|
|
3120
|
+
{
|
|
3121
|
+
name: "sender",
|
|
3122
|
+
internalType: "address",
|
|
3123
|
+
type: "address",
|
|
3124
|
+
indexed: true
|
|
3125
|
+
},
|
|
3126
|
+
{
|
|
3127
|
+
name: "amount",
|
|
3128
|
+
internalType: "uint256",
|
|
3129
|
+
type: "uint256",
|
|
3130
|
+
indexed: true
|
|
3131
|
+
}
|
|
3132
|
+
],
|
|
3133
|
+
name: "ContractFunded"
|
|
3134
|
+
},
|
|
3135
|
+
{ type: "event", anonymous: false, inputs: [], name: "EIP712DomainChanged" },
|
|
3136
|
+
{
|
|
3137
|
+
type: "event",
|
|
3138
|
+
anonymous: false,
|
|
3139
|
+
inputs: [
|
|
3140
|
+
{
|
|
3141
|
+
name: "previousOwner",
|
|
3142
|
+
internalType: "address",
|
|
3143
|
+
type: "address",
|
|
3144
|
+
indexed: true
|
|
3145
|
+
},
|
|
3146
|
+
{
|
|
3147
|
+
name: "newOwner",
|
|
3148
|
+
internalType: "address",
|
|
3149
|
+
type: "address",
|
|
3150
|
+
indexed: true
|
|
3151
|
+
}
|
|
3152
|
+
],
|
|
3153
|
+
name: "OwnershipTransferStarted"
|
|
3154
|
+
},
|
|
3155
|
+
{
|
|
3156
|
+
type: "event",
|
|
3157
|
+
anonymous: false,
|
|
3158
|
+
inputs: [
|
|
3159
|
+
{
|
|
3160
|
+
name: "previousOwner",
|
|
3161
|
+
internalType: "address",
|
|
3162
|
+
type: "address",
|
|
3163
|
+
indexed: true
|
|
3164
|
+
},
|
|
3165
|
+
{
|
|
3166
|
+
name: "newOwner",
|
|
3167
|
+
internalType: "address",
|
|
3168
|
+
type: "address",
|
|
3169
|
+
indexed: true
|
|
3170
|
+
}
|
|
3171
|
+
],
|
|
3172
|
+
name: "OwnershipTransferred"
|
|
3173
|
+
},
|
|
3174
|
+
{
|
|
3175
|
+
type: "event",
|
|
3176
|
+
anonymous: false,
|
|
3177
|
+
inputs: [
|
|
3178
|
+
{
|
|
3179
|
+
name: "verifier",
|
|
3180
|
+
internalType: "address",
|
|
3181
|
+
type: "address",
|
|
3182
|
+
indexed: true
|
|
3183
|
+
},
|
|
3184
|
+
{ name: "from", internalType: "address", type: "address", indexed: true },
|
|
3185
|
+
{
|
|
3186
|
+
name: "amountSpent",
|
|
3187
|
+
internalType: "uint256",
|
|
3188
|
+
type: "uint256",
|
|
3189
|
+
indexed: false
|
|
3190
|
+
},
|
|
3191
|
+
{
|
|
3192
|
+
name: "contractValue",
|
|
3193
|
+
internalType: "uint256",
|
|
3194
|
+
type: "uint256",
|
|
3195
|
+
indexed: false
|
|
3196
|
+
}
|
|
3197
|
+
],
|
|
3198
|
+
name: "SentSponsoredCallFromMintBalances"
|
|
3199
|
+
},
|
|
3200
|
+
{
|
|
3201
|
+
type: "event",
|
|
3202
|
+
anonymous: false,
|
|
3203
|
+
inputs: [
|
|
3204
|
+
{
|
|
3205
|
+
name: "verifier",
|
|
3206
|
+
internalType: "address",
|
|
3207
|
+
type: "address",
|
|
3208
|
+
indexed: true
|
|
3209
|
+
},
|
|
3210
|
+
{ name: "enabled", internalType: "bool", type: "bool", indexed: true }
|
|
3211
|
+
],
|
|
3212
|
+
name: "SetVerifierStatus"
|
|
3213
|
+
},
|
|
3214
|
+
{
|
|
3215
|
+
type: "error",
|
|
3216
|
+
inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
|
|
3217
|
+
name: "CallFailed"
|
|
3218
|
+
},
|
|
3219
|
+
{
|
|
3220
|
+
type: "error",
|
|
3221
|
+
inputs: [{ name: "tokenId", internalType: "uint256", type: "uint256" }],
|
|
3222
|
+
name: "ERC20NotSupported"
|
|
3223
|
+
},
|
|
3224
|
+
{ type: "error", inputs: [], name: "IdsMismatch" },
|
|
3225
|
+
{ type: "error", inputs: [], name: "InvalidShortString" },
|
|
3226
|
+
{ type: "error", inputs: [], name: "InvalidSignature" },
|
|
3227
|
+
{ type: "error", inputs: [], name: "LengthMismatch" },
|
|
3228
|
+
{ type: "error", inputs: [], name: "NonceUsed" },
|
|
3229
|
+
{ type: "error", inputs: [], name: "NotExpectingReceive" },
|
|
3230
|
+
{ type: "error", inputs: [], name: "NotZoraSparks1155" },
|
|
3231
|
+
{
|
|
3232
|
+
type: "error",
|
|
3233
|
+
inputs: [{ name: "owner", internalType: "address", type: "address" }],
|
|
3234
|
+
name: "OwnableInvalidOwner"
|
|
3235
|
+
},
|
|
3236
|
+
{
|
|
3237
|
+
type: "error",
|
|
3238
|
+
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
3239
|
+
name: "OwnableUnauthorizedAccount"
|
|
3240
|
+
},
|
|
3241
|
+
{
|
|
3242
|
+
type: "error",
|
|
3243
|
+
inputs: [
|
|
3244
|
+
{
|
|
3245
|
+
name: "expectedRedeemAmount",
|
|
3246
|
+
internalType: "uint256",
|
|
3247
|
+
type: "uint256"
|
|
3248
|
+
},
|
|
3249
|
+
{
|
|
3250
|
+
name: "transientReceivedAmount",
|
|
3251
|
+
internalType: "uint256",
|
|
3252
|
+
type: "uint256"
|
|
3253
|
+
}
|
|
3254
|
+
],
|
|
3255
|
+
name: "RedeemAmountIsIncorrect"
|
|
3256
|
+
},
|
|
3257
|
+
{ type: "error", inputs: [], name: "SignatureExpired" },
|
|
3258
|
+
{ type: "error", inputs: [], name: "SingleTransferNotSupported" },
|
|
3259
|
+
{
|
|
3260
|
+
type: "error",
|
|
3261
|
+
inputs: [{ name: "str", internalType: "string", type: "string" }],
|
|
3262
|
+
name: "StringTooLong"
|
|
3263
|
+
},
|
|
3264
|
+
{
|
|
3265
|
+
type: "error",
|
|
3266
|
+
inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
|
|
3267
|
+
name: "TransferFailed"
|
|
3268
|
+
},
|
|
3269
|
+
{ type: "error", inputs: [], name: "UnknownAction" },
|
|
3270
|
+
{ type: "error", inputs: [], name: "UnknownUserAction" },
|
|
3271
|
+
{ type: "error", inputs: [], name: "ValuesMismatch" },
|
|
3272
|
+
{
|
|
3273
|
+
type: "error",
|
|
3274
|
+
inputs: [{ name: "verifier", internalType: "address", type: "address" }],
|
|
3275
|
+
name: "VerifierNotAllowed"
|
|
3276
|
+
},
|
|
3277
|
+
{ type: "error", inputs: [], name: "WithdrawFailed" }
|
|
3278
|
+
];
|
|
3279
|
+
var sponsoredSparksSpenderAddress = {
|
|
3280
|
+
7777777: "0x29b75AbA7dc7FE26d90CD96fbB390B26e04C4EB2"
|
|
3281
|
+
};
|
|
3282
|
+
var sponsoredSparksSpenderConfig = {
|
|
3283
|
+
address: sponsoredSparksSpenderAddress,
|
|
3284
|
+
abi: sponsoredSparksSpenderABI
|
|
3285
|
+
};
|
|
2870
3286
|
var upgradeGateABI = [
|
|
2871
3287
|
{ stateMutability: "nonpayable", type: "constructor", inputs: [] },
|
|
2872
3288
|
{
|
|
@@ -3292,6 +3708,51 @@ var zoraCreator1155FactoryImplABI = [
|
|
|
3292
3708
|
{ name: "", internalType: "contract IMinter1155", type: "address" }
|
|
3293
3709
|
]
|
|
3294
3710
|
},
|
|
3711
|
+
{
|
|
3712
|
+
stateMutability: "nonpayable",
|
|
3713
|
+
type: "function",
|
|
3714
|
+
inputs: [
|
|
3715
|
+
{
|
|
3716
|
+
name: "expectedContractAddress",
|
|
3717
|
+
internalType: "address",
|
|
3718
|
+
type: "address"
|
|
3719
|
+
},
|
|
3720
|
+
{ name: "newContractURI", internalType: "string", type: "string" },
|
|
3721
|
+
{ name: "name", internalType: "string", type: "string" },
|
|
3722
|
+
{
|
|
3723
|
+
name: "defaultRoyaltyConfiguration",
|
|
3724
|
+
internalType: "struct ICreatorRoyaltiesControl.RoyaltyConfiguration",
|
|
3725
|
+
type: "tuple",
|
|
3726
|
+
components: [
|
|
3727
|
+
{
|
|
3728
|
+
name: "royaltyMintSchedule",
|
|
3729
|
+
internalType: "uint32",
|
|
3730
|
+
type: "uint32"
|
|
3731
|
+
},
|
|
3732
|
+
{ name: "royaltyBPS", internalType: "uint32", type: "uint32" },
|
|
3733
|
+
{
|
|
3734
|
+
name: "royaltyRecipient",
|
|
3735
|
+
internalType: "address",
|
|
3736
|
+
type: "address"
|
|
3737
|
+
}
|
|
3738
|
+
]
|
|
3739
|
+
},
|
|
3740
|
+
{
|
|
3741
|
+
name: "defaultAdmin",
|
|
3742
|
+
internalType: "address payable",
|
|
3743
|
+
type: "address"
|
|
3744
|
+
},
|
|
3745
|
+
{ name: "setupActions", internalType: "bytes[]", type: "bytes[]" }
|
|
3746
|
+
],
|
|
3747
|
+
name: "getOrCreateContractDeterministic",
|
|
3748
|
+
outputs: [
|
|
3749
|
+
{
|
|
3750
|
+
name: "calculatedContractAddress",
|
|
3751
|
+
internalType: "address",
|
|
3752
|
+
type: "address"
|
|
3753
|
+
}
|
|
3754
|
+
]
|
|
3755
|
+
},
|
|
3295
3756
|
{
|
|
3296
3757
|
stateMutability: "view",
|
|
3297
3758
|
type: "function",
|
|
@@ -3428,6 +3889,19 @@ var zoraCreator1155FactoryImplABI = [
|
|
|
3428
3889
|
],
|
|
3429
3890
|
name: "BeaconUpgraded"
|
|
3430
3891
|
},
|
|
3892
|
+
{
|
|
3893
|
+
type: "event",
|
|
3894
|
+
anonymous: false,
|
|
3895
|
+
inputs: [
|
|
3896
|
+
{
|
|
3897
|
+
name: "calculatedContractAddress",
|
|
3898
|
+
internalType: "address",
|
|
3899
|
+
type: "address",
|
|
3900
|
+
indexed: false
|
|
3901
|
+
}
|
|
3902
|
+
],
|
|
3903
|
+
name: "ContractAlreadyExistsSkippingDeploy"
|
|
3904
|
+
},
|
|
3431
3905
|
{ type: "event", anonymous: false, inputs: [], name: "FactorySetup" },
|
|
3432
3906
|
{
|
|
3433
3907
|
type: "event",
|
|
@@ -3564,6 +4038,22 @@ var zoraCreator1155FactoryImplABI = [
|
|
|
3564
4038
|
{ type: "error", inputs: [], name: "ERC1967_NEW_IMPL_NOT_CONTRACT" },
|
|
3565
4039
|
{ type: "error", inputs: [], name: "ERC1967_NEW_IMPL_NOT_UUPS" },
|
|
3566
4040
|
{ type: "error", inputs: [], name: "ERC1967_UNSUPPORTED_PROXIABLEUUID" },
|
|
4041
|
+
{
|
|
4042
|
+
type: "error",
|
|
4043
|
+
inputs: [
|
|
4044
|
+
{
|
|
4045
|
+
name: "expectedContractAddress",
|
|
4046
|
+
internalType: "address",
|
|
4047
|
+
type: "address"
|
|
4048
|
+
},
|
|
4049
|
+
{
|
|
4050
|
+
name: "calculcatedContractAddress",
|
|
4051
|
+
internalType: "address",
|
|
4052
|
+
type: "address"
|
|
4053
|
+
}
|
|
4054
|
+
],
|
|
4055
|
+
name: "ExpectedContractAddressDoesNotMatchCalculatedContractAddress"
|
|
4056
|
+
},
|
|
3567
4057
|
{
|
|
3568
4058
|
type: "error",
|
|
3569
4059
|
inputs: [],
|
|
@@ -9673,6 +10163,64 @@ var mintsSafeTransferBatchTypedDataDefinition = ({
|
|
|
9673
10163
|
verifyingContract: zoraMints1155Address[chainId]
|
|
9674
10164
|
}
|
|
9675
10165
|
});
|
|
10166
|
+
var sponsoredSparksBatchTransferTypedDataType = {
|
|
10167
|
+
SponsoredMintBatch: [
|
|
10168
|
+
{
|
|
10169
|
+
name: "verifier",
|
|
10170
|
+
type: "address"
|
|
10171
|
+
},
|
|
10172
|
+
{
|
|
10173
|
+
name: "from",
|
|
10174
|
+
type: "address"
|
|
10175
|
+
},
|
|
10176
|
+
{
|
|
10177
|
+
name: "destination",
|
|
10178
|
+
type: "address"
|
|
10179
|
+
},
|
|
10180
|
+
{
|
|
10181
|
+
name: "data",
|
|
10182
|
+
type: "bytes"
|
|
10183
|
+
},
|
|
10184
|
+
{
|
|
10185
|
+
name: "expectedRedeemAmount",
|
|
10186
|
+
type: "uint256"
|
|
10187
|
+
},
|
|
10188
|
+
{
|
|
10189
|
+
name: "totalAmount",
|
|
10190
|
+
type: "uint256"
|
|
10191
|
+
},
|
|
10192
|
+
{
|
|
10193
|
+
name: "ids",
|
|
10194
|
+
type: "uint256[]"
|
|
10195
|
+
},
|
|
10196
|
+
{
|
|
10197
|
+
name: "quantities",
|
|
10198
|
+
type: "uint256[]"
|
|
10199
|
+
},
|
|
10200
|
+
{
|
|
10201
|
+
name: "nonce",
|
|
10202
|
+
type: "uint256"
|
|
10203
|
+
},
|
|
10204
|
+
{
|
|
10205
|
+
name: "deadline",
|
|
10206
|
+
type: "uint256"
|
|
10207
|
+
}
|
|
10208
|
+
]
|
|
10209
|
+
};
|
|
10210
|
+
var sponsoredSparksBatchTypedDataDefinition = ({
|
|
10211
|
+
chainId,
|
|
10212
|
+
message
|
|
10213
|
+
}) => ({
|
|
10214
|
+
types: sponsoredSparksBatchTransferTypedDataType,
|
|
10215
|
+
message,
|
|
10216
|
+
primaryType: "SponsoredMintBatch",
|
|
10217
|
+
domain: {
|
|
10218
|
+
chainId,
|
|
10219
|
+
name: "SponsoredSparksSpender",
|
|
10220
|
+
version: "1",
|
|
10221
|
+
verifyingContract: sponsoredSparksSpenderAddress[chainId]
|
|
10222
|
+
}
|
|
10223
|
+
});
|
|
9676
10224
|
|
|
9677
10225
|
// src/generated/1155.ts
|
|
9678
10226
|
var __exports = {};
|
|
@@ -9855,32 +10403,32 @@ var addresses = {
|
|
|
9855
10403
|
timestamp: 1717195052
|
|
9856
10404
|
},
|
|
9857
10405
|
7777777: {
|
|
9858
|
-
CONTRACT_1155_IMPL: "
|
|
9859
|
-
CONTRACT_1155_IMPL_VERSION: "2.
|
|
10406
|
+
CONTRACT_1155_IMPL: "0x9074Ae399235d26B56e3aF1331b033366E4FE072",
|
|
10407
|
+
CONTRACT_1155_IMPL_VERSION: "2.12.2",
|
|
9860
10408
|
ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
|
|
9861
|
-
FACTORY_IMPL: "
|
|
10409
|
+
FACTORY_IMPL: "0xD9bC36841C259f07924e73cF08d5a2c92d53639B",
|
|
9862
10410
|
FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
9863
10411
|
FIXED_PRICE_SALE_STRATEGY: "0x04E2516A2c207E84a1839755675dfd8eF6302F0a",
|
|
9864
10412
|
MERKLE_MINT_SALE_STRATEGY: "0xf48172CA3B6068B20eE4917Eb27b5472f1f272C7",
|
|
9865
|
-
PREMINTER_IMPL: "
|
|
10413
|
+
PREMINTER_IMPL: "0xa79928cCc270b0208e56BfF0e927ff55034e7C35",
|
|
9866
10414
|
PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
9867
10415
|
REDEEM_MINTER_FACTORY: "0x78964965cF77850224513a367f899435C5B69174",
|
|
9868
10416
|
UPGRADE_GATE: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
|
|
9869
|
-
timestamp:
|
|
10417
|
+
timestamp: 1721935998
|
|
9870
10418
|
},
|
|
9871
10419
|
11155111: {
|
|
9872
|
-
CONTRACT_1155_IMPL: "
|
|
9873
|
-
CONTRACT_1155_IMPL_VERSION: "2.
|
|
10420
|
+
CONTRACT_1155_IMPL: "0x961b527B5E298569dbD7B1d90630cC515Eb17A4A",
|
|
10421
|
+
CONTRACT_1155_IMPL_VERSION: "2.12.2",
|
|
9874
10422
|
ERC20_MINTER: "0x777777E8850d8D6d98De2B5f64fae401F96eFF31",
|
|
9875
|
-
FACTORY_IMPL: "
|
|
10423
|
+
FACTORY_IMPL: "0x5Eedeb6e035e68f89B29689625c4720EA7842542",
|
|
9876
10424
|
FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
9877
10425
|
FIXED_PRICE_SALE_STRATEGY: "0x1Cd1C1f3b8B779B50Db23155F2Cb244FCcA06B21",
|
|
9878
10426
|
MERKLE_MINT_SALE_STRATEGY: "0xe770E6f19aecF8ef3145A50087999b5556aB3610",
|
|
9879
|
-
PREMINTER_IMPL: "
|
|
10427
|
+
PREMINTER_IMPL: "0xa79928cCc270b0208e56BfF0e927ff55034e7C35",
|
|
9880
10428
|
PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
9881
10429
|
REDEEM_MINTER_FACTORY: "0x69bB4A24EBD8b1B87AF4538E0Ca3075b7E398c3D",
|
|
9882
10430
|
UPGRADE_GATE: "0xbC50029836A59A4E5e1Bb8988272F46ebA0F9900",
|
|
9883
|
-
timestamp:
|
|
10431
|
+
timestamp: 1721935626
|
|
9884
10432
|
},
|
|
9885
10433
|
168587773: {
|
|
9886
10434
|
CONTRACT_1155_IMPL: "0x437A762fc2a8f898Aa7a2575Be21c41753DC4797",
|
|
@@ -9896,10 +10444,10 @@ var addresses = {
|
|
|
9896
10444
|
timestamp: 1709234007
|
|
9897
10445
|
},
|
|
9898
10446
|
999999999: {
|
|
9899
|
-
CONTRACT_1155_IMPL: "
|
|
9900
|
-
CONTRACT_1155_IMPL_VERSION: "2.12.
|
|
10447
|
+
CONTRACT_1155_IMPL: "0xC542CAdBF84F195226804B62BbE941CF244BF490",
|
|
10448
|
+
CONTRACT_1155_IMPL_VERSION: "2.12.2",
|
|
9901
10449
|
ERC20_MINTER: "0x8Ec7f068A77fa5FC1925110f82381374BA054Ff2",
|
|
9902
|
-
FACTORY_IMPL: "
|
|
10450
|
+
FACTORY_IMPL: "0xF5b2eb84B4BFfcAe4ff1592A6838a2d0fFb7AA68",
|
|
9903
10451
|
FACTORY_PROXY: "0x777777C338d93e2C7adf08D102d45CA7CC4Ed021",
|
|
9904
10452
|
FIXED_PRICE_SALE_STRATEGY: "0x6d28164C3CE04A190D5F9f0f8881fc807EAD975A",
|
|
9905
10453
|
MERKLE_MINT_SALE_STRATEGY: "0x5e5fD4b758076BAD940db0284b711A67E8a3B88c",
|
|
@@ -9907,7 +10455,7 @@ var addresses = {
|
|
|
9907
10455
|
PREMINTER_PROXY: "0x7777773606e7e46C8Ba8B98C08f5cD218e31d340",
|
|
9908
10456
|
REDEEM_MINTER_FACTORY: "0x25cFb6dd9cDE8425e781d6718a29Ccbca3F038d6",
|
|
9909
10457
|
UPGRADE_GATE: "0x0000000000000000000000000000000000000000",
|
|
9910
|
-
timestamp:
|
|
10458
|
+
timestamp: 1721933261
|
|
9911
10459
|
}
|
|
9912
10460
|
};
|
|
9913
10461
|
|
|
@@ -9952,6 +10500,7 @@ var addresses2 = {
|
|
|
9952
10500
|
erc20MinterAddress,
|
|
9953
10501
|
erc20MinterConfig,
|
|
9954
10502
|
iPremintDefinitionsABI,
|
|
10503
|
+
iSponsoredSparksSpenderActionABI,
|
|
9955
10504
|
iUnwrapAndForwardActionABI,
|
|
9956
10505
|
mintsEthUnwrapperAndCallerABI,
|
|
9957
10506
|
mintsEthUnwrapperAndCallerAddress,
|
|
@@ -9965,6 +10514,11 @@ var addresses2 = {
|
|
|
9965
10514
|
protocolRewardsAddress,
|
|
9966
10515
|
protocolRewardsConfig,
|
|
9967
10516
|
sparks,
|
|
10517
|
+
sponsoredSparksBatchTransferTypedDataType,
|
|
10518
|
+
sponsoredSparksBatchTypedDataDefinition,
|
|
10519
|
+
sponsoredSparksSpenderABI,
|
|
10520
|
+
sponsoredSparksSpenderAddress,
|
|
10521
|
+
sponsoredSparksSpenderConfig,
|
|
9968
10522
|
upgradeGateABI,
|
|
9969
10523
|
upgradeGateAddress,
|
|
9970
10524
|
upgradeGateConfig,
|