viem 2.0.2 → 2.0.5
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/CHANGELOG.md +26 -0
- package/_cjs/actions/wallet/writeContract.js.map +1 -1
- package/_cjs/chains/definitions/taikoJolnir.js +7 -0
- package/_cjs/chains/definitions/taikoJolnir.js.map +1 -1
- package/_cjs/chains/definitions/taikoKatla.js +25 -0
- package/_cjs/chains/definitions/taikoKatla.js.map +1 -0
- package/_cjs/chains/index.js +3 -1
- package/_cjs/chains/index.js.map +1 -1
- package/_cjs/clients/transports/http.js +1 -1
- package/_cjs/clients/transports/http.js.map +1 -1
- package/_cjs/errors/abi.js +13 -1
- package/_cjs/errors/abi.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_cjs/index.js +5 -3
- package/_cjs/index.js.map +1 -1
- package/_cjs/utils/abi/decodeAbiParameters.js +2 -0
- package/_cjs/utils/abi/decodeAbiParameters.js.map +1 -1
- package/_cjs/utils/rpc.js +3 -3
- package/_cjs/utils/rpc.js.map +1 -1
- package/_esm/actions/wallet/writeContract.js.map +1 -1
- package/_esm/chains/definitions/taikoJolnir.js +7 -0
- package/_esm/chains/definitions/taikoJolnir.js.map +1 -1
- package/_esm/chains/definitions/taikoKatla.js +22 -0
- package/_esm/chains/definitions/taikoKatla.js.map +1 -0
- package/_esm/chains/index.js +1 -0
- package/_esm/chains/index.js.map +1 -1
- package/_esm/chains/opStack/actions/getTimeToFinalize.js +1 -1
- package/_esm/chains/opStack/actions/getTimeToProve.js +1 -1
- package/_esm/chains/opStack/actions/getWithdrawalStatus.js +1 -1
- package/_esm/chains/opStack/actions/waitToFinalize.js +1 -1
- package/_esm/chains/opStack/actions/waitToProve.js +1 -1
- package/_esm/clients/transports/http.js +1 -1
- package/_esm/clients/transports/http.js.map +1 -1
- package/_esm/errors/abi.js +11 -0
- package/_esm/errors/abi.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_esm/index.js +1 -0
- package/_esm/index.js.map +1 -1
- package/_esm/utils/abi/decodeAbiParameters.js +3 -1
- package/_esm/utils/abi/decodeAbiParameters.js.map +1 -1
- package/_esm/utils/rpc.js +1 -1
- package/_esm/utils/rpc.js.map +1 -1
- package/_types/actions/wallet/writeContract.d.ts +1 -1
- package/_types/actions/wallet/writeContract.d.ts.map +1 -1
- package/_types/chains/definitions/taikoJolnir.d.ts +7 -9
- package/_types/chains/definitions/taikoJolnir.d.ts.map +1 -1
- package/_types/chains/definitions/taikoKatla.d.ts +38 -0
- package/_types/chains/definitions/taikoKatla.d.ts.map +1 -0
- package/_types/chains/index.d.ts +1 -0
- package/_types/chains/index.d.ts.map +1 -1
- package/_types/chains/opStack/actions/getTimeToFinalize.d.ts +1 -1
- package/_types/chains/opStack/actions/getTimeToProve.d.ts +1 -1
- package/_types/chains/opStack/actions/getWithdrawalStatus.d.ts +1 -1
- package/_types/chains/opStack/actions/waitToFinalize.d.ts +1 -1
- package/_types/chains/opStack/actions/waitToProve.d.ts +1 -1
- package/_types/chains/opStack/decorators/publicL1.d.ts +1 -1
- package/_types/errors/abi.d.ts +10 -0
- package/_types/errors/abi.d.ts.map +1 -1
- package/_types/errors/version.d.ts +1 -1
- package/_types/index.d.ts +1 -0
- package/_types/index.d.ts.map +1 -1
- package/_types/types/contract.d.ts +2 -1
- package/_types/types/contract.d.ts.map +1 -1
- package/_types/utils/abi/decodeAbiParameters.d.ts.map +1 -1
- package/_types/utils/rpc.d.ts.map +1 -1
- package/actions/wallet/writeContract.ts +5 -1
- package/chains/definitions/taikoJolnir.ts +7 -0
- package/chains/definitions/taikoKatla.ts +22 -0
- package/chains/index.ts +1 -0
- package/chains/opStack/actions/getTimeToFinalize.ts +1 -1
- package/chains/opStack/actions/getTimeToProve.ts +1 -1
- package/chains/opStack/actions/getWithdrawalStatus.ts +1 -1
- package/chains/opStack/actions/waitToFinalize.ts +1 -1
- package/chains/opStack/actions/waitToProve.ts +1 -1
- package/chains/opStack/decorators/publicL1.ts +1 -1
- package/clients/transports/http.ts +1 -1
- package/errors/abi.ts +13 -0
- package/errors/version.ts +1 -1
- package/index.ts +6 -0
- package/package.json +1 -1
- package/types/contract.ts +13 -12
- package/utils/abi/decodeAbiParameters.ts +4 -0
- package/utils/rpc.ts +1 -1
@@ -23,7 +23,7 @@ import { getTimeToFinalize, } from './getTimeToFinalize.js';
|
|
23
23
|
* transport: http(),
|
24
24
|
* })
|
25
25
|
*
|
26
|
-
* const receipt = await getTransactionReceipt(
|
26
|
+
* const receipt = await publicClientL2.getTransactionReceipt({
|
27
27
|
* hash: '0x9a2f4283636ddeb9ac32382961b22c177c9e86dd3b283735c154f897b1a7ff4a',
|
28
28
|
* })
|
29
29
|
*
|
@@ -25,7 +25,7 @@ import { waitForNextL2Output, } from './waitForNextL2Output.js';
|
|
25
25
|
* transport: http(),
|
26
26
|
* })
|
27
27
|
*
|
28
|
-
* const receipt = await getTransactionReceipt(
|
28
|
+
* const receipt = await publicClientL2.getTransactionReceipt({ hash: '0x...' })
|
29
29
|
* await waitToProve(publicClientL1, {
|
30
30
|
* receipt,
|
31
31
|
* targetChain: optimism
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"http.js","sourceRoot":"","sources":["../../../clients/transports/http.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAA;AACzD,OAAO,EACL,gBAAgB,GAEjB,MAAM,2BAA2B,CAAA;AAElC,OAAO,EAAE,oBAAoB,EAAE,MAAM,6CAA6C,CAAA;AAClF,OAAO,EAAqC,GAAG,EAAE,MAAM,oBAAoB,CAAA;AAE3E,OAAO,EAIL,eAAe,GAChB,MAAM,sBAAsB,CAAA;AA6C7B;;GAEG;AACH,MAAM,UAAU,IAAI;AAClB,uEAAuE;AACvE,GAAY,EACZ,SAA8B,EAAE;IAEhC,MAAM,EACJ,KAAK,EACL,YAAY,EACZ,GAAG,GAAG,MAAM,EACZ,IAAI,GAAG,eAAe,EACtB,UAAU,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,OAAO,EAAE,CAAC,CAAC,CAAA;gBAE7D,MAAM,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,GAAG,MAAM,EAAE,CAAC,IAAI,CAAC,CAAA;gBAC1C,IAAI,KAAK;oBACP,MAAM,IAAI,eAAe,CAAC;wBACxB,IAAI;wBACJ,KAAK;wBACL,GAAG,EAAE,IAAI;qBACV,CAAC,CAAA;gBACJ,OAAO,MAAM,CAAA;YACf,CAAC;YACD,UAAU;YACV,UAAU;YACV,OAAO;YACP,IAAI,EAAE,MAAM;SACb,EACD;YACE,YAAY;YACZ,GAAG,EAAE,IAAI;SACV,CACF,CAAA;IACH,CAAC,CAAA;AACH,CAAC"}
|
package/_esm/errors/abi.js
CHANGED
@@ -84,6 +84,17 @@ export class AbiDecodingDataSizeTooSmallError extends BaseError {
|
|
84
84
|
this.size = size;
|
85
85
|
}
|
86
86
|
}
|
87
|
+
export class AbiDecodingOffsetOutOfBoundsError extends BaseError {
|
88
|
+
constructor({ offset, position }) {
|
89
|
+
super(`Offset at "${offset}" is out-of-bounds (current position: "${position}").`);
|
90
|
+
Object.defineProperty(this, "name", {
|
91
|
+
enumerable: true,
|
92
|
+
configurable: true,
|
93
|
+
writable: true,
|
94
|
+
value: 'AbiDecodingOffsetOutOfBoundsError'
|
95
|
+
});
|
96
|
+
}
|
97
|
+
}
|
87
98
|
export class AbiDecodingZeroDataError extends BaseError {
|
88
99
|
constructor() {
|
89
100
|
super('Cannot decode zero data ("0x") with ABI parameters.');
|
package/_esm/errors/abi.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"abi.js","sourceRoot":"","sources":["../../errors/abi.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAC9E,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAA;AAE5C,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AAKrC,MAAM,OAAO,2B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AAE,EAAE,QAAQ,EAAwB;QAC1D,KAAK,CACH;YACE,SAAS,IAAI,iCAAiC;YAC9C,kCAAkC;SACnC,CAAC,IAAI,CAAC,IAAI,CAAC,EACZ,EAAE,QAAQ,EAAE,CACb,CAAA;QARM;;;;mBAAO,wBAAwB;WAAA;IASxC,CAAC;CACF;AAKD,MAAM,OAAO,2BAA4B,SAAQ,SAAS;IAExD,YAAY,IAAY,EAAE,EAAE,QAAQ,EAAwB;QAC1D,KAAK,CACH;YACE,SAAS,IAAI,iCAAiC;YAC9C,kCAAkC;SACnC,CAAC,IAAI,CAAC,IAAI,CAAC,EACZ,EAAE,QAAQ,EAAE,CACb,CAAA;QARM;;;;mBAAO,wBAAwB;WAAA;IASxC,CAAC;CACF;AAKD,MAAM,OAAO,iBAAkB,SAAQ,SAAS;IAE9C,YAAY,KAAc;QACxB,KAAK,CAAC,CAAC,UAAU,KAAK,yBAAyB,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAA;QAFrD;;;;mBAAO,mBAAmB;WAAA;IAGnC,CAAC;CACF;AAKD,MAAM,OAAO,0BAA2B,SAAQ,SAAS;IAEvD,YAAY,IAAY;QACtB,KAAK,CACH;YACE,IAAI,IAAI,mCAAmC;YAC3C,2CAA2C;SAC5C,CAAC,IAAI,CAAC,IAAI,CAAC,CACb,CAAA;QAPM;;;;mBAAO,4BAA4B;WAAA;IAQ5C,CAAC;CACF;AAKD,MAAM,OAAO,wBAAyB,SAAQ,SAAS;IAErD,YAAY,IAAa;QACvB,KAAK,CAAC,SAAS,IAAI,yCAAyC,CAAC,CAAA;QAFtD;;;;mBAAO,0BAA0B;WAAA;IAG1C,CAAC;CACF"}
|
package/_esm/errors/version.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
export const version = '2.0.
|
1
|
+
export const version = '2.0.5';
|
2
2
|
//# sourceMappingURL=version.js.map
|
package/_esm/index.js
CHANGED
@@ -53,6 +53,7 @@ export { encodeErrorResult, } from './utils/abi/encodeErrorResult.js';
|
|
53
53
|
export { encodeEventTopics, } from './utils/abi/encodeEventTopics.js';
|
54
54
|
export { encodeFunctionData, } from './utils/abi/encodeFunctionData.js';
|
55
55
|
export { encodeFunctionResult, } from './utils/abi/encodeFunctionResult.js';
|
56
|
+
export { parseEventLogs, } from './utils/abi/parseEventLogs.js';
|
56
57
|
export { defineTransaction, formatTransaction, transactionType, } from './utils/formatters/transaction.js';
|
57
58
|
export { defineTransactionReceipt, formatTransactionReceipt, } from './utils/formatters/transactionReceipt.js';
|
58
59
|
export { defineTransactionRequest, formatTransactionRequest, rpcTransactionType, } from './utils/formatters/transactionRequest.js';
|
package/_esm/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA,OAAO,EAiBL,sBAAsB,EACtB,wBAAwB,EACxB,yBAAyB,EACzB,mBAAmB,EACnB,4BAA4B,EAC5B,4BAA4B,EAC5B,oBAAoB,EACpB,qBAAqB,EACrB,uBAAuB,EACvB,qBAAqB,EACrB,2BAA2B,EAC3B,6BAA6B,EAC7B,gBAAgB,EAChB,qBAAqB,EACrB,QAAQ,EACR,YAAY,EACZ,iBAAiB,EACjB,kBAAkB,GACnB,MAAM,SAAS,CAAA;AAEhB,OAAO,EACL,WAAW,GAIZ,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAGN,MAAM,8BAA8B,CAAA;AACrC,OAAO,EAIN,MAAM,0BAA0B,CAAA;AAkYjC,OAAO,EAKL,YAAY,GACb,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAIL,MAAM,GACP,MAAM,gCAAgC,CAAA;AACvC,OAAO,EAIL,QAAQ,GACT,MAAM,kCAAkC,CAAA;AACzC,OAAO,EAIL,IAAI,GACL,MAAM,8BAA8B,CAAA;AACrC,OAAO,EAIL,kBAAkB,GACnB,MAAM,iCAAiC,CAAA;AACxC,OAAO,EAIL,gBAAgB,GACjB,MAAM,+BAA+B,C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izeTooSmallError, AbiDecodingOffsetOutOfBoundsError, AbiDecodingZeroDataError, InvalidAbiDecodingTypeError, } from '../../errors/abi.js';
|
2
2
|
import { checksumAddress, } from '../address/getAddress.js';
|
3
3
|
import { size } from '../data/size.js';
|
4
4
|
import { slice } from '../data/slice.js';
|
@@ -79,6 +79,8 @@ function decodeArray(data, { param, length, position, }) {
|
|
79
79
|
if (!length) {
|
80
80
|
// Get the offset of the array data.
|
81
81
|
const offset = hexToNumber(slice(data, position, position + 32, { strict: true }));
|
82
|
+
if (offset < position)
|
83
|
+
throw new AbiDecodingOffsetOutOfBoundsError({ offset, position });
|
82
84
|
// Get the length of the array from the offset.
|
83
85
|
const length = hexToNumber(slice(data, offset, offset + 32, { strict: true }));
|
84
86
|
let consumed = 0;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"decodeAbiParameters.js","sourceRoot":"","sources":["../../../utils/abi/decodeAbiParameters.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,gCAAgC,EAEhC,wBAAwB,EAExB,2BAA2B,GAE5B,MAAM,qBAAqB,CAAA;AAE5B,OAAO,EAEL,eAAe,GAChB,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAsB,IAAI,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,EAAuB,KAAK,EAAE,MAAM,kBAAkB,CAAA;AAC7D,OAAO,EAAsB,IAAI,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,EAKL,WAAW,EACX,SAAS,EACT,WAAW,EACX,WAAW,GACZ,MAAM,wBAAwB,CAAA;AAG/B,OAAO,EAEL,kBAAkB,GACnB,MAAM,0BAA0B,CAAA;AAiBjC,MAAM,UAAU,mBAAmB,CAEjC,MAAe,EAAE,IAAS;IAC1B,IAAI,IAAI,KAAK,IAAI,IAAK,MAAoB,CAAC,MAAM,GAAG,CAAC;QACnD,MAAM,IAAI,wBAAwB,EAAE,CAAA;IACtC,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,IAAI,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WebSocketRequestError, } from '../errors/request.js';
|
3
2
|
import { createBatchScheduler, } from './promise/createBatchScheduler.js';
|
4
3
|
import { withTimeout, } from './promise/withTimeout.js';
|
@@ -69,6 +68,7 @@ export async function getSocket(url) {
|
|
69
68
|
const { schedule } = createBatchScheduler({
|
70
69
|
id: url,
|
71
70
|
fn: async () => {
|
71
|
+
const WebSocket = await import('isows').then((module) => module.WebSocket);
|
72
72
|
const webSocket = new WebSocket(url);
|
73
73
|
// Set up a cache for incoming "synchronous" requests.
|
74
74
|
const requests = new Map();
|
package/_esm/utils/rpc.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"rpc.js","sourceRoot":"","sources":["../../utils/rpc.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"rpc.js","sourceRoot":"","sources":["../../utils/rpc.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,gBAAgB,EAEhB,YAAY,EAEZ,qBAAqB,GACtB,MAAM,sBAAsB,CAAA;AAE7B,OAAO,EAEL,oBAAoB,GACrB,MAAM,mCAAmC,CAAA;AAC1C,OAAO,EAEL,WAAW,GACZ,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAE1C,IAAI,EAAE,GAAG,CAAC,CAAA;AAgEV,KAAK,UAAU,IAAI,CACjB,GAAW,EACX,EAAE,IAAI,EAAE,YAAY,GAAG,EAAE,EAAE,OAAO,GAAG,KAAM,EAAsB;IAEjE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,YAAY,CAAA;IACzD,IAAI,CAAC;QACH,MAAM,QAAQ,GAAG,MAAM,WAAW,CAChC,KAAK,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE;YACnB,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,GAAG,EAAE;gBAChC,GAAG,YAAY;gBACf,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC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AAa,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;QAC/C,CAAC;IACH,CAAC,CAAA;IACD,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAA;IAElC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,CAAA;IAEjE,OAAO,MAAM,CAAA;AACf,CAAC;AAiBD,KAAK,UAAU,cAAc,CAC3B,MAAc,EACd,EAAE,IAAI,EAAE,OAAO,GAAG,KAAM,EAAyB;IAEjD,OAAO,WAAW,CAChB,GAAG,EAAE,CACH,IAAI,OAAO,CAAc,CAAC,UAAU,EAAE,EAAE,CACtC,GAAG,CAAC,SAAS,CAAC,MAAM,EAAE;QACpB,IAAI;QACJ,UAAU;KACX,CAAC,CACH,EACH;QACE,aAAa,EAAE,IAAI,YAAY,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,CAAC,GAAG,EAAE,CAAC;QAC1D,OAAO;KACR,CACF,CAAA;AACH,CAAC;AAED,mDAAmD;AAEnD,MAAM,CAAC,MAAM,GAAG,GAAG;IACjB,IAAI;IACJ,SAAS;IACT,cAAc;CACf,CAAA"}
|
@@ -67,5 +67,5 @@ export type WriteContractErrorType = EncodeFunctionDataErrorType | SendTransacti
|
|
67
67
|
* }
|
68
68
|
* const hash = await writeContract(client, request)
|
69
69
|
*/
|
70
|
-
export declare function writeContract<chain extends Chain | undefined, account extends Account | undefined, const abi extends Abi | readonly unknown[], functionName extends ContractFunctionName<abi, 'nonpayable' | 'payable'>, args extends ContractFunctionArgs<abi, '
|
70
|
+
export declare function writeContract<chain extends Chain | undefined, account extends Account | undefined, const abi extends Abi | readonly unknown[], functionName extends ContractFunctionName<abi, 'nonpayable' | 'payable'>, args extends ContractFunctionArgs<abi, 'nonpayable' | 'payable', functionName>, chainOverride extends Chain | undefined>(client: Client<Transport, chain, account>, parameters: WriteContractParameters<abi, functionName, args, chain, account, chainOverride>): Promise<WriteContractReturnType>;
|
71
71
|
//# sourceMappingURL=writeContract.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"writeContract.d.ts","sourceRoot":"","sources":["../../../actions/wallet/writeContract.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,SAAS,CAAA;AAElC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AACtD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAC5E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AACjE,OAAO,KAAK,EACV,KAAK,EACL,WAAW,EACX,iBAAiB,EAClB,MAAM,sBAAsB,CAAA;AAC7B,OAAO,KAAK,EACV,oBAAoB,EACpB,oBAAoB,EACpB,0BAA0B,EAC1B,QAAQ,EACT,MAAM,yBAAyB,CAAA;AAChC,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAA;AAC9C,OAAO,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAC9E,OAAO,EACL,KAAK,2BAA2B,EAGjC,MAAM,uCAAuC,CAAA;AAC9C,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,8CAA8C,CAAA;AAE/F,OAAO,EACL,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAE/B,MAAM,sBAAsB,CAAA;AAE7B,MAAM,MAAM,uBAAuB,CACjC,GAAG,SAAS,GAAG,GAAG,SAAS,OAAO,EAAE,GAAG,GAAG,EAC1C,YAAY,SAAS,o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,GACxB,SAAS,CAAA;AAEb;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AACH,wBAAsB,aAAa,CACjC,KAAK,SAAS,KAAK,GAAG,SAAS,EAC/B,OAAO,SAAS,OAAO,GAAG,SAAS,EACnC,KAAK,CAAC,GAAG,SAAS,GAAG,GAAG,SAAS,OAAO,EAAE,EAC1C,YAAY,SAAS,oBAAoB,CAAC,GAAG,EAAE,YAAY,GAAG,SAAS,CAAC,EACxE,IAAI,SAAS,oBAAoB,CAC/B,GAAG,EACH,YAAY,GAAG,SAAS,EACxB,YAAY,CACb,EACD,aAAa,SAAS,KAAK,GAAG,SAAS,EAEvC,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,KAAK,EAAE,OAAO,CAAC,EACzC,UAAU,EAAE,uBAAuB,CACjC,GAAG,EACH,YAAY,EACZ,IAAI,EACJ,KAAK,EACL,OAAO,EACP,aAAa,CACd,GACA,OAAO,CAAC,uBAAuB,CAAC,CAiBlC"}
|
@@ -5,14 +5,12 @@ export declare const taikoJolnir: {
|
|
5
5
|
readonly url: "https://explorer.jolnir.taiko.xyz";
|
6
6
|
};
|
7
7
|
};
|
8
|
-
contracts
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
multicall3?: import("../../index.js").ChainContract | undefined;
|
15
|
-
} | undefined;
|
8
|
+
contracts: {
|
9
|
+
readonly multicall3: {
|
10
|
+
readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
|
11
|
+
readonly blockCreated: 732706;
|
12
|
+
};
|
13
|
+
};
|
16
14
|
id: 167007;
|
17
15
|
name: "Taiko Jolnir (Alpha-5 Testnet)";
|
18
16
|
nativeCurrency: {
|
@@ -26,7 +24,7 @@ export declare const taikoJolnir: {
|
|
26
24
|
};
|
27
25
|
};
|
28
26
|
sourceId?: number | undefined;
|
29
|
-
testnet
|
27
|
+
testnet: true;
|
30
28
|
formatters?: undefined;
|
31
29
|
serializers?: import("../../index.js").ChainSerializers<undefined> | undefined;
|
32
30
|
fees?: import("../../index.js").ChainFees<undefined> | undefined;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"taikoJolnir.d.ts","sourceRoot":"","sources":["../../../chains/definitions/taikoJolnir.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW
|
1
|
+
{"version":3,"file":"taikoJolnir.d.ts","sourceRoot":"","sources":["../../../chains/definitions/taikoJolnir.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBtB,CAAA"}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
export declare const taikoKatla: {
|
2
|
+
blockExplorers: {
|
3
|
+
readonly default: {
|
4
|
+
readonly name: "blockscout";
|
5
|
+
readonly url: "https://explorer.katla.taiko.xyz";
|
6
|
+
};
|
7
|
+
};
|
8
|
+
contracts?: {
|
9
|
+
[x: string]: import("../../index.js").ChainContract | {
|
10
|
+
[sourceId: number]: import("../../index.js").ChainContract | undefined;
|
11
|
+
} | undefined;
|
12
|
+
ensRegistry?: import("../../index.js").ChainContract | undefined;
|
13
|
+
ensUniversalResolver?: import("../../index.js").ChainContract | undefined;
|
14
|
+
multicall3?: import("../../index.js").ChainContract | undefined;
|
15
|
+
} | undefined;
|
16
|
+
id: 167008;
|
17
|
+
name: "Taiko Katla (Alpha-6 Testnet)";
|
18
|
+
nativeCurrency: {
|
19
|
+
readonly name: "Ether";
|
20
|
+
readonly symbol: "ETH";
|
21
|
+
readonly decimals: 18;
|
22
|
+
};
|
23
|
+
rpcUrls: {
|
24
|
+
readonly default: {
|
25
|
+
readonly http: readonly ["https://rpc.katla.taiko.xyz"];
|
26
|
+
};
|
27
|
+
readonly public: {
|
28
|
+
readonly http: readonly ["https://rpc.katla.taiko.xyz"];
|
29
|
+
};
|
30
|
+
};
|
31
|
+
sourceId?: number | undefined;
|
32
|
+
testnet?: boolean | undefined;
|
33
|
+
formatters?: undefined;
|
34
|
+
serializers?: import("../../index.js").ChainSerializers<undefined> | undefined;
|
35
|
+
fees?: import("../../index.js").ChainFees<undefined> | undefined;
|
36
|
+
readonly network: "tko-katla";
|
37
|
+
};
|
38
|
+
//# sourceMappingURL=taikoKatla.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"taikoKatla.d.ts","sourceRoot":"","sources":["../../../chains/definitions/taikoKatla.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmBrB,CAAA"}
|
package/_types/chains/index.d.ts
CHANGED
@@ -161,6 +161,7 @@ export { syscoin } from './definitions/syscoin.js';
|
|
161
161
|
export { syscoinTestnet } from './definitions/syscoinTestnet.js';
|
162
162
|
export { taraxa } from './definitions/taraxa.js';
|
163
163
|
export { taikoJolnir } from './definitions/taikoJolnir.js';
|
164
|
+
export { taikoKatla } from './definitions/taikoKatla.js';
|
164
165
|
export { taikoTestnetSepolia } from './definitions/taikoTestnetSepolia.js';
|
165
166
|
export { taraxaTestnet } from './definitions/taraxaTestnet.js';
|
166
167
|
export { telos } from './definitions/telos.js';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../chains/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;AAE9C,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAA;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAA;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAA;AAChE,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAA;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,wBAAwB,CAAA;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AAClE,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CA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zB,4BAA4B,EAC5B,qBAAqB,EACrB,4BAA4B,EAC5B,qCAAqC,EACrC,kBAAkB,EAClB,yBAAyB,EACzB,kCAAkC,EAClC,8BAA8B,EAC9B,4BAA4B,EAC5B,sBAAsB,EACtB,8BAA8B,EAC9B,4BAA4B,GAC7B,MAAM,gCAAgC,CAAA"}
|
@@ -42,7 +42,7 @@ export type GetTimeToFinalizeErrorType = MulticallErrorType | ErrorType;
|
|
42
42
|
* transport: http(),
|
43
43
|
* })
|
44
44
|
*
|
45
|
-
* const receipt = await getTransactionReceipt(
|
45
|
+
* const receipt = await publicClientL2.getTransactionReceipt({
|
46
46
|
* hash: '0x9a2f4283636ddeb9ac32382961b22c177c9e86dd3b283735c154f897b1a7ff4a',
|
47
47
|
* })
|
48
48
|
*
|
@@ -40,7 +40,7 @@ export type GetTimeToProveErrorType = GetTimeToNextL2OutputErrorType | ErrorType
|
|
40
40
|
* transport: http(),
|
41
41
|
* })
|
42
42
|
*
|
43
|
-
* const receipt = await getTransactionReceipt(
|
43
|
+
* const receipt = await publicClientL2.getTransactionReceipt({ hash: '0x...' })
|
44
44
|
* const { period, seconds, timestamp } = await getTimeToProve(publicClientL1, {
|
45
45
|
* receipt,
|
46
46
|
* targetChain: optimism
|
@@ -38,7 +38,7 @@ export type GetWithdrawalStatusErrorType = GetL2OutputErrorType | GetTimeToFinal
|
|
38
38
|
* transport: http(),
|
39
39
|
* })
|
40
40
|
*
|
41
|
-
* const receipt = await getTransactionReceipt(
|
41
|
+
* const receipt = await publicClientL2.getTransactionReceipt({ hash: '0x...' })
|
42
42
|
* const status = await getWithdrawalStatus(publicClientL1, {
|
43
43
|
* receipt,
|
44
44
|
* targetChain: optimism
|
@@ -30,7 +30,7 @@ export type WaitToFinalizeErrorType = GetTimeToFinalizeErrorType | ErrorType;
|
|
30
30
|
* transport: http(),
|
31
31
|
* })
|
32
32
|
*
|
33
|
-
* const receipt = await getTransactionReceipt(
|
33
|
+
* const receipt = await publicClientL2.getTransactionReceipt({
|
34
34
|
* hash: '0x9a2f4283636ddeb9ac32382961b22c177c9e86dd3b283735c154f897b1a7ff4a',
|
35
35
|
* })
|
36
36
|
*
|
@@ -45,7 +45,7 @@ export type WaitToProveErrorType = GetWithdrawalsErrorType | WaitForNextL2Output
|
|
45
45
|
* transport: http(),
|
46
46
|
* })
|
47
47
|
*
|
48
|
-
* const receipt = await getTransactionReceipt(
|
48
|
+
* const receipt = await publicClientL2.getTransactionReceipt({ hash: '0x...' })
|
49
49
|
* await waitToProve(publicClientL1, {
|
50
50
|
* receipt,
|
51
51
|
* targetChain: optimism
|
@@ -338,7 +338,7 @@ export type PublicActionsL1<chain extends Chain | undefined = Chain | undefined,
|
|
338
338
|
* transport: http(),
|
339
339
|
* })
|
340
340
|
*
|
341
|
-
* const receipt = await getTransactionReceipt(
|
341
|
+
* const receipt = await publicClientL2.getTransactionReceipt({
|
342
342
|
* hash: '0x9a2f4283636ddeb9ac32382961b22c177c9e86dd3b283735c154f897b1a7ff4a',
|
343
343
|
* })
|
344
344
|
*
|
package/_types/errors/abi.d.ts
CHANGED
@@ -43,6 +43,16 @@ export declare class AbiDecodingDataSizeTooSmallError extends BaseError {
|
|
43
43
|
size: number;
|
44
44
|
});
|
45
45
|
}
|
46
|
+
export type AbiDecodingOffsetOutOfBoundsErrorType = AbiDecodingOffsetOutOfBoundsError & {
|
47
|
+
name: 'AbiDecodingOffsetOutOfBoundsError';
|
48
|
+
};
|
49
|
+
export declare class AbiDecodingOffsetOutOfBoundsError extends BaseError {
|
50
|
+
name: string;
|
51
|
+
constructor({ offset, position }: {
|
52
|
+
offset: number;
|
53
|
+
position: number;
|
54
|
+
});
|
55
|
+
}
|
46
56
|
export type AbiDecodingZeroDataErrorType = AbiDecodingZeroDataError & {
|
47
57
|
name: 'AbiDecodingZeroDataError';
|
48
58
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"abi.d.ts","sourceRoot":"","sources":["../../errors/abi.ts"],"names":[],"mappings":"AAAA,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AM,CAAA;KAAE;CAS7D;AAED,MAAM,MAAM,+BAA+B,GAAG,2BAA2B,GAAG;IAC1E,IAAI,EAAE,6BAA6B,CAAA;CACpC,CAAA;AACD,qBAAa,2BAA4B,SAAQ,SAAS;IAC/C,IAAI,SAA2B;gBAC5B,IAAI,EAAE,MAAM,EAAE,EAAE,QAAQ,EAAE,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAA;KAAE;CAS7D;AAED,MAAM,MAAM,qBAAqB,GAAG,iBAAiB,GAAG;IACtD,IAAI,EAAE,mBAAmB,CAAA;CAC1B,CAAA;AACD,qBAAa,iBAAkB,SAAQ,SAAS;IACrC,IAAI,SAAsB;gBACvB,KAAK,EAAE,OAAO;CAG3B;AAED,MAAM,MAAM,8BAA8B,GAAG,0BAA0B,GAAG;IACxE,IAAI,EAAE,4BAA4B,CAAA;CACnC,CAAA;AACD,qBAAa,0BAA2B,SAAQ,SAAS;IAC9C,IAAI,SAA+B;gBAChC,IAAI,EAAE,MAAM;CAQzB;AAED,MAAM,MAAM,iCAAiC,GAAG,wBAAwB,GAAG;IACzE,IAAI,EAAE,0BAA0B,CAAA;CACjC,CAAA;AACD,qBAAa,wBAAyB,SAAQ,SAAS;IAC5C,IAAI,SAA6B;gBAC9B,IAAI,EAAE,OAAO;CAG1B"}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const version = "2.0.
|
1
|
+
export declare const version = "2.0.5";
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/_types/index.d.ts
CHANGED
@@ -154,6 +154,7 @@ export { type EncodeErrorResultErrorType, type EncodeErrorResultParameters, type
|
|
154
154
|
export { type EncodeEventTopicsErrorType, type EncodeEventTopicsParameters, encodeEventTopics, } from './utils/abi/encodeEventTopics.js';
|
155
155
|
export { type EncodeFunctionDataErrorType, type EncodeFunctionDataParameters, type EncodeFunctionDataReturnType, encodeFunctionData, } from './utils/abi/encodeFunctionData.js';
|
156
156
|
export { type EncodeFunctionResultErrorType, type EncodeFunctionResultParameters, type EncodeFunctionResultReturnType, encodeFunctionResult, } from './utils/abi/encodeFunctionResult.js';
|
157
|
+
export { type ParseEventLogsErrorType, type ParseEventLogsParameters, type ParseEventLogsReturnType, parseEventLogs, } from './utils/abi/parseEventLogs.js';
|
157
158
|
export { type FormattedTransaction, defineTransaction, type DefineTransactionErrorType, formatTransaction, type FormatTransactionErrorType, transactionType, } from './utils/formatters/transaction.js';
|
158
159
|
export { type FormattedTransactionReceipt, defineTransactionReceipt, type DefineTransactionReceiptErrorType, formatTransactionReceipt, type FormatTransactionReceiptErrorType, } from './utils/formatters/transactionReceipt.js';
|
159
160
|
export { type FormattedTransactionRequest, defineTransactionRequest, type DefineTransactionRequestErrorType, formatTransactionRequest, type FormatTransactionRequestErrorType, rpcTransactionType, } from './utils/formatters/transactionRequest.js';
|