@story-protocol/core-sdk 1.2.0-rc.1 → 1.2.0-rc.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/declarations/src/abi/generated.d.ts +782 -0
- package/dist/declarations/src/abi/generated.d.ts.map +1 -1
- package/dist/declarations/src/index.d.ts +3 -3
- package/dist/declarations/src/index.d.ts.map +1 -1
- package/dist/declarations/src/resources/group.d.ts +2 -2
- package/dist/declarations/src/resources/group.d.ts.map +1 -1
- package/dist/declarations/src/resources/ipAccount.d.ts +2 -2
- package/dist/declarations/src/resources/ipAccount.d.ts.map +1 -1
- package/dist/declarations/src/resources/ipAsset.d.ts +94 -20
- package/dist/declarations/src/resources/ipAsset.d.ts.map +1 -1
- package/dist/declarations/src/resources/permission.d.ts +2 -1
- package/dist/declarations/src/resources/permission.d.ts.map +1 -1
- package/dist/declarations/src/types/resources/ipAccount.d.ts +1 -1
- package/dist/declarations/src/types/resources/ipAccount.d.ts.map +1 -1
- package/dist/declarations/src/types/resources/ipAsset.d.ts +54 -10
- package/dist/declarations/src/types/resources/ipAsset.d.ts.map +1 -1
- package/dist/declarations/src/types/resources/permission.d.ts +11 -1
- package/dist/declarations/src/types/resources/permission.d.ts.map +1 -1
- package/dist/declarations/src/utils/chain.d.ts +1 -1
- package/dist/declarations/src/utils/chain.d.ts.map +1 -1
- package/dist/declarations/src/utils/sign.d.ts +15 -2
- package/dist/declarations/src/utils/sign.d.ts.map +1 -1
- package/dist/story-protocol-core-sdk.cjs.dev.js +1404 -763
- package/dist/story-protocol-core-sdk.cjs.prod.js +1404 -763
- package/dist/story-protocol-core-sdk.esm.js +1404 -764
- package/package.json +1 -1
@@ -21147,6 +21147,687 @@ export declare const moduleRegistryConfig: {
|
|
21147
21147
|
readonly stateMutability: "payable";
|
21148
21148
|
}];
|
21149
21149
|
};
|
21150
|
+
/**
|
21151
|
+
*
|
21152
|
+
*/
|
21153
|
+
export declare const multicall3Abi: readonly [{
|
21154
|
+
readonly type: "function";
|
21155
|
+
readonly inputs: readonly [{
|
21156
|
+
readonly name: "calls";
|
21157
|
+
readonly internalType: "struct Multicall3.Call[]";
|
21158
|
+
readonly type: "tuple[]";
|
21159
|
+
readonly components: readonly [{
|
21160
|
+
readonly name: "target";
|
21161
|
+
readonly internalType: "address";
|
21162
|
+
readonly type: "address";
|
21163
|
+
}, {
|
21164
|
+
readonly name: "callData";
|
21165
|
+
readonly internalType: "bytes";
|
21166
|
+
readonly type: "bytes";
|
21167
|
+
}];
|
21168
|
+
}];
|
21169
|
+
readonly name: "aggregate";
|
21170
|
+
readonly outputs: readonly [{
|
21171
|
+
readonly name: "blockNumber";
|
21172
|
+
readonly internalType: "uint256";
|
21173
|
+
readonly type: "uint256";
|
21174
|
+
}, {
|
21175
|
+
readonly name: "returnData";
|
21176
|
+
readonly internalType: "bytes[]";
|
21177
|
+
readonly type: "bytes[]";
|
21178
|
+
}];
|
21179
|
+
readonly stateMutability: "payable";
|
21180
|
+
}, {
|
21181
|
+
readonly type: "function";
|
21182
|
+
readonly inputs: readonly [{
|
21183
|
+
readonly name: "calls";
|
21184
|
+
readonly internalType: "struct Multicall3.Call3[]";
|
21185
|
+
readonly type: "tuple[]";
|
21186
|
+
readonly components: readonly [{
|
21187
|
+
readonly name: "target";
|
21188
|
+
readonly internalType: "address";
|
21189
|
+
readonly type: "address";
|
21190
|
+
}, {
|
21191
|
+
readonly name: "allowFailure";
|
21192
|
+
readonly internalType: "bool";
|
21193
|
+
readonly type: "bool";
|
21194
|
+
}, {
|
21195
|
+
readonly name: "callData";
|
21196
|
+
readonly internalType: "bytes";
|
21197
|
+
readonly type: "bytes";
|
21198
|
+
}];
|
21199
|
+
}];
|
21200
|
+
readonly name: "aggregate3";
|
21201
|
+
readonly outputs: readonly [{
|
21202
|
+
readonly name: "returnData";
|
21203
|
+
readonly internalType: "struct Multicall3.Result[]";
|
21204
|
+
readonly type: "tuple[]";
|
21205
|
+
readonly components: readonly [{
|
21206
|
+
readonly name: "success";
|
21207
|
+
readonly internalType: "bool";
|
21208
|
+
readonly type: "bool";
|
21209
|
+
}, {
|
21210
|
+
readonly name: "returnData";
|
21211
|
+
readonly internalType: "bytes";
|
21212
|
+
readonly type: "bytes";
|
21213
|
+
}];
|
21214
|
+
}];
|
21215
|
+
readonly stateMutability: "payable";
|
21216
|
+
}, {
|
21217
|
+
readonly type: "function";
|
21218
|
+
readonly inputs: readonly [{
|
21219
|
+
readonly name: "calls";
|
21220
|
+
readonly internalType: "struct Multicall3.Call3Value[]";
|
21221
|
+
readonly type: "tuple[]";
|
21222
|
+
readonly components: readonly [{
|
21223
|
+
readonly name: "target";
|
21224
|
+
readonly internalType: "address";
|
21225
|
+
readonly type: "address";
|
21226
|
+
}, {
|
21227
|
+
readonly name: "allowFailure";
|
21228
|
+
readonly internalType: "bool";
|
21229
|
+
readonly type: "bool";
|
21230
|
+
}, {
|
21231
|
+
readonly name: "value";
|
21232
|
+
readonly internalType: "uint256";
|
21233
|
+
readonly type: "uint256";
|
21234
|
+
}, {
|
21235
|
+
readonly name: "callData";
|
21236
|
+
readonly internalType: "bytes";
|
21237
|
+
readonly type: "bytes";
|
21238
|
+
}];
|
21239
|
+
}];
|
21240
|
+
readonly name: "aggregate3Value";
|
21241
|
+
readonly outputs: readonly [{
|
21242
|
+
readonly name: "returnData";
|
21243
|
+
readonly internalType: "struct Multicall3.Result[]";
|
21244
|
+
readonly type: "tuple[]";
|
21245
|
+
readonly components: readonly [{
|
21246
|
+
readonly name: "success";
|
21247
|
+
readonly internalType: "bool";
|
21248
|
+
readonly type: "bool";
|
21249
|
+
}, {
|
21250
|
+
readonly name: "returnData";
|
21251
|
+
readonly internalType: "bytes";
|
21252
|
+
readonly type: "bytes";
|
21253
|
+
}];
|
21254
|
+
}];
|
21255
|
+
readonly stateMutability: "payable";
|
21256
|
+
}, {
|
21257
|
+
readonly type: "function";
|
21258
|
+
readonly inputs: readonly [{
|
21259
|
+
readonly name: "calls";
|
21260
|
+
readonly internalType: "struct Multicall3.Call[]";
|
21261
|
+
readonly type: "tuple[]";
|
21262
|
+
readonly components: readonly [{
|
21263
|
+
readonly name: "target";
|
21264
|
+
readonly internalType: "address";
|
21265
|
+
readonly type: "address";
|
21266
|
+
}, {
|
21267
|
+
readonly name: "callData";
|
21268
|
+
readonly internalType: "bytes";
|
21269
|
+
readonly type: "bytes";
|
21270
|
+
}];
|
21271
|
+
}];
|
21272
|
+
readonly name: "blockAndAggregate";
|
21273
|
+
readonly outputs: readonly [{
|
21274
|
+
readonly name: "blockNumber";
|
21275
|
+
readonly internalType: "uint256";
|
21276
|
+
readonly type: "uint256";
|
21277
|
+
}, {
|
21278
|
+
readonly name: "blockHash";
|
21279
|
+
readonly internalType: "bytes32";
|
21280
|
+
readonly type: "bytes32";
|
21281
|
+
}, {
|
21282
|
+
readonly name: "returnData";
|
21283
|
+
readonly internalType: "struct Multicall3.Result[]";
|
21284
|
+
readonly type: "tuple[]";
|
21285
|
+
readonly components: readonly [{
|
21286
|
+
readonly name: "success";
|
21287
|
+
readonly internalType: "bool";
|
21288
|
+
readonly type: "bool";
|
21289
|
+
}, {
|
21290
|
+
readonly name: "returnData";
|
21291
|
+
readonly internalType: "bytes";
|
21292
|
+
readonly type: "bytes";
|
21293
|
+
}];
|
21294
|
+
}];
|
21295
|
+
readonly stateMutability: "payable";
|
21296
|
+
}, {
|
21297
|
+
readonly type: "function";
|
21298
|
+
readonly inputs: readonly [];
|
21299
|
+
readonly name: "getBasefee";
|
21300
|
+
readonly outputs: readonly [{
|
21301
|
+
readonly name: "basefee";
|
21302
|
+
readonly internalType: "uint256";
|
21303
|
+
readonly type: "uint256";
|
21304
|
+
}];
|
21305
|
+
readonly stateMutability: "view";
|
21306
|
+
}, {
|
21307
|
+
readonly type: "function";
|
21308
|
+
readonly inputs: readonly [{
|
21309
|
+
readonly name: "blockNumber";
|
21310
|
+
readonly internalType: "uint256";
|
21311
|
+
readonly type: "uint256";
|
21312
|
+
}];
|
21313
|
+
readonly name: "getBlockHash";
|
21314
|
+
readonly outputs: readonly [{
|
21315
|
+
readonly name: "blockHash";
|
21316
|
+
readonly internalType: "bytes32";
|
21317
|
+
readonly type: "bytes32";
|
21318
|
+
}];
|
21319
|
+
readonly stateMutability: "view";
|
21320
|
+
}, {
|
21321
|
+
readonly type: "function";
|
21322
|
+
readonly inputs: readonly [];
|
21323
|
+
readonly name: "getBlockNumber";
|
21324
|
+
readonly outputs: readonly [{
|
21325
|
+
readonly name: "blockNumber";
|
21326
|
+
readonly internalType: "uint256";
|
21327
|
+
readonly type: "uint256";
|
21328
|
+
}];
|
21329
|
+
readonly stateMutability: "view";
|
21330
|
+
}, {
|
21331
|
+
readonly type: "function";
|
21332
|
+
readonly inputs: readonly [];
|
21333
|
+
readonly name: "getChainId";
|
21334
|
+
readonly outputs: readonly [{
|
21335
|
+
readonly name: "chainid";
|
21336
|
+
readonly internalType: "uint256";
|
21337
|
+
readonly type: "uint256";
|
21338
|
+
}];
|
21339
|
+
readonly stateMutability: "view";
|
21340
|
+
}, {
|
21341
|
+
readonly type: "function";
|
21342
|
+
readonly inputs: readonly [];
|
21343
|
+
readonly name: "getCurrentBlockCoinbase";
|
21344
|
+
readonly outputs: readonly [{
|
21345
|
+
readonly name: "coinbase";
|
21346
|
+
readonly internalType: "address";
|
21347
|
+
readonly type: "address";
|
21348
|
+
}];
|
21349
|
+
readonly stateMutability: "view";
|
21350
|
+
}, {
|
21351
|
+
readonly type: "function";
|
21352
|
+
readonly inputs: readonly [];
|
21353
|
+
readonly name: "getCurrentBlockDifficulty";
|
21354
|
+
readonly outputs: readonly [{
|
21355
|
+
readonly name: "difficulty";
|
21356
|
+
readonly internalType: "uint256";
|
21357
|
+
readonly type: "uint256";
|
21358
|
+
}];
|
21359
|
+
readonly stateMutability: "view";
|
21360
|
+
}, {
|
21361
|
+
readonly type: "function";
|
21362
|
+
readonly inputs: readonly [];
|
21363
|
+
readonly name: "getCurrentBlockGasLimit";
|
21364
|
+
readonly outputs: readonly [{
|
21365
|
+
readonly name: "gaslimit";
|
21366
|
+
readonly internalType: "uint256";
|
21367
|
+
readonly type: "uint256";
|
21368
|
+
}];
|
21369
|
+
readonly stateMutability: "view";
|
21370
|
+
}, {
|
21371
|
+
readonly type: "function";
|
21372
|
+
readonly inputs: readonly [];
|
21373
|
+
readonly name: "getCurrentBlockTimestamp";
|
21374
|
+
readonly outputs: readonly [{
|
21375
|
+
readonly name: "timestamp";
|
21376
|
+
readonly internalType: "uint256";
|
21377
|
+
readonly type: "uint256";
|
21378
|
+
}];
|
21379
|
+
readonly stateMutability: "view";
|
21380
|
+
}, {
|
21381
|
+
readonly type: "function";
|
21382
|
+
readonly inputs: readonly [{
|
21383
|
+
readonly name: "addr";
|
21384
|
+
readonly internalType: "address";
|
21385
|
+
readonly type: "address";
|
21386
|
+
}];
|
21387
|
+
readonly name: "getEthBalance";
|
21388
|
+
readonly outputs: readonly [{
|
21389
|
+
readonly name: "balance";
|
21390
|
+
readonly internalType: "uint256";
|
21391
|
+
readonly type: "uint256";
|
21392
|
+
}];
|
21393
|
+
readonly stateMutability: "view";
|
21394
|
+
}, {
|
21395
|
+
readonly type: "function";
|
21396
|
+
readonly inputs: readonly [];
|
21397
|
+
readonly name: "getLastBlockHash";
|
21398
|
+
readonly outputs: readonly [{
|
21399
|
+
readonly name: "blockHash";
|
21400
|
+
readonly internalType: "bytes32";
|
21401
|
+
readonly type: "bytes32";
|
21402
|
+
}];
|
21403
|
+
readonly stateMutability: "view";
|
21404
|
+
}, {
|
21405
|
+
readonly type: "function";
|
21406
|
+
readonly inputs: readonly [{
|
21407
|
+
readonly name: "requireSuccess";
|
21408
|
+
readonly internalType: "bool";
|
21409
|
+
readonly type: "bool";
|
21410
|
+
}, {
|
21411
|
+
readonly name: "calls";
|
21412
|
+
readonly internalType: "struct Multicall3.Call[]";
|
21413
|
+
readonly type: "tuple[]";
|
21414
|
+
readonly components: readonly [{
|
21415
|
+
readonly name: "target";
|
21416
|
+
readonly internalType: "address";
|
21417
|
+
readonly type: "address";
|
21418
|
+
}, {
|
21419
|
+
readonly name: "callData";
|
21420
|
+
readonly internalType: "bytes";
|
21421
|
+
readonly type: "bytes";
|
21422
|
+
}];
|
21423
|
+
}];
|
21424
|
+
readonly name: "tryAggregate";
|
21425
|
+
readonly outputs: readonly [{
|
21426
|
+
readonly name: "returnData";
|
21427
|
+
readonly internalType: "struct Multicall3.Result[]";
|
21428
|
+
readonly type: "tuple[]";
|
21429
|
+
readonly components: readonly [{
|
21430
|
+
readonly name: "success";
|
21431
|
+
readonly internalType: "bool";
|
21432
|
+
readonly type: "bool";
|
21433
|
+
}, {
|
21434
|
+
readonly name: "returnData";
|
21435
|
+
readonly internalType: "bytes";
|
21436
|
+
readonly type: "bytes";
|
21437
|
+
}];
|
21438
|
+
}];
|
21439
|
+
readonly stateMutability: "payable";
|
21440
|
+
}, {
|
21441
|
+
readonly type: "function";
|
21442
|
+
readonly inputs: readonly [{
|
21443
|
+
readonly name: "requireSuccess";
|
21444
|
+
readonly internalType: "bool";
|
21445
|
+
readonly type: "bool";
|
21446
|
+
}, {
|
21447
|
+
readonly name: "calls";
|
21448
|
+
readonly internalType: "struct Multicall3.Call[]";
|
21449
|
+
readonly type: "tuple[]";
|
21450
|
+
readonly components: readonly [{
|
21451
|
+
readonly name: "target";
|
21452
|
+
readonly internalType: "address";
|
21453
|
+
readonly type: "address";
|
21454
|
+
}, {
|
21455
|
+
readonly name: "callData";
|
21456
|
+
readonly internalType: "bytes";
|
21457
|
+
readonly type: "bytes";
|
21458
|
+
}];
|
21459
|
+
}];
|
21460
|
+
readonly name: "tryBlockAndAggregate";
|
21461
|
+
readonly outputs: readonly [{
|
21462
|
+
readonly name: "blockNumber";
|
21463
|
+
readonly internalType: "uint256";
|
21464
|
+
readonly type: "uint256";
|
21465
|
+
}, {
|
21466
|
+
readonly name: "blockHash";
|
21467
|
+
readonly internalType: "bytes32";
|
21468
|
+
readonly type: "bytes32";
|
21469
|
+
}, {
|
21470
|
+
readonly name: "returnData";
|
21471
|
+
readonly internalType: "struct Multicall3.Result[]";
|
21472
|
+
readonly type: "tuple[]";
|
21473
|
+
readonly components: readonly [{
|
21474
|
+
readonly name: "success";
|
21475
|
+
readonly internalType: "bool";
|
21476
|
+
readonly type: "bool";
|
21477
|
+
}, {
|
21478
|
+
readonly name: "returnData";
|
21479
|
+
readonly internalType: "bytes";
|
21480
|
+
readonly type: "bytes";
|
21481
|
+
}];
|
21482
|
+
}];
|
21483
|
+
readonly stateMutability: "payable";
|
21484
|
+
}];
|
21485
|
+
/**
|
21486
|
+
*
|
21487
|
+
*/
|
21488
|
+
export declare const multicall3Address: {
|
21489
|
+
readonly 1516: "0xcA11bde05977b3631167028862bE2a173976CA11";
|
21490
|
+
};
|
21491
|
+
/**
|
21492
|
+
*
|
21493
|
+
*/
|
21494
|
+
export declare const multicall3Config: {
|
21495
|
+
readonly address: {
|
21496
|
+
readonly 1516: "0xcA11bde05977b3631167028862bE2a173976CA11";
|
21497
|
+
};
|
21498
|
+
readonly abi: readonly [{
|
21499
|
+
readonly type: "function";
|
21500
|
+
readonly inputs: readonly [{
|
21501
|
+
readonly name: "calls";
|
21502
|
+
readonly internalType: "struct Multicall3.Call[]";
|
21503
|
+
readonly type: "tuple[]";
|
21504
|
+
readonly components: readonly [{
|
21505
|
+
readonly name: "target";
|
21506
|
+
readonly internalType: "address";
|
21507
|
+
readonly type: "address";
|
21508
|
+
}, {
|
21509
|
+
readonly name: "callData";
|
21510
|
+
readonly internalType: "bytes";
|
21511
|
+
readonly type: "bytes";
|
21512
|
+
}];
|
21513
|
+
}];
|
21514
|
+
readonly name: "aggregate";
|
21515
|
+
readonly outputs: readonly [{
|
21516
|
+
readonly name: "blockNumber";
|
21517
|
+
readonly internalType: "uint256";
|
21518
|
+
readonly type: "uint256";
|
21519
|
+
}, {
|
21520
|
+
readonly name: "returnData";
|
21521
|
+
readonly internalType: "bytes[]";
|
21522
|
+
readonly type: "bytes[]";
|
21523
|
+
}];
|
21524
|
+
readonly stateMutability: "payable";
|
21525
|
+
}, {
|
21526
|
+
readonly type: "function";
|
21527
|
+
readonly inputs: readonly [{
|
21528
|
+
readonly name: "calls";
|
21529
|
+
readonly internalType: "struct Multicall3.Call3[]";
|
21530
|
+
readonly type: "tuple[]";
|
21531
|
+
readonly components: readonly [{
|
21532
|
+
readonly name: "target";
|
21533
|
+
readonly internalType: "address";
|
21534
|
+
readonly type: "address";
|
21535
|
+
}, {
|
21536
|
+
readonly name: "allowFailure";
|
21537
|
+
readonly internalType: "bool";
|
21538
|
+
readonly type: "bool";
|
21539
|
+
}, {
|
21540
|
+
readonly name: "callData";
|
21541
|
+
readonly internalType: "bytes";
|
21542
|
+
readonly type: "bytes";
|
21543
|
+
}];
|
21544
|
+
}];
|
21545
|
+
readonly name: "aggregate3";
|
21546
|
+
readonly outputs: readonly [{
|
21547
|
+
readonly name: "returnData";
|
21548
|
+
readonly internalType: "struct Multicall3.Result[]";
|
21549
|
+
readonly type: "tuple[]";
|
21550
|
+
readonly components: readonly [{
|
21551
|
+
readonly name: "success";
|
21552
|
+
readonly internalType: "bool";
|
21553
|
+
readonly type: "bool";
|
21554
|
+
}, {
|
21555
|
+
readonly name: "returnData";
|
21556
|
+
readonly internalType: "bytes";
|
21557
|
+
readonly type: "bytes";
|
21558
|
+
}];
|
21559
|
+
}];
|
21560
|
+
readonly stateMutability: "payable";
|
21561
|
+
}, {
|
21562
|
+
readonly type: "function";
|
21563
|
+
readonly inputs: readonly [{
|
21564
|
+
readonly name: "calls";
|
21565
|
+
readonly internalType: "struct Multicall3.Call3Value[]";
|
21566
|
+
readonly type: "tuple[]";
|
21567
|
+
readonly components: readonly [{
|
21568
|
+
readonly name: "target";
|
21569
|
+
readonly internalType: "address";
|
21570
|
+
readonly type: "address";
|
21571
|
+
}, {
|
21572
|
+
readonly name: "allowFailure";
|
21573
|
+
readonly internalType: "bool";
|
21574
|
+
readonly type: "bool";
|
21575
|
+
}, {
|
21576
|
+
readonly name: "value";
|
21577
|
+
readonly internalType: "uint256";
|
21578
|
+
readonly type: "uint256";
|
21579
|
+
}, {
|
21580
|
+
readonly name: "callData";
|
21581
|
+
readonly internalType: "bytes";
|
21582
|
+
readonly type: "bytes";
|
21583
|
+
}];
|
21584
|
+
}];
|
21585
|
+
readonly name: "aggregate3Value";
|
21586
|
+
readonly outputs: readonly [{
|
21587
|
+
readonly name: "returnData";
|
21588
|
+
readonly internalType: "struct Multicall3.Result[]";
|
21589
|
+
readonly type: "tuple[]";
|
21590
|
+
readonly components: readonly [{
|
21591
|
+
readonly name: "success";
|
21592
|
+
readonly internalType: "bool";
|
21593
|
+
readonly type: "bool";
|
21594
|
+
}, {
|
21595
|
+
readonly name: "returnData";
|
21596
|
+
readonly internalType: "bytes";
|
21597
|
+
readonly type: "bytes";
|
21598
|
+
}];
|
21599
|
+
}];
|
21600
|
+
readonly stateMutability: "payable";
|
21601
|
+
}, {
|
21602
|
+
readonly type: "function";
|
21603
|
+
readonly inputs: readonly [{
|
21604
|
+
readonly name: "calls";
|
21605
|
+
readonly internalType: "struct Multicall3.Call[]";
|
21606
|
+
readonly type: "tuple[]";
|
21607
|
+
readonly components: readonly [{
|
21608
|
+
readonly name: "target";
|
21609
|
+
readonly internalType: "address";
|
21610
|
+
readonly type: "address";
|
21611
|
+
}, {
|
21612
|
+
readonly name: "callData";
|
21613
|
+
readonly internalType: "bytes";
|
21614
|
+
readonly type: "bytes";
|
21615
|
+
}];
|
21616
|
+
}];
|
21617
|
+
readonly name: "blockAndAggregate";
|
21618
|
+
readonly outputs: readonly [{
|
21619
|
+
readonly name: "blockNumber";
|
21620
|
+
readonly internalType: "uint256";
|
21621
|
+
readonly type: "uint256";
|
21622
|
+
}, {
|
21623
|
+
readonly name: "blockHash";
|
21624
|
+
readonly internalType: "bytes32";
|
21625
|
+
readonly type: "bytes32";
|
21626
|
+
}, {
|
21627
|
+
readonly name: "returnData";
|
21628
|
+
readonly internalType: "struct Multicall3.Result[]";
|
21629
|
+
readonly type: "tuple[]";
|
21630
|
+
readonly components: readonly [{
|
21631
|
+
readonly name: "success";
|
21632
|
+
readonly internalType: "bool";
|
21633
|
+
readonly type: "bool";
|
21634
|
+
}, {
|
21635
|
+
readonly name: "returnData";
|
21636
|
+
readonly internalType: "bytes";
|
21637
|
+
readonly type: "bytes";
|
21638
|
+
}];
|
21639
|
+
}];
|
21640
|
+
readonly stateMutability: "payable";
|
21641
|
+
}, {
|
21642
|
+
readonly type: "function";
|
21643
|
+
readonly inputs: readonly [];
|
21644
|
+
readonly name: "getBasefee";
|
21645
|
+
readonly outputs: readonly [{
|
21646
|
+
readonly name: "basefee";
|
21647
|
+
readonly internalType: "uint256";
|
21648
|
+
readonly type: "uint256";
|
21649
|
+
}];
|
21650
|
+
readonly stateMutability: "view";
|
21651
|
+
}, {
|
21652
|
+
readonly type: "function";
|
21653
|
+
readonly inputs: readonly [{
|
21654
|
+
readonly name: "blockNumber";
|
21655
|
+
readonly internalType: "uint256";
|
21656
|
+
readonly type: "uint256";
|
21657
|
+
}];
|
21658
|
+
readonly name: "getBlockHash";
|
21659
|
+
readonly outputs: readonly [{
|
21660
|
+
readonly name: "blockHash";
|
21661
|
+
readonly internalType: "bytes32";
|
21662
|
+
readonly type: "bytes32";
|
21663
|
+
}];
|
21664
|
+
readonly stateMutability: "view";
|
21665
|
+
}, {
|
21666
|
+
readonly type: "function";
|
21667
|
+
readonly inputs: readonly [];
|
21668
|
+
readonly name: "getBlockNumber";
|
21669
|
+
readonly outputs: readonly [{
|
21670
|
+
readonly name: "blockNumber";
|
21671
|
+
readonly internalType: "uint256";
|
21672
|
+
readonly type: "uint256";
|
21673
|
+
}];
|
21674
|
+
readonly stateMutability: "view";
|
21675
|
+
}, {
|
21676
|
+
readonly type: "function";
|
21677
|
+
readonly inputs: readonly [];
|
21678
|
+
readonly name: "getChainId";
|
21679
|
+
readonly outputs: readonly [{
|
21680
|
+
readonly name: "chainid";
|
21681
|
+
readonly internalType: "uint256";
|
21682
|
+
readonly type: "uint256";
|
21683
|
+
}];
|
21684
|
+
readonly stateMutability: "view";
|
21685
|
+
}, {
|
21686
|
+
readonly type: "function";
|
21687
|
+
readonly inputs: readonly [];
|
21688
|
+
readonly name: "getCurrentBlockCoinbase";
|
21689
|
+
readonly outputs: readonly [{
|
21690
|
+
readonly name: "coinbase";
|
21691
|
+
readonly internalType: "address";
|
21692
|
+
readonly type: "address";
|
21693
|
+
}];
|
21694
|
+
readonly stateMutability: "view";
|
21695
|
+
}, {
|
21696
|
+
readonly type: "function";
|
21697
|
+
readonly inputs: readonly [];
|
21698
|
+
readonly name: "getCurrentBlockDifficulty";
|
21699
|
+
readonly outputs: readonly [{
|
21700
|
+
readonly name: "difficulty";
|
21701
|
+
readonly internalType: "uint256";
|
21702
|
+
readonly type: "uint256";
|
21703
|
+
}];
|
21704
|
+
readonly stateMutability: "view";
|
21705
|
+
}, {
|
21706
|
+
readonly type: "function";
|
21707
|
+
readonly inputs: readonly [];
|
21708
|
+
readonly name: "getCurrentBlockGasLimit";
|
21709
|
+
readonly outputs: readonly [{
|
21710
|
+
readonly name: "gaslimit";
|
21711
|
+
readonly internalType: "uint256";
|
21712
|
+
readonly type: "uint256";
|
21713
|
+
}];
|
21714
|
+
readonly stateMutability: "view";
|
21715
|
+
}, {
|
21716
|
+
readonly type: "function";
|
21717
|
+
readonly inputs: readonly [];
|
21718
|
+
readonly name: "getCurrentBlockTimestamp";
|
21719
|
+
readonly outputs: readonly [{
|
21720
|
+
readonly name: "timestamp";
|
21721
|
+
readonly internalType: "uint256";
|
21722
|
+
readonly type: "uint256";
|
21723
|
+
}];
|
21724
|
+
readonly stateMutability: "view";
|
21725
|
+
}, {
|
21726
|
+
readonly type: "function";
|
21727
|
+
readonly inputs: readonly [{
|
21728
|
+
readonly name: "addr";
|
21729
|
+
readonly internalType: "address";
|
21730
|
+
readonly type: "address";
|
21731
|
+
}];
|
21732
|
+
readonly name: "getEthBalance";
|
21733
|
+
readonly outputs: readonly [{
|
21734
|
+
readonly name: "balance";
|
21735
|
+
readonly internalType: "uint256";
|
21736
|
+
readonly type: "uint256";
|
21737
|
+
}];
|
21738
|
+
readonly stateMutability: "view";
|
21739
|
+
}, {
|
21740
|
+
readonly type: "function";
|
21741
|
+
readonly inputs: readonly [];
|
21742
|
+
readonly name: "getLastBlockHash";
|
21743
|
+
readonly outputs: readonly [{
|
21744
|
+
readonly name: "blockHash";
|
21745
|
+
readonly internalType: "bytes32";
|
21746
|
+
readonly type: "bytes32";
|
21747
|
+
}];
|
21748
|
+
readonly stateMutability: "view";
|
21749
|
+
}, {
|
21750
|
+
readonly type: "function";
|
21751
|
+
readonly inputs: readonly [{
|
21752
|
+
readonly name: "requireSuccess";
|
21753
|
+
readonly internalType: "bool";
|
21754
|
+
readonly type: "bool";
|
21755
|
+
}, {
|
21756
|
+
readonly name: "calls";
|
21757
|
+
readonly internalType: "struct Multicall3.Call[]";
|
21758
|
+
readonly type: "tuple[]";
|
21759
|
+
readonly components: readonly [{
|
21760
|
+
readonly name: "target";
|
21761
|
+
readonly internalType: "address";
|
21762
|
+
readonly type: "address";
|
21763
|
+
}, {
|
21764
|
+
readonly name: "callData";
|
21765
|
+
readonly internalType: "bytes";
|
21766
|
+
readonly type: "bytes";
|
21767
|
+
}];
|
21768
|
+
}];
|
21769
|
+
readonly name: "tryAggregate";
|
21770
|
+
readonly outputs: readonly [{
|
21771
|
+
readonly name: "returnData";
|
21772
|
+
readonly internalType: "struct Multicall3.Result[]";
|
21773
|
+
readonly type: "tuple[]";
|
21774
|
+
readonly components: readonly [{
|
21775
|
+
readonly name: "success";
|
21776
|
+
readonly internalType: "bool";
|
21777
|
+
readonly type: "bool";
|
21778
|
+
}, {
|
21779
|
+
readonly name: "returnData";
|
21780
|
+
readonly internalType: "bytes";
|
21781
|
+
readonly type: "bytes";
|
21782
|
+
}];
|
21783
|
+
}];
|
21784
|
+
readonly stateMutability: "payable";
|
21785
|
+
}, {
|
21786
|
+
readonly type: "function";
|
21787
|
+
readonly inputs: readonly [{
|
21788
|
+
readonly name: "requireSuccess";
|
21789
|
+
readonly internalType: "bool";
|
21790
|
+
readonly type: "bool";
|
21791
|
+
}, {
|
21792
|
+
readonly name: "calls";
|
21793
|
+
readonly internalType: "struct Multicall3.Call[]";
|
21794
|
+
readonly type: "tuple[]";
|
21795
|
+
readonly components: readonly [{
|
21796
|
+
readonly name: "target";
|
21797
|
+
readonly internalType: "address";
|
21798
|
+
readonly type: "address";
|
21799
|
+
}, {
|
21800
|
+
readonly name: "callData";
|
21801
|
+
readonly internalType: "bytes";
|
21802
|
+
readonly type: "bytes";
|
21803
|
+
}];
|
21804
|
+
}];
|
21805
|
+
readonly name: "tryBlockAndAggregate";
|
21806
|
+
readonly outputs: readonly [{
|
21807
|
+
readonly name: "blockNumber";
|
21808
|
+
readonly internalType: "uint256";
|
21809
|
+
readonly type: "uint256";
|
21810
|
+
}, {
|
21811
|
+
readonly name: "blockHash";
|
21812
|
+
readonly internalType: "bytes32";
|
21813
|
+
readonly type: "bytes32";
|
21814
|
+
}, {
|
21815
|
+
readonly name: "returnData";
|
21816
|
+
readonly internalType: "struct Multicall3.Result[]";
|
21817
|
+
readonly type: "tuple[]";
|
21818
|
+
readonly components: readonly [{
|
21819
|
+
readonly name: "success";
|
21820
|
+
readonly internalType: "bool";
|
21821
|
+
readonly type: "bool";
|
21822
|
+
}, {
|
21823
|
+
readonly name: "returnData";
|
21824
|
+
readonly internalType: "bytes";
|
21825
|
+
readonly type: "bytes";
|
21826
|
+
}];
|
21827
|
+
}];
|
21828
|
+
readonly stateMutability: "payable";
|
21829
|
+
}];
|
21830
|
+
};
|
21150
21831
|
/**
|
21151
21832
|
*
|
21152
21833
|
*/
|
@@ -31604,6 +32285,14 @@ export type DerivativeWorkflowsMintAndRegisterIpAndMakeDerivativeWithLicenseToke
|
|
31604
32285
|
};
|
31605
32286
|
recipient: Address;
|
31606
32287
|
};
|
32288
|
+
/**
|
32289
|
+
* DerivativeWorkflowsMulticallRequest
|
32290
|
+
*
|
32291
|
+
* @param data bytes[]
|
32292
|
+
*/
|
32293
|
+
export type DerivativeWorkflowsMulticallRequest = {
|
32294
|
+
data: readonly Hex[];
|
32295
|
+
};
|
31607
32296
|
/**
|
31608
32297
|
* DerivativeWorkflowsRegisterIpAndMakeDerivativeRequest
|
31609
32298
|
*
|
@@ -31709,6 +32398,20 @@ export declare class DerivativeWorkflowsClient {
|
|
31709
32398
|
* @return EncodedTxData
|
31710
32399
|
*/
|
31711
32400
|
mintAndRegisterIpAndMakeDerivativeWithLicenseTokensEncode(request: DerivativeWorkflowsMintAndRegisterIpAndMakeDerivativeWithLicenseTokensRequest): EncodedTxData;
|
32401
|
+
/**
|
32402
|
+
* method multicall for contract DerivativeWorkflows
|
32403
|
+
*
|
32404
|
+
* @param request DerivativeWorkflowsMulticallRequest
|
32405
|
+
* @return Promise<WriteContractReturnType>
|
32406
|
+
*/
|
32407
|
+
multicall(request: DerivativeWorkflowsMulticallRequest): Promise<WriteContractReturnType>;
|
32408
|
+
/**
|
32409
|
+
* method multicall for contract DerivativeWorkflows with only encode
|
32410
|
+
*
|
32411
|
+
* @param request DerivativeWorkflowsMulticallRequest
|
32412
|
+
* @return EncodedTxData
|
32413
|
+
*/
|
32414
|
+
multicallEncode(request: DerivativeWorkflowsMulticallRequest): EncodedTxData;
|
31712
32415
|
/**
|
31713
32416
|
* method registerIpAndMakeDerivative for contract DerivativeWorkflows
|
31714
32417
|
*
|
@@ -33554,6 +34257,14 @@ export type LicenseAttachmentWorkflowsMintAndRegisterIpAndAttachPilTermsRequest
|
|
33554
34257
|
uri: string;
|
33555
34258
|
};
|
33556
34259
|
};
|
34260
|
+
/**
|
34261
|
+
* LicenseAttachmentWorkflowsMulticallRequest
|
34262
|
+
*
|
34263
|
+
* @param data bytes[]
|
34264
|
+
*/
|
34265
|
+
export type LicenseAttachmentWorkflowsMulticallRequest = {
|
34266
|
+
data: readonly Hex[];
|
34267
|
+
};
|
33557
34268
|
/**
|
33558
34269
|
* LicenseAttachmentWorkflowsRegisterIpAndAttachPilTermsRequest
|
33559
34270
|
*
|
@@ -33659,6 +34370,20 @@ export declare class LicenseAttachmentWorkflowsClient {
|
|
33659
34370
|
* @return EncodedTxData
|
33660
34371
|
*/
|
33661
34372
|
mintAndRegisterIpAndAttachPilTermsEncode(request: LicenseAttachmentWorkflowsMintAndRegisterIpAndAttachPilTermsRequest): EncodedTxData;
|
34373
|
+
/**
|
34374
|
+
* method multicall for contract LicenseAttachmentWorkflows
|
34375
|
+
*
|
34376
|
+
* @param request LicenseAttachmentWorkflowsMulticallRequest
|
34377
|
+
* @return Promise<WriteContractReturnType>
|
34378
|
+
*/
|
34379
|
+
multicall(request: LicenseAttachmentWorkflowsMulticallRequest): Promise<WriteContractReturnType>;
|
34380
|
+
/**
|
34381
|
+
* method multicall for contract LicenseAttachmentWorkflows with only encode
|
34382
|
+
*
|
34383
|
+
* @param request LicenseAttachmentWorkflowsMulticallRequest
|
34384
|
+
* @return EncodedTxData
|
34385
|
+
*/
|
34386
|
+
multicallEncode(request: LicenseAttachmentWorkflowsMulticallRequest): EncodedTxData;
|
33662
34387
|
/**
|
33663
34388
|
* method registerIpAndAttachPILTerms for contract LicenseAttachmentWorkflows
|
33664
34389
|
*
|
@@ -35063,6 +35788,41 @@ export declare class ModuleRegistryReadOnlyClient {
|
|
35063
35788
|
*/
|
35064
35789
|
isRegistered(request: ModuleRegistryIsRegisteredRequest): Promise<ModuleRegistryIsRegisteredResponse>;
|
35065
35790
|
}
|
35791
|
+
/**
|
35792
|
+
* Multicall3Aggregate3Request
|
35793
|
+
*
|
35794
|
+
* @param calls tuple[]
|
35795
|
+
*/
|
35796
|
+
export type Multicall3Aggregate3Request = {
|
35797
|
+
calls: {
|
35798
|
+
target: Address;
|
35799
|
+
allowFailure: boolean;
|
35800
|
+
callData: Hex;
|
35801
|
+
}[];
|
35802
|
+
};
|
35803
|
+
/**
|
35804
|
+
* contract Multicall3 write method
|
35805
|
+
*/
|
35806
|
+
export declare class Multicall3Client {
|
35807
|
+
protected readonly wallet: SimpleWalletClient;
|
35808
|
+
protected readonly rpcClient: PublicClient;
|
35809
|
+
readonly address: Address;
|
35810
|
+
constructor(rpcClient: PublicClient, wallet: SimpleWalletClient, address?: Address);
|
35811
|
+
/**
|
35812
|
+
* method aggregate3 for contract Multicall3
|
35813
|
+
*
|
35814
|
+
* @param request Multicall3Aggregate3Request
|
35815
|
+
* @return Promise<WriteContractReturnType>
|
35816
|
+
*/
|
35817
|
+
aggregate3(request: Multicall3Aggregate3Request): Promise<WriteContractReturnType>;
|
35818
|
+
/**
|
35819
|
+
* method aggregate3 for contract Multicall3 with only encode
|
35820
|
+
*
|
35821
|
+
* @param request Multicall3Aggregate3Request
|
35822
|
+
* @return EncodedTxData
|
35823
|
+
*/
|
35824
|
+
aggregate3Encode(request: Multicall3Aggregate3Request): EncodedTxData;
|
35825
|
+
}
|
35066
35826
|
/**
|
35067
35827
|
* PiLicenseTemplateAuthorityUpdatedEvent
|
35068
35828
|
*
|
@@ -35802,6 +36562,14 @@ export type RegistrationWorkflowsMintAndRegisterIpRequest = {
|
|
35802
36562
|
nftMetadataHash: Hex;
|
35803
36563
|
};
|
35804
36564
|
};
|
36565
|
+
/**
|
36566
|
+
* RegistrationWorkflowsMulticallRequest
|
36567
|
+
*
|
36568
|
+
* @param data bytes[]
|
36569
|
+
*/
|
36570
|
+
export type RegistrationWorkflowsMulticallRequest = {
|
36571
|
+
data: readonly Hex[];
|
36572
|
+
};
|
35805
36573
|
/**
|
35806
36574
|
* RegistrationWorkflowsRegisterIpRequest
|
35807
36575
|
*
|
@@ -35875,6 +36643,20 @@ export declare class RegistrationWorkflowsClient extends RegistrationWorkflowsEv
|
|
35875
36643
|
* @return EncodedTxData
|
35876
36644
|
*/
|
35877
36645
|
mintAndRegisterIpEncode(request: RegistrationWorkflowsMintAndRegisterIpRequest): EncodedTxData;
|
36646
|
+
/**
|
36647
|
+
* method multicall for contract RegistrationWorkflows
|
36648
|
+
*
|
36649
|
+
* @param request RegistrationWorkflowsMulticallRequest
|
36650
|
+
* @return Promise<WriteContractReturnType>
|
36651
|
+
*/
|
36652
|
+
multicall(request: RegistrationWorkflowsMulticallRequest): Promise<WriteContractReturnType>;
|
36653
|
+
/**
|
36654
|
+
* method multicall for contract RegistrationWorkflows with only encode
|
36655
|
+
*
|
36656
|
+
* @param request RegistrationWorkflowsMulticallRequest
|
36657
|
+
* @return EncodedTxData
|
36658
|
+
*/
|
36659
|
+
multicallEncode(request: RegistrationWorkflowsMulticallRequest): EncodedTxData;
|
35878
36660
|
/**
|
35879
36661
|
* method registerIp for contract RegistrationWorkflows
|
35880
36662
|
*
|