@medialane/sdk 0.155.0 → 0.156.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-3PZUSEAW.js +63 -0
- package/dist/chunk-3PZUSEAW.js.map +1 -0
- package/dist/chunk-ASDN46XU.js +1778 -0
- package/dist/chunk-ASDN46XU.js.map +1 -0
- package/dist/chunk-OUPVVMLK.cjs +68 -0
- package/dist/chunk-OUPVVMLK.cjs.map +1 -0
- package/dist/chunk-ZFRHADHR.cjs +1854 -0
- package/dist/chunk-ZFRHADHR.cjs.map +1 -0
- package/dist/evm/index.cjs +3 -55
- package/dist/evm/index.cjs.map +1 -1
- package/dist/evm/index.js +1 -53
- package/dist/evm/index.js.map +1 -1
- package/dist/index.cjs +275 -1718
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -1651
- package/dist/index.js.map +1 -1
- package/dist/solana/index.cjs +2 -56
- package/dist/solana/index.cjs.map +1 -1
- package/dist/solana/index.js +1 -55
- package/dist/solana/index.js.map +1 -1
- package/dist/starknet/index.cjs +334 -2212
- package/dist/starknet/index.cjs.map +1 -1
- package/dist/starknet/index.d.cts +167 -302
- package/dist/starknet/index.d.ts +167 -302
- package/dist/starknet/index.js +231 -2133
- package/dist/starknet/index.js.map +1 -1
- package/dist/stellar/index.cjs +2 -56
- package/dist/stellar/index.cjs.map +1 -1
- package/dist/stellar/index.js +1 -55
- package/dist/stellar/index.js.map +1 -1
- package/package.json +1 -1
package/dist/starknet/index.d.ts
CHANGED
|
@@ -443,116 +443,6 @@ interface BuildFeeCallParams {
|
|
|
443
443
|
}
|
|
444
444
|
declare function buildFeeCall(p: BuildFeeCallParams, cfg: ResolvedFeeConfig): Call | null;
|
|
445
445
|
|
|
446
|
-
declare const ADMIN_SCOPE = "admin-api";
|
|
447
|
-
interface AdminGrant {
|
|
448
|
-
wallet: string;
|
|
449
|
-
chain: string;
|
|
450
|
-
sessionPublicKey: string;
|
|
451
|
-
sessionKeyHash: string;
|
|
452
|
-
scope: string;
|
|
453
|
-
issuedAt: number;
|
|
454
|
-
expiresAt: number;
|
|
455
|
-
walletSig: string[];
|
|
456
|
-
}
|
|
457
|
-
interface AdminSession {
|
|
458
|
-
grant: AdminGrant;
|
|
459
|
-
sessionPrivateKey: string;
|
|
460
|
-
}
|
|
461
|
-
interface AdminRequest {
|
|
462
|
-
method: string;
|
|
463
|
-
path: string;
|
|
464
|
-
body: string;
|
|
465
|
-
nonce: string;
|
|
466
|
-
ts: number;
|
|
467
|
-
}
|
|
468
|
-
type AdminRequestSig = string;
|
|
469
|
-
|
|
470
|
-
declare function adminRequestDigest(req: AdminRequest): string;
|
|
471
|
-
|
|
472
|
-
declare function signAdminRequest(sessionPrivateKey: string, req: AdminRequest): AdminRequestSig;
|
|
473
|
-
declare function verifyAdminRequestSig(sessionPublicKey: string, req: AdminRequest, sig: AdminRequestSig): boolean;
|
|
474
|
-
|
|
475
|
-
interface AdminSessionTypedDataInput {
|
|
476
|
-
sessionKeyHash: string;
|
|
477
|
-
scope: string;
|
|
478
|
-
issuedAt: number;
|
|
479
|
-
expiresAt: number;
|
|
480
|
-
chainId?: string;
|
|
481
|
-
}
|
|
482
|
-
declare function buildAdminSessionTypedData(p: AdminSessionTypedDataInput): {
|
|
483
|
-
readonly types: {
|
|
484
|
-
readonly StarknetDomain: readonly [{
|
|
485
|
-
readonly name: "name";
|
|
486
|
-
readonly type: "shortstring";
|
|
487
|
-
}, {
|
|
488
|
-
readonly name: "version";
|
|
489
|
-
readonly type: "shortstring";
|
|
490
|
-
}, {
|
|
491
|
-
readonly name: "chainId";
|
|
492
|
-
readonly type: "shortstring";
|
|
493
|
-
}, {
|
|
494
|
-
readonly name: "revision";
|
|
495
|
-
readonly type: "shortstring";
|
|
496
|
-
}];
|
|
497
|
-
readonly AdminSession: readonly [{
|
|
498
|
-
readonly name: "sessionKeyHash";
|
|
499
|
-
readonly type: "felt";
|
|
500
|
-
}, {
|
|
501
|
-
readonly name: "scope";
|
|
502
|
-
readonly type: "shortstring";
|
|
503
|
-
}, {
|
|
504
|
-
readonly name: "issuedAt";
|
|
505
|
-
readonly type: "felt";
|
|
506
|
-
}, {
|
|
507
|
-
readonly name: "expiresAt";
|
|
508
|
-
readonly type: "felt";
|
|
509
|
-
}];
|
|
510
|
-
};
|
|
511
|
-
readonly primaryType: "AdminSession";
|
|
512
|
-
readonly domain: {
|
|
513
|
-
readonly name: "Medialane Admin";
|
|
514
|
-
readonly version: "1";
|
|
515
|
-
readonly chainId: string;
|
|
516
|
-
readonly revision: "1";
|
|
517
|
-
};
|
|
518
|
-
readonly message: {
|
|
519
|
-
readonly sessionKeyHash: string;
|
|
520
|
-
readonly scope: string;
|
|
521
|
-
readonly issuedAt: string;
|
|
522
|
-
readonly expiresAt: string;
|
|
523
|
-
};
|
|
524
|
-
};
|
|
525
|
-
declare function sessionKeyHashOf(sessionPublicKey: string): string;
|
|
526
|
-
interface CreateGrantOpts {
|
|
527
|
-
wallet: string;
|
|
528
|
-
chain?: string;
|
|
529
|
-
chainId?: string;
|
|
530
|
-
ttlSeconds?: number;
|
|
531
|
-
now?: () => number;
|
|
532
|
-
}
|
|
533
|
-
declare function createAdminSessionGrant(signTypedData: (data: ReturnType<typeof buildAdminSessionTypedData>) => Promise<string[]>, opts: CreateGrantOpts): Promise<AdminSession>;
|
|
534
|
-
|
|
535
|
-
declare const ADMIN_HEADERS: {
|
|
536
|
-
readonly grant: "x-ml-admin-grant";
|
|
537
|
-
readonly sig: "x-ml-admin-sig";
|
|
538
|
-
readonly nonce: "x-ml-admin-nonce";
|
|
539
|
-
readonly ts: "x-ml-admin-ts";
|
|
540
|
-
};
|
|
541
|
-
declare function randomNonce(): string;
|
|
542
|
-
declare function encodeAdminHeaders(session: AdminSession, reqInit: {
|
|
543
|
-
method: string;
|
|
544
|
-
path: string;
|
|
545
|
-
body?: string;
|
|
546
|
-
now?: () => number;
|
|
547
|
-
}): Record<string, string>;
|
|
548
|
-
interface ParsedAdminHeaders {
|
|
549
|
-
grant: AdminGrant;
|
|
550
|
-
sig: string;
|
|
551
|
-
nonce: string;
|
|
552
|
-
ts: number;
|
|
553
|
-
}
|
|
554
|
-
declare function parseAdminHeaders(get: (name: string) => string | null | undefined): ParsedAdminHeaders | null;
|
|
555
|
-
|
|
556
446
|
interface SiwsSigner {
|
|
557
447
|
signMessage: (typedData: TypedData) => Promise<unknown>;
|
|
558
448
|
}
|
|
@@ -7280,8 +7170,8 @@ declare const IPSponsorshipABI: readonly [{
|
|
|
7280
7170
|
|
|
7281
7171
|
declare const IPGenesisABI: readonly [{
|
|
7282
7172
|
readonly type: "impl";
|
|
7283
|
-
readonly name: "
|
|
7284
|
-
readonly interface_name: "
|
|
7173
|
+
readonly name: "ERC721MetadataImpl";
|
|
7174
|
+
readonly interface_name: "openzeppelin_token::erc721::interface::IERC721Metadata";
|
|
7285
7175
|
}, {
|
|
7286
7176
|
readonly type: "struct";
|
|
7287
7177
|
readonly name: "core::byte_array::ByteArray";
|
|
@@ -7293,7 +7183,7 @@ declare const IPGenesisABI: readonly [{
|
|
|
7293
7183
|
readonly type: "core::felt252";
|
|
7294
7184
|
}, {
|
|
7295
7185
|
readonly name: "pending_word_len";
|
|
7296
|
-
readonly type: "core::
|
|
7186
|
+
readonly type: "core::integer::u32";
|
|
7297
7187
|
}];
|
|
7298
7188
|
}, {
|
|
7299
7189
|
readonly type: "struct";
|
|
@@ -7307,54 +7197,140 @@ declare const IPGenesisABI: readonly [{
|
|
|
7307
7197
|
}];
|
|
7308
7198
|
}, {
|
|
7309
7199
|
readonly type: "interface";
|
|
7310
|
-
readonly name: "
|
|
7200
|
+
readonly name: "openzeppelin_token::erc721::interface::IERC721Metadata";
|
|
7311
7201
|
readonly items: readonly [{
|
|
7312
7202
|
readonly type: "function";
|
|
7313
|
-
readonly name: "
|
|
7314
|
-
readonly inputs: readonly [
|
|
7315
|
-
|
|
7316
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
7317
|
-
}, {
|
|
7318
|
-
readonly name: "uri";
|
|
7203
|
+
readonly name: "name";
|
|
7204
|
+
readonly inputs: readonly [];
|
|
7205
|
+
readonly outputs: readonly [{
|
|
7319
7206
|
readonly type: "core::byte_array::ByteArray";
|
|
7320
7207
|
}];
|
|
7208
|
+
readonly state_mutability: "view";
|
|
7209
|
+
}, {
|
|
7210
|
+
readonly type: "function";
|
|
7211
|
+
readonly name: "symbol";
|
|
7212
|
+
readonly inputs: readonly [];
|
|
7321
7213
|
readonly outputs: readonly [{
|
|
7214
|
+
readonly type: "core::byte_array::ByteArray";
|
|
7215
|
+
}];
|
|
7216
|
+
readonly state_mutability: "view";
|
|
7217
|
+
}, {
|
|
7218
|
+
readonly type: "function";
|
|
7219
|
+
readonly name: "token_uri";
|
|
7220
|
+
readonly inputs: readonly [{
|
|
7221
|
+
readonly name: "token_id";
|
|
7322
7222
|
readonly type: "core::integer::u256";
|
|
7323
7223
|
}];
|
|
7324
|
-
readonly
|
|
7224
|
+
readonly outputs: readonly [{
|
|
7225
|
+
readonly type: "core::byte_array::ByteArray";
|
|
7226
|
+
}];
|
|
7227
|
+
readonly state_mutability: "view";
|
|
7325
7228
|
}];
|
|
7326
7229
|
}, {
|
|
7327
7230
|
readonly type: "impl";
|
|
7328
|
-
readonly name: "
|
|
7329
|
-
readonly interface_name: "
|
|
7231
|
+
readonly name: "ERC721MetadataCamelOnlyImpl";
|
|
7232
|
+
readonly interface_name: "openzeppelin_token::erc721::interface::IERC721MetadataCamelOnly";
|
|
7330
7233
|
}, {
|
|
7331
7234
|
readonly type: "interface";
|
|
7332
|
-
readonly name: "
|
|
7235
|
+
readonly name: "openzeppelin_token::erc721::interface::IERC721MetadataCamelOnly";
|
|
7333
7236
|
readonly items: readonly [{
|
|
7334
7237
|
readonly type: "function";
|
|
7335
|
-
readonly name: "
|
|
7336
|
-
readonly inputs: readonly [
|
|
7337
|
-
|
|
7238
|
+
readonly name: "tokenURI";
|
|
7239
|
+
readonly inputs: readonly [{
|
|
7240
|
+
readonly name: "tokenId";
|
|
7338
7241
|
readonly type: "core::integer::u256";
|
|
7339
7242
|
}];
|
|
7243
|
+
readonly outputs: readonly [{
|
|
7244
|
+
readonly type: "core::byte_array::ByteArray";
|
|
7245
|
+
}];
|
|
7340
7246
|
readonly state_mutability: "view";
|
|
7247
|
+
}];
|
|
7248
|
+
}, {
|
|
7249
|
+
readonly type: "impl";
|
|
7250
|
+
readonly name: "IPCollectionImpl";
|
|
7251
|
+
readonly interface_name: "ip_programmable_erc_721::interfaces::IIPCollection::IIPCollection";
|
|
7252
|
+
}, {
|
|
7253
|
+
readonly type: "struct";
|
|
7254
|
+
readonly name: "ip_programmable_erc_721::types::TokenData";
|
|
7255
|
+
readonly members: readonly [{
|
|
7256
|
+
readonly name: "token_id";
|
|
7257
|
+
readonly type: "core::integer::u256";
|
|
7258
|
+
}, {
|
|
7259
|
+
readonly name: "owner";
|
|
7260
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
7261
|
+
}, {
|
|
7262
|
+
readonly name: "metadata_uri";
|
|
7263
|
+
readonly type: "core::byte_array::ByteArray";
|
|
7341
7264
|
}, {
|
|
7265
|
+
readonly name: "original_creator";
|
|
7266
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
7267
|
+
}, {
|
|
7268
|
+
readonly name: "registered_at";
|
|
7269
|
+
readonly type: "core::integer::u64";
|
|
7270
|
+
}];
|
|
7271
|
+
}, {
|
|
7272
|
+
readonly type: "interface";
|
|
7273
|
+
readonly name: "ip_programmable_erc_721::interfaces::IIPCollection::IIPCollection";
|
|
7274
|
+
readonly items: readonly [{
|
|
7342
7275
|
readonly type: "function";
|
|
7343
|
-
readonly name: "
|
|
7344
|
-
readonly inputs: readonly [
|
|
7345
|
-
|
|
7276
|
+
readonly name: "mint_item";
|
|
7277
|
+
readonly inputs: readonly [{
|
|
7278
|
+
readonly name: "recipient";
|
|
7279
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
7280
|
+
}, {
|
|
7281
|
+
readonly name: "token_uri";
|
|
7282
|
+
readonly type: "core::byte_array::ByteArray";
|
|
7283
|
+
}];
|
|
7284
|
+
readonly outputs: readonly [{
|
|
7285
|
+
readonly type: "core::integer::u256";
|
|
7286
|
+
}];
|
|
7346
7287
|
readonly state_mutability: "external";
|
|
7347
7288
|
}, {
|
|
7348
7289
|
readonly type: "function";
|
|
7349
|
-
readonly name: "
|
|
7290
|
+
readonly name: "get_collection_creator";
|
|
7350
7291
|
readonly inputs: readonly [];
|
|
7351
|
-
readonly outputs: readonly [
|
|
7352
|
-
|
|
7292
|
+
readonly outputs: readonly [{
|
|
7293
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
7294
|
+
}];
|
|
7295
|
+
readonly state_mutability: "view";
|
|
7296
|
+
}, {
|
|
7297
|
+
readonly type: "function";
|
|
7298
|
+
readonly name: "get_token_creator";
|
|
7299
|
+
readonly inputs: readonly [{
|
|
7300
|
+
readonly name: "token_id";
|
|
7301
|
+
readonly type: "core::integer::u256";
|
|
7302
|
+
}];
|
|
7303
|
+
readonly outputs: readonly [{
|
|
7304
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
7305
|
+
}];
|
|
7306
|
+
readonly state_mutability: "view";
|
|
7307
|
+
}, {
|
|
7308
|
+
readonly type: "function";
|
|
7309
|
+
readonly name: "get_token_registered_at";
|
|
7310
|
+
readonly inputs: readonly [{
|
|
7311
|
+
readonly name: "token_id";
|
|
7312
|
+
readonly type: "core::integer::u256";
|
|
7313
|
+
}];
|
|
7314
|
+
readonly outputs: readonly [{
|
|
7315
|
+
readonly type: "core::integer::u64";
|
|
7316
|
+
}];
|
|
7317
|
+
readonly state_mutability: "view";
|
|
7318
|
+
}, {
|
|
7319
|
+
readonly type: "function";
|
|
7320
|
+
readonly name: "get_token_data";
|
|
7321
|
+
readonly inputs: readonly [{
|
|
7322
|
+
readonly name: "token_id";
|
|
7323
|
+
readonly type: "core::integer::u256";
|
|
7324
|
+
}];
|
|
7325
|
+
readonly outputs: readonly [{
|
|
7326
|
+
readonly type: "ip_programmable_erc_721::types::TokenData";
|
|
7327
|
+
}];
|
|
7328
|
+
readonly state_mutability: "view";
|
|
7353
7329
|
}];
|
|
7354
7330
|
}, {
|
|
7355
7331
|
readonly type: "impl";
|
|
7356
|
-
readonly name: "
|
|
7357
|
-
readonly interface_name: "openzeppelin_token::erc721::interface::
|
|
7332
|
+
readonly name: "ERC721Impl";
|
|
7333
|
+
readonly interface_name: "openzeppelin_token::erc721::interface::IERC721";
|
|
7358
7334
|
}, {
|
|
7359
7335
|
readonly type: "struct";
|
|
7360
7336
|
readonly name: "core::array::Span::<core::felt252>";
|
|
@@ -7374,7 +7350,7 @@ declare const IPGenesisABI: readonly [{
|
|
|
7374
7350
|
}];
|
|
7375
7351
|
}, {
|
|
7376
7352
|
readonly type: "interface";
|
|
7377
|
-
readonly name: "openzeppelin_token::erc721::interface::
|
|
7353
|
+
readonly name: "openzeppelin_token::erc721::interface::IERC721";
|
|
7378
7354
|
readonly items: readonly [{
|
|
7379
7355
|
readonly type: "function";
|
|
7380
7356
|
readonly name: "balance_of";
|
|
@@ -7479,45 +7455,15 @@ declare const IPGenesisABI: readonly [{
|
|
|
7479
7455
|
readonly type: "core::bool";
|
|
7480
7456
|
}];
|
|
7481
7457
|
readonly state_mutability: "view";
|
|
7482
|
-
}
|
|
7483
|
-
|
|
7484
|
-
|
|
7485
|
-
|
|
7486
|
-
|
|
7487
|
-
|
|
7488
|
-
|
|
7489
|
-
|
|
7490
|
-
|
|
7491
|
-
}];
|
|
7492
|
-
readonly state_mutability: "view";
|
|
7493
|
-
}, {
|
|
7494
|
-
readonly type: "function";
|
|
7495
|
-
readonly name: "name";
|
|
7496
|
-
readonly inputs: readonly [];
|
|
7497
|
-
readonly outputs: readonly [{
|
|
7498
|
-
readonly type: "core::byte_array::ByteArray";
|
|
7499
|
-
}];
|
|
7500
|
-
readonly state_mutability: "view";
|
|
7501
|
-
}, {
|
|
7502
|
-
readonly type: "function";
|
|
7503
|
-
readonly name: "symbol";
|
|
7504
|
-
readonly inputs: readonly [];
|
|
7505
|
-
readonly outputs: readonly [{
|
|
7506
|
-
readonly type: "core::byte_array::ByteArray";
|
|
7507
|
-
}];
|
|
7508
|
-
readonly state_mutability: "view";
|
|
7509
|
-
}, {
|
|
7510
|
-
readonly type: "function";
|
|
7511
|
-
readonly name: "token_uri";
|
|
7512
|
-
readonly inputs: readonly [{
|
|
7513
|
-
readonly name: "token_id";
|
|
7514
|
-
readonly type: "core::integer::u256";
|
|
7515
|
-
}];
|
|
7516
|
-
readonly outputs: readonly [{
|
|
7517
|
-
readonly type: "core::byte_array::ByteArray";
|
|
7518
|
-
}];
|
|
7519
|
-
readonly state_mutability: "view";
|
|
7520
|
-
}, {
|
|
7458
|
+
}];
|
|
7459
|
+
}, {
|
|
7460
|
+
readonly type: "impl";
|
|
7461
|
+
readonly name: "ERC721CamelOnly";
|
|
7462
|
+
readonly interface_name: "openzeppelin_token::erc721::interface::IERC721CamelOnly";
|
|
7463
|
+
}, {
|
|
7464
|
+
readonly type: "interface";
|
|
7465
|
+
readonly name: "openzeppelin_token::erc721::interface::IERC721CamelOnly";
|
|
7466
|
+
readonly items: readonly [{
|
|
7521
7467
|
readonly type: "function";
|
|
7522
7468
|
readonly name: "balanceOf";
|
|
7523
7469
|
readonly inputs: readonly [{
|
|
@@ -7609,63 +7555,6 @@ declare const IPGenesisABI: readonly [{
|
|
|
7609
7555
|
readonly type: "core::bool";
|
|
7610
7556
|
}];
|
|
7611
7557
|
readonly state_mutability: "view";
|
|
7612
|
-
}, {
|
|
7613
|
-
readonly type: "function";
|
|
7614
|
-
readonly name: "tokenURI";
|
|
7615
|
-
readonly inputs: readonly [{
|
|
7616
|
-
readonly name: "tokenId";
|
|
7617
|
-
readonly type: "core::integer::u256";
|
|
7618
|
-
}];
|
|
7619
|
-
readonly outputs: readonly [{
|
|
7620
|
-
readonly type: "core::byte_array::ByteArray";
|
|
7621
|
-
}];
|
|
7622
|
-
readonly state_mutability: "view";
|
|
7623
|
-
}];
|
|
7624
|
-
}, {
|
|
7625
|
-
readonly type: "impl";
|
|
7626
|
-
readonly name: "OwnableMixinImpl";
|
|
7627
|
-
readonly interface_name: "openzeppelin_access::ownable::interface::OwnableABI";
|
|
7628
|
-
}, {
|
|
7629
|
-
readonly type: "interface";
|
|
7630
|
-
readonly name: "openzeppelin_access::ownable::interface::OwnableABI";
|
|
7631
|
-
readonly items: readonly [{
|
|
7632
|
-
readonly type: "function";
|
|
7633
|
-
readonly name: "owner";
|
|
7634
|
-
readonly inputs: readonly [];
|
|
7635
|
-
readonly outputs: readonly [{
|
|
7636
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
7637
|
-
}];
|
|
7638
|
-
readonly state_mutability: "view";
|
|
7639
|
-
}, {
|
|
7640
|
-
readonly type: "function";
|
|
7641
|
-
readonly name: "transfer_ownership";
|
|
7642
|
-
readonly inputs: readonly [{
|
|
7643
|
-
readonly name: "new_owner";
|
|
7644
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
7645
|
-
}];
|
|
7646
|
-
readonly outputs: readonly [];
|
|
7647
|
-
readonly state_mutability: "external";
|
|
7648
|
-
}, {
|
|
7649
|
-
readonly type: "function";
|
|
7650
|
-
readonly name: "renounce_ownership";
|
|
7651
|
-
readonly inputs: readonly [];
|
|
7652
|
-
readonly outputs: readonly [];
|
|
7653
|
-
readonly state_mutability: "external";
|
|
7654
|
-
}, {
|
|
7655
|
-
readonly type: "function";
|
|
7656
|
-
readonly name: "transferOwnership";
|
|
7657
|
-
readonly inputs: readonly [{
|
|
7658
|
-
readonly name: "newOwner";
|
|
7659
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
7660
|
-
}];
|
|
7661
|
-
readonly outputs: readonly [];
|
|
7662
|
-
readonly state_mutability: "external";
|
|
7663
|
-
}, {
|
|
7664
|
-
readonly type: "function";
|
|
7665
|
-
readonly name: "renounceOwnership";
|
|
7666
|
-
readonly inputs: readonly [];
|
|
7667
|
-
readonly outputs: readonly [];
|
|
7668
|
-
readonly state_mutability: "external";
|
|
7669
7558
|
}];
|
|
7670
7559
|
}, {
|
|
7671
7560
|
readonly type: "impl";
|
|
@@ -7708,10 +7597,35 @@ declare const IPGenesisABI: readonly [{
|
|
|
7708
7597
|
}];
|
|
7709
7598
|
readonly state_mutability: "view";
|
|
7710
7599
|
}];
|
|
7600
|
+
}, {
|
|
7601
|
+
readonly type: "impl";
|
|
7602
|
+
readonly name: "SRC5Impl";
|
|
7603
|
+
readonly interface_name: "openzeppelin_introspection::interface::ISRC5";
|
|
7604
|
+
}, {
|
|
7605
|
+
readonly type: "interface";
|
|
7606
|
+
readonly name: "openzeppelin_introspection::interface::ISRC5";
|
|
7607
|
+
readonly items: readonly [{
|
|
7608
|
+
readonly type: "function";
|
|
7609
|
+
readonly name: "supports_interface";
|
|
7610
|
+
readonly inputs: readonly [{
|
|
7611
|
+
readonly name: "interface_id";
|
|
7612
|
+
readonly type: "core::felt252";
|
|
7613
|
+
}];
|
|
7614
|
+
readonly outputs: readonly [{
|
|
7615
|
+
readonly type: "core::bool";
|
|
7616
|
+
}];
|
|
7617
|
+
readonly state_mutability: "view";
|
|
7618
|
+
}];
|
|
7711
7619
|
}, {
|
|
7712
7620
|
readonly type: "constructor";
|
|
7713
7621
|
readonly name: "constructor";
|
|
7714
7622
|
readonly inputs: readonly [{
|
|
7623
|
+
readonly name: "name";
|
|
7624
|
+
readonly type: "core::byte_array::ByteArray";
|
|
7625
|
+
}, {
|
|
7626
|
+
readonly name: "symbol";
|
|
7627
|
+
readonly type: "core::byte_array::ByteArray";
|
|
7628
|
+
}, {
|
|
7715
7629
|
readonly name: "owner";
|
|
7716
7630
|
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
7717
7631
|
}];
|
|
@@ -7783,45 +7697,6 @@ declare const IPGenesisABI: readonly [{
|
|
|
7783
7697
|
readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::ApprovalForAll";
|
|
7784
7698
|
readonly kind: "nested";
|
|
7785
7699
|
}];
|
|
7786
|
-
}, {
|
|
7787
|
-
readonly type: "event";
|
|
7788
|
-
readonly name: "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferred";
|
|
7789
|
-
readonly kind: "struct";
|
|
7790
|
-
readonly members: readonly [{
|
|
7791
|
-
readonly name: "previous_owner";
|
|
7792
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
7793
|
-
readonly kind: "key";
|
|
7794
|
-
}, {
|
|
7795
|
-
readonly name: "new_owner";
|
|
7796
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
7797
|
-
readonly kind: "key";
|
|
7798
|
-
}];
|
|
7799
|
-
}, {
|
|
7800
|
-
readonly type: "event";
|
|
7801
|
-
readonly name: "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferStarted";
|
|
7802
|
-
readonly kind: "struct";
|
|
7803
|
-
readonly members: readonly [{
|
|
7804
|
-
readonly name: "previous_owner";
|
|
7805
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
7806
|
-
readonly kind: "key";
|
|
7807
|
-
}, {
|
|
7808
|
-
readonly name: "new_owner";
|
|
7809
|
-
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
7810
|
-
readonly kind: "key";
|
|
7811
|
-
}];
|
|
7812
|
-
}, {
|
|
7813
|
-
readonly type: "event";
|
|
7814
|
-
readonly name: "openzeppelin_access::ownable::ownable::OwnableComponent::Event";
|
|
7815
|
-
readonly kind: "enum";
|
|
7816
|
-
readonly variants: readonly [{
|
|
7817
|
-
readonly name: "OwnershipTransferred";
|
|
7818
|
-
readonly type: "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferred";
|
|
7819
|
-
readonly kind: "nested";
|
|
7820
|
-
}, {
|
|
7821
|
-
readonly name: "OwnershipTransferStarted";
|
|
7822
|
-
readonly type: "openzeppelin_access::ownable::ownable::OwnableComponent::OwnershipTransferStarted";
|
|
7823
|
-
readonly kind: "nested";
|
|
7824
|
-
}];
|
|
7825
7700
|
}, {
|
|
7826
7701
|
readonly type: "event";
|
|
7827
7702
|
readonly name: "openzeppelin_introspection::src5::SRC5Component::Event";
|
|
@@ -7834,47 +7709,37 @@ declare const IPGenesisABI: readonly [{
|
|
|
7834
7709
|
readonly variants: readonly [];
|
|
7835
7710
|
}, {
|
|
7836
7711
|
readonly type: "event";
|
|
7837
|
-
readonly name: "
|
|
7712
|
+
readonly name: "ip_programmable_erc_721::IPCollection::IPCollection::IPMinted";
|
|
7838
7713
|
readonly kind: "struct";
|
|
7839
7714
|
readonly members: readonly [{
|
|
7840
|
-
readonly name: "
|
|
7715
|
+
readonly name: "token_id";
|
|
7841
7716
|
readonly type: "core::integer::u256";
|
|
7717
|
+
readonly kind: "key";
|
|
7718
|
+
}, {
|
|
7719
|
+
readonly name: "recipient";
|
|
7720
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
7721
|
+
readonly kind: "key";
|
|
7722
|
+
}, {
|
|
7723
|
+
readonly name: "uri";
|
|
7724
|
+
readonly type: "core::byte_array::ByteArray";
|
|
7842
7725
|
readonly kind: "data";
|
|
7843
|
-
}
|
|
7844
|
-
|
|
7845
|
-
|
|
7846
|
-
readonly name: "mip::mip::MIP::CounterComponent::CounterDecremented";
|
|
7847
|
-
readonly kind: "struct";
|
|
7848
|
-
readonly members: readonly [{
|
|
7849
|
-
readonly name: "value";
|
|
7850
|
-
readonly type: "core::integer::u256";
|
|
7726
|
+
}, {
|
|
7727
|
+
readonly name: "creator";
|
|
7728
|
+
readonly type: "core::starknet::contract_address::ContractAddress";
|
|
7851
7729
|
readonly kind: "data";
|
|
7852
|
-
}];
|
|
7853
|
-
}, {
|
|
7854
|
-
readonly type: "event";
|
|
7855
|
-
readonly name: "mip::mip::MIP::CounterComponent::Event";
|
|
7856
|
-
readonly kind: "enum";
|
|
7857
|
-
readonly variants: readonly [{
|
|
7858
|
-
readonly name: "CounterIncremented";
|
|
7859
|
-
readonly type: "mip::mip::MIP::CounterComponent::CounterIncremented";
|
|
7860
|
-
readonly kind: "nested";
|
|
7861
7730
|
}, {
|
|
7862
|
-
readonly name: "
|
|
7863
|
-
readonly type: "
|
|
7864
|
-
readonly kind: "
|
|
7731
|
+
readonly name: "registered_at";
|
|
7732
|
+
readonly type: "core::integer::u64";
|
|
7733
|
+
readonly kind: "data";
|
|
7865
7734
|
}];
|
|
7866
7735
|
}, {
|
|
7867
7736
|
readonly type: "event";
|
|
7868
|
-
readonly name: "
|
|
7737
|
+
readonly name: "ip_programmable_erc_721::IPCollection::IPCollection::Event";
|
|
7869
7738
|
readonly kind: "enum";
|
|
7870
7739
|
readonly variants: readonly [{
|
|
7871
7740
|
readonly name: "ERC721Event";
|
|
7872
7741
|
readonly type: "openzeppelin_token::erc721::erc721::ERC721Component::Event";
|
|
7873
7742
|
readonly kind: "flat";
|
|
7874
|
-
}, {
|
|
7875
|
-
readonly name: "OwnableEvent";
|
|
7876
|
-
readonly type: "openzeppelin_access::ownable::ownable::OwnableComponent::Event";
|
|
7877
|
-
readonly kind: "flat";
|
|
7878
7743
|
}, {
|
|
7879
7744
|
readonly name: "SRC5Event";
|
|
7880
7745
|
readonly type: "openzeppelin_introspection::src5::SRC5Component::Event";
|
|
@@ -7884,9 +7749,9 @@ declare const IPGenesisABI: readonly [{
|
|
|
7884
7749
|
readonly type: "openzeppelin_token::erc721::extensions::erc721_enumerable::erc721_enumerable::ERC721EnumerableComponent::Event";
|
|
7885
7750
|
readonly kind: "flat";
|
|
7886
7751
|
}, {
|
|
7887
|
-
readonly name: "
|
|
7888
|
-
readonly type: "
|
|
7889
|
-
readonly kind: "
|
|
7752
|
+
readonly name: "IPMinted";
|
|
7753
|
+
readonly type: "ip_programmable_erc_721::IPCollection::IPCollection::IPMinted";
|
|
7754
|
+
readonly kind: "nested";
|
|
7890
7755
|
}];
|
|
7891
7756
|
}];
|
|
7892
7757
|
|
|
@@ -8199,4 +8064,4 @@ declare function claimSessionWallet(api: Pick<ApiClient, "setupWalletKey">, wall
|
|
|
8199
8064
|
|
|
8200
8065
|
type StarknetVenueSigner = VenueSigner<TypedData, Call>;
|
|
8201
8066
|
|
|
8202
|
-
export {
|
|
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 };
|