@fepvenancio/stela-sdk 0.2.1 → 0.2.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/dist/index.cjs +118 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +118 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/abi/stela.json +115 -5
package/package.json
CHANGED
package/src/abi/stela.json
CHANGED
|
@@ -450,6 +450,28 @@
|
|
|
450
450
|
],
|
|
451
451
|
"state_mutability": "view"
|
|
452
452
|
},
|
|
453
|
+
{
|
|
454
|
+
"type": "function",
|
|
455
|
+
"name": "get_treasury",
|
|
456
|
+
"inputs": [],
|
|
457
|
+
"outputs": [
|
|
458
|
+
{
|
|
459
|
+
"type": "core::starknet::contract_address::ContractAddress"
|
|
460
|
+
}
|
|
461
|
+
],
|
|
462
|
+
"state_mutability": "view"
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
"type": "function",
|
|
466
|
+
"name": "is_paused",
|
|
467
|
+
"inputs": [],
|
|
468
|
+
"outputs": [
|
|
469
|
+
{
|
|
470
|
+
"type": "core::bool"
|
|
471
|
+
}
|
|
472
|
+
],
|
|
473
|
+
"state_mutability": "view"
|
|
474
|
+
},
|
|
453
475
|
{
|
|
454
476
|
"type": "function",
|
|
455
477
|
"name": "set_inscription_fee",
|
|
@@ -509,6 +531,52 @@
|
|
|
509
531
|
],
|
|
510
532
|
"outputs": [],
|
|
511
533
|
"state_mutability": "external"
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
"type": "function",
|
|
537
|
+
"name": "set_implementation_hash",
|
|
538
|
+
"inputs": [
|
|
539
|
+
{
|
|
540
|
+
"name": "implementation_hash",
|
|
541
|
+
"type": "core::felt252"
|
|
542
|
+
}
|
|
543
|
+
],
|
|
544
|
+
"outputs": [],
|
|
545
|
+
"state_mutability": "external"
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
"type": "function",
|
|
549
|
+
"name": "pause",
|
|
550
|
+
"inputs": [],
|
|
551
|
+
"outputs": [],
|
|
552
|
+
"state_mutability": "external"
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
"type": "function",
|
|
556
|
+
"name": "unpause",
|
|
557
|
+
"inputs": [],
|
|
558
|
+
"outputs": [],
|
|
559
|
+
"state_mutability": "external"
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
"type": "function",
|
|
563
|
+
"name": "set_locker_allowed_selector",
|
|
564
|
+
"inputs": [
|
|
565
|
+
{
|
|
566
|
+
"name": "locker",
|
|
567
|
+
"type": "core::starknet::contract_address::ContractAddress"
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
"name": "selector",
|
|
571
|
+
"type": "core::felt252"
|
|
572
|
+
},
|
|
573
|
+
{
|
|
574
|
+
"name": "allowed",
|
|
575
|
+
"type": "core::bool"
|
|
576
|
+
}
|
|
577
|
+
],
|
|
578
|
+
"outputs": [],
|
|
579
|
+
"state_mutability": "external"
|
|
512
580
|
}
|
|
513
581
|
]
|
|
514
582
|
},
|
|
@@ -935,10 +1003,6 @@
|
|
|
935
1003
|
"name": "owner",
|
|
936
1004
|
"type": "core::starknet::contract_address::ContractAddress"
|
|
937
1005
|
},
|
|
938
|
-
{
|
|
939
|
-
"name": "treasury",
|
|
940
|
-
"type": "core::starknet::contract_address::ContractAddress"
|
|
941
|
-
},
|
|
942
1006
|
{
|
|
943
1007
|
"name": "inscriptions_nft",
|
|
944
1008
|
"type": "core::starknet::contract_address::ContractAddress"
|
|
@@ -1146,6 +1210,47 @@
|
|
|
1146
1210
|
"kind": "enum",
|
|
1147
1211
|
"variants": []
|
|
1148
1212
|
},
|
|
1213
|
+
{
|
|
1214
|
+
"type": "event",
|
|
1215
|
+
"name": "openzeppelin_security::pausable::PausableComponent::Paused",
|
|
1216
|
+
"kind": "struct",
|
|
1217
|
+
"members": [
|
|
1218
|
+
{
|
|
1219
|
+
"name": "account",
|
|
1220
|
+
"type": "core::starknet::contract_address::ContractAddress",
|
|
1221
|
+
"kind": "data"
|
|
1222
|
+
}
|
|
1223
|
+
]
|
|
1224
|
+
},
|
|
1225
|
+
{
|
|
1226
|
+
"type": "event",
|
|
1227
|
+
"name": "openzeppelin_security::pausable::PausableComponent::Unpaused",
|
|
1228
|
+
"kind": "struct",
|
|
1229
|
+
"members": [
|
|
1230
|
+
{
|
|
1231
|
+
"name": "account",
|
|
1232
|
+
"type": "core::starknet::contract_address::ContractAddress",
|
|
1233
|
+
"kind": "data"
|
|
1234
|
+
}
|
|
1235
|
+
]
|
|
1236
|
+
},
|
|
1237
|
+
{
|
|
1238
|
+
"type": "event",
|
|
1239
|
+
"name": "openzeppelin_security::pausable::PausableComponent::Event",
|
|
1240
|
+
"kind": "enum",
|
|
1241
|
+
"variants": [
|
|
1242
|
+
{
|
|
1243
|
+
"name": "Paused",
|
|
1244
|
+
"type": "openzeppelin_security::pausable::PausableComponent::Paused",
|
|
1245
|
+
"kind": "nested"
|
|
1246
|
+
},
|
|
1247
|
+
{
|
|
1248
|
+
"name": "Unpaused",
|
|
1249
|
+
"type": "openzeppelin_security::pausable::PausableComponent::Unpaused",
|
|
1250
|
+
"kind": "nested"
|
|
1251
|
+
}
|
|
1252
|
+
]
|
|
1253
|
+
},
|
|
1149
1254
|
{
|
|
1150
1255
|
"type": "event",
|
|
1151
1256
|
"name": "openzeppelin_utils::cryptography::nonces::NoncesComponent::Event",
|
|
@@ -1336,6 +1441,11 @@
|
|
|
1336
1441
|
"type": "openzeppelin_security::reentrancyguard::ReentrancyGuardComponent::Event",
|
|
1337
1442
|
"kind": "flat"
|
|
1338
1443
|
},
|
|
1444
|
+
{
|
|
1445
|
+
"name": "PausableEvent",
|
|
1446
|
+
"type": "openzeppelin_security::pausable::PausableComponent::Event",
|
|
1447
|
+
"kind": "flat"
|
|
1448
|
+
},
|
|
1339
1449
|
{
|
|
1340
1450
|
"name": "NoncesEvent",
|
|
1341
1451
|
"type": "openzeppelin_utils::cryptography::nonces::NoncesComponent::Event",
|
|
@@ -1378,4 +1488,4 @@
|
|
|
1378
1488
|
}
|
|
1379
1489
|
]
|
|
1380
1490
|
}
|
|
1381
|
-
]
|
|
1491
|
+
]
|