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