@rareprotocol/rare-cli 1.0.0 → 1.0.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/README.md +30 -4
- package/dist/client.d.ts +58 -4
- package/dist/client.js +801 -321
- package/dist/contracts.d.ts +28 -0
- package/dist/contracts.js +19 -4
- package/dist/index.js +1191 -394
- package/package.json +5 -4
package/dist/contracts.d.ts
CHANGED
|
@@ -2513,6 +2513,34 @@ declare const collectionOwnerAbi: readonly [{
|
|
|
2513
2513
|
}];
|
|
2514
2514
|
readonly stateMutability: "view";
|
|
2515
2515
|
readonly type: "function";
|
|
2516
|
+
}, {
|
|
2517
|
+
readonly inputs: readonly [{
|
|
2518
|
+
readonly internalType: "address";
|
|
2519
|
+
readonly name: "_address";
|
|
2520
|
+
readonly type: "address";
|
|
2521
|
+
}];
|
|
2522
|
+
readonly name: "isApprovedMinter";
|
|
2523
|
+
readonly outputs: readonly [{
|
|
2524
|
+
readonly internalType: "bool";
|
|
2525
|
+
readonly name: "";
|
|
2526
|
+
readonly type: "bool";
|
|
2527
|
+
}];
|
|
2528
|
+
readonly stateMutability: "view";
|
|
2529
|
+
readonly type: "function";
|
|
2530
|
+
}, {
|
|
2531
|
+
readonly inputs: readonly [{
|
|
2532
|
+
readonly internalType: "address";
|
|
2533
|
+
readonly name: "_minter";
|
|
2534
|
+
readonly type: "address";
|
|
2535
|
+
}, {
|
|
2536
|
+
readonly internalType: "bool";
|
|
2537
|
+
readonly name: "_isMinter";
|
|
2538
|
+
readonly type: "bool";
|
|
2539
|
+
}];
|
|
2540
|
+
readonly name: "setMinterApproval";
|
|
2541
|
+
readonly outputs: readonly [];
|
|
2542
|
+
readonly stateMutability: "nonpayable";
|
|
2543
|
+
readonly type: "function";
|
|
2516
2544
|
}, {
|
|
2517
2545
|
readonly inputs: readonly [{
|
|
2518
2546
|
readonly internalType: "string";
|
package/dist/contracts.js
CHANGED
|
@@ -62,13 +62,11 @@ var contractAddresses = {
|
|
|
62
62
|
},
|
|
63
63
|
base: {
|
|
64
64
|
factory: getAddress("0xf776204233bfb52ba0ddff24810cbdbf3dbf94dd"),
|
|
65
|
-
auction: getAddress("0x51c36ffb05e17ed80ee5c02fa83d7677c5613de2")
|
|
66
|
-
batchAuctionHouse: getAddress("0xf776204233bfb52ba0ddff24810cbdbf3dbf94dd")
|
|
65
|
+
auction: getAddress("0x51c36ffb05e17ed80ee5c02fa83d7677c5613de2")
|
|
67
66
|
},
|
|
68
67
|
"base-sepolia": {
|
|
69
68
|
factory: getAddress("0x2b181ae0f1aea6fed75591b04991b1a3f9868d51"),
|
|
70
|
-
auction: getAddress("0x1f0c946f0ee87acb268d50ede6c9b4d010af65d2")
|
|
71
|
-
batchAuctionHouse: getAddress("0x2b181ae0f1aea6fed75591b04991b1a3f9868d51")
|
|
69
|
+
auction: getAddress("0x1f0c946f0ee87acb268d50ede6c9b4d010af65d2")
|
|
72
70
|
}
|
|
73
71
|
};
|
|
74
72
|
var canonicalV4Pools = {
|
|
@@ -2530,6 +2528,23 @@ var collectionOwnerAbi = [
|
|
|
2530
2528
|
stateMutability: "view",
|
|
2531
2529
|
type: "function"
|
|
2532
2530
|
},
|
|
2531
|
+
{
|
|
2532
|
+
inputs: [{ internalType: "address", name: "_address", type: "address" }],
|
|
2533
|
+
name: "isApprovedMinter",
|
|
2534
|
+
outputs: [{ internalType: "bool", name: "", type: "bool" }],
|
|
2535
|
+
stateMutability: "view",
|
|
2536
|
+
type: "function"
|
|
2537
|
+
},
|
|
2538
|
+
{
|
|
2539
|
+
inputs: [
|
|
2540
|
+
{ internalType: "address", name: "_minter", type: "address" },
|
|
2541
|
+
{ internalType: "bool", name: "_isMinter", type: "bool" }
|
|
2542
|
+
],
|
|
2543
|
+
name: "setMinterApproval",
|
|
2544
|
+
outputs: [],
|
|
2545
|
+
stateMutability: "nonpayable",
|
|
2546
|
+
type: "function"
|
|
2547
|
+
},
|
|
2533
2548
|
{
|
|
2534
2549
|
inputs: [{ internalType: "string", name: "_baseURI", type: "string" }],
|
|
2535
2550
|
name: "updateBaseURI",
|