@medialane/sdk 0.157.0 → 0.159.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/{chunk-SEBUPNF4.js → chunk-A6EQBVUF.js} +6 -19
- package/dist/chunk-A6EQBVUF.js.map +1 -0
- package/dist/{chunk-OUPVVMLK.cjs → chunk-H7I6TEOA.cjs} +5 -4
- package/dist/chunk-H7I6TEOA.cjs.map +1 -0
- package/dist/{chunk-3IJQNNFE.cjs → chunk-K5MWWVX5.cjs} +10 -22
- package/dist/chunk-K5MWWVX5.cjs.map +1 -0
- package/dist/{chunk-3PZUSEAW.js → chunk-PBJLHXDB.js} +5 -4
- package/dist/chunk-PBJLHXDB.js.map +1 -0
- package/dist/{errors-D037rFnb.d.ts → errors-6Aarmz0V.d.cts} +3 -15
- package/dist/{errors-D_k2He89.d.cts → errors-BJl2TojD.d.ts} +3 -15
- package/dist/evm/index.cjs +3 -3
- package/dist/evm/index.d.cts +1 -1
- package/dist/evm/index.d.ts +1 -1
- package/dist/evm/index.js +1 -1
- package/dist/index.cjs +76 -70
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +13 -9
- package/dist/index.d.ts +13 -9
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/solana/index.cjs +2 -2
- package/dist/solana/index.d.cts +1 -1
- package/dist/solana/index.d.ts +1 -1
- package/dist/solana/index.js +1 -1
- package/dist/starknet/index.cjs +940 -219
- package/dist/starknet/index.cjs.map +1 -1
- package/dist/starknet/index.d.cts +617 -199
- package/dist/starknet/index.d.ts +617 -199
- package/dist/starknet/index.js +866 -150
- package/dist/starknet/index.js.map +1 -1
- package/dist/stellar/index.cjs +2 -2
- package/dist/stellar/index.d.cts +1 -1
- package/dist/stellar/index.d.ts +1 -1
- package/dist/stellar/index.js +1 -1
- package/dist/{types-CO6YYHVA.d.cts → types-PPshMWr7.d.cts} +1 -0
- package/dist/{types-CO6YYHVA.d.ts → types-PPshMWr7.d.ts} +1 -0
- package/package.json +1 -1
- package/dist/chunk-3IJQNNFE.cjs.map +0 -1
- package/dist/chunk-3PZUSEAW.js.map +0 -1
- package/dist/chunk-OUPVVMLK.cjs.map +0 -1
- package/dist/chunk-SEBUPNF4.js.map +0 -1
|
@@ -1,42 +1,35 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
3
|
-
import { AccountInterface,
|
|
4
|
-
import { V as VenueAdapter, O as OrderRef, A as AdapterTxResult, R as RegisterOrderParams, j as VenueSigner } from '../types-
|
|
1
|
+
import { bz as ResolvedConfig, aY as CreatePopCollectionParams, bG as TxResult, aJ as ClaimConditions, aU as CreateDropParams, b1 as CreateTicketParams, bm as MintTicketsParams, aW as CreateMembershipParams, bl as MintMembershipsParams, a$ as CreateSponsorshipOfferParams, bw as ProposeSponsorshipParams, k as ApiClient, bj as MedialaneConfig, bk as MedialaneErrorCode, br as OrderDetails, R as ResolvedFeeConfig, I as ApiFundingIntent, H as ApiFundingInstructions, L as ApiFundingSubmit, N as ApiIntentCreated, bM as SealedOwner, bN as ReceiptProviderLike, bO as WalletExecutor, bP as ExecutedTransaction, bQ as PasskeyOwner, bR as CreatedOwner } from '../errors-6Aarmz0V.cjs';
|
|
2
|
+
export { bS as InvalidRecoveryKeyError, bT as OwnerSigner, bu as PasskeyCancelledError, bU as PasskeyConfig, bV as RecoveryKey, bI as UserFacingError, bW as createPasskeyOwner, bX as encodeRecoveryKey, bY as parseRecoveryKey } from '../errors-6Aarmz0V.cjs';
|
|
3
|
+
import { AccountInterface, ProviderInterface, Call, TypedData, constants, BigNumberish, DeployAccountContractPayload, Account } from 'starknet';
|
|
4
|
+
import { V as VenueAdapter, O as OrderRef, A as AdapterTxResult, R as RegisterOrderParams, j as VenueSigner } from '../types-PPshMWr7.cjs';
|
|
5
5
|
import 'zod';
|
|
6
6
|
|
|
7
7
|
declare class PopService {
|
|
8
8
|
private readonly factoryAddress;
|
|
9
9
|
constructor(config: ResolvedConfig);
|
|
10
10
|
private _collection;
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
createCollection(account: AccountInterface, params: CreatePopCollectionParams): Promise<TxResult>;
|
|
12
|
+
setAllowlistRoot(account: AccountInterface, params: {
|
|
13
13
|
collection: string;
|
|
14
|
-
|
|
15
|
-
customUri?: string;
|
|
14
|
+
root: string;
|
|
16
15
|
}): Promise<TxResult>;
|
|
17
|
-
|
|
16
|
+
claim(account: AccountInterface, params: {
|
|
18
17
|
collection: string;
|
|
19
|
-
|
|
18
|
+
proof: string[];
|
|
20
19
|
}): Promise<TxResult>;
|
|
21
|
-
|
|
20
|
+
issue(account: AccountInterface, params: {
|
|
22
21
|
collection: string;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
removeFromAllowlist(account: AccountInterface, params: {
|
|
26
|
-
collection: string;
|
|
27
|
-
address: string;
|
|
22
|
+
recipient: string;
|
|
23
|
+
tokenUri?: string;
|
|
28
24
|
}): Promise<TxResult>;
|
|
29
|
-
|
|
25
|
+
/** Destroys the caller's own credential; the address cannot receive another from this collection. */
|
|
26
|
+
burn(account: AccountInterface, params: {
|
|
30
27
|
collection: string;
|
|
31
28
|
tokenId: string | bigint;
|
|
32
|
-
uri: string;
|
|
33
|
-
}): Promise<TxResult>;
|
|
34
|
-
setPaused(account: AccountInterface, params: {
|
|
35
|
-
collection: string;
|
|
36
|
-
paused: boolean;
|
|
37
29
|
}): Promise<TxResult>;
|
|
38
|
-
createCollection(account: AccountInterface, params: CreatePopCollectionParams): Promise<TxResult>;
|
|
39
30
|
}
|
|
31
|
+
/** Whether `address` already holds this collection's credential (read from chain). */
|
|
32
|
+
declare function popHasClaimed(provider: Pick<ProviderInterface, "callContract">, collection: string, address: string): Promise<boolean>;
|
|
40
33
|
|
|
41
34
|
declare function toContractConditions(c: ClaimConditions): {
|
|
42
35
|
start_time: number;
|
|
@@ -831,236 +824,648 @@ declare const IPMarketplaceABI: readonly [{
|
|
|
831
824
|
}];
|
|
832
825
|
}, {
|
|
833
826
|
readonly type: "event";
|
|
834
|
-
readonly name: "medialane_marketplace_erc721::core::events::CounterIncremented";
|
|
827
|
+
readonly name: "medialane_marketplace_erc721::core::events::CounterIncremented";
|
|
828
|
+
readonly kind: "struct";
|
|
829
|
+
readonly members: readonly [{
|
|
830
|
+
readonly name: "offerer";
|
|
831
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
832
|
+
readonly kind: "key";
|
|
833
|
+
}, {
|
|
834
|
+
readonly name: "new_counter";
|
|
835
|
+
readonly type: "core::felt252";
|
|
836
|
+
readonly kind: "data";
|
|
837
|
+
}];
|
|
838
|
+
}, {
|
|
839
|
+
readonly type: "event";
|
|
840
|
+
readonly name: "medialane_marketplace_erc721::core::medialane::Medialane721::Event";
|
|
841
|
+
readonly kind: "enum";
|
|
842
|
+
readonly variants: readonly [{
|
|
843
|
+
readonly name: "OrderCreated";
|
|
844
|
+
readonly type: "medialane_marketplace_erc721::core::events::OrderCreated";
|
|
845
|
+
readonly kind: "nested";
|
|
846
|
+
}, {
|
|
847
|
+
readonly name: "OrderFulfilled";
|
|
848
|
+
readonly type: "medialane_marketplace_erc721::core::events::OrderFulfilled";
|
|
849
|
+
readonly kind: "nested";
|
|
850
|
+
}, {
|
|
851
|
+
readonly name: "OrderCancelled";
|
|
852
|
+
readonly type: "medialane_marketplace_erc721::core::events::OrderCancelled";
|
|
853
|
+
readonly kind: "nested";
|
|
854
|
+
}, {
|
|
855
|
+
readonly name: "CounterIncremented";
|
|
856
|
+
readonly type: "medialane_marketplace_erc721::core::events::CounterIncremented";
|
|
857
|
+
readonly kind: "nested";
|
|
858
|
+
}];
|
|
859
|
+
}];
|
|
860
|
+
|
|
861
|
+
declare const POPCollectionABI: readonly [{
|
|
862
|
+
readonly type: "impl";
|
|
863
|
+
readonly name: "ERC721Impl";
|
|
864
|
+
readonly interface_name: "openzeppelin_interfaces::token::erc721::IERC721";
|
|
865
|
+
}, {
|
|
866
|
+
readonly type: "struct";
|
|
867
|
+
readonly name: "core::integer::u256";
|
|
868
|
+
readonly members: readonly [{
|
|
869
|
+
readonly name: "low";
|
|
870
|
+
readonly type: "core::integer::u128";
|
|
871
|
+
}, {
|
|
872
|
+
readonly name: "high";
|
|
873
|
+
readonly type: "core::integer::u128";
|
|
874
|
+
}];
|
|
875
|
+
}, {
|
|
876
|
+
readonly type: "struct";
|
|
877
|
+
readonly name: "core::array::Span::<core::felt252>";
|
|
878
|
+
readonly members: readonly [{
|
|
879
|
+
readonly name: "snapshot";
|
|
880
|
+
readonly type: "@core::array::Array::<core::felt252>";
|
|
881
|
+
}];
|
|
882
|
+
}, {
|
|
883
|
+
readonly type: "enum";
|
|
884
|
+
readonly name: "core::bool";
|
|
885
|
+
readonly variants: readonly [{
|
|
886
|
+
readonly name: "False";
|
|
887
|
+
readonly type: "()";
|
|
888
|
+
}, {
|
|
889
|
+
readonly name: "True";
|
|
890
|
+
readonly type: "()";
|
|
891
|
+
}];
|
|
892
|
+
}, {
|
|
893
|
+
readonly type: "interface";
|
|
894
|
+
readonly name: "openzeppelin_interfaces::token::erc721::IERC721";
|
|
895
|
+
readonly items: readonly [{
|
|
896
|
+
readonly type: "function";
|
|
897
|
+
readonly name: "balance_of";
|
|
898
|
+
readonly inputs: readonly [{
|
|
899
|
+
readonly name: "account";
|
|
900
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
901
|
+
}];
|
|
902
|
+
readonly outputs: readonly [{
|
|
903
|
+
readonly type: "core::integer::u256";
|
|
904
|
+
}];
|
|
905
|
+
readonly state_mutability: "view";
|
|
906
|
+
}, {
|
|
907
|
+
readonly type: "function";
|
|
908
|
+
readonly name: "owner_of";
|
|
909
|
+
readonly inputs: readonly [{
|
|
910
|
+
readonly name: "token_id";
|
|
911
|
+
readonly type: "core::integer::u256";
|
|
912
|
+
}];
|
|
913
|
+
readonly outputs: readonly [{
|
|
914
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
915
|
+
}];
|
|
916
|
+
readonly state_mutability: "view";
|
|
917
|
+
}, {
|
|
918
|
+
readonly type: "function";
|
|
919
|
+
readonly name: "safe_transfer_from";
|
|
920
|
+
readonly inputs: readonly [{
|
|
921
|
+
readonly name: "from";
|
|
922
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
923
|
+
}, {
|
|
924
|
+
readonly name: "to";
|
|
925
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
926
|
+
}, {
|
|
927
|
+
readonly name: "token_id";
|
|
928
|
+
readonly type: "core::integer::u256";
|
|
929
|
+
}, {
|
|
930
|
+
readonly name: "data";
|
|
931
|
+
readonly type: "core::array::Span::<core::felt252>";
|
|
932
|
+
}];
|
|
933
|
+
readonly outputs: readonly [];
|
|
934
|
+
readonly state_mutability: "external";
|
|
935
|
+
}, {
|
|
936
|
+
readonly type: "function";
|
|
937
|
+
readonly name: "transfer_from";
|
|
938
|
+
readonly inputs: readonly [{
|
|
939
|
+
readonly name: "from";
|
|
940
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
941
|
+
}, {
|
|
942
|
+
readonly name: "to";
|
|
943
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
944
|
+
}, {
|
|
945
|
+
readonly name: "token_id";
|
|
946
|
+
readonly type: "core::integer::u256";
|
|
947
|
+
}];
|
|
948
|
+
readonly outputs: readonly [];
|
|
949
|
+
readonly state_mutability: "external";
|
|
950
|
+
}, {
|
|
951
|
+
readonly type: "function";
|
|
952
|
+
readonly name: "approve";
|
|
953
|
+
readonly inputs: readonly [{
|
|
954
|
+
readonly name: "to";
|
|
955
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
956
|
+
}, {
|
|
957
|
+
readonly name: "token_id";
|
|
958
|
+
readonly type: "core::integer::u256";
|
|
959
|
+
}];
|
|
960
|
+
readonly outputs: readonly [];
|
|
961
|
+
readonly state_mutability: "external";
|
|
962
|
+
}, {
|
|
963
|
+
readonly type: "function";
|
|
964
|
+
readonly name: "set_approval_for_all";
|
|
965
|
+
readonly inputs: readonly [{
|
|
966
|
+
readonly name: "operator";
|
|
967
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
968
|
+
}, {
|
|
969
|
+
readonly name: "approved";
|
|
970
|
+
readonly type: "core::bool";
|
|
971
|
+
}];
|
|
972
|
+
readonly outputs: readonly [];
|
|
973
|
+
readonly state_mutability: "external";
|
|
974
|
+
}, {
|
|
975
|
+
readonly type: "function";
|
|
976
|
+
readonly name: "get_approved";
|
|
977
|
+
readonly inputs: readonly [{
|
|
978
|
+
readonly name: "token_id";
|
|
979
|
+
readonly type: "core::integer::u256";
|
|
980
|
+
}];
|
|
981
|
+
readonly outputs: readonly [{
|
|
982
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
983
|
+
}];
|
|
984
|
+
readonly state_mutability: "view";
|
|
985
|
+
}, {
|
|
986
|
+
readonly type: "function";
|
|
987
|
+
readonly name: "is_approved_for_all";
|
|
988
|
+
readonly inputs: readonly [{
|
|
989
|
+
readonly name: "owner";
|
|
990
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
991
|
+
}, {
|
|
992
|
+
readonly name: "operator";
|
|
993
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
994
|
+
}];
|
|
995
|
+
readonly outputs: readonly [{
|
|
996
|
+
readonly type: "core::bool";
|
|
997
|
+
}];
|
|
998
|
+
readonly state_mutability: "view";
|
|
999
|
+
}];
|
|
1000
|
+
}, {
|
|
1001
|
+
readonly type: "impl";
|
|
1002
|
+
readonly name: "ERC721MetadataImpl";
|
|
1003
|
+
readonly interface_name: "openzeppelin_interfaces::token::erc721::IERC721Metadata";
|
|
1004
|
+
}, {
|
|
1005
|
+
readonly type: "struct";
|
|
1006
|
+
readonly name: "core::byte_array::ByteArray";
|
|
1007
|
+
readonly members: readonly [{
|
|
1008
|
+
readonly name: "data";
|
|
1009
|
+
readonly type: "core::array::Array::<core::bytes_31::bytes31>";
|
|
1010
|
+
}, {
|
|
1011
|
+
readonly name: "pending_word";
|
|
1012
|
+
readonly type: "core::felt252";
|
|
1013
|
+
}, {
|
|
1014
|
+
readonly name: "pending_word_len";
|
|
1015
|
+
readonly type: "core::internal::bounded_int::BoundedInt::<0, 30>";
|
|
1016
|
+
}];
|
|
1017
|
+
}, {
|
|
1018
|
+
readonly type: "interface";
|
|
1019
|
+
readonly name: "openzeppelin_interfaces::token::erc721::IERC721Metadata";
|
|
1020
|
+
readonly items: readonly [{
|
|
1021
|
+
readonly type: "function";
|
|
1022
|
+
readonly name: "name";
|
|
1023
|
+
readonly inputs: readonly [];
|
|
1024
|
+
readonly outputs: readonly [{
|
|
1025
|
+
readonly type: "core::byte_array::ByteArray";
|
|
1026
|
+
}];
|
|
1027
|
+
readonly state_mutability: "view";
|
|
1028
|
+
}, {
|
|
1029
|
+
readonly type: "function";
|
|
1030
|
+
readonly name: "symbol";
|
|
1031
|
+
readonly inputs: readonly [];
|
|
1032
|
+
readonly outputs: readonly [{
|
|
1033
|
+
readonly type: "core::byte_array::ByteArray";
|
|
1034
|
+
}];
|
|
1035
|
+
readonly state_mutability: "view";
|
|
1036
|
+
}, {
|
|
1037
|
+
readonly type: "function";
|
|
1038
|
+
readonly name: "token_uri";
|
|
1039
|
+
readonly inputs: readonly [{
|
|
1040
|
+
readonly name: "token_id";
|
|
1041
|
+
readonly type: "core::integer::u256";
|
|
1042
|
+
}];
|
|
1043
|
+
readonly outputs: readonly [{
|
|
1044
|
+
readonly type: "core::byte_array::ByteArray";
|
|
1045
|
+
}];
|
|
1046
|
+
readonly state_mutability: "view";
|
|
1047
|
+
}];
|
|
1048
|
+
}, {
|
|
1049
|
+
readonly type: "impl";
|
|
1050
|
+
readonly name: "ERC5192Impl";
|
|
1051
|
+
readonly interface_name: "pop_protocol::interfaces::IERC5192";
|
|
1052
|
+
}, {
|
|
1053
|
+
readonly type: "interface";
|
|
1054
|
+
readonly name: "pop_protocol::interfaces::IERC5192";
|
|
1055
|
+
readonly items: readonly [{
|
|
1056
|
+
readonly type: "function";
|
|
1057
|
+
readonly name: "locked";
|
|
1058
|
+
readonly inputs: readonly [{
|
|
1059
|
+
readonly name: "token_id";
|
|
1060
|
+
readonly type: "core::integer::u256";
|
|
1061
|
+
}];
|
|
1062
|
+
readonly outputs: readonly [{
|
|
1063
|
+
readonly type: "core::bool";
|
|
1064
|
+
}];
|
|
1065
|
+
readonly state_mutability: "view";
|
|
1066
|
+
}];
|
|
1067
|
+
}, {
|
|
1068
|
+
readonly type: "impl";
|
|
1069
|
+
readonly name: "POPCollectionImpl";
|
|
1070
|
+
readonly interface_name: "pop_protocol::interfaces::IPOPCollection";
|
|
1071
|
+
}, {
|
|
1072
|
+
readonly type: "interface";
|
|
1073
|
+
readonly name: "pop_protocol::interfaces::IPOPCollection";
|
|
1074
|
+
readonly items: readonly [{
|
|
1075
|
+
readonly type: "function";
|
|
1076
|
+
readonly name: "set_allowlist_root";
|
|
1077
|
+
readonly inputs: readonly [{
|
|
1078
|
+
readonly name: "root";
|
|
1079
|
+
readonly type: "core::felt252";
|
|
1080
|
+
}];
|
|
1081
|
+
readonly outputs: readonly [];
|
|
1082
|
+
readonly state_mutability: "external";
|
|
1083
|
+
}, {
|
|
1084
|
+
readonly type: "function";
|
|
1085
|
+
readonly name: "claim";
|
|
1086
|
+
readonly inputs: readonly [{
|
|
1087
|
+
readonly name: "proof";
|
|
1088
|
+
readonly type: "core::array::Span::<core::felt252>";
|
|
1089
|
+
}];
|
|
1090
|
+
readonly outputs: readonly [];
|
|
1091
|
+
readonly state_mutability: "external";
|
|
1092
|
+
}, {
|
|
1093
|
+
readonly type: "function";
|
|
1094
|
+
readonly name: "issue";
|
|
1095
|
+
readonly inputs: readonly [{
|
|
1096
|
+
readonly name: "recipient";
|
|
1097
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1098
|
+
}, {
|
|
1099
|
+
readonly name: "token_uri";
|
|
1100
|
+
readonly type: "core::byte_array::ByteArray";
|
|
1101
|
+
}];
|
|
1102
|
+
readonly outputs: readonly [];
|
|
1103
|
+
readonly state_mutability: "external";
|
|
1104
|
+
}, {
|
|
1105
|
+
readonly type: "function";
|
|
1106
|
+
readonly name: "burn";
|
|
1107
|
+
readonly inputs: readonly [{
|
|
1108
|
+
readonly name: "token_id";
|
|
1109
|
+
readonly type: "core::integer::u256";
|
|
1110
|
+
}];
|
|
1111
|
+
readonly outputs: readonly [];
|
|
1112
|
+
readonly state_mutability: "external";
|
|
1113
|
+
}, {
|
|
1114
|
+
readonly type: "function";
|
|
1115
|
+
readonly name: "organizer";
|
|
1116
|
+
readonly inputs: readonly [];
|
|
1117
|
+
readonly outputs: readonly [{
|
|
1118
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1119
|
+
}];
|
|
1120
|
+
readonly state_mutability: "view";
|
|
1121
|
+
}, {
|
|
1122
|
+
readonly type: "function";
|
|
1123
|
+
readonly name: "allowlist_root";
|
|
1124
|
+
readonly inputs: readonly [];
|
|
1125
|
+
readonly outputs: readonly [{
|
|
1126
|
+
readonly type: "core::felt252";
|
|
1127
|
+
}];
|
|
1128
|
+
readonly state_mutability: "view";
|
|
1129
|
+
}, {
|
|
1130
|
+
readonly type: "function";
|
|
1131
|
+
readonly name: "claim_end_time";
|
|
1132
|
+
readonly inputs: readonly [];
|
|
1133
|
+
readonly outputs: readonly [{
|
|
1134
|
+
readonly type: "core::integer::u64";
|
|
1135
|
+
}];
|
|
1136
|
+
readonly state_mutability: "view";
|
|
1137
|
+
}, {
|
|
1138
|
+
readonly type: "function";
|
|
1139
|
+
readonly name: "has_claimed";
|
|
1140
|
+
readonly inputs: readonly [{
|
|
1141
|
+
readonly name: "address";
|
|
1142
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1143
|
+
}];
|
|
1144
|
+
readonly outputs: readonly [{
|
|
1145
|
+
readonly type: "core::bool";
|
|
1146
|
+
}];
|
|
1147
|
+
readonly state_mutability: "view";
|
|
1148
|
+
}, {
|
|
1149
|
+
readonly type: "function";
|
|
1150
|
+
readonly name: "total_issued";
|
|
1151
|
+
readonly inputs: readonly [];
|
|
1152
|
+
readonly outputs: readonly [{
|
|
1153
|
+
readonly type: "core::integer::u256";
|
|
1154
|
+
}];
|
|
1155
|
+
readonly state_mutability: "view";
|
|
1156
|
+
}, {
|
|
1157
|
+
readonly type: "function";
|
|
1158
|
+
readonly name: "version";
|
|
1159
|
+
readonly inputs: readonly [];
|
|
1160
|
+
readonly outputs: readonly [{
|
|
1161
|
+
readonly type: "core::felt252";
|
|
1162
|
+
}];
|
|
1163
|
+
readonly state_mutability: "view";
|
|
1164
|
+
}];
|
|
1165
|
+
}, {
|
|
1166
|
+
readonly type: "impl";
|
|
1167
|
+
readonly name: "SRC5Impl";
|
|
1168
|
+
readonly interface_name: "openzeppelin_interfaces::introspection::ISRC5";
|
|
1169
|
+
}, {
|
|
1170
|
+
readonly type: "interface";
|
|
1171
|
+
readonly name: "openzeppelin_interfaces::introspection::ISRC5";
|
|
1172
|
+
readonly items: readonly [{
|
|
1173
|
+
readonly type: "function";
|
|
1174
|
+
readonly name: "supports_interface";
|
|
1175
|
+
readonly inputs: readonly [{
|
|
1176
|
+
readonly name: "interface_id";
|
|
1177
|
+
readonly type: "core::felt252";
|
|
1178
|
+
}];
|
|
1179
|
+
readonly outputs: readonly [{
|
|
1180
|
+
readonly type: "core::bool";
|
|
1181
|
+
}];
|
|
1182
|
+
readonly state_mutability: "view";
|
|
1183
|
+
}];
|
|
1184
|
+
}, {
|
|
1185
|
+
readonly type: "constructor";
|
|
1186
|
+
readonly name: "constructor";
|
|
1187
|
+
readonly inputs: readonly [{
|
|
1188
|
+
readonly name: "name";
|
|
1189
|
+
readonly type: "core::byte_array::ByteArray";
|
|
1190
|
+
}, {
|
|
1191
|
+
readonly name: "symbol";
|
|
1192
|
+
readonly type: "core::byte_array::ByteArray";
|
|
1193
|
+
}, {
|
|
1194
|
+
readonly name: "base_uri";
|
|
1195
|
+
readonly type: "core::byte_array::ByteArray";
|
|
1196
|
+
}, {
|
|
1197
|
+
readonly name: "organizer";
|
|
1198
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1199
|
+
}, {
|
|
1200
|
+
readonly name: "claim_end_time";
|
|
1201
|
+
readonly type: "core::integer::u64";
|
|
1202
|
+
}];
|
|
1203
|
+
}, {
|
|
1204
|
+
readonly type: "event";
|
|
1205
|
+
readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::Transfer";
|
|
1206
|
+
readonly kind: "struct";
|
|
1207
|
+
readonly members: readonly [{
|
|
1208
|
+
readonly name: "from";
|
|
1209
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1210
|
+
readonly kind: "key";
|
|
1211
|
+
}, {
|
|
1212
|
+
readonly name: "to";
|
|
1213
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1214
|
+
readonly kind: "key";
|
|
1215
|
+
}, {
|
|
1216
|
+
readonly name: "token_id";
|
|
1217
|
+
readonly type: "core::integer::u256";
|
|
1218
|
+
readonly kind: "key";
|
|
1219
|
+
}];
|
|
1220
|
+
}, {
|
|
1221
|
+
readonly type: "event";
|
|
1222
|
+
readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::Approval";
|
|
1223
|
+
readonly kind: "struct";
|
|
1224
|
+
readonly members: readonly [{
|
|
1225
|
+
readonly name: "owner";
|
|
1226
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1227
|
+
readonly kind: "key";
|
|
1228
|
+
}, {
|
|
1229
|
+
readonly name: "approved";
|
|
1230
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1231
|
+
readonly kind: "key";
|
|
1232
|
+
}, {
|
|
1233
|
+
readonly name: "token_id";
|
|
1234
|
+
readonly type: "core::integer::u256";
|
|
1235
|
+
readonly kind: "key";
|
|
1236
|
+
}];
|
|
1237
|
+
}, {
|
|
1238
|
+
readonly type: "event";
|
|
1239
|
+
readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::ApprovalForAll";
|
|
1240
|
+
readonly kind: "struct";
|
|
1241
|
+
readonly members: readonly [{
|
|
1242
|
+
readonly name: "owner";
|
|
1243
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1244
|
+
readonly kind: "key";
|
|
1245
|
+
}, {
|
|
1246
|
+
readonly name: "operator";
|
|
1247
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1248
|
+
readonly kind: "key";
|
|
1249
|
+
}, {
|
|
1250
|
+
readonly name: "approved";
|
|
1251
|
+
readonly type: "core::bool";
|
|
1252
|
+
readonly kind: "data";
|
|
1253
|
+
}];
|
|
1254
|
+
}, {
|
|
1255
|
+
readonly type: "event";
|
|
1256
|
+
readonly name: "openzeppelin_token::erc721::erc721::ERC721Component::Event";
|
|
1257
|
+
readonly kind: "enum";
|
|
1258
|
+
readonly variants: readonly [{
|
|
1259
|
+
readonly name: "Transfer";
|
|
1260
|
+
readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::Transfer";
|
|
1261
|
+
readonly kind: "nested";
|
|
1262
|
+
}, {
|
|
1263
|
+
readonly name: "Approval";
|
|
1264
|
+
readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::Approval";
|
|
1265
|
+
readonly kind: "nested";
|
|
1266
|
+
}, {
|
|
1267
|
+
readonly name: "ApprovalForAll";
|
|
1268
|
+
readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::ApprovalForAll";
|
|
1269
|
+
readonly kind: "nested";
|
|
1270
|
+
}];
|
|
1271
|
+
}, {
|
|
1272
|
+
readonly type: "event";
|
|
1273
|
+
readonly name: "openzeppelin_introspection::src5::SRC5Component::Event";
|
|
1274
|
+
readonly kind: "enum";
|
|
1275
|
+
readonly variants: readonly [];
|
|
1276
|
+
}, {
|
|
1277
|
+
readonly type: "event";
|
|
1278
|
+
readonly name: "pop_protocol::events::AllowlistRootSet";
|
|
1279
|
+
readonly kind: "struct";
|
|
1280
|
+
readonly members: readonly [{
|
|
1281
|
+
readonly name: "root";
|
|
1282
|
+
readonly type: "core::felt252";
|
|
1283
|
+
readonly kind: "data";
|
|
1284
|
+
}];
|
|
1285
|
+
}, {
|
|
1286
|
+
readonly type: "event";
|
|
1287
|
+
readonly name: "pop_protocol::events::TokenURISet";
|
|
1288
|
+
readonly kind: "struct";
|
|
1289
|
+
readonly members: readonly [{
|
|
1290
|
+
readonly name: "token_id";
|
|
1291
|
+
readonly type: "core::integer::u256";
|
|
1292
|
+
readonly kind: "key";
|
|
1293
|
+
}, {
|
|
1294
|
+
readonly name: "uri";
|
|
1295
|
+
readonly type: "core::byte_array::ByteArray";
|
|
1296
|
+
readonly kind: "data";
|
|
1297
|
+
}];
|
|
1298
|
+
}, {
|
|
1299
|
+
readonly type: "event";
|
|
1300
|
+
readonly name: "pop_protocol::events::Locked";
|
|
835
1301
|
readonly kind: "struct";
|
|
836
1302
|
readonly members: readonly [{
|
|
837
|
-
readonly name: "
|
|
838
|
-
readonly type: "core::
|
|
839
|
-
readonly kind: "key";
|
|
840
|
-
}, {
|
|
841
|
-
readonly name: "new_counter";
|
|
842
|
-
readonly type: "core::felt252";
|
|
1303
|
+
readonly name: "token_id";
|
|
1304
|
+
readonly type: "core::integer::u256";
|
|
843
1305
|
readonly kind: "data";
|
|
844
1306
|
}];
|
|
845
1307
|
}, {
|
|
846
1308
|
readonly type: "event";
|
|
847
|
-
readonly name: "
|
|
1309
|
+
readonly name: "pop_protocol::pop_collection::POPCollection::Event";
|
|
848
1310
|
readonly kind: "enum";
|
|
849
1311
|
readonly variants: readonly [{
|
|
850
|
-
readonly name: "
|
|
851
|
-
readonly type: "
|
|
852
|
-
readonly kind: "
|
|
1312
|
+
readonly name: "ERC721Event";
|
|
1313
|
+
readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::Event";
|
|
1314
|
+
readonly kind: "flat";
|
|
853
1315
|
}, {
|
|
854
|
-
readonly name: "
|
|
855
|
-
readonly type: "
|
|
1316
|
+
readonly name: "SRC5Event";
|
|
1317
|
+
readonly type: "openzeppelin_introspection::src5::SRC5Component::Event";
|
|
1318
|
+
readonly kind: "flat";
|
|
1319
|
+
}, {
|
|
1320
|
+
readonly name: "AllowlistRootSet";
|
|
1321
|
+
readonly type: "pop_protocol::events::AllowlistRootSet";
|
|
856
1322
|
readonly kind: "nested";
|
|
857
1323
|
}, {
|
|
858
|
-
readonly name: "
|
|
859
|
-
readonly type: "
|
|
1324
|
+
readonly name: "TokenURISet";
|
|
1325
|
+
readonly type: "pop_protocol::events::TokenURISet";
|
|
860
1326
|
readonly kind: "nested";
|
|
861
1327
|
}, {
|
|
862
|
-
readonly name: "
|
|
863
|
-
readonly type: "
|
|
1328
|
+
readonly name: "Locked";
|
|
1329
|
+
readonly type: "pop_protocol::events::Locked";
|
|
864
1330
|
readonly kind: "nested";
|
|
865
1331
|
}];
|
|
866
1332
|
}];
|
|
867
1333
|
|
|
868
|
-
declare const
|
|
1334
|
+
declare const POPFactoryABI: readonly [{
|
|
1335
|
+
readonly type: "impl";
|
|
1336
|
+
readonly name: "POPFactoryImpl";
|
|
1337
|
+
readonly interface_name: "pop_protocol::interfaces::IPOPFactory";
|
|
1338
|
+
}, {
|
|
869
1339
|
readonly type: "struct";
|
|
870
1340
|
readonly name: "core::byte_array::ByteArray";
|
|
871
1341
|
readonly members: readonly [{
|
|
872
1342
|
readonly name: "data";
|
|
873
|
-
readonly type: "core::array::Array::<core::
|
|
1343
|
+
readonly type: "core::array::Array::<core::bytes_31::bytes31>";
|
|
874
1344
|
}, {
|
|
875
1345
|
readonly name: "pending_word";
|
|
876
1346
|
readonly type: "core::felt252";
|
|
877
1347
|
}, {
|
|
878
1348
|
readonly name: "pending_word_len";
|
|
879
|
-
readonly type: "core::
|
|
1349
|
+
readonly type: "core::internal::bounded_int::BoundedInt::<0, 30>";
|
|
880
1350
|
}];
|
|
881
1351
|
}, {
|
|
882
|
-
readonly type: "
|
|
883
|
-
readonly name: "
|
|
884
|
-
readonly
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
}, {
|
|
888
|
-
readonly type: "function";
|
|
889
|
-
readonly name: "admin_mint";
|
|
890
|
-
readonly inputs: readonly [{
|
|
891
|
-
readonly name: "recipient";
|
|
892
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1352
|
+
readonly type: "struct";
|
|
1353
|
+
readonly name: "core::integer::u256";
|
|
1354
|
+
readonly members: readonly [{
|
|
1355
|
+
readonly name: "low";
|
|
1356
|
+
readonly type: "core::integer::u128";
|
|
893
1357
|
}, {
|
|
894
|
-
readonly name: "
|
|
895
|
-
readonly type: "core::
|
|
896
|
-
}];
|
|
897
|
-
readonly outputs: readonly [];
|
|
898
|
-
readonly state_mutability: "external";
|
|
899
|
-
}, {
|
|
900
|
-
readonly type: "function";
|
|
901
|
-
readonly name: "add_to_allowlist";
|
|
902
|
-
readonly inputs: readonly [{
|
|
903
|
-
readonly name: "address";
|
|
904
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
905
|
-
}];
|
|
906
|
-
readonly outputs: readonly [];
|
|
907
|
-
readonly state_mutability: "external";
|
|
908
|
-
}, {
|
|
909
|
-
readonly type: "function";
|
|
910
|
-
readonly name: "batch_add_to_allowlist";
|
|
911
|
-
readonly inputs: readonly [{
|
|
912
|
-
readonly name: "addresses";
|
|
913
|
-
readonly type: "core::array::Array::<core::starknet::contract_address::ContractAddress>";
|
|
914
|
-
}];
|
|
915
|
-
readonly outputs: readonly [];
|
|
916
|
-
readonly state_mutability: "external";
|
|
917
|
-
}, {
|
|
918
|
-
readonly type: "function";
|
|
919
|
-
readonly name: "remove_from_allowlist";
|
|
920
|
-
readonly inputs: readonly [{
|
|
921
|
-
readonly name: "address";
|
|
922
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1358
|
+
readonly name: "high";
|
|
1359
|
+
readonly type: "core::integer::u128";
|
|
923
1360
|
}];
|
|
924
|
-
readonly outputs: readonly [];
|
|
925
|
-
readonly state_mutability: "external";
|
|
926
1361
|
}, {
|
|
927
|
-
readonly type: "
|
|
928
|
-
readonly name: "
|
|
929
|
-
readonly
|
|
930
|
-
readonly
|
|
931
|
-
readonly
|
|
1362
|
+
readonly type: "interface";
|
|
1363
|
+
readonly name: "pop_protocol::interfaces::IPOPFactory";
|
|
1364
|
+
readonly items: readonly [{
|
|
1365
|
+
readonly type: "function";
|
|
1366
|
+
readonly name: "create_collection";
|
|
1367
|
+
readonly inputs: readonly [{
|
|
1368
|
+
readonly name: "name";
|
|
1369
|
+
readonly type: "core::byte_array::ByteArray";
|
|
1370
|
+
}, {
|
|
1371
|
+
readonly name: "symbol";
|
|
1372
|
+
readonly type: "core::byte_array::ByteArray";
|
|
1373
|
+
}, {
|
|
1374
|
+
readonly name: "base_uri";
|
|
1375
|
+
readonly type: "core::byte_array::ByteArray";
|
|
1376
|
+
}, {
|
|
1377
|
+
readonly name: "claim_end_time";
|
|
1378
|
+
readonly type: "core::integer::u64";
|
|
1379
|
+
}];
|
|
1380
|
+
readonly outputs: readonly [{
|
|
1381
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1382
|
+
}];
|
|
1383
|
+
readonly state_mutability: "external";
|
|
932
1384
|
}, {
|
|
933
|
-
readonly
|
|
934
|
-
readonly
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
}
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
readonly
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
readonly type: "
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
readonly
|
|
1385
|
+
readonly type: "function";
|
|
1386
|
+
readonly name: "get_collection_address";
|
|
1387
|
+
readonly inputs: readonly [{
|
|
1388
|
+
readonly name: "collection_id";
|
|
1389
|
+
readonly type: "core::integer::u256";
|
|
1390
|
+
}];
|
|
1391
|
+
readonly outputs: readonly [{
|
|
1392
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1393
|
+
}];
|
|
1394
|
+
readonly state_mutability: "view";
|
|
1395
|
+
}, {
|
|
1396
|
+
readonly type: "function";
|
|
1397
|
+
readonly name: "get_last_collection_id";
|
|
1398
|
+
readonly inputs: readonly [];
|
|
1399
|
+
readonly outputs: readonly [{
|
|
1400
|
+
readonly type: "core::integer::u256";
|
|
1401
|
+
}];
|
|
1402
|
+
readonly state_mutability: "view";
|
|
1403
|
+
}, {
|
|
1404
|
+
readonly type: "function";
|
|
1405
|
+
readonly name: "get_collection_class_hash";
|
|
1406
|
+
readonly inputs: readonly [];
|
|
1407
|
+
readonly outputs: readonly [{
|
|
1408
|
+
readonly type: "core::starknet::class_hash::ClassHash";
|
|
1409
|
+
}];
|
|
1410
|
+
readonly state_mutability: "view";
|
|
1411
|
+
}, {
|
|
1412
|
+
readonly type: "function";
|
|
1413
|
+
readonly name: "version";
|
|
1414
|
+
readonly inputs: readonly [];
|
|
1415
|
+
readonly outputs: readonly [{
|
|
1416
|
+
readonly type: "core::felt252";
|
|
1417
|
+
}];
|
|
1418
|
+
readonly state_mutability: "view";
|
|
956
1419
|
}];
|
|
957
|
-
readonly state_mutability: "view";
|
|
958
1420
|
}, {
|
|
959
|
-
readonly type: "
|
|
960
|
-
readonly name: "
|
|
1421
|
+
readonly type: "constructor";
|
|
1422
|
+
readonly name: "constructor";
|
|
961
1423
|
readonly inputs: readonly [{
|
|
962
|
-
readonly name: "
|
|
963
|
-
readonly type: "core::starknet::
|
|
964
|
-
}];
|
|
965
|
-
readonly outputs: readonly [{
|
|
966
|
-
readonly type: "core::bool";
|
|
1424
|
+
readonly name: "collection_class_hash";
|
|
1425
|
+
readonly type: "core::starknet::class_hash::ClassHash";
|
|
967
1426
|
}];
|
|
968
|
-
readonly state_mutability: "view";
|
|
969
1427
|
}, {
|
|
970
|
-
readonly type: "
|
|
971
|
-
readonly name: "
|
|
972
|
-
readonly
|
|
973
|
-
readonly outputs: readonly [{
|
|
974
|
-
readonly type: "core::integer::u256";
|
|
975
|
-
}];
|
|
976
|
-
readonly state_mutability: "view";
|
|
977
|
-
}];
|
|
978
|
-
|
|
979
|
-
declare const POPFactoryABI: readonly [{
|
|
980
|
-
readonly type: "struct";
|
|
981
|
-
readonly name: "core::byte_array::ByteArray";
|
|
1428
|
+
readonly type: "event";
|
|
1429
|
+
readonly name: "pop_protocol::events::CollectionCreated";
|
|
1430
|
+
readonly kind: "struct";
|
|
982
1431
|
readonly members: readonly [{
|
|
983
|
-
readonly name: "
|
|
984
|
-
readonly type: "core::
|
|
985
|
-
|
|
986
|
-
readonly name: "pending_word";
|
|
987
|
-
readonly type: "core::felt252";
|
|
988
|
-
}, {
|
|
989
|
-
readonly name: "pending_word_len";
|
|
990
|
-
readonly type: "core::integer::u32";
|
|
991
|
-
}];
|
|
992
|
-
}, {
|
|
993
|
-
readonly type: "enum";
|
|
994
|
-
readonly name: "pop_protocol::types::EventType";
|
|
995
|
-
readonly variants: readonly [{
|
|
996
|
-
readonly name: "Conference";
|
|
997
|
-
readonly type: "()";
|
|
998
|
-
}, {
|
|
999
|
-
readonly name: "Bootcamp";
|
|
1000
|
-
readonly type: "()";
|
|
1001
|
-
}, {
|
|
1002
|
-
readonly name: "Workshop";
|
|
1003
|
-
readonly type: "()";
|
|
1004
|
-
}, {
|
|
1005
|
-
readonly name: "Hackathon";
|
|
1006
|
-
readonly type: "()";
|
|
1432
|
+
readonly name: "collection_id";
|
|
1433
|
+
readonly type: "core::integer::u256";
|
|
1434
|
+
readonly kind: "key";
|
|
1007
1435
|
}, {
|
|
1008
|
-
readonly name: "
|
|
1009
|
-
readonly type: "
|
|
1436
|
+
readonly name: "organizer";
|
|
1437
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1438
|
+
readonly kind: "key";
|
|
1010
1439
|
}, {
|
|
1011
|
-
readonly name: "
|
|
1012
|
-
readonly type: "
|
|
1440
|
+
readonly name: "collection_address";
|
|
1441
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1442
|
+
readonly kind: "data";
|
|
1013
1443
|
}, {
|
|
1014
|
-
readonly name: "Other";
|
|
1015
|
-
readonly type: "()";
|
|
1016
|
-
}];
|
|
1017
|
-
}, {
|
|
1018
|
-
readonly type: "function";
|
|
1019
|
-
readonly name: "create_collection";
|
|
1020
|
-
readonly inputs: readonly [{
|
|
1021
1444
|
readonly name: "name";
|
|
1022
1445
|
readonly type: "core::byte_array::ByteArray";
|
|
1446
|
+
readonly kind: "data";
|
|
1023
1447
|
}, {
|
|
1024
1448
|
readonly name: "symbol";
|
|
1025
1449
|
readonly type: "core::byte_array::ByteArray";
|
|
1450
|
+
readonly kind: "data";
|
|
1026
1451
|
}, {
|
|
1027
1452
|
readonly name: "base_uri";
|
|
1028
1453
|
readonly type: "core::byte_array::ByteArray";
|
|
1454
|
+
readonly kind: "data";
|
|
1029
1455
|
}, {
|
|
1030
1456
|
readonly name: "claim_end_time";
|
|
1031
1457
|
readonly type: "core::integer::u64";
|
|
1032
|
-
|
|
1033
|
-
readonly name: "event_type";
|
|
1034
|
-
readonly type: "pop_protocol::types::EventType";
|
|
1035
|
-
}];
|
|
1036
|
-
readonly outputs: readonly [{
|
|
1037
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1038
|
-
}];
|
|
1039
|
-
readonly state_mutability: "external";
|
|
1040
|
-
}, {
|
|
1041
|
-
readonly type: "function";
|
|
1042
|
-
readonly name: "register_provider";
|
|
1043
|
-
readonly inputs: readonly [{
|
|
1044
|
-
readonly name: "provider";
|
|
1045
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
1046
|
-
}, {
|
|
1047
|
-
readonly name: "name";
|
|
1048
|
-
readonly type: "core::byte_array::ByteArray";
|
|
1049
|
-
}, {
|
|
1050
|
-
readonly name: "website_url";
|
|
1051
|
-
readonly type: "core::byte_array::ByteArray";
|
|
1458
|
+
readonly kind: "data";
|
|
1052
1459
|
}];
|
|
1053
|
-
readonly outputs: readonly [];
|
|
1054
|
-
readonly state_mutability: "external";
|
|
1055
1460
|
}, {
|
|
1056
|
-
readonly type: "
|
|
1057
|
-
readonly name: "
|
|
1058
|
-
readonly
|
|
1059
|
-
|
|
1060
|
-
readonly
|
|
1461
|
+
readonly type: "event";
|
|
1462
|
+
readonly name: "pop_protocol::pop_factory::POPFactory::Event";
|
|
1463
|
+
readonly kind: "enum";
|
|
1464
|
+
readonly variants: readonly [{
|
|
1465
|
+
readonly name: "CollectionCreated";
|
|
1466
|
+
readonly type: "pop_protocol::events::CollectionCreated";
|
|
1467
|
+
readonly kind: "nested";
|
|
1061
1468
|
}];
|
|
1062
|
-
readonly outputs: readonly [];
|
|
1063
|
-
readonly state_mutability: "external";
|
|
1064
1469
|
}];
|
|
1065
1470
|
|
|
1066
1471
|
declare const DropCollectionABI: readonly [{
|
|
@@ -7784,6 +8189,19 @@ declare function executeIntents(provider: ReceiptProvider, signer: StarknetVenue
|
|
|
7784
8189
|
receipt: ReceiptLike;
|
|
7785
8190
|
}>;
|
|
7786
8191
|
|
|
8192
|
+
interface PopAllowlist {
|
|
8193
|
+
/** Merkle root to publish with `set_allowlist_root`. */
|
|
8194
|
+
root: string;
|
|
8195
|
+
/** Proof per address, keyed by normalized Starknet address. */
|
|
8196
|
+
proofs: Record<string, string[]>;
|
|
8197
|
+
}
|
|
8198
|
+
declare function buildPopAllowlist(addresses: string[]): PopAllowlist;
|
|
8199
|
+
/** True when `proof` places `address` under `root` — checked before sending a claim. */
|
|
8200
|
+
declare function verifyPopProof(root: string, address: string, proof: string[]): boolean;
|
|
8201
|
+
declare function encodePopClaimFragment(proof: string[]): string;
|
|
8202
|
+
/** The proof in a claim link's fragment; `null` when absent or malformed. */
|
|
8203
|
+
declare function decodePopClaimFragment(fragment: string): string[] | null;
|
|
8204
|
+
|
|
7787
8205
|
declare const SUGGESTED_DEFAULT_PRICE = 0.01;
|
|
7788
8206
|
declare const MIN_SUPPLY = 1000n;
|
|
7789
8207
|
declare const MAX_SUPPLY = 1000000000000n;
|
|
@@ -8064,4 +8482,4 @@ declare function claimSessionWallet(api: Pick<ApiClient, "setupWalletKey">, wall
|
|
|
8064
8482
|
|
|
8065
8483
|
type StarknetVenueSigner = VenueSigner<TypedData, Call>;
|
|
8066
8484
|
|
|
8067
|
-
export { type AddSupplyParams, type BatchMintEditionParams, type BuildFeeCallParams, MAX_SUPPLY as COIN_MAX_SUPPLY, MIN_SUPPLY as COIN_MIN_SUPPLY, ClaimConditions, ClubService, type CreateCreatorCoinParams, CreateDropParams, CreatePopCollectionParams, CreatedOwner, CreatorCoinFactoryABI, type CreatorCoinGuarantees, type CreatorCoinReceiptLike, CreatorCoinService, type DeployCollectionParams, type DeployingServiceId, type DeploymentCoordinator, type DeploymentDeps, type DeploymentResult, type DeploymentStep, type DeviceEntry, DropCollectionABI, DropFactoryABI, DropService, ERC1155CollectionService, type EkuboLaunchParams, type EkuboPoolParams, type EscapeInfo, type EscapeStatusName, type EscapeTypeName, type ExecuteIntentOpts, ExecutedTransaction, type FeeSurface, type FundWithTransferOptions, type FundingApi, type FundingResult, type FundingStep, type FundingTransferCall, FundingTransferNotSentError, type FundingWallet, type GuardianInfo, type GuardianStatus, IPClubCollectionABI, IPClubFactoryABI, IPCollection1155ABI, IPCollection1155FactoryABI, IPCollectionABI, IPGenesisABI, IPMarketplaceABI, IPNftABI, IPSponsorshipABI, IPTicketCollectionABI, IPTicketCollectionFactoryABI, InvalidPairingPayloadError, InvalidStarkPrivateKeyError, MAX_HOLDERS_AT_LAUNCH, MAX_TEAM_ALLOCATION_PERCENT, type MediaWallet, type MediaWalletConfig, Medialane1155ABI, MedialaneClient, MedialaneError, type MintEditionParams, type OwnerStore, POPCollectionABI, POPFactoryABI, type PairingPayload, PasskeyOwner, PopService, type ReceiptLike, type ReceiptProvider, ReceiptProviderLike, type RecoveryAction, type RequestSiwsTokenArgs, type ResolvedOrder, SUGGESTED_DEFAULT_PRICE, SealedOwner, type SelfFundConsent, type SelfFundConsentHandler, type SelfFundFeeEstimate, type SelfFundedDeps, type SessionWallet, type SessionWalletClaimDeps, type SiwsSigner, SponsoredCallRejectedError, type SponsoredDeps, type SponsoredExecuteConfig, type SponsoredExecuteResult, type SponsorshipFailureCode, SponsorshipService, StarknetVenue, type StarknetVenueDeps, type StarknetVenueSigner, TicketService, type TypedDataSigner, VALIDATED_EKUBO_PARAMS, VenueSigner, WalletExecutor, accountFor, adoptSessionWallet, allowsFallbackFunding, assertTransactionSucceeded, build1155CancellationTypedData, build1155OrderTypedData, buildAddOwnerCall, buildCancelEscapeCall, buildCancellationTypedData, buildCompleteEscapeOwnerCall, buildCreateCreatorCoinCall, buildDeployAccountParams, buildFeeCall, buildFundingTransferCall, buildLaunchOnEkuboCalls, buildOrderTypedData, buildRemoveOwnerByGuidCall, buildRemoveOwnerCall, buildSetFirstGuardianCall, buildTriggerEscapeOwnerCall, buybackQuoteRaw, canRemoveDevice, claimSessionWallet, toRaw as coinToRaw, completeDeployment, computeAccountAddress, computeOwnerGuid, confirmIntentBestEffort, createDeploymentCoordinator, createMediaWallet, createOwnerStore, createSelfFundConsent, decodeEscapeAndStatus, decodeGuardiansInfo, deploySelfFunded, deploySponsored, deployedCollectionFromReceipt, deriveAesKey, deriveOwnerKeyPair, describeDevices, describeGuardianStatus, describeRecoveryAction, encodeByteArray, encodePairingPayload, estimateSelfFundedFee, executeIntent, executeIntents, executeSponsored, fdvHuman, fundWithChainTransfer, fundingApiFor, generateStarkKeyPair, getCounter, getCounter1155, getCreatorCoinGuarantees, getEscape, getEscapeSecurityPeriod, getGuardians, getOrderDetails, getOrderDetails1155, getOwners, getSiwsStorageKey, getStoredSiwsToken, isDeployed, isSiwsTokenValid, isValidStarknetAddress, mintedTokenIdFromReceipt, normalizeSiwsSignature, normalizeWalletAddress, ownerConstructorCalldata, parseAccountAddress, parseCreatorCoinCreated, parsePairingPayload, priceToEkuboParams, requestSiwsToken, sealPrivateKey, selfFundedExecutor, signWithPrivateKey, sponsoredExecutor, starkKeyPairFromPrivateKey, storeSiwsToken, syncTransactionBestEffort, teamCoinsRaw, toContractConditions as toDropContractConditions, unsealPrivateKey, validateName as validateCoinName, validateSupply as validateCoinSupply, validateSymbol as validateCoinSymbol, validatePrice, waitUntilDeployed };
|
|
8485
|
+
export { type AddSupplyParams, type BatchMintEditionParams, type BuildFeeCallParams, MAX_SUPPLY as COIN_MAX_SUPPLY, MIN_SUPPLY as COIN_MIN_SUPPLY, ClaimConditions, ClubService, type CreateCreatorCoinParams, CreateDropParams, CreatePopCollectionParams, CreatedOwner, CreatorCoinFactoryABI, type CreatorCoinGuarantees, type CreatorCoinReceiptLike, CreatorCoinService, type DeployCollectionParams, type DeployingServiceId, type DeploymentCoordinator, type DeploymentDeps, type DeploymentResult, type DeploymentStep, type DeviceEntry, DropCollectionABI, DropFactoryABI, DropService, ERC1155CollectionService, type EkuboLaunchParams, type EkuboPoolParams, type EscapeInfo, type EscapeStatusName, type EscapeTypeName, type ExecuteIntentOpts, ExecutedTransaction, type FeeSurface, type FundWithTransferOptions, type FundingApi, type FundingResult, type FundingStep, type FundingTransferCall, FundingTransferNotSentError, type FundingWallet, type GuardianInfo, type GuardianStatus, IPClubCollectionABI, IPClubFactoryABI, IPCollection1155ABI, IPCollection1155FactoryABI, IPCollectionABI, IPGenesisABI, IPMarketplaceABI, IPNftABI, IPSponsorshipABI, IPTicketCollectionABI, IPTicketCollectionFactoryABI, InvalidPairingPayloadError, InvalidStarkPrivateKeyError, MAX_HOLDERS_AT_LAUNCH, MAX_TEAM_ALLOCATION_PERCENT, type MediaWallet, type MediaWalletConfig, Medialane1155ABI, MedialaneClient, MedialaneError, type MintEditionParams, type OwnerStore, POPCollectionABI, POPFactoryABI, type PairingPayload, PasskeyOwner, type PopAllowlist, PopService, type ReceiptLike, type ReceiptProvider, ReceiptProviderLike, type RecoveryAction, type RequestSiwsTokenArgs, type ResolvedOrder, SUGGESTED_DEFAULT_PRICE, SealedOwner, type SelfFundConsent, type SelfFundConsentHandler, type SelfFundFeeEstimate, type SelfFundedDeps, type SessionWallet, type SessionWalletClaimDeps, type SiwsSigner, SponsoredCallRejectedError, type SponsoredDeps, type SponsoredExecuteConfig, type SponsoredExecuteResult, type SponsorshipFailureCode, SponsorshipService, StarknetVenue, type StarknetVenueDeps, type StarknetVenueSigner, TicketService, type TypedDataSigner, VALIDATED_EKUBO_PARAMS, VenueSigner, WalletExecutor, accountFor, adoptSessionWallet, allowsFallbackFunding, assertTransactionSucceeded, build1155CancellationTypedData, build1155OrderTypedData, buildAddOwnerCall, buildCancelEscapeCall, buildCancellationTypedData, buildCompleteEscapeOwnerCall, buildCreateCreatorCoinCall, buildDeployAccountParams, buildFeeCall, buildFundingTransferCall, buildLaunchOnEkuboCalls, buildOrderTypedData, buildPopAllowlist, buildRemoveOwnerByGuidCall, buildRemoveOwnerCall, buildSetFirstGuardianCall, buildTriggerEscapeOwnerCall, buybackQuoteRaw, canRemoveDevice, claimSessionWallet, toRaw as coinToRaw, completeDeployment, computeAccountAddress, computeOwnerGuid, confirmIntentBestEffort, createDeploymentCoordinator, createMediaWallet, createOwnerStore, createSelfFundConsent, decodeEscapeAndStatus, decodeGuardiansInfo, decodePopClaimFragment, deploySelfFunded, deploySponsored, deployedCollectionFromReceipt, deriveAesKey, deriveOwnerKeyPair, describeDevices, describeGuardianStatus, describeRecoveryAction, encodeByteArray, encodePairingPayload, encodePopClaimFragment, estimateSelfFundedFee, executeIntent, executeIntents, executeSponsored, fdvHuman, fundWithChainTransfer, fundingApiFor, generateStarkKeyPair, getCounter, getCounter1155, getCreatorCoinGuarantees, getEscape, getEscapeSecurityPeriod, getGuardians, getOrderDetails, getOrderDetails1155, getOwners, getSiwsStorageKey, getStoredSiwsToken, isDeployed, isSiwsTokenValid, isValidStarknetAddress, mintedTokenIdFromReceipt, normalizeSiwsSignature, normalizeWalletAddress, ownerConstructorCalldata, parseAccountAddress, parseCreatorCoinCreated, parsePairingPayload, popHasClaimed, priceToEkuboParams, requestSiwsToken, sealPrivateKey, selfFundedExecutor, signWithPrivateKey, sponsoredExecutor, starkKeyPairFromPrivateKey, storeSiwsToken, syncTransactionBestEffort, teamCoinsRaw, toContractConditions as toDropContractConditions, unsealPrivateKey, validateName as validateCoinName, validateSupply as validateCoinSupply, validateSymbol as validateCoinSymbol, validatePrice, verifyPopProof, waitUntilDeployed };
|