@medialane/sdk 0.14.2 → 0.15.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 +1328 -158
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +938 -172
- package/dist/index.d.ts +938 -172
- package/dist/index.js +1328 -158
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -19,9 +19,10 @@ declare const MARKETPLACE_1155_CONTRACT_MAINNET = "0x02bfa521c25461a09d735889b46
|
|
|
19
19
|
declare const MARKETPLACE_1155_CLASS_HASH_MAINNET = "0x01b674aad934be85abc7c1970265cbf7e9bc7d586a90f0a67112c201636dbdd3";
|
|
20
20
|
/** First mainnet block for the current Medialane Protocol ERC-1155 deployment. */
|
|
21
21
|
declare const MARKETPLACE_1155_START_BLOCK_MAINNET = 9260304;
|
|
22
|
-
|
|
22
|
+
/** MIP IPCollection registry — v0.3.0 audit (`creator` mint param). Redeployed 2026-05-22. */
|
|
23
|
+
declare const COLLECTION_721_CONTRACT_MAINNET = "0x0322cb7119955e01ac778d40976eb3ba50540bb0899f812d612f9c7e63e49fd2";
|
|
23
24
|
/** @deprecated Use COLLECTION_721_CONTRACT_MAINNET. */
|
|
24
|
-
declare const COLLECTION_CONTRACT_MAINNET = "
|
|
25
|
+
declare const COLLECTION_CONTRACT_MAINNET = "0x0322cb7119955e01ac778d40976eb3ba50540bb0899f812d612f9c7e63e49fd2";
|
|
25
26
|
declare const DROP_FACTORY_CONTRACT_MAINNET = "0x03587f42e29daee1b193f6cf83bf8627908ed6632d0d83fcb26225c50547d800";
|
|
26
27
|
declare const POP_FACTORY_CONTRACT_MAINNET = "0x00b32c34b427d8f346b5843ada6a37bd3368d879fc752cd52b68a87287f60111";
|
|
27
28
|
/** NFTComments on-chain comment system — immutable, no admin key. */
|
|
@@ -60,14 +61,14 @@ type Network = (typeof SUPPORTED_NETWORKS)[number];
|
|
|
60
61
|
declare const DEFAULT_RPC_URL = "https://rpc.starknet.lava.build";
|
|
61
62
|
declare const POP_COLLECTION_CLASS_HASH_MAINNET = "0x077c421686f10851872561953ea16898d933364b7f8937a5d7e2b1ba0a36263f";
|
|
62
63
|
declare const DROP_COLLECTION_CLASS_HASH_MAINNET = "0x00092e72cdb63067521e803aaf7d4101c3e3ce026ae6bc045ec4228027e58282";
|
|
63
|
-
/** IP-Programmable-ERC1155-Collections factory. Redeployed 2026-
|
|
64
|
-
declare const COLLECTION_1155_CONTRACT_MAINNET = "
|
|
64
|
+
/** IP-Programmable-ERC1155-Collections factory. Redeployed 2026-05-22 (v0.2.0 audit). */
|
|
65
|
+
declare const COLLECTION_1155_CONTRACT_MAINNET = "0x067064adcaaed61e17bf50ea802ea6482336126aec5b4d032b4ff8fbb5009131";
|
|
65
66
|
/** @deprecated Use COLLECTION_1155_CONTRACT_MAINNET. */
|
|
66
|
-
declare const ERC1155_FACTORY_CONTRACT_MAINNET = "
|
|
67
|
-
/** Class hash of the IPCollection ERC-1155 implementation.
|
|
68
|
-
declare const COLLECTION_1155_CLASS_HASH_MAINNET = "
|
|
67
|
+
declare const ERC1155_FACTORY_CONTRACT_MAINNET = "0x067064adcaaed61e17bf50ea802ea6482336126aec5b4d032b4ff8fbb5009131";
|
|
68
|
+
/** Class hash of the IPCollection ERC-1155 implementation. v0.2.0 audit. */
|
|
69
|
+
declare const COLLECTION_1155_CLASS_HASH_MAINNET = "0x281e13803c906f20bbe158efb44b7a0273c56fdebbeeb55b2ba59530ddb1c80";
|
|
69
70
|
/** @deprecated Use COLLECTION_1155_CLASS_HASH_MAINNET. */
|
|
70
|
-
declare const ERC1155_COLLECTION_CLASS_HASH_MAINNET = "
|
|
71
|
+
declare const ERC1155_COLLECTION_CLASS_HASH_MAINNET = "0x281e13803c906f20bbe158efb44b7a0273c56fdebbeeb55b2ba59530ddb1c80";
|
|
71
72
|
|
|
72
73
|
interface RetryOptions {
|
|
73
74
|
maxAttempts?: number;
|
|
@@ -2811,255 +2812,1017 @@ declare const Medialane1155ABI: readonly [{
|
|
|
2811
2812
|
}];
|
|
2812
2813
|
}];
|
|
2813
2814
|
declare const IPCollection1155FactoryABI: readonly [{
|
|
2814
|
-
readonly type: "
|
|
2815
|
-
readonly name: "
|
|
2816
|
-
readonly
|
|
2817
|
-
|
|
2818
|
-
|
|
2815
|
+
readonly type: "impl";
|
|
2816
|
+
readonly name: "IPCollectionFactoryImpl";
|
|
2817
|
+
readonly interface_name: "ip_programmable_erc1155_collections::interfaces::IIPCollectionFactory::IIPCollectionFactory";
|
|
2818
|
+
}, {
|
|
2819
|
+
readonly type: "struct";
|
|
2820
|
+
readonly name: "core::byte_array::ByteArray";
|
|
2821
|
+
readonly members: readonly [{
|
|
2822
|
+
readonly name: "data";
|
|
2823
|
+
readonly type: "core::array::Array::<core::bytes_31::bytes31>";
|
|
2824
|
+
}, {
|
|
2825
|
+
readonly name: "pending_word";
|
|
2826
|
+
readonly type: "core::felt252";
|
|
2827
|
+
}, {
|
|
2828
|
+
readonly name: "pending_word_len";
|
|
2829
|
+
readonly type: "core::internal::bounded_int::BoundedInt::<0, 30>";
|
|
2819
2830
|
}];
|
|
2820
|
-
readonly state_mutability: "view";
|
|
2821
2831
|
}, {
|
|
2822
|
-
readonly type: "
|
|
2823
|
-
readonly name: "
|
|
2832
|
+
readonly type: "interface";
|
|
2833
|
+
readonly name: "ip_programmable_erc1155_collections::interfaces::IIPCollectionFactory::IIPCollectionFactory";
|
|
2834
|
+
readonly items: readonly [{
|
|
2835
|
+
readonly type: "function";
|
|
2836
|
+
readonly name: "collection_class_hash";
|
|
2837
|
+
readonly inputs: readonly [];
|
|
2838
|
+
readonly outputs: readonly [{
|
|
2839
|
+
readonly type: "core::starknet::class_hash::ClassHash";
|
|
2840
|
+
}];
|
|
2841
|
+
readonly state_mutability: "view";
|
|
2842
|
+
}, {
|
|
2843
|
+
readonly type: "function";
|
|
2844
|
+
readonly name: "version";
|
|
2845
|
+
readonly inputs: readonly [];
|
|
2846
|
+
readonly outputs: readonly [{
|
|
2847
|
+
readonly type: "core::byte_array::ByteArray";
|
|
2848
|
+
}];
|
|
2849
|
+
readonly state_mutability: "view";
|
|
2850
|
+
}, {
|
|
2851
|
+
readonly type: "function";
|
|
2852
|
+
readonly name: "update_collection_class_hash";
|
|
2853
|
+
readonly inputs: readonly [{
|
|
2854
|
+
readonly name: "new_class_hash";
|
|
2855
|
+
readonly type: "core::starknet::class_hash::ClassHash";
|
|
2856
|
+
}];
|
|
2857
|
+
readonly outputs: readonly [];
|
|
2858
|
+
readonly state_mutability: "external";
|
|
2859
|
+
}, {
|
|
2860
|
+
readonly type: "function";
|
|
2861
|
+
readonly name: "deploy_collection";
|
|
2862
|
+
readonly inputs: readonly [{
|
|
2863
|
+
readonly name: "name";
|
|
2864
|
+
readonly type: "core::byte_array::ByteArray";
|
|
2865
|
+
}, {
|
|
2866
|
+
readonly name: "symbol";
|
|
2867
|
+
readonly type: "core::byte_array::ByteArray";
|
|
2868
|
+
}, {
|
|
2869
|
+
readonly name: "base_uri";
|
|
2870
|
+
readonly type: "core::byte_array::ByteArray";
|
|
2871
|
+
}];
|
|
2872
|
+
readonly outputs: readonly [{
|
|
2873
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
2874
|
+
}];
|
|
2875
|
+
readonly state_mutability: "external";
|
|
2876
|
+
}];
|
|
2877
|
+
}, {
|
|
2878
|
+
readonly type: "impl";
|
|
2879
|
+
readonly name: "OwnableMixinImpl";
|
|
2880
|
+
readonly interface_name: "openzeppelin_access::ownable::interface::OwnableABI";
|
|
2881
|
+
}, {
|
|
2882
|
+
readonly type: "interface";
|
|
2883
|
+
readonly name: "openzeppelin_access::ownable::interface::OwnableABI";
|
|
2884
|
+
readonly items: readonly [{
|
|
2885
|
+
readonly type: "function";
|
|
2886
|
+
readonly name: "owner";
|
|
2887
|
+
readonly inputs: readonly [];
|
|
2888
|
+
readonly outputs: readonly [{
|
|
2889
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
2890
|
+
}];
|
|
2891
|
+
readonly state_mutability: "view";
|
|
2892
|
+
}, {
|
|
2893
|
+
readonly type: "function";
|
|
2894
|
+
readonly name: "transfer_ownership";
|
|
2895
|
+
readonly inputs: readonly [{
|
|
2896
|
+
readonly name: "new_owner";
|
|
2897
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
2898
|
+
}];
|
|
2899
|
+
readonly outputs: readonly [];
|
|
2900
|
+
readonly state_mutability: "external";
|
|
2901
|
+
}, {
|
|
2902
|
+
readonly type: "function";
|
|
2903
|
+
readonly name: "renounce_ownership";
|
|
2904
|
+
readonly inputs: readonly [];
|
|
2905
|
+
readonly outputs: readonly [];
|
|
2906
|
+
readonly state_mutability: "external";
|
|
2907
|
+
}, {
|
|
2908
|
+
readonly type: "function";
|
|
2909
|
+
readonly name: "transferOwnership";
|
|
2910
|
+
readonly inputs: readonly [{
|
|
2911
|
+
readonly name: "newOwner";
|
|
2912
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
2913
|
+
}];
|
|
2914
|
+
readonly outputs: readonly [];
|
|
2915
|
+
readonly state_mutability: "external";
|
|
2916
|
+
}, {
|
|
2917
|
+
readonly type: "function";
|
|
2918
|
+
readonly name: "renounceOwnership";
|
|
2919
|
+
readonly inputs: readonly [];
|
|
2920
|
+
readonly outputs: readonly [];
|
|
2921
|
+
readonly state_mutability: "external";
|
|
2922
|
+
}];
|
|
2923
|
+
}, {
|
|
2924
|
+
readonly type: "constructor";
|
|
2925
|
+
readonly name: "constructor";
|
|
2824
2926
|
readonly inputs: readonly [{
|
|
2927
|
+
readonly name: "owner";
|
|
2928
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
2929
|
+
}, {
|
|
2930
|
+
readonly name: "collection_class_hash";
|
|
2931
|
+
readonly type: "core::starknet::class_hash::ClassHash";
|
|
2932
|
+
}];
|
|
2933
|
+
}, {
|
|
2934
|
+
readonly type: "event";
|
|
2935
|
+
readonly name: "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferred";
|
|
2936
|
+
readonly kind: "struct";
|
|
2937
|
+
readonly members: readonly [{
|
|
2938
|
+
readonly name: "previous_owner";
|
|
2939
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
2940
|
+
readonly kind: "key";
|
|
2941
|
+
}, {
|
|
2942
|
+
readonly name: "new_owner";
|
|
2943
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
2944
|
+
readonly kind: "key";
|
|
2945
|
+
}];
|
|
2946
|
+
}, {
|
|
2947
|
+
readonly type: "event";
|
|
2948
|
+
readonly name: "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferStarted";
|
|
2949
|
+
readonly kind: "struct";
|
|
2950
|
+
readonly members: readonly [{
|
|
2951
|
+
readonly name: "previous_owner";
|
|
2952
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
2953
|
+
readonly kind: "key";
|
|
2954
|
+
}, {
|
|
2955
|
+
readonly name: "new_owner";
|
|
2956
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
2957
|
+
readonly kind: "key";
|
|
2958
|
+
}];
|
|
2959
|
+
}, {
|
|
2960
|
+
readonly type: "event";
|
|
2961
|
+
readonly name: "openzeppelin_access::ownable::ownable::OwnableComponent::Event";
|
|
2962
|
+
readonly kind: "enum";
|
|
2963
|
+
readonly variants: readonly [{
|
|
2964
|
+
readonly name: "OwnershipTransferred";
|
|
2965
|
+
readonly type: "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferred";
|
|
2966
|
+
readonly kind: "nested";
|
|
2967
|
+
}, {
|
|
2968
|
+
readonly name: "OwnershipTransferStarted";
|
|
2969
|
+
readonly type: "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferStarted";
|
|
2970
|
+
readonly kind: "nested";
|
|
2971
|
+
}];
|
|
2972
|
+
}, {
|
|
2973
|
+
readonly type: "event";
|
|
2974
|
+
readonly name: "ip_programmable_erc1155_collections::IPCollectionFactory::IPCollectionFactory::CollectionDeployed";
|
|
2975
|
+
readonly kind: "struct";
|
|
2976
|
+
readonly members: readonly [{
|
|
2977
|
+
readonly name: "collection_address";
|
|
2978
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
2979
|
+
readonly kind: "key";
|
|
2980
|
+
}, {
|
|
2981
|
+
readonly name: "owner";
|
|
2982
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
2983
|
+
readonly kind: "key";
|
|
2984
|
+
}, {
|
|
2825
2985
|
readonly name: "name";
|
|
2826
2986
|
readonly type: "core::byte_array::ByteArray";
|
|
2987
|
+
readonly kind: "data";
|
|
2827
2988
|
}, {
|
|
2828
2989
|
readonly name: "symbol";
|
|
2829
2990
|
readonly type: "core::byte_array::ByteArray";
|
|
2991
|
+
readonly kind: "data";
|
|
2830
2992
|
}, {
|
|
2831
2993
|
readonly name: "base_uri";
|
|
2832
2994
|
readonly type: "core::byte_array::ByteArray";
|
|
2995
|
+
readonly kind: "data";
|
|
2833
2996
|
}];
|
|
2834
|
-
readonly outputs: readonly [{
|
|
2835
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
2836
|
-
}];
|
|
2837
|
-
readonly state_mutability: "external";
|
|
2838
2997
|
}, {
|
|
2839
|
-
readonly type: "
|
|
2840
|
-
readonly name: "
|
|
2841
|
-
readonly
|
|
2998
|
+
readonly type: "event";
|
|
2999
|
+
readonly name: "ip_programmable_erc1155_collections::IPCollectionFactory::IPCollectionFactory::CollectionClassHashUpdated";
|
|
3000
|
+
readonly kind: "struct";
|
|
3001
|
+
readonly members: readonly [{
|
|
3002
|
+
readonly name: "previous_class_hash";
|
|
3003
|
+
readonly type: "core::starknet::class_hash::ClassHash";
|
|
3004
|
+
readonly kind: "data";
|
|
3005
|
+
}, {
|
|
2842
3006
|
readonly name: "new_class_hash";
|
|
2843
3007
|
readonly type: "core::starknet::class_hash::ClassHash";
|
|
3008
|
+
readonly kind: "data";
|
|
2844
3009
|
}];
|
|
2845
|
-
readonly outputs: readonly [];
|
|
2846
|
-
readonly state_mutability: "external";
|
|
2847
3010
|
}, {
|
|
2848
|
-
readonly type: "
|
|
2849
|
-
readonly name: "
|
|
2850
|
-
readonly
|
|
2851
|
-
readonly
|
|
2852
|
-
readonly
|
|
3011
|
+
readonly type: "event";
|
|
3012
|
+
readonly name: "ip_programmable_erc1155_collections::IPCollectionFactory::IPCollectionFactory::Event";
|
|
3013
|
+
readonly kind: "enum";
|
|
3014
|
+
readonly variants: readonly [{
|
|
3015
|
+
readonly name: "OwnableEvent";
|
|
3016
|
+
readonly type: "openzeppelin_access::ownable::ownable::OwnableComponent::Event";
|
|
3017
|
+
readonly kind: "flat";
|
|
3018
|
+
}, {
|
|
3019
|
+
readonly name: "CollectionDeployed";
|
|
3020
|
+
readonly type: "ip_programmable_erc1155_collections::IPCollectionFactory::IPCollectionFactory::CollectionDeployed";
|
|
3021
|
+
readonly kind: "nested";
|
|
3022
|
+
}, {
|
|
3023
|
+
readonly name: "CollectionClassHashUpdated";
|
|
3024
|
+
readonly type: "ip_programmable_erc1155_collections::IPCollectionFactory::IPCollectionFactory::CollectionClassHashUpdated";
|
|
3025
|
+
readonly kind: "nested";
|
|
2853
3026
|
}];
|
|
2854
|
-
readonly state_mutability: "view";
|
|
2855
3027
|
}];
|
|
2856
3028
|
declare const IPCollection1155ABI: readonly [{
|
|
2857
|
-
readonly type: "
|
|
2858
|
-
readonly name: "
|
|
2859
|
-
readonly
|
|
2860
|
-
|
|
2861
|
-
|
|
3029
|
+
readonly type: "impl";
|
|
3030
|
+
readonly name: "ERC1155MetadataURIImpl";
|
|
3031
|
+
readonly interface_name: "openzeppelin_token::erc1155::interface::IERC1155MetadataURI";
|
|
3032
|
+
}, {
|
|
3033
|
+
readonly type: "struct";
|
|
3034
|
+
readonly name: "core::integer::u256";
|
|
3035
|
+
readonly members: readonly [{
|
|
3036
|
+
readonly name: "low";
|
|
3037
|
+
readonly type: "core::integer::u128";
|
|
3038
|
+
}, {
|
|
3039
|
+
readonly name: "high";
|
|
3040
|
+
readonly type: "core::integer::u128";
|
|
2862
3041
|
}];
|
|
2863
|
-
readonly state_mutability: "view";
|
|
2864
3042
|
}, {
|
|
2865
|
-
readonly type: "
|
|
2866
|
-
readonly name: "
|
|
2867
|
-
readonly
|
|
2868
|
-
|
|
2869
|
-
readonly type: "core::
|
|
3043
|
+
readonly type: "struct";
|
|
3044
|
+
readonly name: "core::byte_array::ByteArray";
|
|
3045
|
+
readonly members: readonly [{
|
|
3046
|
+
readonly name: "data";
|
|
3047
|
+
readonly type: "core::array::Array::<core::bytes_31::bytes31>";
|
|
3048
|
+
}, {
|
|
3049
|
+
readonly name: "pending_word";
|
|
3050
|
+
readonly type: "core::felt252";
|
|
3051
|
+
}, {
|
|
3052
|
+
readonly name: "pending_word_len";
|
|
3053
|
+
readonly type: "core::internal::bounded_int::BoundedInt::<0, 30>";
|
|
2870
3054
|
}];
|
|
2871
|
-
readonly state_mutability: "view";
|
|
2872
3055
|
}, {
|
|
2873
|
-
readonly type: "
|
|
2874
|
-
readonly name: "
|
|
2875
|
-
readonly
|
|
2876
|
-
|
|
2877
|
-
readonly
|
|
3056
|
+
readonly type: "interface";
|
|
3057
|
+
readonly name: "openzeppelin_token::erc1155::interface::IERC1155MetadataURI";
|
|
3058
|
+
readonly items: readonly [{
|
|
3059
|
+
readonly type: "function";
|
|
3060
|
+
readonly name: "uri";
|
|
3061
|
+
readonly inputs: readonly [{
|
|
3062
|
+
readonly name: "token_id";
|
|
3063
|
+
readonly type: "core::integer::u256";
|
|
3064
|
+
}];
|
|
3065
|
+
readonly outputs: readonly [{
|
|
3066
|
+
readonly type: "core::byte_array::ByteArray";
|
|
3067
|
+
}];
|
|
3068
|
+
readonly state_mutability: "view";
|
|
2878
3069
|
}];
|
|
2879
|
-
readonly state_mutability: "view";
|
|
2880
3070
|
}, {
|
|
2881
|
-
readonly type: "
|
|
2882
|
-
readonly name: "
|
|
2883
|
-
readonly
|
|
3071
|
+
readonly type: "impl";
|
|
3072
|
+
readonly name: "IPCollectionImpl";
|
|
3073
|
+
readonly interface_name: "ip_programmable_erc1155_collections::interfaces::IIPCollection::IIPCollection";
|
|
3074
|
+
}, {
|
|
3075
|
+
readonly type: "struct";
|
|
3076
|
+
readonly name: "core::array::Span::<core::integer::u256>";
|
|
3077
|
+
readonly members: readonly [{
|
|
3078
|
+
readonly name: "snapshot";
|
|
3079
|
+
readonly type: "@core::array::Array::<core::integer::u256>";
|
|
3080
|
+
}];
|
|
3081
|
+
}, {
|
|
3082
|
+
readonly type: "struct";
|
|
3083
|
+
readonly name: "ip_programmable_erc1155_collections::types::TokenData";
|
|
3084
|
+
readonly members: readonly [{
|
|
2884
3085
|
readonly name: "token_id";
|
|
2885
3086
|
readonly type: "core::integer::u256";
|
|
2886
|
-
}
|
|
2887
|
-
|
|
3087
|
+
}, {
|
|
3088
|
+
readonly name: "metadata_uri";
|
|
2888
3089
|
readonly type: "core::byte_array::ByteArray";
|
|
3090
|
+
}, {
|
|
3091
|
+
readonly name: "original_creator";
|
|
3092
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3093
|
+
}, {
|
|
3094
|
+
readonly name: "registered_at";
|
|
3095
|
+
readonly type: "core::integer::u64";
|
|
2889
3096
|
}];
|
|
2890
|
-
readonly state_mutability: "view";
|
|
2891
3097
|
}, {
|
|
2892
|
-
readonly type: "
|
|
2893
|
-
readonly name: "
|
|
2894
|
-
readonly
|
|
2895
|
-
readonly
|
|
2896
|
-
readonly
|
|
3098
|
+
readonly type: "interface";
|
|
3099
|
+
readonly name: "ip_programmable_erc1155_collections::interfaces::IIPCollection::IIPCollection";
|
|
3100
|
+
readonly items: readonly [{
|
|
3101
|
+
readonly type: "function";
|
|
3102
|
+
readonly name: "name";
|
|
3103
|
+
readonly inputs: readonly [];
|
|
3104
|
+
readonly outputs: readonly [{
|
|
3105
|
+
readonly type: "core::byte_array::ByteArray";
|
|
3106
|
+
}];
|
|
3107
|
+
readonly state_mutability: "view";
|
|
3108
|
+
}, {
|
|
3109
|
+
readonly type: "function";
|
|
3110
|
+
readonly name: "symbol";
|
|
3111
|
+
readonly inputs: readonly [];
|
|
3112
|
+
readonly outputs: readonly [{
|
|
3113
|
+
readonly type: "core::byte_array::ByteArray";
|
|
3114
|
+
}];
|
|
3115
|
+
readonly state_mutability: "view";
|
|
3116
|
+
}, {
|
|
3117
|
+
readonly type: "function";
|
|
3118
|
+
readonly name: "base_uri";
|
|
3119
|
+
readonly inputs: readonly [];
|
|
3120
|
+
readonly outputs: readonly [{
|
|
3121
|
+
readonly type: "core::byte_array::ByteArray";
|
|
3122
|
+
}];
|
|
3123
|
+
readonly state_mutability: "view";
|
|
3124
|
+
}, {
|
|
3125
|
+
readonly type: "function";
|
|
3126
|
+
readonly name: "version";
|
|
3127
|
+
readonly inputs: readonly [];
|
|
3128
|
+
readonly outputs: readonly [{
|
|
3129
|
+
readonly type: "core::byte_array::ByteArray";
|
|
3130
|
+
}];
|
|
3131
|
+
readonly state_mutability: "view";
|
|
3132
|
+
}, {
|
|
3133
|
+
readonly type: "function";
|
|
3134
|
+
readonly name: "mint_item";
|
|
3135
|
+
readonly inputs: readonly [{
|
|
3136
|
+
readonly name: "to";
|
|
3137
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3138
|
+
}, {
|
|
3139
|
+
readonly name: "token_id";
|
|
3140
|
+
readonly type: "core::integer::u256";
|
|
3141
|
+
}, {
|
|
3142
|
+
readonly name: "value";
|
|
3143
|
+
readonly type: "core::integer::u256";
|
|
3144
|
+
}, {
|
|
3145
|
+
readonly name: "token_uri";
|
|
3146
|
+
readonly type: "core::byte_array::ByteArray";
|
|
3147
|
+
}];
|
|
3148
|
+
readonly outputs: readonly [];
|
|
3149
|
+
readonly state_mutability: "external";
|
|
3150
|
+
}, {
|
|
3151
|
+
readonly type: "function";
|
|
3152
|
+
readonly name: "batch_mint_item";
|
|
3153
|
+
readonly inputs: readonly [{
|
|
3154
|
+
readonly name: "to";
|
|
3155
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3156
|
+
}, {
|
|
3157
|
+
readonly name: "token_ids";
|
|
3158
|
+
readonly type: "core::array::Span::<core::integer::u256>";
|
|
3159
|
+
}, {
|
|
3160
|
+
readonly name: "values";
|
|
3161
|
+
readonly type: "core::array::Span::<core::integer::u256>";
|
|
3162
|
+
}, {
|
|
3163
|
+
readonly name: "token_uris";
|
|
3164
|
+
readonly type: "core::array::Array::<core::byte_array::ByteArray>";
|
|
3165
|
+
}];
|
|
3166
|
+
readonly outputs: readonly [];
|
|
3167
|
+
readonly state_mutability: "external";
|
|
3168
|
+
}, {
|
|
3169
|
+
readonly type: "function";
|
|
3170
|
+
readonly name: "get_collection_creator";
|
|
3171
|
+
readonly inputs: readonly [];
|
|
3172
|
+
readonly outputs: readonly [{
|
|
3173
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3174
|
+
}];
|
|
3175
|
+
readonly state_mutability: "view";
|
|
3176
|
+
}, {
|
|
3177
|
+
readonly type: "function";
|
|
3178
|
+
readonly name: "get_token_creator";
|
|
3179
|
+
readonly inputs: readonly [{
|
|
3180
|
+
readonly name: "token_id";
|
|
3181
|
+
readonly type: "core::integer::u256";
|
|
3182
|
+
}];
|
|
3183
|
+
readonly outputs: readonly [{
|
|
3184
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3185
|
+
}];
|
|
3186
|
+
readonly state_mutability: "view";
|
|
3187
|
+
}, {
|
|
3188
|
+
readonly type: "function";
|
|
3189
|
+
readonly name: "get_token_registered_at";
|
|
3190
|
+
readonly inputs: readonly [{
|
|
3191
|
+
readonly name: "token_id";
|
|
3192
|
+
readonly type: "core::integer::u256";
|
|
3193
|
+
}];
|
|
3194
|
+
readonly outputs: readonly [{
|
|
3195
|
+
readonly type: "core::integer::u64";
|
|
3196
|
+
}];
|
|
3197
|
+
readonly state_mutability: "view";
|
|
3198
|
+
}, {
|
|
3199
|
+
readonly type: "function";
|
|
3200
|
+
readonly name: "get_token_data";
|
|
3201
|
+
readonly inputs: readonly [{
|
|
3202
|
+
readonly name: "token_id";
|
|
3203
|
+
readonly type: "core::integer::u256";
|
|
3204
|
+
}];
|
|
3205
|
+
readonly outputs: readonly [{
|
|
3206
|
+
readonly type: "ip_programmable_erc1155_collections::types::TokenData";
|
|
3207
|
+
}];
|
|
3208
|
+
readonly state_mutability: "view";
|
|
3209
|
+
}];
|
|
3210
|
+
}, {
|
|
3211
|
+
readonly type: "impl";
|
|
3212
|
+
readonly name: "OwnableMixinImpl";
|
|
3213
|
+
readonly interface_name: "openzeppelin_access::ownable::interface::OwnableABI";
|
|
3214
|
+
}, {
|
|
3215
|
+
readonly type: "interface";
|
|
3216
|
+
readonly name: "openzeppelin_access::ownable::interface::OwnableABI";
|
|
3217
|
+
readonly items: readonly [{
|
|
3218
|
+
readonly type: "function";
|
|
3219
|
+
readonly name: "owner";
|
|
3220
|
+
readonly inputs: readonly [];
|
|
3221
|
+
readonly outputs: readonly [{
|
|
3222
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3223
|
+
}];
|
|
3224
|
+
readonly state_mutability: "view";
|
|
3225
|
+
}, {
|
|
3226
|
+
readonly type: "function";
|
|
3227
|
+
readonly name: "transfer_ownership";
|
|
3228
|
+
readonly inputs: readonly [{
|
|
3229
|
+
readonly name: "new_owner";
|
|
3230
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3231
|
+
}];
|
|
3232
|
+
readonly outputs: readonly [];
|
|
3233
|
+
readonly state_mutability: "external";
|
|
3234
|
+
}, {
|
|
3235
|
+
readonly type: "function";
|
|
3236
|
+
readonly name: "renounce_ownership";
|
|
3237
|
+
readonly inputs: readonly [];
|
|
3238
|
+
readonly outputs: readonly [];
|
|
3239
|
+
readonly state_mutability: "external";
|
|
3240
|
+
}, {
|
|
3241
|
+
readonly type: "function";
|
|
3242
|
+
readonly name: "transferOwnership";
|
|
3243
|
+
readonly inputs: readonly [{
|
|
3244
|
+
readonly name: "newOwner";
|
|
3245
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3246
|
+
}];
|
|
3247
|
+
readonly outputs: readonly [];
|
|
3248
|
+
readonly state_mutability: "external";
|
|
3249
|
+
}, {
|
|
3250
|
+
readonly type: "function";
|
|
3251
|
+
readonly name: "renounceOwnership";
|
|
3252
|
+
readonly inputs: readonly [];
|
|
3253
|
+
readonly outputs: readonly [];
|
|
3254
|
+
readonly state_mutability: "external";
|
|
3255
|
+
}];
|
|
3256
|
+
}, {
|
|
3257
|
+
readonly type: "impl";
|
|
3258
|
+
readonly name: "SRC5Impl";
|
|
3259
|
+
readonly interface_name: "openzeppelin_introspection::interface::ISRC5";
|
|
3260
|
+
}, {
|
|
3261
|
+
readonly type: "enum";
|
|
3262
|
+
readonly name: "core::bool";
|
|
3263
|
+
readonly variants: readonly [{
|
|
3264
|
+
readonly name: "False";
|
|
3265
|
+
readonly type: "()";
|
|
3266
|
+
}, {
|
|
3267
|
+
readonly name: "True";
|
|
3268
|
+
readonly type: "()";
|
|
3269
|
+
}];
|
|
3270
|
+
}, {
|
|
3271
|
+
readonly type: "interface";
|
|
3272
|
+
readonly name: "openzeppelin_introspection::interface::ISRC5";
|
|
3273
|
+
readonly items: readonly [{
|
|
3274
|
+
readonly type: "function";
|
|
3275
|
+
readonly name: "supports_interface";
|
|
3276
|
+
readonly inputs: readonly [{
|
|
3277
|
+
readonly name: "interface_id";
|
|
3278
|
+
readonly type: "core::felt252";
|
|
3279
|
+
}];
|
|
3280
|
+
readonly outputs: readonly [{
|
|
3281
|
+
readonly type: "core::bool";
|
|
3282
|
+
}];
|
|
3283
|
+
readonly state_mutability: "view";
|
|
3284
|
+
}];
|
|
3285
|
+
}, {
|
|
3286
|
+
readonly type: "impl";
|
|
3287
|
+
readonly name: "ERC1155Impl";
|
|
3288
|
+
readonly interface_name: "openzeppelin_token::erc1155::interface::IERC1155";
|
|
3289
|
+
}, {
|
|
3290
|
+
readonly type: "struct";
|
|
3291
|
+
readonly name: "core::array::Span::<core::starknet::contract_address::ContractAddress>";
|
|
3292
|
+
readonly members: readonly [{
|
|
3293
|
+
readonly name: "snapshot";
|
|
3294
|
+
readonly type: "@core::array::Array::<core::starknet::contract_address::ContractAddress>";
|
|
3295
|
+
}];
|
|
3296
|
+
}, {
|
|
3297
|
+
readonly type: "struct";
|
|
3298
|
+
readonly name: "core::array::Span::<core::felt252>";
|
|
3299
|
+
readonly members: readonly [{
|
|
3300
|
+
readonly name: "snapshot";
|
|
3301
|
+
readonly type: "@core::array::Array::<core::felt252>";
|
|
3302
|
+
}];
|
|
3303
|
+
}, {
|
|
3304
|
+
readonly type: "interface";
|
|
3305
|
+
readonly name: "openzeppelin_token::erc1155::interface::IERC1155";
|
|
3306
|
+
readonly items: readonly [{
|
|
3307
|
+
readonly type: "function";
|
|
3308
|
+
readonly name: "balance_of";
|
|
3309
|
+
readonly inputs: readonly [{
|
|
3310
|
+
readonly name: "account";
|
|
3311
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3312
|
+
}, {
|
|
3313
|
+
readonly name: "token_id";
|
|
3314
|
+
readonly type: "core::integer::u256";
|
|
3315
|
+
}];
|
|
3316
|
+
readonly outputs: readonly [{
|
|
3317
|
+
readonly type: "core::integer::u256";
|
|
3318
|
+
}];
|
|
3319
|
+
readonly state_mutability: "view";
|
|
3320
|
+
}, {
|
|
3321
|
+
readonly type: "function";
|
|
3322
|
+
readonly name: "balance_of_batch";
|
|
3323
|
+
readonly inputs: readonly [{
|
|
3324
|
+
readonly name: "accounts";
|
|
3325
|
+
readonly type: "core::array::Span::<core::starknet::contract_address::ContractAddress>";
|
|
3326
|
+
}, {
|
|
3327
|
+
readonly name: "token_ids";
|
|
3328
|
+
readonly type: "core::array::Span::<core::integer::u256>";
|
|
3329
|
+
}];
|
|
3330
|
+
readonly outputs: readonly [{
|
|
3331
|
+
readonly type: "core::array::Span::<core::integer::u256>";
|
|
3332
|
+
}];
|
|
3333
|
+
readonly state_mutability: "view";
|
|
3334
|
+
}, {
|
|
3335
|
+
readonly type: "function";
|
|
3336
|
+
readonly name: "safe_transfer_from";
|
|
3337
|
+
readonly inputs: readonly [{
|
|
3338
|
+
readonly name: "from";
|
|
3339
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3340
|
+
}, {
|
|
3341
|
+
readonly name: "to";
|
|
3342
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3343
|
+
}, {
|
|
3344
|
+
readonly name: "token_id";
|
|
3345
|
+
readonly type: "core::integer::u256";
|
|
3346
|
+
}, {
|
|
3347
|
+
readonly name: "value";
|
|
3348
|
+
readonly type: "core::integer::u256";
|
|
3349
|
+
}, {
|
|
3350
|
+
readonly name: "data";
|
|
3351
|
+
readonly type: "core::array::Span::<core::felt252>";
|
|
3352
|
+
}];
|
|
3353
|
+
readonly outputs: readonly [];
|
|
3354
|
+
readonly state_mutability: "external";
|
|
3355
|
+
}, {
|
|
3356
|
+
readonly type: "function";
|
|
3357
|
+
readonly name: "safe_batch_transfer_from";
|
|
3358
|
+
readonly inputs: readonly [{
|
|
3359
|
+
readonly name: "from";
|
|
3360
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3361
|
+
}, {
|
|
3362
|
+
readonly name: "to";
|
|
3363
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3364
|
+
}, {
|
|
3365
|
+
readonly name: "token_ids";
|
|
3366
|
+
readonly type: "core::array::Span::<core::integer::u256>";
|
|
3367
|
+
}, {
|
|
3368
|
+
readonly name: "values";
|
|
3369
|
+
readonly type: "core::array::Span::<core::integer::u256>";
|
|
3370
|
+
}, {
|
|
3371
|
+
readonly name: "data";
|
|
3372
|
+
readonly type: "core::array::Span::<core::felt252>";
|
|
3373
|
+
}];
|
|
3374
|
+
readonly outputs: readonly [];
|
|
3375
|
+
readonly state_mutability: "external";
|
|
3376
|
+
}, {
|
|
3377
|
+
readonly type: "function";
|
|
3378
|
+
readonly name: "is_approved_for_all";
|
|
3379
|
+
readonly inputs: readonly [{
|
|
3380
|
+
readonly name: "owner";
|
|
3381
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3382
|
+
}, {
|
|
3383
|
+
readonly name: "operator";
|
|
3384
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3385
|
+
}];
|
|
3386
|
+
readonly outputs: readonly [{
|
|
3387
|
+
readonly type: "core::bool";
|
|
3388
|
+
}];
|
|
3389
|
+
readonly state_mutability: "view";
|
|
3390
|
+
}, {
|
|
3391
|
+
readonly type: "function";
|
|
3392
|
+
readonly name: "set_approval_for_all";
|
|
3393
|
+
readonly inputs: readonly [{
|
|
3394
|
+
readonly name: "operator";
|
|
3395
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3396
|
+
}, {
|
|
3397
|
+
readonly name: "approved";
|
|
3398
|
+
readonly type: "core::bool";
|
|
3399
|
+
}];
|
|
3400
|
+
readonly outputs: readonly [];
|
|
3401
|
+
readonly state_mutability: "external";
|
|
3402
|
+
}];
|
|
3403
|
+
}, {
|
|
3404
|
+
readonly type: "impl";
|
|
3405
|
+
readonly name: "ERC1155CamelImpl";
|
|
3406
|
+
readonly interface_name: "openzeppelin_token::erc1155::interface::IERC1155Camel";
|
|
3407
|
+
}, {
|
|
3408
|
+
readonly type: "interface";
|
|
3409
|
+
readonly name: "openzeppelin_token::erc1155::interface::IERC1155Camel";
|
|
3410
|
+
readonly items: readonly [{
|
|
3411
|
+
readonly type: "function";
|
|
3412
|
+
readonly name: "balanceOf";
|
|
3413
|
+
readonly inputs: readonly [{
|
|
3414
|
+
readonly name: "account";
|
|
3415
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3416
|
+
}, {
|
|
3417
|
+
readonly name: "tokenId";
|
|
3418
|
+
readonly type: "core::integer::u256";
|
|
3419
|
+
}];
|
|
3420
|
+
readonly outputs: readonly [{
|
|
3421
|
+
readonly type: "core::integer::u256";
|
|
3422
|
+
}];
|
|
3423
|
+
readonly state_mutability: "view";
|
|
3424
|
+
}, {
|
|
3425
|
+
readonly type: "function";
|
|
3426
|
+
readonly name: "balanceOfBatch";
|
|
3427
|
+
readonly inputs: readonly [{
|
|
3428
|
+
readonly name: "accounts";
|
|
3429
|
+
readonly type: "core::array::Span::<core::starknet::contract_address::ContractAddress>";
|
|
3430
|
+
}, {
|
|
3431
|
+
readonly name: "tokenIds";
|
|
3432
|
+
readonly type: "core::array::Span::<core::integer::u256>";
|
|
3433
|
+
}];
|
|
3434
|
+
readonly outputs: readonly [{
|
|
3435
|
+
readonly type: "core::array::Span::<core::integer::u256>";
|
|
3436
|
+
}];
|
|
3437
|
+
readonly state_mutability: "view";
|
|
3438
|
+
}, {
|
|
3439
|
+
readonly type: "function";
|
|
3440
|
+
readonly name: "safeTransferFrom";
|
|
3441
|
+
readonly inputs: readonly [{
|
|
3442
|
+
readonly name: "from";
|
|
3443
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3444
|
+
}, {
|
|
3445
|
+
readonly name: "to";
|
|
3446
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3447
|
+
}, {
|
|
3448
|
+
readonly name: "tokenId";
|
|
3449
|
+
readonly type: "core::integer::u256";
|
|
3450
|
+
}, {
|
|
3451
|
+
readonly name: "value";
|
|
3452
|
+
readonly type: "core::integer::u256";
|
|
3453
|
+
}, {
|
|
3454
|
+
readonly name: "data";
|
|
3455
|
+
readonly type: "core::array::Span::<core::felt252>";
|
|
3456
|
+
}];
|
|
3457
|
+
readonly outputs: readonly [];
|
|
3458
|
+
readonly state_mutability: "external";
|
|
3459
|
+
}, {
|
|
3460
|
+
readonly type: "function";
|
|
3461
|
+
readonly name: "safeBatchTransferFrom";
|
|
3462
|
+
readonly inputs: readonly [{
|
|
3463
|
+
readonly name: "from";
|
|
3464
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3465
|
+
}, {
|
|
3466
|
+
readonly name: "to";
|
|
3467
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3468
|
+
}, {
|
|
3469
|
+
readonly name: "tokenIds";
|
|
3470
|
+
readonly type: "core::array::Span::<core::integer::u256>";
|
|
3471
|
+
}, {
|
|
3472
|
+
readonly name: "values";
|
|
3473
|
+
readonly type: "core::array::Span::<core::integer::u256>";
|
|
3474
|
+
}, {
|
|
3475
|
+
readonly name: "data";
|
|
3476
|
+
readonly type: "core::array::Span::<core::felt252>";
|
|
3477
|
+
}];
|
|
3478
|
+
readonly outputs: readonly [];
|
|
3479
|
+
readonly state_mutability: "external";
|
|
3480
|
+
}, {
|
|
3481
|
+
readonly type: "function";
|
|
3482
|
+
readonly name: "isApprovedForAll";
|
|
3483
|
+
readonly inputs: readonly [{
|
|
3484
|
+
readonly name: "owner";
|
|
3485
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3486
|
+
}, {
|
|
3487
|
+
readonly name: "operator";
|
|
3488
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3489
|
+
}];
|
|
3490
|
+
readonly outputs: readonly [{
|
|
3491
|
+
readonly type: "core::bool";
|
|
3492
|
+
}];
|
|
3493
|
+
readonly state_mutability: "view";
|
|
3494
|
+
}, {
|
|
3495
|
+
readonly type: "function";
|
|
3496
|
+
readonly name: "setApprovalForAll";
|
|
3497
|
+
readonly inputs: readonly [{
|
|
3498
|
+
readonly name: "operator";
|
|
3499
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3500
|
+
}, {
|
|
3501
|
+
readonly name: "approved";
|
|
3502
|
+
readonly type: "core::bool";
|
|
3503
|
+
}];
|
|
3504
|
+
readonly outputs: readonly [];
|
|
3505
|
+
readonly state_mutability: "external";
|
|
3506
|
+
}];
|
|
3507
|
+
}, {
|
|
3508
|
+
readonly type: "impl";
|
|
3509
|
+
readonly name: "ERC2981Impl";
|
|
3510
|
+
readonly interface_name: "openzeppelin_token::common::erc2981::interface::IERC2981";
|
|
3511
|
+
}, {
|
|
3512
|
+
readonly type: "interface";
|
|
3513
|
+
readonly name: "openzeppelin_token::common::erc2981::interface::IERC2981";
|
|
3514
|
+
readonly items: readonly [{
|
|
3515
|
+
readonly type: "function";
|
|
3516
|
+
readonly name: "royalty_info";
|
|
3517
|
+
readonly inputs: readonly [{
|
|
3518
|
+
readonly name: "token_id";
|
|
3519
|
+
readonly type: "core::integer::u256";
|
|
3520
|
+
}, {
|
|
3521
|
+
readonly name: "sale_price";
|
|
3522
|
+
readonly type: "core::integer::u256";
|
|
3523
|
+
}];
|
|
3524
|
+
readonly outputs: readonly [{
|
|
3525
|
+
readonly type: "(core::starknet::contract_address::ContractAddress, core::integer::u256)";
|
|
3526
|
+
}];
|
|
3527
|
+
readonly state_mutability: "view";
|
|
3528
|
+
}];
|
|
3529
|
+
}, {
|
|
3530
|
+
readonly type: "impl";
|
|
3531
|
+
readonly name: "ERC2981InfoImpl";
|
|
3532
|
+
readonly interface_name: "openzeppelin_token::common::erc2981::interface::IERC2981Info";
|
|
3533
|
+
}, {
|
|
3534
|
+
readonly type: "interface";
|
|
3535
|
+
readonly name: "openzeppelin_token::common::erc2981::interface::IERC2981Info";
|
|
3536
|
+
readonly items: readonly [{
|
|
3537
|
+
readonly type: "function";
|
|
3538
|
+
readonly name: "default_royalty";
|
|
3539
|
+
readonly inputs: readonly [];
|
|
3540
|
+
readonly outputs: readonly [{
|
|
3541
|
+
readonly type: "(core::starknet::contract_address::ContractAddress, core::integer::u128, core::integer::u128)";
|
|
3542
|
+
}];
|
|
3543
|
+
readonly state_mutability: "view";
|
|
3544
|
+
}, {
|
|
3545
|
+
readonly type: "function";
|
|
3546
|
+
readonly name: "token_royalty";
|
|
3547
|
+
readonly inputs: readonly [{
|
|
3548
|
+
readonly name: "token_id";
|
|
3549
|
+
readonly type: "core::integer::u256";
|
|
3550
|
+
}];
|
|
3551
|
+
readonly outputs: readonly [{
|
|
3552
|
+
readonly type: "(core::starknet::contract_address::ContractAddress, core::integer::u128, core::integer::u128)";
|
|
3553
|
+
}];
|
|
3554
|
+
readonly state_mutability: "view";
|
|
3555
|
+
}];
|
|
3556
|
+
}, {
|
|
3557
|
+
readonly type: "impl";
|
|
3558
|
+
readonly name: "ERC2981AdminOwnableImpl";
|
|
3559
|
+
readonly interface_name: "openzeppelin_token::common::erc2981::interface::IERC2981Admin";
|
|
3560
|
+
}, {
|
|
3561
|
+
readonly type: "interface";
|
|
3562
|
+
readonly name: "openzeppelin_token::common::erc2981::interface::IERC2981Admin";
|
|
3563
|
+
readonly items: readonly [{
|
|
3564
|
+
readonly type: "function";
|
|
3565
|
+
readonly name: "set_default_royalty";
|
|
3566
|
+
readonly inputs: readonly [{
|
|
3567
|
+
readonly name: "receiver";
|
|
3568
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3569
|
+
}, {
|
|
3570
|
+
readonly name: "fee_numerator";
|
|
3571
|
+
readonly type: "core::integer::u128";
|
|
3572
|
+
}];
|
|
3573
|
+
readonly outputs: readonly [];
|
|
3574
|
+
readonly state_mutability: "external";
|
|
2897
3575
|
}, {
|
|
2898
|
-
readonly
|
|
2899
|
-
readonly
|
|
3576
|
+
readonly type: "function";
|
|
3577
|
+
readonly name: "delete_default_royalty";
|
|
3578
|
+
readonly inputs: readonly [];
|
|
3579
|
+
readonly outputs: readonly [];
|
|
3580
|
+
readonly state_mutability: "external";
|
|
2900
3581
|
}, {
|
|
2901
|
-
readonly
|
|
2902
|
-
readonly
|
|
3582
|
+
readonly type: "function";
|
|
3583
|
+
readonly name: "set_token_royalty";
|
|
3584
|
+
readonly inputs: readonly [{
|
|
3585
|
+
readonly name: "token_id";
|
|
3586
|
+
readonly type: "core::integer::u256";
|
|
3587
|
+
}, {
|
|
3588
|
+
readonly name: "receiver";
|
|
3589
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3590
|
+
}, {
|
|
3591
|
+
readonly name: "fee_numerator";
|
|
3592
|
+
readonly type: "core::integer::u128";
|
|
3593
|
+
}];
|
|
3594
|
+
readonly outputs: readonly [];
|
|
3595
|
+
readonly state_mutability: "external";
|
|
2903
3596
|
}, {
|
|
2904
|
-
readonly
|
|
2905
|
-
readonly
|
|
3597
|
+
readonly type: "function";
|
|
3598
|
+
readonly name: "reset_token_royalty";
|
|
3599
|
+
readonly inputs: readonly [{
|
|
3600
|
+
readonly name: "token_id";
|
|
3601
|
+
readonly type: "core::integer::u256";
|
|
3602
|
+
}];
|
|
3603
|
+
readonly outputs: readonly [];
|
|
3604
|
+
readonly state_mutability: "external";
|
|
2906
3605
|
}];
|
|
2907
|
-
readonly outputs: readonly [];
|
|
2908
|
-
readonly state_mutability: "external";
|
|
2909
3606
|
}, {
|
|
2910
|
-
readonly type: "
|
|
2911
|
-
readonly name: "
|
|
3607
|
+
readonly type: "constructor";
|
|
3608
|
+
readonly name: "constructor";
|
|
2912
3609
|
readonly inputs: readonly [{
|
|
2913
|
-
readonly name: "
|
|
2914
|
-
readonly type: "core::
|
|
3610
|
+
readonly name: "name";
|
|
3611
|
+
readonly type: "core::byte_array::ByteArray";
|
|
2915
3612
|
}, {
|
|
2916
|
-
readonly name: "
|
|
2917
|
-
readonly type: "core::
|
|
3613
|
+
readonly name: "symbol";
|
|
3614
|
+
readonly type: "core::byte_array::ByteArray";
|
|
2918
3615
|
}, {
|
|
2919
|
-
readonly name: "
|
|
2920
|
-
readonly type: "core::
|
|
3616
|
+
readonly name: "base_uri";
|
|
3617
|
+
readonly type: "core::byte_array::ByteArray";
|
|
2921
3618
|
}, {
|
|
2922
|
-
readonly name: "
|
|
2923
|
-
readonly type: "core::
|
|
3619
|
+
readonly name: "owner";
|
|
3620
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
2924
3621
|
}];
|
|
2925
|
-
readonly outputs: readonly [];
|
|
2926
|
-
readonly state_mutability: "external";
|
|
2927
3622
|
}, {
|
|
2928
|
-
readonly type: "
|
|
2929
|
-
readonly name: "
|
|
2930
|
-
readonly
|
|
2931
|
-
readonly
|
|
3623
|
+
readonly type: "event";
|
|
3624
|
+
readonly name: "openzeppelin_introspection::src5::SRC5Component::Event";
|
|
3625
|
+
readonly kind: "enum";
|
|
3626
|
+
readonly variants: readonly [];
|
|
3627
|
+
}, {
|
|
3628
|
+
readonly type: "event";
|
|
3629
|
+
readonly name: "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferred";
|
|
3630
|
+
readonly kind: "struct";
|
|
3631
|
+
readonly members: readonly [{
|
|
3632
|
+
readonly name: "previous_owner";
|
|
3633
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3634
|
+
readonly kind: "key";
|
|
3635
|
+
}, {
|
|
3636
|
+
readonly name: "new_owner";
|
|
2932
3637
|
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3638
|
+
readonly kind: "key";
|
|
2933
3639
|
}];
|
|
2934
|
-
readonly state_mutability: "view";
|
|
2935
3640
|
}, {
|
|
2936
|
-
readonly type: "
|
|
2937
|
-
readonly name: "
|
|
2938
|
-
readonly
|
|
2939
|
-
|
|
2940
|
-
readonly
|
|
2941
|
-
|
|
2942
|
-
|
|
3641
|
+
readonly type: "event";
|
|
3642
|
+
readonly name: "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferStarted";
|
|
3643
|
+
readonly kind: "struct";
|
|
3644
|
+
readonly members: readonly [{
|
|
3645
|
+
readonly name: "previous_owner";
|
|
3646
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3647
|
+
readonly kind: "key";
|
|
3648
|
+
}, {
|
|
3649
|
+
readonly name: "new_owner";
|
|
2943
3650
|
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3651
|
+
readonly kind: "key";
|
|
2944
3652
|
}];
|
|
2945
|
-
readonly state_mutability: "view";
|
|
2946
3653
|
}, {
|
|
2947
|
-
readonly type: "
|
|
2948
|
-
readonly name: "
|
|
2949
|
-
readonly
|
|
2950
|
-
|
|
2951
|
-
readonly
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
3654
|
+
readonly type: "event";
|
|
3655
|
+
readonly name: "openzeppelin_access::ownable::ownable::OwnableComponent::Event";
|
|
3656
|
+
readonly kind: "enum";
|
|
3657
|
+
readonly variants: readonly [{
|
|
3658
|
+
readonly name: "OwnershipTransferred";
|
|
3659
|
+
readonly type: "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferred";
|
|
3660
|
+
readonly kind: "nested";
|
|
3661
|
+
}, {
|
|
3662
|
+
readonly name: "OwnershipTransferStarted";
|
|
3663
|
+
readonly type: "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferStarted";
|
|
3664
|
+
readonly kind: "nested";
|
|
2955
3665
|
}];
|
|
2956
|
-
readonly state_mutability: "view";
|
|
2957
3666
|
}, {
|
|
2958
|
-
readonly type: "
|
|
2959
|
-
readonly name: "
|
|
2960
|
-
readonly
|
|
2961
|
-
readonly
|
|
3667
|
+
readonly type: "event";
|
|
3668
|
+
readonly name: "openzeppelin_token::erc1155::erc1155::ERC1155Component::TransferSingle";
|
|
3669
|
+
readonly kind: "struct";
|
|
3670
|
+
readonly members: readonly [{
|
|
3671
|
+
readonly name: "operator";
|
|
2962
3672
|
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
readonly type: "function";
|
|
2967
|
-
readonly name: "balance_of";
|
|
2968
|
-
readonly inputs: readonly [{
|
|
2969
|
-
readonly name: "account";
|
|
3673
|
+
readonly kind: "key";
|
|
3674
|
+
}, {
|
|
3675
|
+
readonly name: "from";
|
|
2970
3676
|
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3677
|
+
readonly kind: "key";
|
|
2971
3678
|
}, {
|
|
2972
|
-
readonly name: "
|
|
3679
|
+
readonly name: "to";
|
|
3680
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3681
|
+
readonly kind: "key";
|
|
3682
|
+
}, {
|
|
3683
|
+
readonly name: "id";
|
|
2973
3684
|
readonly type: "core::integer::u256";
|
|
2974
|
-
|
|
2975
|
-
|
|
3685
|
+
readonly kind: "data";
|
|
3686
|
+
}, {
|
|
3687
|
+
readonly name: "value";
|
|
2976
3688
|
readonly type: "core::integer::u256";
|
|
3689
|
+
readonly kind: "data";
|
|
2977
3690
|
}];
|
|
2978
|
-
readonly state_mutability: "view";
|
|
2979
3691
|
}, {
|
|
2980
|
-
readonly type: "
|
|
2981
|
-
readonly name: "
|
|
2982
|
-
readonly
|
|
3692
|
+
readonly type: "event";
|
|
3693
|
+
readonly name: "openzeppelin_token::erc1155::erc1155::ERC1155Component::TransferBatch";
|
|
3694
|
+
readonly kind: "struct";
|
|
3695
|
+
readonly members: readonly [{
|
|
2983
3696
|
readonly name: "operator";
|
|
2984
3697
|
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3698
|
+
readonly kind: "key";
|
|
3699
|
+
}, {
|
|
3700
|
+
readonly name: "from";
|
|
3701
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3702
|
+
readonly kind: "key";
|
|
2985
3703
|
}, {
|
|
2986
|
-
readonly name: "
|
|
2987
|
-
readonly type: "core::
|
|
3704
|
+
readonly name: "to";
|
|
3705
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3706
|
+
readonly kind: "key";
|
|
3707
|
+
}, {
|
|
3708
|
+
readonly name: "ids";
|
|
3709
|
+
readonly type: "core::array::Span::<core::integer::u256>";
|
|
3710
|
+
readonly kind: "data";
|
|
3711
|
+
}, {
|
|
3712
|
+
readonly name: "values";
|
|
3713
|
+
readonly type: "core::array::Span::<core::integer::u256>";
|
|
3714
|
+
readonly kind: "data";
|
|
2988
3715
|
}];
|
|
2989
|
-
readonly outputs: readonly [];
|
|
2990
|
-
readonly state_mutability: "external";
|
|
2991
3716
|
}, {
|
|
2992
|
-
readonly type: "
|
|
2993
|
-
readonly name: "
|
|
2994
|
-
readonly
|
|
3717
|
+
readonly type: "event";
|
|
3718
|
+
readonly name: "openzeppelin_token::erc1155::erc1155::ERC1155Component::ApprovalForAll";
|
|
3719
|
+
readonly kind: "struct";
|
|
3720
|
+
readonly members: readonly [{
|
|
2995
3721
|
readonly name: "owner";
|
|
2996
3722
|
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3723
|
+
readonly kind: "key";
|
|
2997
3724
|
}, {
|
|
2998
3725
|
readonly name: "operator";
|
|
2999
3726
|
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3000
|
-
|
|
3001
|
-
|
|
3727
|
+
readonly kind: "key";
|
|
3728
|
+
}, {
|
|
3729
|
+
readonly name: "approved";
|
|
3002
3730
|
readonly type: "core::bool";
|
|
3731
|
+
readonly kind: "data";
|
|
3003
3732
|
}];
|
|
3004
|
-
readonly state_mutability: "view";
|
|
3005
3733
|
}, {
|
|
3006
|
-
readonly type: "
|
|
3007
|
-
readonly name: "
|
|
3008
|
-
readonly
|
|
3009
|
-
|
|
3010
|
-
readonly
|
|
3011
|
-
|
|
3012
|
-
readonly
|
|
3013
|
-
readonly type: "core::integer::u256";
|
|
3014
|
-
}];
|
|
3015
|
-
readonly outputs: readonly [{
|
|
3016
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3734
|
+
readonly type: "event";
|
|
3735
|
+
readonly name: "openzeppelin_token::erc1155::erc1155::ERC1155Component::URI";
|
|
3736
|
+
readonly kind: "struct";
|
|
3737
|
+
readonly members: readonly [{
|
|
3738
|
+
readonly name: "value";
|
|
3739
|
+
readonly type: "core::byte_array::ByteArray";
|
|
3740
|
+
readonly kind: "data";
|
|
3017
3741
|
}, {
|
|
3742
|
+
readonly name: "id";
|
|
3018
3743
|
readonly type: "core::integer::u256";
|
|
3744
|
+
readonly kind: "key";
|
|
3019
3745
|
}];
|
|
3020
|
-
readonly state_mutability: "view";
|
|
3021
3746
|
}, {
|
|
3022
|
-
readonly type: "
|
|
3023
|
-
readonly name: "
|
|
3024
|
-
readonly
|
|
3025
|
-
|
|
3026
|
-
readonly
|
|
3747
|
+
readonly type: "event";
|
|
3748
|
+
readonly name: "openzeppelin_token::erc1155::erc1155::ERC1155Component::Event";
|
|
3749
|
+
readonly kind: "enum";
|
|
3750
|
+
readonly variants: readonly [{
|
|
3751
|
+
readonly name: "TransferSingle";
|
|
3752
|
+
readonly type: "openzeppelin_token::erc1155::erc1155::ERC1155Component::TransferSingle";
|
|
3753
|
+
readonly kind: "nested";
|
|
3027
3754
|
}, {
|
|
3028
|
-
readonly name: "
|
|
3029
|
-
readonly type: "
|
|
3755
|
+
readonly name: "TransferBatch";
|
|
3756
|
+
readonly type: "openzeppelin_token::erc1155::erc1155::ERC1155Component::TransferBatch";
|
|
3757
|
+
readonly kind: "nested";
|
|
3758
|
+
}, {
|
|
3759
|
+
readonly name: "ApprovalForAll";
|
|
3760
|
+
readonly type: "openzeppelin_token::erc1155::erc1155::ERC1155Component::ApprovalForAll";
|
|
3761
|
+
readonly kind: "nested";
|
|
3762
|
+
}, {
|
|
3763
|
+
readonly name: "URI";
|
|
3764
|
+
readonly type: "openzeppelin_token::erc1155::erc1155::ERC1155Component::URI";
|
|
3765
|
+
readonly kind: "nested";
|
|
3030
3766
|
}];
|
|
3031
|
-
readonly outputs: readonly [];
|
|
3032
|
-
readonly state_mutability: "external";
|
|
3033
3767
|
}, {
|
|
3034
|
-
readonly type: "
|
|
3035
|
-
readonly name: "
|
|
3036
|
-
readonly
|
|
3768
|
+
readonly type: "event";
|
|
3769
|
+
readonly name: "openzeppelin_token::common::erc2981::erc2981::ERC2981Component::Event";
|
|
3770
|
+
readonly kind: "enum";
|
|
3771
|
+
readonly variants: readonly [];
|
|
3772
|
+
}, {
|
|
3773
|
+
readonly type: "event";
|
|
3774
|
+
readonly name: "ip_programmable_erc1155_collections::IPCollection::IPCollection::IPMinted";
|
|
3775
|
+
readonly kind: "struct";
|
|
3776
|
+
readonly members: readonly [{
|
|
3037
3777
|
readonly name: "token_id";
|
|
3038
3778
|
readonly type: "core::integer::u256";
|
|
3779
|
+
readonly kind: "key";
|
|
3039
3780
|
}, {
|
|
3040
|
-
readonly name: "
|
|
3781
|
+
readonly name: "recipient";
|
|
3041
3782
|
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3783
|
+
readonly kind: "key";
|
|
3042
3784
|
}, {
|
|
3043
|
-
readonly name: "
|
|
3044
|
-
readonly type: "core::integer::
|
|
3785
|
+
readonly name: "value";
|
|
3786
|
+
readonly type: "core::integer::u256";
|
|
3787
|
+
readonly kind: "data";
|
|
3788
|
+
}, {
|
|
3789
|
+
readonly name: "uri";
|
|
3790
|
+
readonly type: "core::byte_array::ByteArray";
|
|
3791
|
+
readonly kind: "data";
|
|
3792
|
+
}, {
|
|
3793
|
+
readonly name: "creator";
|
|
3794
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3795
|
+
readonly kind: "data";
|
|
3796
|
+
}, {
|
|
3797
|
+
readonly name: "registered_at";
|
|
3798
|
+
readonly type: "core::integer::u64";
|
|
3799
|
+
readonly kind: "data";
|
|
3045
3800
|
}];
|
|
3046
|
-
readonly outputs: readonly [];
|
|
3047
|
-
readonly state_mutability: "external";
|
|
3048
|
-
}, {
|
|
3049
|
-
readonly type: "function";
|
|
3050
|
-
readonly name: "delete_default_royalty";
|
|
3051
|
-
readonly inputs: readonly [];
|
|
3052
|
-
readonly outputs: readonly [];
|
|
3053
|
-
readonly state_mutability: "external";
|
|
3054
3801
|
}, {
|
|
3055
|
-
readonly type: "
|
|
3056
|
-
readonly name: "
|
|
3057
|
-
readonly
|
|
3058
|
-
|
|
3059
|
-
readonly
|
|
3802
|
+
readonly type: "event";
|
|
3803
|
+
readonly name: "ip_programmable_erc1155_collections::IPCollection::IPCollection::Event";
|
|
3804
|
+
readonly kind: "enum";
|
|
3805
|
+
readonly variants: readonly [{
|
|
3806
|
+
readonly name: "SRC5Event";
|
|
3807
|
+
readonly type: "openzeppelin_introspection::src5::SRC5Component::Event";
|
|
3808
|
+
readonly kind: "flat";
|
|
3809
|
+
}, {
|
|
3810
|
+
readonly name: "OwnableEvent";
|
|
3811
|
+
readonly type: "openzeppelin_access::ownable::ownable::OwnableComponent::Event";
|
|
3812
|
+
readonly kind: "flat";
|
|
3813
|
+
}, {
|
|
3814
|
+
readonly name: "ERC1155Event";
|
|
3815
|
+
readonly type: "openzeppelin_token::erc1155::erc1155::ERC1155Component::Event";
|
|
3816
|
+
readonly kind: "flat";
|
|
3817
|
+
}, {
|
|
3818
|
+
readonly name: "ERC2981Event";
|
|
3819
|
+
readonly type: "openzeppelin_token::common::erc2981::erc2981::ERC2981Component::Event";
|
|
3820
|
+
readonly kind: "flat";
|
|
3821
|
+
}, {
|
|
3822
|
+
readonly name: "IPMinted";
|
|
3823
|
+
readonly type: "ip_programmable_erc1155_collections::IPCollection::IPCollection::IPMinted";
|
|
3824
|
+
readonly kind: "nested";
|
|
3060
3825
|
}];
|
|
3061
|
-
readonly outputs: readonly [];
|
|
3062
|
-
readonly state_mutability: "external";
|
|
3063
3826
|
}];
|
|
3064
3827
|
declare const IPCollectionABI: readonly [{
|
|
3065
3828
|
readonly type: "impl";
|
|
@@ -3738,6 +4501,9 @@ declare const IPNftABI: readonly [{
|
|
|
3738
4501
|
}, {
|
|
3739
4502
|
readonly name: "token_uri";
|
|
3740
4503
|
readonly type: "core::byte_array::ByteArray";
|
|
4504
|
+
}, {
|
|
4505
|
+
readonly name: "creator";
|
|
4506
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
3741
4507
|
}];
|
|
3742
4508
|
readonly outputs: readonly [];
|
|
3743
4509
|
readonly state_mutability: "external";
|