@story-protocol/core-sdk 1.3.0-rc.1 → 1.3.0-rc.2
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/declarations/src/abi/generated.d.ts +82 -46
- package/dist/declarations/src/abi/generated.d.ts.map +1 -1
- package/dist/declarations/src/resources/dispute.d.ts +4 -1
- package/dist/declarations/src/resources/dispute.d.ts.map +1 -1
- package/dist/declarations/src/resources/ipAccount.d.ts +9 -2
- package/dist/declarations/src/resources/ipAccount.d.ts.map +1 -1
- package/dist/declarations/src/resources/royalty.d.ts.map +1 -1
- package/dist/declarations/src/types/resources/dispute.d.ts +11 -1
- package/dist/declarations/src/types/resources/dispute.d.ts.map +1 -1
- package/dist/declarations/src/types/resources/ipAccount.d.ts +12 -0
- package/dist/declarations/src/types/resources/ipAccount.d.ts.map +1 -1
- package/dist/story-protocol-core-sdk.cjs.dev.js +722 -404
- package/dist/story-protocol-core-sdk.cjs.prod.js +722 -404
- package/dist/story-protocol-core-sdk.esm.js +722 -404
- package/package.json +1 -1
@@ -16233,22 +16233,6 @@ export declare const ipRoyaltyVaultImplAbi: readonly [{
|
|
16233
16233
|
readonly type: "address";
|
16234
16234
|
}];
|
16235
16235
|
readonly stateMutability: "nonpayable";
|
16236
|
-
}, {
|
16237
|
-
readonly type: "error";
|
16238
|
-
readonly inputs: readonly [{
|
16239
|
-
readonly name: "target";
|
16240
|
-
readonly internalType: "address";
|
16241
|
-
readonly type: "address";
|
16242
|
-
}];
|
16243
|
-
readonly name: "AddressEmptyCode";
|
16244
|
-
}, {
|
16245
|
-
readonly type: "error";
|
16246
|
-
readonly inputs: readonly [{
|
16247
|
-
readonly name: "account";
|
16248
|
-
readonly internalType: "address";
|
16249
|
-
readonly type: "address";
|
16250
|
-
}];
|
16251
|
-
readonly name: "AddressInsufficientBalance";
|
16252
16236
|
}, {
|
16253
16237
|
readonly type: "error";
|
16254
16238
|
readonly inputs: readonly [{
|
@@ -16313,10 +16297,6 @@ export declare const ipRoyaltyVaultImplAbi: readonly [{
|
|
16313
16297
|
readonly type: "address";
|
16314
16298
|
}];
|
16315
16299
|
readonly name: "ERC20InvalidSpender";
|
16316
|
-
}, {
|
16317
|
-
readonly type: "error";
|
16318
|
-
readonly inputs: readonly [];
|
16319
|
-
readonly name: "FailedInnerCall";
|
16320
16300
|
}, {
|
16321
16301
|
readonly type: "error";
|
16322
16302
|
readonly inputs: readonly [];
|
@@ -16873,7 +16853,7 @@ export declare const ipRoyaltyVaultImplAbi: readonly [{
|
|
16873
16853
|
|
16874
16854
|
*/
|
16875
16855
|
export declare const ipRoyaltyVaultImplAddress: {
|
16876
|
-
readonly 1315: "
|
16856
|
+
readonly 1315: "0x73e2D097F71e5103824abB6562362106A8955AEc";
|
16877
16857
|
readonly 1514: "0x63cC7611316880213f3A4Ba9bD72b0EaA2010298";
|
16878
16858
|
};
|
16879
16859
|
/**
|
@@ -16881,7 +16861,7 @@ export declare const ipRoyaltyVaultImplAddress: {
|
|
16881
16861
|
*/
|
16882
16862
|
export declare const ipRoyaltyVaultImplConfig: {
|
16883
16863
|
readonly address: {
|
16884
|
-
readonly 1315: "
|
16864
|
+
readonly 1315: "0x73e2D097F71e5103824abB6562362106A8955AEc";
|
16885
16865
|
readonly 1514: "0x63cC7611316880213f3A4Ba9bD72b0EaA2010298";
|
16886
16866
|
};
|
16887
16867
|
readonly abi: readonly [{
|
@@ -16904,22 +16884,6 @@ export declare const ipRoyaltyVaultImplConfig: {
|
|
16904
16884
|
readonly type: "address";
|
16905
16885
|
}];
|
16906
16886
|
readonly stateMutability: "nonpayable";
|
16907
|
-
}, {
|
16908
|
-
readonly type: "error";
|
16909
|
-
readonly inputs: readonly [{
|
16910
|
-
readonly name: "target";
|
16911
|
-
readonly internalType: "address";
|
16912
|
-
readonly type: "address";
|
16913
|
-
}];
|
16914
|
-
readonly name: "AddressEmptyCode";
|
16915
|
-
}, {
|
16916
|
-
readonly type: "error";
|
16917
|
-
readonly inputs: readonly [{
|
16918
|
-
readonly name: "account";
|
16919
|
-
readonly internalType: "address";
|
16920
|
-
readonly type: "address";
|
16921
|
-
}];
|
16922
|
-
readonly name: "AddressInsufficientBalance";
|
16923
16887
|
}, {
|
16924
16888
|
readonly type: "error";
|
16925
16889
|
readonly inputs: readonly [{
|
@@ -16984,10 +16948,6 @@ export declare const ipRoyaltyVaultImplConfig: {
|
|
16984
16948
|
readonly type: "address";
|
16985
16949
|
}];
|
16986
16950
|
readonly name: "ERC20InvalidSpender";
|
16987
|
-
}, {
|
16988
|
-
readonly type: "error";
|
16989
|
-
readonly inputs: readonly [];
|
16990
|
-
readonly name: "FailedInnerCall";
|
16991
16951
|
}, {
|
16992
16952
|
readonly type: "error";
|
16993
16953
|
readonly inputs: readonly [];
|
@@ -40333,7 +40293,7 @@ export declare const spgnftImplAbi: readonly [{
|
|
40333
40293
|
}, {
|
40334
40294
|
readonly type: "error";
|
40335
40295
|
readonly inputs: readonly [];
|
40336
|
-
readonly name: "
|
40296
|
+
readonly name: "SPGNFT__CallerNotFeeRecipientOrAdmin";
|
40337
40297
|
}, {
|
40338
40298
|
readonly type: "error";
|
40339
40299
|
readonly inputs: readonly [];
|
@@ -40374,6 +40334,14 @@ export declare const spgnftImplAbi: readonly [{
|
|
40374
40334
|
readonly type: "error";
|
40375
40335
|
readonly inputs: readonly [];
|
40376
40336
|
readonly name: "SPGNFT__ZeroMaxSupply";
|
40337
|
+
}, {
|
40338
|
+
readonly type: "error";
|
40339
|
+
readonly inputs: readonly [{
|
40340
|
+
readonly name: "token";
|
40341
|
+
readonly internalType: "address";
|
40342
|
+
readonly type: "address";
|
40343
|
+
}];
|
40344
|
+
readonly name: "SafeERC20FailedOperation";
|
40377
40345
|
}, {
|
40378
40346
|
readonly type: "event";
|
40379
40347
|
readonly anonymous: false;
|
@@ -41152,7 +41120,7 @@ export declare const spgnftImplAbi: readonly [{
|
|
41152
41120
|
|
41153
41121
|
*/
|
41154
41122
|
export declare const spgnftImplAddress: {
|
41155
|
-
readonly 1315: "
|
41123
|
+
readonly 1315: "0xc09e3788Fdfbd3dd8CDaa2aa481B52CcFAb74a42";
|
41156
41124
|
readonly 1514: "0x6Cfa03Bc64B1a76206d0Ea10baDed31D520449F5";
|
41157
41125
|
};
|
41158
41126
|
/**
|
@@ -41160,7 +41128,7 @@ export declare const spgnftImplAddress: {
|
|
41160
41128
|
*/
|
41161
41129
|
export declare const spgnftImplConfig: {
|
41162
41130
|
readonly address: {
|
41163
|
-
readonly 1315: "
|
41131
|
+
readonly 1315: "0xc09e3788Fdfbd3dd8CDaa2aa481B52CcFAb74a42";
|
41164
41132
|
readonly 1514: "0x6Cfa03Bc64B1a76206d0Ea10baDed31D520449F5";
|
41165
41133
|
};
|
41166
41134
|
readonly abi: readonly [{
|
@@ -41290,7 +41258,7 @@ export declare const spgnftImplConfig: {
|
|
41290
41258
|
}, {
|
41291
41259
|
readonly type: "error";
|
41292
41260
|
readonly inputs: readonly [];
|
41293
|
-
readonly name: "
|
41261
|
+
readonly name: "SPGNFT__CallerNotFeeRecipientOrAdmin";
|
41294
41262
|
}, {
|
41295
41263
|
readonly type: "error";
|
41296
41264
|
readonly inputs: readonly [];
|
@@ -41331,6 +41299,14 @@ export declare const spgnftImplConfig: {
|
|
41331
41299
|
readonly type: "error";
|
41332
41300
|
readonly inputs: readonly [];
|
41333
41301
|
readonly name: "SPGNFT__ZeroMaxSupply";
|
41302
|
+
}, {
|
41303
|
+
readonly type: "error";
|
41304
|
+
readonly inputs: readonly [{
|
41305
|
+
readonly name: "token";
|
41306
|
+
readonly internalType: "address";
|
41307
|
+
readonly type: "address";
|
41308
|
+
}];
|
41309
|
+
readonly name: "SafeERC20FailedOperation";
|
41334
41310
|
}, {
|
41335
41311
|
readonly type: "event";
|
41336
41312
|
readonly anonymous: false;
|
@@ -42938,6 +42914,7 @@ export type ArbitrationPolicyUmaMaxBondsRequest = {
|
|
42938
42914
|
export type ArbitrationPolicyUmaMaxBondsResponse = bigint;
|
42939
42915
|
export type ArbitrationPolicyUmaMaxLivenessResponse = bigint;
|
42940
42916
|
export type ArbitrationPolicyUmaMinLivenessResponse = bigint;
|
42917
|
+
export type ArbitrationPolicyUmaOov3Response = Address;
|
42941
42918
|
/**
|
42942
42919
|
* ArbitrationPolicyUmaDisputeAssertionRequest
|
42943
42920
|
*
|
@@ -42983,6 +42960,13 @@ export declare class ArbitrationPolicyUmaReadOnlyClient {
|
|
42983
42960
|
* @return Promise<ArbitrationPolicyUmaMinLivenessResponse>
|
42984
42961
|
*/
|
42985
42962
|
minLiveness(): Promise<ArbitrationPolicyUmaMinLivenessResponse>;
|
42963
|
+
/**
|
42964
|
+
* method oov3 for contract ArbitrationPolicyUMA
|
42965
|
+
*
|
42966
|
+
* @param request ArbitrationPolicyUmaOov3Request
|
42967
|
+
* @return Promise<ArbitrationPolicyUmaOov3Response>
|
42968
|
+
*/
|
42969
|
+
oov3(): Promise<ArbitrationPolicyUmaOov3Response>;
|
42986
42970
|
}
|
42987
42971
|
/**
|
42988
42972
|
* contract ArbitrationPolicyUMA write method
|
@@ -43839,6 +43823,16 @@ export type Erc20MintRequest = {
|
|
43839
43823
|
to: Address;
|
43840
43824
|
amount: bigint;
|
43841
43825
|
};
|
43826
|
+
/**
|
43827
|
+
* Erc20TransferRequest
|
43828
|
+
*
|
43829
|
+
* @param to address
|
43830
|
+
* @param value uint256
|
43831
|
+
*/
|
43832
|
+
export type Erc20TransferRequest = {
|
43833
|
+
to: Address;
|
43834
|
+
value: bigint;
|
43835
|
+
};
|
43842
43836
|
/**
|
43843
43837
|
* Erc20TransferFromRequest
|
43844
43838
|
*
|
@@ -43907,6 +43901,20 @@ export declare class Erc20Client extends Erc20ReadOnlyClient {
|
|
43907
43901
|
* @return EncodedTxData
|
43908
43902
|
*/
|
43909
43903
|
mintEncode(request: Erc20MintRequest): EncodedTxData;
|
43904
|
+
/**
|
43905
|
+
* method transfer for contract ERC20
|
43906
|
+
*
|
43907
|
+
* @param request Erc20TransferRequest
|
43908
|
+
* @return Promise<WriteContractReturnType>
|
43909
|
+
*/
|
43910
|
+
transfer(request: Erc20TransferRequest): Promise<WriteContractReturnType>;
|
43911
|
+
/**
|
43912
|
+
* method transfer for contract ERC20 with only encode
|
43913
|
+
*
|
43914
|
+
* @param request Erc20TransferRequest
|
43915
|
+
* @return EncodedTxData
|
43916
|
+
*/
|
43917
|
+
transferEncode(request: Erc20TransferRequest): EncodedTxData;
|
43910
43918
|
/**
|
43911
43919
|
* method transferFrom for contract ERC20
|
43912
43920
|
*
|
@@ -45302,6 +45310,20 @@ export type IpAccountImplExecute2Request = {
|
|
45302
45310
|
value: bigint;
|
45303
45311
|
data: Hex;
|
45304
45312
|
};
|
45313
|
+
/**
|
45314
|
+
* IpAccountImplExecuteBatchRequest
|
45315
|
+
*
|
45316
|
+
* @param calls tuple[]
|
45317
|
+
* @param operation uint8
|
45318
|
+
*/
|
45319
|
+
export type IpAccountImplExecuteBatchRequest = {
|
45320
|
+
calls: {
|
45321
|
+
target: Address;
|
45322
|
+
value: bigint;
|
45323
|
+
data: Hex;
|
45324
|
+
}[];
|
45325
|
+
operation: number;
|
45326
|
+
};
|
45305
45327
|
/**
|
45306
45328
|
* IpAccountImplExecuteWithSigRequest
|
45307
45329
|
*
|
@@ -45383,6 +45405,20 @@ export declare class IpAccountImplClient extends IpAccountImplReadOnlyClient {
|
|
45383
45405
|
* @return EncodedTxData
|
45384
45406
|
*/
|
45385
45407
|
execute2Encode(request: IpAccountImplExecute2Request): EncodedTxData;
|
45408
|
+
/**
|
45409
|
+
* method executeBatch for contract IPAccountImpl
|
45410
|
+
*
|
45411
|
+
* @param request IpAccountImplExecuteBatchRequest
|
45412
|
+
* @return Promise<WriteContractReturnType>
|
45413
|
+
*/
|
45414
|
+
executeBatch(request: IpAccountImplExecuteBatchRequest): Promise<WriteContractReturnType>;
|
45415
|
+
/**
|
45416
|
+
* method executeBatch for contract IPAccountImpl with only encode
|
45417
|
+
*
|
45418
|
+
* @param request IpAccountImplExecuteBatchRequest
|
45419
|
+
* @return EncodedTxData
|
45420
|
+
*/
|
45421
|
+
executeBatchEncode(request: IpAccountImplExecuteBatchRequest): EncodedTxData;
|
45386
45422
|
/**
|
45387
45423
|
* method executeWithSig for contract IPAccountImpl
|
45388
45424
|
*
|