@medialane/sdk 0.156.0 → 0.156.1

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.
@@ -8248,8 +8248,8 @@ var IPSponsorshipABI = [
8248
8248
  var IPGenesisABI = [
8249
8249
  {
8250
8250
  "type": "impl",
8251
- "name": "MIPImpl",
8252
- "interface_name": "mip::interfaces::IMIP"
8251
+ "name": "ERC721MetadataImpl",
8252
+ "interface_name": "openzeppelin_token::erc721::interface::IERC721Metadata"
8253
8253
  },
8254
8254
  {
8255
8255
  "type": "struct",
@@ -8265,7 +8265,7 @@ var IPGenesisABI = [
8265
8265
  },
8266
8266
  {
8267
8267
  "name": "pending_word_len",
8268
- "type": "core::internal::bounded_int::BoundedInt::<0, 30>"
8268
+ "type": "core::integer::u32"
8269
8269
  }
8270
8270
  ]
8271
8271
  },
@@ -8285,70 +8285,195 @@ var IPGenesisABI = [
8285
8285
  },
8286
8286
  {
8287
8287
  "type": "interface",
8288
- "name": "mip::interfaces::IMIP",
8288
+ "name": "openzeppelin_token::erc721::interface::IERC721Metadata",
8289
8289
  "items": [
8290
8290
  {
8291
8291
  "type": "function",
8292
- "name": "mint_item",
8293
- "inputs": [
8292
+ "name": "name",
8293
+ "inputs": [],
8294
+ "outputs": [
8294
8295
  {
8295
- "name": "recipient",
8296
- "type": "core::starknet::contract_address::ContractAddress"
8297
- },
8296
+ "type": "core::byte_array::ByteArray"
8297
+ }
8298
+ ],
8299
+ "state_mutability": "view"
8300
+ },
8301
+ {
8302
+ "type": "function",
8303
+ "name": "symbol",
8304
+ "inputs": [],
8305
+ "outputs": [
8298
8306
  {
8299
- "name": "uri",
8300
8307
  "type": "core::byte_array::ByteArray"
8301
8308
  }
8302
8309
  ],
8310
+ "state_mutability": "view"
8311
+ },
8312
+ {
8313
+ "type": "function",
8314
+ "name": "token_uri",
8315
+ "inputs": [
8316
+ {
8317
+ "name": "token_id",
8318
+ "type": "core::integer::u256"
8319
+ }
8320
+ ],
8303
8321
  "outputs": [
8304
8322
  {
8323
+ "type": "core::byte_array::ByteArray"
8324
+ }
8325
+ ],
8326
+ "state_mutability": "view"
8327
+ }
8328
+ ]
8329
+ },
8330
+ {
8331
+ "type": "impl",
8332
+ "name": "ERC721MetadataCamelOnlyImpl",
8333
+ "interface_name": "openzeppelin_token::erc721::interface::IERC721MetadataCamelOnly"
8334
+ },
8335
+ {
8336
+ "type": "interface",
8337
+ "name": "openzeppelin_token::erc721::interface::IERC721MetadataCamelOnly",
8338
+ "items": [
8339
+ {
8340
+ "type": "function",
8341
+ "name": "tokenURI",
8342
+ "inputs": [
8343
+ {
8344
+ "name": "tokenId",
8305
8345
  "type": "core::integer::u256"
8306
8346
  }
8307
8347
  ],
8308
- "state_mutability": "external"
8348
+ "outputs": [
8349
+ {
8350
+ "type": "core::byte_array::ByteArray"
8351
+ }
8352
+ ],
8353
+ "state_mutability": "view"
8309
8354
  }
8310
8355
  ]
8311
8356
  },
8312
8357
  {
8313
8358
  "type": "impl",
8314
- "name": "CounterImpl",
8315
- "interface_name": "mip::interfaces::ICounter"
8359
+ "name": "IPCollectionImpl",
8360
+ "interface_name": "ip_programmable_erc_721::interfaces::IIPCollection::IIPCollection"
8361
+ },
8362
+ {
8363
+ "type": "struct",
8364
+ "name": "ip_programmable_erc_721::types::TokenData",
8365
+ "members": [
8366
+ {
8367
+ "name": "token_id",
8368
+ "type": "core::integer::u256"
8369
+ },
8370
+ {
8371
+ "name": "owner",
8372
+ "type": "core::starknet::contract_address::ContractAddress"
8373
+ },
8374
+ {
8375
+ "name": "metadata_uri",
8376
+ "type": "core::byte_array::ByteArray"
8377
+ },
8378
+ {
8379
+ "name": "original_creator",
8380
+ "type": "core::starknet::contract_address::ContractAddress"
8381
+ },
8382
+ {
8383
+ "name": "registered_at",
8384
+ "type": "core::integer::u64"
8385
+ }
8386
+ ]
8316
8387
  },
8317
8388
  {
8318
8389
  "type": "interface",
8319
- "name": "mip::interfaces::ICounter",
8390
+ "name": "ip_programmable_erc_721::interfaces::IIPCollection::IIPCollection",
8320
8391
  "items": [
8321
8392
  {
8322
8393
  "type": "function",
8323
- "name": "current",
8394
+ "name": "mint_item",
8395
+ "inputs": [
8396
+ {
8397
+ "name": "recipient",
8398
+ "type": "core::starknet::contract_address::ContractAddress"
8399
+ },
8400
+ {
8401
+ "name": "token_uri",
8402
+ "type": "core::byte_array::ByteArray"
8403
+ }
8404
+ ],
8405
+ "outputs": [
8406
+ {
8407
+ "type": "core::integer::u256"
8408
+ }
8409
+ ],
8410
+ "state_mutability": "external"
8411
+ },
8412
+ {
8413
+ "type": "function",
8414
+ "name": "get_collection_creator",
8324
8415
  "inputs": [],
8325
8416
  "outputs": [
8326
8417
  {
8418
+ "type": "core::starknet::contract_address::ContractAddress"
8419
+ }
8420
+ ],
8421
+ "state_mutability": "view"
8422
+ },
8423
+ {
8424
+ "type": "function",
8425
+ "name": "get_token_creator",
8426
+ "inputs": [
8427
+ {
8428
+ "name": "token_id",
8327
8429
  "type": "core::integer::u256"
8328
8430
  }
8329
8431
  ],
8432
+ "outputs": [
8433
+ {
8434
+ "type": "core::starknet::contract_address::ContractAddress"
8435
+ }
8436
+ ],
8330
8437
  "state_mutability": "view"
8331
8438
  },
8332
8439
  {
8333
8440
  "type": "function",
8334
- "name": "increment",
8335
- "inputs": [],
8336
- "outputs": [],
8337
- "state_mutability": "external"
8441
+ "name": "get_token_registered_at",
8442
+ "inputs": [
8443
+ {
8444
+ "name": "token_id",
8445
+ "type": "core::integer::u256"
8446
+ }
8447
+ ],
8448
+ "outputs": [
8449
+ {
8450
+ "type": "core::integer::u64"
8451
+ }
8452
+ ],
8453
+ "state_mutability": "view"
8338
8454
  },
8339
8455
  {
8340
8456
  "type": "function",
8341
- "name": "decrement",
8342
- "inputs": [],
8343
- "outputs": [],
8344
- "state_mutability": "external"
8457
+ "name": "get_token_data",
8458
+ "inputs": [
8459
+ {
8460
+ "name": "token_id",
8461
+ "type": "core::integer::u256"
8462
+ }
8463
+ ],
8464
+ "outputs": [
8465
+ {
8466
+ "type": "ip_programmable_erc_721::types::TokenData"
8467
+ }
8468
+ ],
8469
+ "state_mutability": "view"
8345
8470
  }
8346
8471
  ]
8347
8472
  },
8348
8473
  {
8349
8474
  "type": "impl",
8350
- "name": "ERC721MixinImpl",
8351
- "interface_name": "openzeppelin_token::erc721::interface::ERC721ABI"
8475
+ "name": "ERC721Impl",
8476
+ "interface_name": "openzeppelin_token::erc721::interface::IERC721"
8352
8477
  },
8353
8478
  {
8354
8479
  "type": "struct",
@@ -8376,7 +8501,7 @@ var IPGenesisABI = [
8376
8501
  },
8377
8502
  {
8378
8503
  "type": "interface",
8379
- "name": "openzeppelin_token::erc721::interface::ERC721ABI",
8504
+ "name": "openzeppelin_token::erc721::interface::IERC721",
8380
8505
  "items": [
8381
8506
  {
8382
8507
  "type": "function",
@@ -8521,61 +8646,18 @@ var IPGenesisABI = [
8521
8646
  }
8522
8647
  ],
8523
8648
  "state_mutability": "view"
8524
- },
8525
- {
8526
- "type": "function",
8527
- "name": "supports_interface",
8528
- "inputs": [
8529
- {
8530
- "name": "interface_id",
8531
- "type": "core::felt252"
8532
- }
8533
- ],
8534
- "outputs": [
8535
- {
8536
- "type": "core::bool"
8537
- }
8538
- ],
8539
- "state_mutability": "view"
8540
- },
8541
- {
8542
- "type": "function",
8543
- "name": "name",
8544
- "inputs": [],
8545
- "outputs": [
8546
- {
8547
- "type": "core::byte_array::ByteArray"
8548
- }
8549
- ],
8550
- "state_mutability": "view"
8551
- },
8552
- {
8553
- "type": "function",
8554
- "name": "symbol",
8555
- "inputs": [],
8556
- "outputs": [
8557
- {
8558
- "type": "core::byte_array::ByteArray"
8559
- }
8560
- ],
8561
- "state_mutability": "view"
8562
- },
8563
- {
8564
- "type": "function",
8565
- "name": "token_uri",
8566
- "inputs": [
8567
- {
8568
- "name": "token_id",
8569
- "type": "core::integer::u256"
8570
- }
8571
- ],
8572
- "outputs": [
8573
- {
8574
- "type": "core::byte_array::ByteArray"
8575
- }
8576
- ],
8577
- "state_mutability": "view"
8578
- },
8649
+ }
8650
+ ]
8651
+ },
8652
+ {
8653
+ "type": "impl",
8654
+ "name": "ERC721CamelOnly",
8655
+ "interface_name": "openzeppelin_token::erc721::interface::IERC721CamelOnly"
8656
+ },
8657
+ {
8658
+ "type": "interface",
8659
+ "name": "openzeppelin_token::erc721::interface::IERC721CamelOnly",
8660
+ "items": [
8579
8661
  {
8580
8662
  "type": "function",
8581
8663
  "name": "balanceOf",
@@ -8703,82 +8785,6 @@ var IPGenesisABI = [
8703
8785
  }
8704
8786
  ],
8705
8787
  "state_mutability": "view"
8706
- },
8707
- {
8708
- "type": "function",
8709
- "name": "tokenURI",
8710
- "inputs": [
8711
- {
8712
- "name": "tokenId",
8713
- "type": "core::integer::u256"
8714
- }
8715
- ],
8716
- "outputs": [
8717
- {
8718
- "type": "core::byte_array::ByteArray"
8719
- }
8720
- ],
8721
- "state_mutability": "view"
8722
- }
8723
- ]
8724
- },
8725
- {
8726
- "type": "impl",
8727
- "name": "OwnableMixinImpl",
8728
- "interface_name": "openzeppelin_access::ownable::interface::OwnableABI"
8729
- },
8730
- {
8731
- "type": "interface",
8732
- "name": "openzeppelin_access::ownable::interface::OwnableABI",
8733
- "items": [
8734
- {
8735
- "type": "function",
8736
- "name": "owner",
8737
- "inputs": [],
8738
- "outputs": [
8739
- {
8740
- "type": "core::starknet::contract_address::ContractAddress"
8741
- }
8742
- ],
8743
- "state_mutability": "view"
8744
- },
8745
- {
8746
- "type": "function",
8747
- "name": "transfer_ownership",
8748
- "inputs": [
8749
- {
8750
- "name": "new_owner",
8751
- "type": "core::starknet::contract_address::ContractAddress"
8752
- }
8753
- ],
8754
- "outputs": [],
8755
- "state_mutability": "external"
8756
- },
8757
- {
8758
- "type": "function",
8759
- "name": "renounce_ownership",
8760
- "inputs": [],
8761
- "outputs": [],
8762
- "state_mutability": "external"
8763
- },
8764
- {
8765
- "type": "function",
8766
- "name": "transferOwnership",
8767
- "inputs": [
8768
- {
8769
- "name": "newOwner",
8770
- "type": "core::starknet::contract_address::ContractAddress"
8771
- }
8772
- ],
8773
- "outputs": [],
8774
- "state_mutability": "external"
8775
- },
8776
- {
8777
- "type": "function",
8778
- "name": "renounceOwnership",
8779
- "inputs": [],
8780
- "outputs": [],
8781
- "state_mutability": "external"
8782
8788
  }
8783
8789
  ]
8784
8790
  },
@@ -8840,10 +8846,45 @@ var IPGenesisABI = [
8840
8846
  }
8841
8847
  ]
8842
8848
  },
8849
+ {
8850
+ "type": "impl",
8851
+ "name": "SRC5Impl",
8852
+ "interface_name": "openzeppelin_introspection::interface::ISRC5"
8853
+ },
8854
+ {
8855
+ "type": "interface",
8856
+ "name": "openzeppelin_introspection::interface::ISRC5",
8857
+ "items": [
8858
+ {
8859
+ "type": "function",
8860
+ "name": "supports_interface",
8861
+ "inputs": [
8862
+ {
8863
+ "name": "interface_id",
8864
+ "type": "core::felt252"
8865
+ }
8866
+ ],
8867
+ "outputs": [
8868
+ {
8869
+ "type": "core::bool"
8870
+ }
8871
+ ],
8872
+ "state_mutability": "view"
8873
+ }
8874
+ ]
8875
+ },
8843
8876
  {
8844
8877
  "type": "constructor",
8845
8878
  "name": "constructor",
8846
8879
  "inputs": [
8880
+ {
8881
+ "name": "name",
8882
+ "type": "core::byte_array::ByteArray"
8883
+ },
8884
+ {
8885
+ "name": "symbol",
8886
+ "type": "core::byte_array::ByteArray"
8887
+ },
8847
8888
  {
8848
8889
  "name": "owner",
8849
8890
  "type": "core::starknet::contract_address::ContractAddress"
@@ -8938,57 +8979,6 @@ var IPGenesisABI = [
8938
8979
  }
8939
8980
  ]
8940
8981
  },
8941
- {
8942
- "type": "event",
8943
- "name": "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferred",
8944
- "kind": "struct",
8945
- "members": [
8946
- {
8947
- "name": "previous_owner",
8948
- "type": "core::starknet::contract_address::ContractAddress",
8949
- "kind": "key"
8950
- },
8951
- {
8952
- "name": "new_owner",
8953
- "type": "core::starknet::contract_address::ContractAddress",
8954
- "kind": "key"
8955
- }
8956
- ]
8957
- },
8958
- {
8959
- "type": "event",
8960
- "name": "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferStarted",
8961
- "kind": "struct",
8962
- "members": [
8963
- {
8964
- "name": "previous_owner",
8965
- "type": "core::starknet::contract_address::ContractAddress",
8966
- "kind": "key"
8967
- },
8968
- {
8969
- "name": "new_owner",
8970
- "type": "core::starknet::contract_address::ContractAddress",
8971
- "kind": "key"
8972
- }
8973
- ]
8974
- },
8975
- {
8976
- "type": "event",
8977
- "name": "openzeppelin_access::ownable::ownable::OwnableComponent::Event",
8978
- "kind": "enum",
8979
- "variants": [
8980
- {
8981
- "name": "OwnershipTransferred",
8982
- "type": "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferred",
8983
- "kind": "nested"
8984
- },
8985
- {
8986
- "name": "OwnershipTransferStarted",
8987
- "type": "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferStarted",
8988
- "kind": "nested"
8989
- }
8990
- ]
8991
- },
8992
8982
  {
8993
8983
  "type": "event",
8994
8984
  "name": "openzeppelin_introspection::src5::SRC5Component::Event",
@@ -9003,48 +8993,39 @@ var IPGenesisABI = [
9003
8993
  },
9004
8994
  {
9005
8995
  "type": "event",
9006
- "name": "mip::mip::MIP::CounterComponent::CounterIncremented",
8996
+ "name": "ip_programmable_erc_721::IPCollection::IPCollection::IPMinted",
9007
8997
  "kind": "struct",
9008
8998
  "members": [
9009
8999
  {
9010
- "name": "value",
9000
+ "name": "token_id",
9011
9001
  "type": "core::integer::u256",
9012
- "kind": "data"
9013
- }
9014
- ]
9015
- },
9016
- {
9017
- "type": "event",
9018
- "name": "mip::mip::MIP::CounterComponent::CounterDecremented",
9019
- "kind": "struct",
9020
- "members": [
9002
+ "kind": "key"
9003
+ },
9021
9004
  {
9022
- "name": "value",
9023
- "type": "core::integer::u256",
9005
+ "name": "recipient",
9006
+ "type": "core::starknet::contract_address::ContractAddress",
9007
+ "kind": "key"
9008
+ },
9009
+ {
9010
+ "name": "uri",
9011
+ "type": "core::byte_array::ByteArray",
9024
9012
  "kind": "data"
9025
- }
9026
- ]
9027
- },
9028
- {
9029
- "type": "event",
9030
- "name": "mip::mip::MIP::CounterComponent::Event",
9031
- "kind": "enum",
9032
- "variants": [
9013
+ },
9033
9014
  {
9034
- "name": "CounterIncremented",
9035
- "type": "mip::mip::MIP::CounterComponent::CounterIncremented",
9036
- "kind": "nested"
9015
+ "name": "creator",
9016
+ "type": "core::starknet::contract_address::ContractAddress",
9017
+ "kind": "data"
9037
9018
  },
9038
9019
  {
9039
- "name": "CounterDecremented",
9040
- "type": "mip::mip::MIP::CounterComponent::CounterDecremented",
9041
- "kind": "nested"
9020
+ "name": "registered_at",
9021
+ "type": "core::integer::u64",
9022
+ "kind": "data"
9042
9023
  }
9043
9024
  ]
9044
9025
  },
9045
9026
  {
9046
9027
  "type": "event",
9047
- "name": "mip::mip::MIP::Event",
9028
+ "name": "ip_programmable_erc_721::IPCollection::IPCollection::Event",
9048
9029
  "kind": "enum",
9049
9030
  "variants": [
9050
9031
  {
@@ -9052,11 +9033,6 @@ var IPGenesisABI = [
9052
9033
  "type": "openzeppelin_token::erc721::erc721::ERC721Component::Event",
9053
9034
  "kind": "flat"
9054
9035
  },
9055
- {
9056
- "name": "OwnableEvent",
9057
- "type": "openzeppelin_access::ownable::ownable::OwnableComponent::Event",
9058
- "kind": "flat"
9059
- },
9060
9036
  {
9061
9037
  "name": "SRC5Event",
9062
9038
  "type": "openzeppelin_introspection::src5::SRC5Component::Event",
@@ -9068,9 +9044,9 @@ var IPGenesisABI = [
9068
9044
  "kind": "flat"
9069
9045
  },
9070
9046
  {
9071
- "name": "CounterEvent",
9072
- "type": "mip::mip::MIP::CounterComponent::Event",
9073
- "kind": "flat"
9047
+ "name": "IPMinted",
9048
+ "type": "ip_programmable_erc_721::IPCollection::IPCollection::IPMinted",
9049
+ "kind": "nested"
9074
9050
  }
9075
9051
  ]
9076
9052
  }