@zoralabs/protocol-deployments 0.3.11-DEV.6 → 0.4.0-DEV.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/dist/index.cjs CHANGED
@@ -2979,8 +2979,6 @@ var cointagFactoryABI = [
2979
2979
  {
2980
2980
  type: "constructor",
2981
2981
  inputs: [
2982
- { name: "_protocolRewards", internalType: "address", type: "address" },
2983
- { name: "_weth", internalType: "address", type: "address" },
2984
2982
  {
2985
2983
  name: "_cointagImplementation",
2986
2984
  internalType: "address",
@@ -3051,6 +3049,27 @@ var cointagFactoryABI = [
3051
3049
  outputs: [{ name: "", internalType: "address", type: "address" }],
3052
3050
  stateMutability: "view"
3053
3051
  },
3052
+ {
3053
+ type: "function",
3054
+ inputs: [
3055
+ { name: "_implementation", internalType: "address", type: "address" },
3056
+ {
3057
+ name: "_creatorRewardRecipient",
3058
+ internalType: "address",
3059
+ type: "address"
3060
+ },
3061
+ { name: "_pool", internalType: "address", type: "address" },
3062
+ {
3063
+ name: "_percentageToBuyBurn",
3064
+ internalType: "uint256",
3065
+ type: "uint256"
3066
+ },
3067
+ { name: "saltSource", internalType: "bytes", type: "bytes" }
3068
+ ],
3069
+ name: "getCointagAddressForImpl",
3070
+ outputs: [{ name: "", internalType: "address", type: "address" }],
3071
+ stateMutability: "view"
3072
+ },
3054
3073
  {
3055
3074
  type: "function",
3056
3075
  inputs: [
@@ -3068,7 +3087,28 @@ var cointagFactoryABI = [
3068
3087
  { name: "saltSource", internalType: "bytes", type: "bytes" }
3069
3088
  ],
3070
3089
  name: "getOrCreateCointag",
3071
- outputs: [{ name: "", internalType: "contract Cointag", type: "address" }],
3090
+ outputs: [{ name: "", internalType: "contract ICointag", type: "address" }],
3091
+ stateMutability: "nonpayable"
3092
+ },
3093
+ {
3094
+ type: "function",
3095
+ inputs: [
3096
+ {
3097
+ name: "_creatorRewardRecipient",
3098
+ internalType: "address",
3099
+ type: "address"
3100
+ },
3101
+ { name: "_pool", internalType: "address", type: "address" },
3102
+ {
3103
+ name: "_percentageToBuyBurn",
3104
+ internalType: "uint256",
3105
+ type: "uint256"
3106
+ },
3107
+ { name: "saltSource", internalType: "bytes", type: "bytes" },
3108
+ { name: "expectedAddress", internalType: "address", type: "address" }
3109
+ ],
3110
+ name: "getOrCreateCointagAtExpectedAddress",
3111
+ outputs: [{ name: "", internalType: "contract ICointag", type: "address" }],
3072
3112
  stateMutability: "nonpayable"
3073
3113
  },
3074
3114
  {
@@ -3101,13 +3141,6 @@ var cointagFactoryABI = [
3101
3141
  outputs: [{ name: "", internalType: "address", type: "address" }],
3102
3142
  stateMutability: "view"
3103
3143
  },
3104
- {
3105
- type: "function",
3106
- inputs: [],
3107
- name: "protocolRewards",
3108
- outputs: [{ name: "", internalType: "address", type: "address" }],
3109
- stateMutability: "view"
3110
- },
3111
3144
  {
3112
3145
  type: "function",
3113
3146
  inputs: [],
@@ -3139,13 +3172,6 @@ var cointagFactoryABI = [
3139
3172
  outputs: [],
3140
3173
  stateMutability: "payable"
3141
3174
  },
3142
- {
3143
- type: "function",
3144
- inputs: [],
3145
- name: "weth",
3146
- outputs: [{ name: "", internalType: "address", type: "address" }],
3147
- stateMutability: "view"
3148
- },
3149
3175
  {
3150
3176
  type: "event",
3151
3177
  anonymous: false,
@@ -3287,6 +3313,14 @@ var cointagFactoryABI = [
3287
3313
  inputs: [{ name: "slot", internalType: "bytes32", type: "bytes32" }],
3288
3314
  name: "UUPSUnsupportedProxiableUUID"
3289
3315
  },
3316
+ {
3317
+ type: "error",
3318
+ inputs: [
3319
+ { name: "expected", internalType: "address", type: "address" },
3320
+ { name: "actual", internalType: "address", type: "address" }
3321
+ ],
3322
+ name: "UnexpectedCointagAddress"
3323
+ },
3290
3324
  {
3291
3325
  type: "error",
3292
3326
  inputs: [
@@ -3297,8 +3331,9 @@ var cointagFactoryABI = [
3297
3331
  }
3298
3332
  ];
3299
3333
  var cointagFactoryAddress = {
3300
- 8453: "0x77777779A8ed7943134E4E2D5C48698bCcBE8Be8",
3301
- 84532: "0x77777779A8ed7943134E4E2D5C48698bCcBE8Be8"
3334
+ 8453: "0x7777777BbD0b88aD5F3b5f4c89C6B60D74b9774F",
3335
+ 84532: "0x7777777BbD0b88aD5F3b5f4c89C6B60D74b9774F",
3336
+ 7777777: "0x7777777BbD0b88aD5F3b5f4c89C6B60D74b9774F"
3302
3337
  };
3303
3338
  var cointagFactoryConfig = {
3304
3339
  address: cointagFactoryAddress,