@zoralabs/protocol-deployments 0.3.2 → 0.3.4-PRE.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +48 -43
- package/CHANGELOG.md +12 -0
- package/dist/encoding.d.ts +15 -0
- package/dist/encoding.d.ts.map +1 -0
- package/dist/generated/wagmi.d.ts +237 -16
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +84 -4
- 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 +80 -4
- package/dist/index.js.map +1 -1
- package/json/1155.json +212 -0
- package/json/mints.json +46 -0
- package/package.json +22 -14
- package/src/encoding.ts +6 -0
- package/src/generated/wagmi.ts +107 -2
- package/src/index.ts +1 -0
- package/wagmi.config.ts +383 -0
- package/LICENSE +0 -21
package/dist/index.cjs
CHANGED
|
@@ -1636,6 +1636,7 @@ __export(src_exports, {
|
|
|
1636
1636
|
protocolRewardsABI: () => protocolRewardsABI,
|
|
1637
1637
|
protocolRewardsAddress: () => protocolRewardsAddress,
|
|
1638
1638
|
protocolRewardsConfig: () => protocolRewardsConfig,
|
|
1639
|
+
safeTransferSwapAbiParameters: () => safeTransferSwapAbiParameters,
|
|
1639
1640
|
secondarySwapABI: () => secondarySwapABI,
|
|
1640
1641
|
secondarySwapAddress: () => secondarySwapAddress,
|
|
1641
1642
|
secondarySwapConfig: () => secondarySwapConfig,
|
|
@@ -1648,6 +1649,9 @@ __export(src_exports, {
|
|
|
1648
1649
|
upgradeGateABI: () => upgradeGateABI,
|
|
1649
1650
|
upgradeGateAddress: () => upgradeGateAddress,
|
|
1650
1651
|
upgradeGateConfig: () => upgradeGateConfig,
|
|
1652
|
+
wethABI: () => wethABI,
|
|
1653
|
+
wethAddress: () => wethAddress,
|
|
1654
|
+
wethConfig: () => wethConfig,
|
|
1651
1655
|
zoraCreator1155FactoryImplABI: () => zoraCreator1155FactoryImplABI,
|
|
1652
1656
|
zoraCreator1155FactoryImplAddress: () => zoraCreator1155FactoryImplAddress,
|
|
1653
1657
|
zoraCreator1155FactoryImplConfig: () => zoraCreator1155FactoryImplConfig,
|
|
@@ -3758,8 +3762,7 @@ var secondarySwapABI = [
|
|
|
3758
3762
|
type: "address"
|
|
3759
3763
|
},
|
|
3760
3764
|
{ name: "maxEthToSpend", internalType: "uint256", type: "uint256" },
|
|
3761
|
-
{ name: "sqrtPriceLimitX96", internalType: "uint160", type: "uint160" }
|
|
3762
|
-
{ name: "comment", internalType: "string", type: "string" }
|
|
3765
|
+
{ name: "sqrtPriceLimitX96", internalType: "uint160", type: "uint160" }
|
|
3763
3766
|
],
|
|
3764
3767
|
name: "buy1155",
|
|
3765
3768
|
outputs: []
|
|
@@ -3818,8 +3821,7 @@ var secondarySwapABI = [
|
|
|
3818
3821
|
{ name: "num1155ToSell", internalType: "uint256", type: "uint256" },
|
|
3819
3822
|
{ name: "recipient", internalType: "address payable", type: "address" },
|
|
3820
3823
|
{ name: "minEthToAcquire", internalType: "uint256", type: "uint256" },
|
|
3821
|
-
{ name: "sqrtPriceLimitX96", internalType: "uint160", type: "uint160" }
|
|
3822
|
-
{ name: "comment", internalType: "string", type: "string" }
|
|
3824
|
+
{ name: "sqrtPriceLimitX96", internalType: "uint160", type: "uint160" }
|
|
3823
3825
|
],
|
|
3824
3826
|
name: "sell1155",
|
|
3825
3827
|
outputs: []
|
|
@@ -4629,6 +4631,73 @@ var upgradeGateConfig = {
|
|
|
4629
4631
|
address: upgradeGateAddress,
|
|
4630
4632
|
abi: upgradeGateABI
|
|
4631
4633
|
};
|
|
4634
|
+
var wethABI = [
|
|
4635
|
+
{
|
|
4636
|
+
stateMutability: "nonpayable",
|
|
4637
|
+
type: "function",
|
|
4638
|
+
inputs: [
|
|
4639
|
+
{ name: "guy", internalType: "address", type: "address" },
|
|
4640
|
+
{ name: "wad", internalType: "uint256", type: "uint256" }
|
|
4641
|
+
],
|
|
4642
|
+
name: "approve",
|
|
4643
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }]
|
|
4644
|
+
},
|
|
4645
|
+
{
|
|
4646
|
+
stateMutability: "view",
|
|
4647
|
+
type: "function",
|
|
4648
|
+
inputs: [{ name: "guy", internalType: "address", type: "address" }],
|
|
4649
|
+
name: "balanceOf",
|
|
4650
|
+
outputs: [{ name: "", internalType: "uint256", type: "uint256" }]
|
|
4651
|
+
},
|
|
4652
|
+
{
|
|
4653
|
+
stateMutability: "payable",
|
|
4654
|
+
type: "function",
|
|
4655
|
+
inputs: [],
|
|
4656
|
+
name: "deposit",
|
|
4657
|
+
outputs: []
|
|
4658
|
+
},
|
|
4659
|
+
{
|
|
4660
|
+
stateMutability: "nonpayable",
|
|
4661
|
+
type: "function",
|
|
4662
|
+
inputs: [
|
|
4663
|
+
{ name: "dst", internalType: "address", type: "address" },
|
|
4664
|
+
{ name: "wad", internalType: "uint256", type: "uint256" }
|
|
4665
|
+
],
|
|
4666
|
+
name: "transfer",
|
|
4667
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }]
|
|
4668
|
+
},
|
|
4669
|
+
{
|
|
4670
|
+
stateMutability: "nonpayable",
|
|
4671
|
+
type: "function",
|
|
4672
|
+
inputs: [
|
|
4673
|
+
{ name: "src", internalType: "address", type: "address" },
|
|
4674
|
+
{ name: "dst", internalType: "address", type: "address" },
|
|
4675
|
+
{ name: "wad", internalType: "uint256", type: "uint256" }
|
|
4676
|
+
],
|
|
4677
|
+
name: "transferFrom",
|
|
4678
|
+
outputs: [{ name: "", internalType: "bool", type: "bool" }]
|
|
4679
|
+
},
|
|
4680
|
+
{
|
|
4681
|
+
stateMutability: "nonpayable",
|
|
4682
|
+
type: "function",
|
|
4683
|
+
inputs: [{ name: "wad", internalType: "uint256", type: "uint256" }],
|
|
4684
|
+
name: "withdraw",
|
|
4685
|
+
outputs: []
|
|
4686
|
+
}
|
|
4687
|
+
];
|
|
4688
|
+
var wethAddress = {
|
|
4689
|
+
1: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
|
|
4690
|
+
10: "0x4200000000000000000000000000000000000006",
|
|
4691
|
+
8453: "0x4200000000000000000000000000000000000006",
|
|
4692
|
+
42161: "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1",
|
|
4693
|
+
81457: "0x4300000000000000000000000000000000000004",
|
|
4694
|
+
84532: "0x4200000000000000000000000000000000000006",
|
|
4695
|
+
421614: "0xc556bAe1e86B2aE9c22eA5E036b07E55E7596074",
|
|
4696
|
+
7777777: "0x4200000000000000000000000000000000000006",
|
|
4697
|
+
11155111: "0x7b79995e5f793A07Bc00c21412e50Ecae098E7f9",
|
|
4698
|
+
999999999: "0x4200000000000000000000000000000000000006"
|
|
4699
|
+
};
|
|
4700
|
+
var wethConfig = { address: wethAddress, abi: wethABI };
|
|
4632
4701
|
var zoraCreator1155FactoryImplABI = [
|
|
4633
4702
|
{
|
|
4634
4703
|
stateMutability: "nonpayable",
|
|
@@ -12471,6 +12540,13 @@ var sponsoredSparksBatchTypedDataDefinition = ({
|
|
|
12471
12540
|
}
|
|
12472
12541
|
});
|
|
12473
12542
|
|
|
12543
|
+
// src/encoding.ts
|
|
12544
|
+
var safeTransferSwapAbiParameters = [
|
|
12545
|
+
{ name: "recipient", internalType: "address payable", type: "address" },
|
|
12546
|
+
{ name: "minEthToAcquire", internalType: "uint256", type: "uint256" },
|
|
12547
|
+
{ name: "sqrtPriceLimitX96", internalType: "uint160", type: "uint160" }
|
|
12548
|
+
];
|
|
12549
|
+
|
|
12474
12550
|
// src/generated/1155.ts
|
|
12475
12551
|
var __exports = {};
|
|
12476
12552
|
__export(__exports, {
|
|
@@ -12825,6 +12901,7 @@ var addresses2 = {
|
|
|
12825
12901
|
protocolRewardsABI,
|
|
12826
12902
|
protocolRewardsAddress,
|
|
12827
12903
|
protocolRewardsConfig,
|
|
12904
|
+
safeTransferSwapAbiParameters,
|
|
12828
12905
|
secondarySwapABI,
|
|
12829
12906
|
secondarySwapAddress,
|
|
12830
12907
|
secondarySwapConfig,
|
|
@@ -12837,6 +12914,9 @@ var addresses2 = {
|
|
|
12837
12914
|
upgradeGateABI,
|
|
12838
12915
|
upgradeGateAddress,
|
|
12839
12916
|
upgradeGateConfig,
|
|
12917
|
+
wethABI,
|
|
12918
|
+
wethAddress,
|
|
12919
|
+
wethConfig,
|
|
12840
12920
|
zoraCreator1155FactoryImplABI,
|
|
12841
12921
|
zoraCreator1155FactoryImplAddress,
|
|
12842
12922
|
zoraCreator1155FactoryImplConfig,
|