viem 2.21.47 → 2.21.49
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +34 -0
- package/_cjs/accounts/index.js +2 -1
- package/_cjs/accounts/index.js.map +1 -1
- package/_cjs/accounts/utils/sign.js +8 -1
- package/_cjs/accounts/utils/sign.js.map +1 -1
- package/_cjs/actions/public/simulateContract.js.map +1 -1
- package/_cjs/chains/definitions/bitgert.js +6 -0
- package/_cjs/chains/definitions/bitgert.js.map +1 -1
- package/_cjs/chains/definitions/disChain.js +25 -0
- package/_cjs/chains/definitions/disChain.js.map +1 -0
- package/_cjs/chains/definitions/energy.js +22 -0
- package/_cjs/chains/definitions/energy.js.map +1 -0
- package/_cjs/chains/definitions/guruNetwork.js +32 -0
- package/_cjs/chains/definitions/guruNetwork.js.map +1 -0
- package/_cjs/chains/definitions/guruTestnet.js +2 -2
- package/_cjs/chains/definitions/guruTestnet.js.map +1 -1
- package/_cjs/chains/definitions/iSunCoin.js +25 -0
- package/_cjs/chains/definitions/iSunCoin.js.map +1 -0
- package/_cjs/chains/definitions/mchVerse.js +23 -0
- package/_cjs/chains/definitions/mchVerse.js.map +1 -0
- package/_cjs/chains/definitions/metadium.js +24 -0
- package/_cjs/chains/definitions/metadium.js.map +1 -0
- package/_cjs/chains/definitions/sixProtocol.js +26 -0
- package/_cjs/chains/definitions/sixProtocol.js.map +1 -0
- package/_cjs/chains/definitions/vanar.js +22 -0
- package/_cjs/chains/definitions/vanar.js.map +1 -0
- package/_cjs/chains/index.js +24 -7
- package/_cjs/chains/index.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_cjs/zksync/formatters.js +3 -1
- package/_cjs/zksync/formatters.js.map +1 -1
- package/_cjs/zksync/index.js +3 -1
- package/_cjs/zksync/index.js.map +1 -1
- package/_cjs/zksync/utils/parseEip712Transaction.js +48 -0
- package/_cjs/zksync/utils/parseEip712Transaction.js.map +1 -0
- package/_esm/accounts/index.js +1 -1
- package/_esm/accounts/index.js.map +1 -1
- package/_esm/accounts/utils/sign.js +10 -1
- package/_esm/accounts/utils/sign.js.map +1 -1
- package/_esm/actions/public/simulateContract.js.map +1 -1
- package/_esm/chains/definitions/bitgert.js +6 -0
- package/_esm/chains/definitions/bitgert.js.map +1 -1
- package/_esm/chains/definitions/disChain.js +22 -0
- package/_esm/chains/definitions/disChain.js.map +1 -0
- package/_esm/chains/definitions/energy.js +19 -0
- package/_esm/chains/definitions/energy.js.map +1 -0
- package/_esm/chains/definitions/guruNetwork.js +29 -0
- package/_esm/chains/definitions/guruNetwork.js.map +1 -0
- package/_esm/chains/definitions/guruTestnet.js +2 -2
- package/_esm/chains/definitions/guruTestnet.js.map +1 -1
- package/_esm/chains/definitions/iSunCoin.js +22 -0
- package/_esm/chains/definitions/iSunCoin.js.map +1 -0
- package/_esm/chains/definitions/mchVerse.js +20 -0
- package/_esm/chains/definitions/mchVerse.js.map +1 -0
- package/_esm/chains/definitions/metadium.js +21 -0
- package/_esm/chains/definitions/metadium.js.map +1 -0
- package/_esm/chains/definitions/sixProtocol.js +23 -0
- package/_esm/chains/definitions/sixProtocol.js.map +1 -0
- package/_esm/chains/definitions/vanar.js +19 -0
- package/_esm/chains/definitions/vanar.js.map +1 -0
- package/_esm/chains/index.js +8 -0
- package/_esm/chains/index.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_esm/zksync/formatters.js +3 -1
- package/_esm/zksync/formatters.js.map +1 -1
- package/_esm/zksync/index.js +1 -0
- package/_esm/zksync/index.js.map +1 -1
- package/_esm/zksync/utils/parseEip712Transaction.js +45 -0
- package/_esm/zksync/utils/parseEip712Transaction.js.map +1 -0
- package/_types/accounts/index.d.ts +1 -1
- package/_types/accounts/index.d.ts.map +1 -1
- package/_types/accounts/utils/sign.d.ts +4 -0
- package/_types/accounts/utils/sign.d.ts.map +1 -1
- package/_types/actions/public/simulateContract.d.ts +6 -6
- package/_types/actions/public/simulateContract.d.ts.map +1 -1
- package/_types/chains/definitions/bitgert.d.ts +6 -10
- package/_types/chains/definitions/bitgert.d.ts.map +1 -1
- package/_types/chains/definitions/disChain.d.ts +37 -0
- package/_types/chains/definitions/disChain.d.ts.map +1 -0
- package/_types/chains/definitions/energy.d.ts +37 -0
- package/_types/chains/definitions/energy.d.ts.map +1 -0
- package/_types/chains/definitions/guruNetwork.d.ts +33 -0
- package/_types/chains/definitions/guruNetwork.d.ts.map +1 -0
- package/_types/chains/definitions/guruTestnet.d.ts +2 -2
- package/_types/chains/definitions/guruTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/iSunCoin.d.ts +37 -0
- package/_types/chains/definitions/iSunCoin.d.ts.map +1 -0
- package/_types/chains/definitions/mchVerse.d.ts +38 -0
- package/_types/chains/definitions/mchVerse.d.ts.map +1 -0
- package/_types/chains/definitions/metadium.d.ts +37 -0
- package/_types/chains/definitions/metadium.d.ts.map +1 -0
- package/_types/chains/definitions/sixProtocol.d.ts +37 -0
- package/_types/chains/definitions/sixProtocol.d.ts.map +1 -0
- package/_types/chains/definitions/vanar.d.ts +37 -0
- package/_types/chains/definitions/vanar.d.ts.map +1 -0
- package/_types/chains/index.d.ts +8 -0
- package/_types/chains/index.d.ts.map +1 -1
- package/_types/errors/version.d.ts +1 -1
- package/_types/types/account.d.ts +1 -1
- package/_types/types/account.d.ts.map +1 -1
- package/_types/zksync/formatters.d.ts.map +1 -1
- package/_types/zksync/index.d.ts +1 -0
- package/_types/zksync/index.d.ts.map +1 -1
- package/_types/zksync/types/log.d.ts +1 -1
- package/_types/zksync/types/log.d.ts.map +1 -1
- package/_types/zksync/utils/parseEip712Transaction.d.ts +4 -0
- package/_types/zksync/utils/parseEip712Transaction.d.ts.map +1 -0
- package/accounts/index.ts +1 -0
- package/accounts/utils/sign.ts +15 -1
- package/actions/public/simulateContract.ts +9 -7
- package/chains/definitions/bitgert.ts +6 -0
- package/chains/definitions/disChain.ts +22 -0
- package/chains/definitions/energy.ts +19 -0
- package/chains/definitions/guruNetwork.ts +29 -0
- package/chains/definitions/guruTestnet.ts +2 -2
- package/chains/definitions/iSunCoin.ts +22 -0
- package/chains/definitions/mchVerse.ts +20 -0
- package/chains/definitions/metadium.ts +21 -0
- package/chains/definitions/sixProtocol.ts +23 -0
- package/chains/definitions/vanar.ts +19 -0
- package/chains/index.ts +8 -0
- package/errors/version.ts +1 -1
- package/package.json +1 -1
- package/types/account.ts +2 -1
- package/zksync/formatters.ts +3 -1
- package/zksync/index.ts +1 -0
- package/zksync/types/log.ts +1 -1
- package/zksync/utils/parseEip712Transaction.ts +57 -0
@@ -72,7 +72,9 @@ export const formatters = {
|
|
72
72
|
return {
|
73
73
|
blockNumber: hexToBigInt(l2ToL1Log.blockHash),
|
74
74
|
blockHash: l2ToL1Log.blockHash,
|
75
|
-
l1BatchNumber:
|
75
|
+
l1BatchNumber: l2ToL1Log.l1BatchNumber
|
76
|
+
? hexToBigInt(l2ToL1Log.l1BatchNumber)
|
77
|
+
: null,
|
76
78
|
transactionIndex: hexToBigInt(l2ToL1Log.transactionIndex),
|
77
79
|
shardId: hexToBigInt(l2ToL1Log.shardId),
|
78
80
|
isService: l2ToL1Log.isService,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"formatters.js","sourceRoot":"","sources":["../../zksync/formatters.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAA;AACvE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAA;AACzD,OAAO,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAA;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAA;AAC1D,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAA;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAA;AACtE,OAAO,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAA;AACpF,OAAO,EAAE,wBAAwB,EAAE,MAAM,2CAA2C,CAAA;AACpF,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,C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,aAAa;4BACpB,CAAC,CAAC,EAAE,aAAa,EAAE,KAAK,CAAC,IAAI,CAAC,aAAa,CAAC,EAAE;4BAC9C,CAAC,CAAC,EAAE,aAAa,EAAE,KAAK,CAAC,oBAAoB,CAAC,EAAE,CAAC;wBACnD,GAAG,CAAC,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,cAAc;4BACvC,CAAC,CAAC;gCACE,eAAe,EAAE;oCACf,SAAS,EAAE,IAAI,CAAC,SAAS;oCACzB,cAAc,EAAE,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;iCAC5D;6BACF;4BACH,CAAC,CAAC,EAAE,CAAC;wBACP,GAAG,CAAC,IAAI,CAAC,WAAW;4BAClB,CAAC,CAAC;gCACE,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CACxC,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAC5B;6BACF;4BACH,CAAC,CAAC,EAAE,CAAC;wBACP,GAAG,CAAC,IAAI,CAAC,eAAe;4BACtB,CAAC,CAAC;gCACE,eAAe,EAAE,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;6BAC9D;4BACH,CAAC,CAAC,EAAE,CAAC;qBACR;oBACD,IAAI,EAAE,MAAM;iBAC6B,CAAA;YAC7C,OAAO,EAAiC,CAAA;QAC1C,CAAC;KACF,CAAC;CACgC,CAAA"}
|
package/_esm/zksync/index.js
CHANGED
@@ -42,4 +42,5 @@ export { publicActionsL2, } from './decorators/publicL2.js';
|
|
42
42
|
export { serializeTransaction } from './serializers.js';
|
43
43
|
export { getApprovalBasedPaymasterInput, } from './utils/paymaster/getApprovalBasedPaymasterInput.js';
|
44
44
|
export { getGeneralPaymasterInput, } from './utils/paymaster/getGeneralPaymasterInput.js';
|
45
|
+
export { parseEip712Transaction } from './utils/parseEip712Transaction.js';
|
45
46
|
//# sourceMappingURL=index.js.map
|
package/_esm/zksync/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../zksync/index.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,OAAO,EAGL,cAAc,GACf,MAAM,8BAA8B,CAAA;AACrC,OAAO,EAEL,sBAAsB,GACvB,MAAM,sCAAsC,CAAA;AAC7C,OAAO,EAEL,uBAAuB,GACxB,MAAM,uCAAuC,CAAA;AAE9C,OAAO,EAIL,cAAc,GACf,MAAM,6BAA6B,CAAA;AACpC,OAAO,EAGL,gBAAgB,GACjB,MAAM,iCAAiC,CAAA;AACxC,OAAO,EAEL,YAAY,GACb,MAAM,yBAAyB,CAAA;AAChC,OAAO,EAGL,WAAW,GACZ,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAGL,cAAc,GACf,MAAM,6BAA6B,CAAA;AACpC,OAAO,EAGL,eAAe,GAChB,MAAM,8BAA8B,CAAA;AACrC,OAAO,EAEL,yBAAyB,GAC1B,MAAM,wCAAwC,CAAA;AAC/C,OAAO,EAAE,2BAA2B,EAAE,MAAM,0CAA0C,CAAA;AACtF,OAAO,EAIL,cAAc,GACf,MAAM,6BAA6B,CAAA;AACpC,OAAO,EAIL,YAAY,GACb,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAGL,oBAAoB,GACrB,MAAM,mCAAmC,CAAA;AAC1C,OAAO,EAGL,iBAAiB,GAClB,MAAM,gCAAgC,CAAA;AACvC,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAA;AAChE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AACxD,OAAO,EAIL,iBAAiB,GAClB,MAAM,gCAAgC,CAAA;AACvC,OAAO,EAGL,WAAW,GACZ,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAA;AAC5E,OAAO,EAGL,uBAAuB,GACxB,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O;AACL,uCAAuC;AACvC,MAAM,IAAI,MAAM,EAChB,MAAM;AACN,uCAAuC;AACvC,kBAAkB,IAAI,kBAAkB,EACxC,kBAAkB;AAClB,uCAAuC;AACvC,eAAe,IAAI,eAAe,EAClC,eAAe;AACf,uCAAuC;AACvC,oBAAoB,IAAI,oBAAoB,EAC5C,oBAAoB,GACrB,MAAM,aAAa,CAAA;AAEpB,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAE9C,OAAO,EACL,mBAAmB,GAEpB,MAAM,wBAAwB,CAAA;AAE/B,OAAO,EACL,eAAe,GAEhB,MAAM,0BAA0B,CAAA;AAEjC,OAAO,EACL,eAAe,GAEhB,MAAM,0BAA0B,CAAA;AAEjC,OAAO,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAA;AAuHvD,OAAO,EAGL,8BAA8B,GAC/B,MAAM,qDAAqD,CAAA;AAC5D,OAAO,EAGL,wBAAwB,GACzB,MAAM,+CAA+C,CAAA;AACtD,OAAO,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAA"}
|
@@ -0,0 +1,45 @@
|
|
1
|
+
import { BaseError } from '../../errors/base.js';
|
2
|
+
import { fromHex, fromRlp, hexToBigInt, hexToNumber, } from '../../utils/index.js';
|
3
|
+
export function parseEip712Transaction(transaction) {
|
4
|
+
const payload = fromHex(transaction, 'bytes');
|
5
|
+
if (payload[0] !== 113)
|
6
|
+
throw new BaseError('transaction type must be eip712');
|
7
|
+
function validHex(value) {
|
8
|
+
if (!value || value === '0x')
|
9
|
+
return '0x0';
|
10
|
+
return value;
|
11
|
+
}
|
12
|
+
function parsePaymasterArray(arr) {
|
13
|
+
if (arr.length === 0)
|
14
|
+
return undefined;
|
15
|
+
if (arr.length !== 2)
|
16
|
+
throw new BaseError(`Invalid paymaster parameters, expected to have length of 2, found ${arr.length}!`);
|
17
|
+
return {
|
18
|
+
paymaster: arr[0],
|
19
|
+
paymasterInput: arr[1],
|
20
|
+
};
|
21
|
+
}
|
22
|
+
const raw = fromRlp(payload.slice(1));
|
23
|
+
const paymasterParams = parsePaymasterArray(raw[15]);
|
24
|
+
return {
|
25
|
+
type: 'eip712',
|
26
|
+
nonce: hexToNumber(validHex(raw[0])),
|
27
|
+
maxPriorityFeePerGas: hexToBigInt(validHex(raw[1])),
|
28
|
+
maxFeePerGas: hexToBigInt(validHex(raw[2])),
|
29
|
+
gas: hexToBigInt(validHex(raw[3])),
|
30
|
+
to: raw[4],
|
31
|
+
value: hexToBigInt(validHex(raw[5])),
|
32
|
+
data: raw[6],
|
33
|
+
v: hexToBigInt(validHex(raw[7])),
|
34
|
+
r: raw[8],
|
35
|
+
s: raw[9],
|
36
|
+
chainId: hexToNumber(validHex(raw[10])),
|
37
|
+
from: raw[11],
|
38
|
+
gasPerPubdata: hexToBigInt(validHex(raw[12])),
|
39
|
+
factoryDeps: raw[13],
|
40
|
+
customSignature: raw[14],
|
41
|
+
paymaster: paymasterParams?.paymaster,
|
42
|
+
paymasterInput: paymasterParams?.paymasterInput,
|
43
|
+
};
|
44
|
+
}
|
45
|
+
//# sourceMappingURL=parseEip712Transaction.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"parseEip712Transaction.js","sourceRoot":"","sources":["../../../zksync/utils/parseEip712Transaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAEhD,OAAO,EACL,OAAO,EACP,OAAO,EACP,WAAW,EACX,WAAW,GACZ,MAAM,sBAAsB,CAAA;AAG7B,MAAM,UAAU,sBAAsB,CACpC,WAAgB;IAEhB,MAAM,OAAO,GAAG,OAAO,CAAC,WAAW,EAAE,OAAO,CAAC,CAAA;IAC7C,IAAI,OAAO,CAAC,CAAC,CAAC,KAAK,GAAG;QAAE,MAAM,IAAI,SAAS,CAAC,iCAAiC,CAAC,CAAA;IAE9E,SAAS,QAAQ,CAAC,KAAU;QAC1B,IAAI,CAAC,KAAK,IAAI,KAAK,KAAK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C,CAAC;QACT,OAAO,EAAE,WAAW,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC;QACvC,IAAI,EAAE,GAAG,CAAC,EAAE,CAAC;QACb,aAAa,EAAE,WAAW,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC;QAC7C,WAAW,EAAE,GAAG,CAAC,EAAE,CAAqB;QACxC,eAAe,EAAE,GAAG,CAAC,EAAE,CAAC;QACxB,SAAS,EAAE,eAAe,EAAE,SAAS;QACrC,cAAc,EAAE,eAAe,EAAE,cAAc;KAChD,CAAA;AACH,CAAC"}
|
@@ -8,7 +8,7 @@ export { type MnemonicToAccountOptions, type MnemonicToAccountErrorType, mnemoni
|
|
8
8
|
export { type PrivateKeyToAccountOptions, type PrivateKeyToAccountErrorType, privateKeyToAccount, } from './privateKeyToAccount.js';
|
9
9
|
export { type ToAccountErrorType, toAccount } from './toAccount.js';
|
10
10
|
export type { Account, AccountSource, CustomSource, HDOptions, JsonRpcAccount, LocalAccount, HDAccount, PrivateKeyAccount, } from './types.js';
|
11
|
-
export { type SignErrorType, type SignParameters, type SignReturnType, sign, } from './utils/sign.js';
|
11
|
+
export { type SignErrorType, type SignParameters, type SignReturnType, setSignEntropy, sign, } from './utils/sign.js';
|
12
12
|
export {
|
13
13
|
/** @deprecated Use `SignatureToHexErrorType` instead. */
|
14
14
|
type SerializeSignatureErrorType as SignatureToHexErrorType,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../accounts/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAGtC,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAA;AAEpC,OAAO,EACL,KAAK,EACL,OAAO,EACP,MAAM,EACN,OAAO,EACP,QAAQ,EACR,MAAM,EACN,UAAU,EACV,iBAAiB,EACjB,OAAO,EACP,kBAAkB,GACnB,MAAM,gBA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,YAAY,GACb,MAAM,0BAA0B,CAAA"}
|
@@ -9,6 +9,10 @@ export type SignParameters<to extends To = 'object'> = {
|
|
9
9
|
};
|
10
10
|
export type SignReturnType<to extends To = 'object'> = (to extends 'object' ? Signature : never) | (to extends 'bytes' ? ByteArray : never) | (to extends 'hex' ? Hex : never);
|
11
11
|
export type SignErrorType = NumberToHexErrorType | ErrorType;
|
12
|
+
/**
|
13
|
+
* Sets extra entropy for signing functions.
|
14
|
+
*/
|
15
|
+
export declare function setSignEntropy(entropy: true | Hex): void;
|
12
16
|
/**
|
13
17
|
* @description Signs a hash with a given private key.
|
14
18
|
*
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"sign.d.ts","sourceRoot":"","sources":["../../../accounts/utils/sign.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,SAAS,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AACpE,OAAO,EACL,KAAK,oBAAoB,EAE1B,MAAM,+BAA+B,CAAA;AAGtC,KAAK,EAAE,GAAG,QAAQ,GAAG,OAAO,GAAG,KAAK,CAAA;AAEpC,MAAM,MAAM,cAAc,CAAC,EAAE,SAAS,EAAE,GAAG,QAAQ,IAAI;IACrD,IAAI,EAAE,GAAG,CAAA;IACT,UAAU,EAAE,GAAG,CAAA;IACf,EAAE,CAAC,EAAE,EAAE,GAAG,EAAE,GAAG,SAAS,CAAA;CACzB,CAAA;AAED,MAAM,MAAM,cAAc,CAAC,EAAE,SAAS,EAAE,GAAG,QAAQ,IAC/C,CAAC,EAAE,SAAS,QAAQ,GAAG,SAAS,GAAG,KAAK,CAAC,GACzC,CAAC,EAAE,SAAS,OAAO,GAAG,SAAS,GAAG,KAAK,CAAC,GACxC,CAAC,EAAE,SAAS,KAAK,GAAG,GAAG,GAAG,KAAK,CAAC,CAAA;AAEpC,MAAM,MAAM,aAAa,GAAG,oBAAoB,GAAG,SAAS,CAAA;
|
1
|
+
{"version":3,"file":"sign.d.ts","sourceRoot":"","sources":["../../../accounts/utils/sign.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,SAAS,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AACpE,OAAO,EACL,KAAK,oBAAoB,EAE1B,MAAM,+BAA+B,CAAA;AAGtC,KAAK,EAAE,GAAG,QAAQ,GAAG,OAAO,GAAG,KAAK,CAAA;AAEpC,MAAM,MAAM,cAAc,CAAC,EAAE,SAAS,EAAE,GAAG,QAAQ,IAAI;IACrD,IAAI,EAAE,GAAG,CAAA;IACT,UAAU,EAAE,GAAG,CAAA;IACf,EAAE,CAAC,EAAE,EAAE,GAAG,EAAE,GAAG,SAAS,CAAA;CACzB,CAAA;AAED,MAAM,MAAM,cAAc,CAAC,EAAE,SAAS,EAAE,GAAG,QAAQ,IAC/C,CAAC,EAAE,SAAS,QAAQ,GAAG,SAAS,GAAG,KAAK,CAAC,GACzC,CAAC,EAAE,SAAS,OAAO,GAAG,SAAS,GAAG,KAAK,CAAC,GACxC,CAAC,EAAE,SAAS,KAAK,GAAG,GAAG,GAAG,KAAK,CAAC,CAAA;AAEpC,MAAM,MAAM,aAAa,GAAG,oBAAoB,GAAG,SAAS,CAAA;AAI5D;;GAEG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,IAAI,GAAG,GAAG,QAGjD;AAED;;;;;;;GAOG;AACH,wBAAsB,IAAI,CAAC,EAAE,SAAS,EAAE,GAAG,QAAQ,EAAE,EACnD,IAAI,EACJ,UAAU,EACV,EAAa,GACd,EAAE,cAAc,CAAC,EAAE,CAAC,GAAG,OAAO,CAAC,cAAc,CAAC,EAAE,CAAC,CAAC,CAiBlD"}
|
@@ -23,21 +23,21 @@ export type GetMutabilityAwareValue<abi extends Abi | readonly unknown[], mutabi
|
|
23
23
|
} : {
|
24
24
|
value?: NoInfer<valueType> | undefined;
|
25
25
|
};
|
26
|
-
export type SimulateContractParameters<abi extends Abi | readonly unknown[] = Abi, functionName extends ContractFunctionName<abi, 'nonpayable' | 'payable'> = ContractFunctionName<abi, 'nonpayable' | 'payable'>, args extends ContractFunctionArgs<abi, 'nonpayable' | 'payable', functionName> = ContractFunctionArgs<abi, 'nonpayable' | 'payable', functionName>, chain extends Chain | undefined = Chain | undefined, chainOverride extends Chain | undefined = Chain | undefined, accountOverride extends Account | Address | undefined = undefined, derivedChain extends Chain | undefined = DeriveChain<chain, chainOverride>> = {
|
27
|
-
account?: accountOverride | undefined;
|
26
|
+
export type SimulateContractParameters<abi extends Abi | readonly unknown[] = Abi, functionName extends ContractFunctionName<abi, 'nonpayable' | 'payable'> = ContractFunctionName<abi, 'nonpayable' | 'payable'>, args extends ContractFunctionArgs<abi, 'nonpayable' | 'payable', functionName> = ContractFunctionArgs<abi, 'nonpayable' | 'payable', functionName>, chain extends Chain | undefined = Chain | undefined, chainOverride extends Chain | undefined = Chain | undefined, accountOverride extends Account | Address | null | undefined = undefined, derivedChain extends Chain | undefined = DeriveChain<chain, chainOverride>> = {
|
27
|
+
account?: accountOverride | null | undefined;
|
28
28
|
chain?: chainOverride | undefined;
|
29
29
|
/** Data to append to the end of the calldata. Useful for adding a ["domain" tag](https://opensea.notion.site/opensea/Seaport-Order-Attributions-ec2d69bf455041a5baa490941aad307f). */
|
30
30
|
dataSuffix?: Hex | undefined;
|
31
31
|
} & ContractFunctionParameters<abi, 'nonpayable' | 'payable', functionName, args> & UnionOmit<CallParameters<derivedChain>, 'account' | 'batch' | 'code' | 'to' | 'data' | 'factory' | 'factoryData' | 'value'> & GetMutabilityAwareValue<abi, 'nonpayable' | 'payable', functionName, CallParameters<derivedChain> extends CallParameters ? CallParameters<derivedChain>['value'] : CallParameters['value'], args>;
|
32
32
|
export type SimulateContractReturnType<out abi extends Abi | readonly unknown[] = Abi, in out functionName extends ContractFunctionName<abi, 'nonpayable' | 'payable'> = ContractFunctionName<abi, 'nonpayable' | 'payable'>, in out args extends ContractFunctionArgs<abi, 'nonpayable' | 'payable', functionName> = ContractFunctionArgs<abi, 'nonpayable' | 'payable', functionName>,
|
33
33
|
/** @ts-expect-error cast variance */
|
34
|
-
out chain extends Chain | undefined = Chain | undefined, out account extends Account | undefined = Account | undefined, out chainOverride extends Chain | undefined = Chain | undefined, out accountOverride extends Account | Address | undefined = Account | Address | undefined, in out minimizedAbi extends Abi = readonly [
|
34
|
+
out chain extends Chain | undefined = Chain | undefined, out account extends Account | undefined = Account | undefined, out chainOverride extends Chain | undefined = Chain | undefined, out accountOverride extends Account | Address | null | undefined = Account | Address | null | undefined, in out minimizedAbi extends Abi = readonly [
|
35
35
|
ExtractAbiFunctionForArgs<abi extends Abi ? abi : Abi, 'nonpayable' | 'payable', functionName, args>
|
36
|
-
], out resolvedAccount extends Account | undefined = accountOverride extends Account | Address ? ParseAccount<accountOverride> : account> = {
|
36
|
+
], out resolvedAccount extends Account | null | undefined = accountOverride extends Account | Address | null ? ParseAccount<accountOverride> : account> = {
|
37
37
|
result: ContractFunctionReturnType<minimizedAbi, 'nonpayable' | 'payable', functionName, args>;
|
38
38
|
request: Prettify<UnionEvaluate<UnionOmit<WriteContractParameters<minimizedAbi, functionName, args, chain, undefined, chainOverride>, 'account' | 'abi' | 'args' | 'chain' | 'functionName'>> & ContractFunctionParameters<minimizedAbi, 'nonpayable' | 'payable', functionName, args> & {
|
39
39
|
chain: DeriveChain<chain, chainOverride>;
|
40
|
-
} & (resolvedAccount extends Account ? {
|
40
|
+
} & (resolvedAccount extends Account | null ? {
|
41
41
|
account: resolvedAccount;
|
42
42
|
} : {
|
43
43
|
account?: undefined;
|
@@ -75,5 +75,5 @@ export type SimulateContractErrorType = ParseAccountErrorType | EncodeFunctionDa
|
|
75
75
|
* account: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e',
|
76
76
|
* })
|
77
77
|
*/
|
78
|
-
export declare function simulateContract<chain extends Chain | undefined, account extends Account | undefined, const abi extends Abi | readonly unknown[], functionName extends ContractFunctionName<abi, 'nonpayable' | 'payable'>, const args extends ContractFunctionArgs<abi, 'nonpayable' | 'payable', functionName>, chainOverride extends Chain | undefined = undefined, accountOverride extends Account | Address | undefined = undefined>(client: Client<Transport, chain, account>, parameters: SimulateContractParameters<abi, functionName, args, chain, chainOverride, accountOverride>): Promise<SimulateContractReturnType<abi, functionName, args, chain, account, chainOverride, accountOverride>>;
|
78
|
+
export declare function simulateContract<chain extends Chain | undefined, account extends Account | undefined, const abi extends Abi | readonly unknown[], functionName extends ContractFunctionName<abi, 'nonpayable' | 'payable'>, const args extends ContractFunctionArgs<abi, 'nonpayable' | 'payable', functionName>, chainOverride extends Chain | undefined = undefined, accountOverride extends Account | Address | null | undefined = undefined>(client: Client<Transport, chain, account>, parameters: SimulateContractParameters<abi, functionName, args, chain, chainOverride, accountOverride>): Promise<SimulateContractReturnType<abi, functionName, args, chain, account, chainOverride, accountOverride>>;
|
79
79
|
//# sourceMappingURL=simulateContract.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"simulateContract.d.ts","sourceRoot":"","sources":["../../../actions/public/simulateContract.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,WAAW,EAAE,kBAAkB,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAE5E,OAAO,EACL,KAAK,qBAAqB,EAE3B,MAAM,sCAAsC,CAAA;AAC7C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,+BAA+B,CAAA;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,6CAA6C,CAAA;AAE5E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AACnE,OAAO,KAAK,EAAE,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAC9D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Aa,GAAG,6BAA6B,CAAC,GACzE,SAAS,CAAA;AAEb;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,wBAAsB,gBAAgB,CACpC,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,KAAK,CAAC,IAAI,SAAS,oBAAoB,CACrC,GAAG,EACH,YAAY,GAAG,SAAS,EACxB,YAAY,CACb,EACD,aAAa,SAAS,KAAK,GAAG,SAAS,GAAG,SAAS,EACnD,eAAe,SAAS,OAAO,GAAG,OAAO,GAAG,IAAI,GAAG,SAAS,GAAG,SAAS,EAExE,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,KAAK,EAAE,OAAO,CAAC,EACzC,UAAU,EAAE,0BAA0B,CACpC,GAAG,EACH,YAAY,EACZ,IAAI,EACJ,KAAK,EACL,aAAa,EACb,eAAe,CAChB,GACA,OAAO,CACR,0BAA0B,CACxB,GAAG,EACH,YAAY,EACZ,IAAI,EACJ,KAAK,EACL,OAAO,EACP,aAAa,EACb,eAAe,CAChB,CACF,CA4DA"}
|
@@ -5,16 +5,12 @@ export declare const bitgert: {
|
|
5
5
|
readonly url: "https://brisescan.com";
|
6
6
|
};
|
7
7
|
};
|
8
|
-
contracts
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
ensUniversalResolver?: import("../../index.js").ChainContract | undefined;
|
15
|
-
multicall3?: import("../../index.js").ChainContract | undefined;
|
16
|
-
universalSignatureVerifier?: import("../../index.js").ChainContract | undefined;
|
17
|
-
}> | undefined;
|
8
|
+
contracts: {
|
9
|
+
readonly multicall3: {
|
10
|
+
readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
|
11
|
+
readonly blockCreated: 2118034;
|
12
|
+
};
|
13
|
+
};
|
18
14
|
id: 32520;
|
19
15
|
name: "Bitgert Mainnet";
|
20
16
|
nativeCurrency: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"bitgert.d.ts","sourceRoot":"","sources":["../../../chains/definitions/bitgert.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO
|
1
|
+
{"version":3,"file":"bitgert.d.ts","sourceRoot":"","sources":["../../../chains/definitions/bitgert.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwBlB,CAAA"}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
export declare const disChain: {
|
2
|
+
blockExplorers: {
|
3
|
+
readonly default: {
|
4
|
+
readonly name: "DisChain Explorer";
|
5
|
+
readonly url: "https://www.oklink.com/dis";
|
6
|
+
};
|
7
|
+
};
|
8
|
+
contracts?: import("../index.js").Prettify<{
|
9
|
+
[key: string]: import("../../index.js").ChainContract | {
|
10
|
+
[sourceId: number]: import("../../index.js").ChainContract | undefined;
|
11
|
+
} | undefined;
|
12
|
+
} & {
|
13
|
+
ensRegistry?: import("../../index.js").ChainContract | undefined;
|
14
|
+
ensUniversalResolver?: import("../../index.js").ChainContract | undefined;
|
15
|
+
multicall3?: import("../../index.js").ChainContract | undefined;
|
16
|
+
universalSignatureVerifier?: import("../../index.js").ChainContract | undefined;
|
17
|
+
}> | undefined;
|
18
|
+
id: 513100;
|
19
|
+
name: "DisChain";
|
20
|
+
nativeCurrency: {
|
21
|
+
readonly decimals: 18;
|
22
|
+
readonly name: "DIS";
|
23
|
+
readonly symbol: "DIS";
|
24
|
+
};
|
25
|
+
rpcUrls: {
|
26
|
+
readonly default: {
|
27
|
+
readonly http: readonly ["https://rpc.dischain.xyz"];
|
28
|
+
};
|
29
|
+
};
|
30
|
+
sourceId?: number | undefined;
|
31
|
+
testnet?: boolean | undefined;
|
32
|
+
custom?: Record<string, unknown> | undefined;
|
33
|
+
fees?: import("../../index.js").ChainFees<undefined> | undefined;
|
34
|
+
formatters?: undefined;
|
35
|
+
serializers?: import("../../index.js").ChainSerializers<undefined, import("../../index.js").TransactionSerializable> | undefined;
|
36
|
+
};
|
37
|
+
//# sourceMappingURL=disChain.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"disChain.d.ts","sourceRoot":"","sources":["../../../chains/definitions/disChain.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ;;;;;;;;;;;;mBAoBy/B,CAAC;4BAA0D,CAAC;kBAAgD,CAAC;kCAAgE,CAAC;;;;;;;;;;;;;;;;;;;;CAD1rC,CAAA"}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
export declare const energy: {
|
2
|
+
blockExplorers: {
|
3
|
+
readonly default: {
|
4
|
+
readonly name: "EnergyWeb Explorer";
|
5
|
+
readonly url: "https://explorer.energyweb.org";
|
6
|
+
};
|
7
|
+
};
|
8
|
+
contracts?: import("../index.js").Prettify<{
|
9
|
+
[key: string]: import("../../index.js").ChainContract | {
|
10
|
+
[sourceId: number]: import("../../index.js").ChainContract | undefined;
|
11
|
+
} | undefined;
|
12
|
+
} & {
|
13
|
+
ensRegistry?: import("../../index.js").ChainContract | undefined;
|
14
|
+
ensUniversalResolver?: import("../../index.js").ChainContract | undefined;
|
15
|
+
multicall3?: import("../../index.js").ChainContract | undefined;
|
16
|
+
universalSignatureVerifier?: import("../../index.js").ChainContract | undefined;
|
17
|
+
}> | undefined;
|
18
|
+
id: 246;
|
19
|
+
name: "Energy Mainnet";
|
20
|
+
nativeCurrency: {
|
21
|
+
readonly name: "EWT";
|
22
|
+
readonly symbol: "EWT";
|
23
|
+
readonly decimals: 18;
|
24
|
+
};
|
25
|
+
rpcUrls: {
|
26
|
+
readonly default: {
|
27
|
+
readonly http: readonly ["https://rpc.energyweb.org"];
|
28
|
+
};
|
29
|
+
};
|
30
|
+
sourceId?: number | undefined;
|
31
|
+
testnet: false;
|
32
|
+
custom?: Record<string, unknown> | undefined;
|
33
|
+
fees?: import("../../index.js").ChainFees<undefined> | undefined;
|
34
|
+
formatters?: undefined;
|
35
|
+
serializers?: import("../../index.js").ChainSerializers<undefined, import("../../index.js").TransactionSerializable> | undefined;
|
36
|
+
};
|
37
|
+
//# sourceMappingURL=energy.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"energy.d.ts","sourceRoot":"","sources":["../../../chains/definitions/energy.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;;;;;;;mBAiBi/B,CAAC;4BAA0D,CAAC;kBAAgD,CAAC;kCAAgE,CAAC;;;;;;;;;;;;;;;;;;;;CADhrC,CAAA"}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
export declare const guruNetwork: {
|
2
|
+
blockExplorers: {
|
3
|
+
readonly default: {
|
4
|
+
readonly name: "Guruscan";
|
5
|
+
readonly url: "https://scan.gurunetwork.ai";
|
6
|
+
};
|
7
|
+
};
|
8
|
+
contracts: {
|
9
|
+
readonly multicall3: {
|
10
|
+
readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
|
11
|
+
readonly blockCreated: 271691;
|
12
|
+
};
|
13
|
+
};
|
14
|
+
id: 260;
|
15
|
+
name: "Guru Network Mainnet";
|
16
|
+
nativeCurrency: {
|
17
|
+
readonly name: "GURU Token";
|
18
|
+
readonly symbol: "GURU";
|
19
|
+
readonly decimals: 18;
|
20
|
+
};
|
21
|
+
rpcUrls: {
|
22
|
+
readonly default: {
|
23
|
+
readonly http: readonly ["https://rpc.gurunetwork.ai/archive/260"];
|
24
|
+
};
|
25
|
+
};
|
26
|
+
sourceId?: number | undefined;
|
27
|
+
testnet: false;
|
28
|
+
custom?: Record<string, unknown> | undefined;
|
29
|
+
fees?: import("../../index.js").ChainFees<undefined> | undefined;
|
30
|
+
formatters?: undefined;
|
31
|
+
serializers?: import("../../index.js").ChainSerializers<undefined, import("../../index.js").TransactionSerializable> | undefined;
|
32
|
+
};
|
33
|
+
//# sourceMappingURL=guruNetwork.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"guruNetwork.d.ts","sourceRoot":"","sources":["../../../chains/definitions/guruNetwork.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BtB,CAAA"}
|
@@ -2,7 +2,7 @@ export declare const guruTestnet: {
|
|
2
2
|
blockExplorers: {
|
3
3
|
readonly default: {
|
4
4
|
readonly name: "Guruscan";
|
5
|
-
readonly url: "https://
|
5
|
+
readonly url: "https://sepolia.gurunetwork.ai";
|
6
6
|
};
|
7
7
|
};
|
8
8
|
contracts?: import("../index.js").Prettify<{
|
@@ -18,7 +18,7 @@ export declare const guruTestnet: {
|
|
18
18
|
id: 261;
|
19
19
|
name: "Guru Network Testnet";
|
20
20
|
nativeCurrency: {
|
21
|
-
readonly name: "
|
21
|
+
readonly name: "tGURU Token";
|
22
22
|
readonly symbol: "tGURU";
|
23
23
|
readonly decimals: 18;
|
24
24
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"guruTestnet.d.ts","sourceRoot":"","sources":["../../../chains/definitions/guruTestnet.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW;;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"guruTestnet.d.ts","sourceRoot":"","sources":["../../../chains/definitions/guruTestnet.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW;;;;;;;;;;;;mBAqBs8B,CAAC;4BAA0D,CAAC;kBAAgD,CAAC;kCAAgE,CAAC;;;;;;;;;;;;;;;;;;;;CAD1oC,CAAA"}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
export declare const iSunCoin: {
|
2
|
+
blockExplorers: {
|
3
|
+
readonly default: {
|
4
|
+
readonly name: "iSunCoin Explorer";
|
5
|
+
readonly url: "https://baifa.io/app/chains/8017";
|
6
|
+
};
|
7
|
+
};
|
8
|
+
contracts?: import("../index.js").Prettify<{
|
9
|
+
[key: string]: import("../../index.js").ChainContract | {
|
10
|
+
[sourceId: number]: import("../../index.js").ChainContract | undefined;
|
11
|
+
} | undefined;
|
12
|
+
} & {
|
13
|
+
ensRegistry?: import("../../index.js").ChainContract | undefined;
|
14
|
+
ensUniversalResolver?: import("../../index.js").ChainContract | undefined;
|
15
|
+
multicall3?: import("../../index.js").ChainContract | undefined;
|
16
|
+
universalSignatureVerifier?: import("../../index.js").ChainContract | undefined;
|
17
|
+
}> | undefined;
|
18
|
+
id: 8017;
|
19
|
+
name: "iSunCoin Mainnet";
|
20
|
+
nativeCurrency: {
|
21
|
+
readonly decimals: 18;
|
22
|
+
readonly name: "ISC";
|
23
|
+
readonly symbol: "ISC";
|
24
|
+
};
|
25
|
+
rpcUrls: {
|
26
|
+
readonly default: {
|
27
|
+
readonly http: readonly ["https://mainnet.isuncoin.com"];
|
28
|
+
};
|
29
|
+
};
|
30
|
+
sourceId?: number | undefined;
|
31
|
+
testnet?: boolean | undefined;
|
32
|
+
custom?: Record<string, unknown> | undefined;
|
33
|
+
fees?: import("../../index.js").ChainFees<undefined> | undefined;
|
34
|
+
formatters?: undefined;
|
35
|
+
serializers?: import("../../index.js").ChainSerializers<undefined, import("../../index.js").TransactionSerializable> | undefined;
|
36
|
+
};
|
37
|
+
//# sourceMappingURL=iSunCoin.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"iSunCoin.d.ts","sourceRoot":"","sources":["../../../chains/definitions/iSunCoin.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ;;;;;;;;;;;;mBAoBy+B,CAAC;4BAA0D,CAAC;kBAAgD,CAAC;kCAAgE,CAAC;;;;;;;;;;;;;;;;;;;;CAD1qC,CAAA"}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
export declare const mchVerse: {
|
2
|
+
blockExplorers: {
|
3
|
+
readonly default: {
|
4
|
+
readonly name: "MCH Verse Explorer";
|
5
|
+
readonly url: "https://explorer.oasys.mycryptoheroes.net";
|
6
|
+
readonly apiUrl: "https://explorer.oasys.mycryptoheroes.net/api";
|
7
|
+
};
|
8
|
+
};
|
9
|
+
contracts?: import("../index.js").Prettify<{
|
10
|
+
[key: string]: import("../../index.js").ChainContract | {
|
11
|
+
[sourceId: number]: import("../../index.js").ChainContract | undefined;
|
12
|
+
} | undefined;
|
13
|
+
} & {
|
14
|
+
ensRegistry?: import("../../index.js").ChainContract | undefined;
|
15
|
+
ensUniversalResolver?: import("../../index.js").ChainContract | undefined;
|
16
|
+
multicall3?: import("../../index.js").ChainContract | undefined;
|
17
|
+
universalSignatureVerifier?: import("../../index.js").ChainContract | undefined;
|
18
|
+
}> | undefined;
|
19
|
+
id: 29548;
|
20
|
+
name: "MCH Verse";
|
21
|
+
nativeCurrency: {
|
22
|
+
readonly name: "Oasys";
|
23
|
+
readonly symbol: "OAS";
|
24
|
+
readonly decimals: 18;
|
25
|
+
};
|
26
|
+
rpcUrls: {
|
27
|
+
readonly default: {
|
28
|
+
readonly http: readonly ["https://rpc.oasys.mycryptoheroes.net"];
|
29
|
+
};
|
30
|
+
};
|
31
|
+
sourceId?: number | undefined;
|
32
|
+
testnet: false;
|
33
|
+
custom?: Record<string, unknown> | undefined;
|
34
|
+
fees?: import("../../index.js").ChainFees<undefined> | undefined;
|
35
|
+
formatters?: undefined;
|
36
|
+
serializers?: import("../../index.js").ChainSerializers<undefined, import("../../index.js").TransactionSerializable> | undefined;
|
37
|
+
};
|
38
|
+
//# sourceMappingURL=mchVerse.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"mchVerse.d.ts","sourceRoot":"","sources":["../../../chains/definitions/mchVerse.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;mBAkBy5B,CAAC;4BAA0D,CAAC;kBAAgD,CAAC;kCAAgE,CAAC;;;;;;;;;;;;;;;;;;;;CAD1lC,CAAA"}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
export declare const metadium: {
|
2
|
+
blockExplorers: {
|
3
|
+
readonly default: {
|
4
|
+
readonly name: "Metadium Explorer";
|
5
|
+
readonly url: "https://explorer.metadium.com";
|
6
|
+
};
|
7
|
+
};
|
8
|
+
contracts?: import("../index.js").Prettify<{
|
9
|
+
[key: string]: import("../../index.js").ChainContract | {
|
10
|
+
[sourceId: number]: import("../../index.js").ChainContract | undefined;
|
11
|
+
} | undefined;
|
12
|
+
} & {
|
13
|
+
ensRegistry?: import("../../index.js").ChainContract | undefined;
|
14
|
+
ensUniversalResolver?: import("../../index.js").ChainContract | undefined;
|
15
|
+
multicall3?: import("../../index.js").ChainContract | undefined;
|
16
|
+
universalSignatureVerifier?: import("../../index.js").ChainContract | undefined;
|
17
|
+
}> | undefined;
|
18
|
+
id: 11;
|
19
|
+
name: "Metadium Network";
|
20
|
+
nativeCurrency: {
|
21
|
+
readonly decimals: 18;
|
22
|
+
readonly name: "META";
|
23
|
+
readonly symbol: "META";
|
24
|
+
};
|
25
|
+
rpcUrls: {
|
26
|
+
readonly default: {
|
27
|
+
readonly http: readonly ["https://api.metadium.com/prod"];
|
28
|
+
};
|
29
|
+
};
|
30
|
+
sourceId?: number | undefined;
|
31
|
+
testnet: false;
|
32
|
+
custom?: Record<string, unknown> | undefined;
|
33
|
+
fees?: import("../../index.js").ChainFees<undefined> | undefined;
|
34
|
+
formatters?: undefined;
|
35
|
+
serializers?: import("../../index.js").ChainSerializers<undefined, import("../../index.js").TransactionSerializable> | undefined;
|
36
|
+
};
|
37
|
+
//# sourceMappingURL=metadium.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"metadium.d.ts","sourceRoot":"","sources":["../../../chains/definitions/metadium.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ;;;;;;;;;;;;mBAmBo+B,CAAC;4BAA0D,CAAC;kBAAgD,CAAC;kCAAgE,CAAC;;;;;;;;;;;;;;;;;;;;CADrqC,CAAA"}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
export declare const sixProtocol: {
|
2
|
+
blockExplorers: {
|
3
|
+
readonly default: {
|
4
|
+
readonly name: "Six Protocol Scan";
|
5
|
+
readonly url: "https://sixscan.io/sixnet";
|
6
|
+
};
|
7
|
+
};
|
8
|
+
contracts?: import("../index.js").Prettify<{
|
9
|
+
[key: string]: import("../../index.js").ChainContract | {
|
10
|
+
[sourceId: number]: import("../../index.js").ChainContract | undefined;
|
11
|
+
} | undefined;
|
12
|
+
} & {
|
13
|
+
ensRegistry?: import("../../index.js").ChainContract | undefined;
|
14
|
+
ensUniversalResolver?: import("../../index.js").ChainContract | undefined;
|
15
|
+
multicall3?: import("../../index.js").ChainContract | undefined;
|
16
|
+
universalSignatureVerifier?: import("../../index.js").ChainContract | undefined;
|
17
|
+
}> | undefined;
|
18
|
+
id: 98;
|
19
|
+
name: "Six Protocol";
|
20
|
+
nativeCurrency: {
|
21
|
+
readonly decimals: 18;
|
22
|
+
readonly name: "SIX";
|
23
|
+
readonly symbol: "SIX";
|
24
|
+
};
|
25
|
+
rpcUrls: {
|
26
|
+
readonly default: {
|
27
|
+
readonly http: readonly ["https://sixnet-rpc-evm.sixprotocol.net"];
|
28
|
+
};
|
29
|
+
};
|
30
|
+
sourceId?: number | undefined;
|
31
|
+
testnet: false;
|
32
|
+
custom?: Record<string, unknown> | undefined;
|
33
|
+
fees?: import("../../index.js").ChainFees<undefined> | undefined;
|
34
|
+
formatters?: undefined;
|
35
|
+
serializers?: import("../../index.js").ChainSerializers<undefined, import("../../index.js").TransactionSerializable> | undefined;
|
36
|
+
};
|
37
|
+
//# sourceMappingURL=sixProtocol.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"sixProtocol.d.ts","sourceRoot":"","sources":["../../../chains/definitions/sixProtocol.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW;;;;;;;;;;;;mBAqBo9B,CAAC;4BAA0D,CAAC;kBAAgD,CAAC;kCAAgE,CAAC;;;;;;;;;;;;;;;;;;;;CADxpC,CAAA"}
|
@@ -0,0 +1,37 @@
|
|
1
|
+
export declare const vanar: {
|
2
|
+
blockExplorers: {
|
3
|
+
readonly default: {
|
4
|
+
readonly name: "Vanar Mainnet Explorer";
|
5
|
+
readonly url: "https://explorer.vanarchain.com/";
|
6
|
+
};
|
7
|
+
};
|
8
|
+
contracts?: import("../index.js").Prettify<{
|
9
|
+
[key: string]: import("../../index.js").ChainContract | {
|
10
|
+
[sourceId: number]: import("../../index.js").ChainContract | undefined;
|
11
|
+
} | undefined;
|
12
|
+
} & {
|
13
|
+
ensRegistry?: import("../../index.js").ChainContract | undefined;
|
14
|
+
ensUniversalResolver?: import("../../index.js").ChainContract | undefined;
|
15
|
+
multicall3?: import("../../index.js").ChainContract | undefined;
|
16
|
+
universalSignatureVerifier?: import("../../index.js").ChainContract | undefined;
|
17
|
+
}> | undefined;
|
18
|
+
id: 2040;
|
19
|
+
name: "Vanar Mainnet";
|
20
|
+
nativeCurrency: {
|
21
|
+
readonly name: "VANRY";
|
22
|
+
readonly symbol: "VANRY";
|
23
|
+
readonly decimals: 18;
|
24
|
+
};
|
25
|
+
rpcUrls: {
|
26
|
+
readonly default: {
|
27
|
+
readonly http: readonly ["https://rpc.vanarchain.com"];
|
28
|
+
};
|
29
|
+
};
|
30
|
+
sourceId?: number | undefined;
|
31
|
+
testnet: false;
|
32
|
+
custom?: Record<string, unknown> | undefined;
|
33
|
+
fees?: import("../../index.js").ChainFees<undefined> | undefined;
|
34
|
+
formatters?: undefined;
|
35
|
+
serializers?: import("../../index.js").ChainSerializers<undefined, import("../../index.js").TransactionSerializable> | undefined;
|
36
|
+
};
|
37
|
+
//# sourceMappingURL=vanar.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"vanar.d.ts","sourceRoot":"","sources":["../../../chains/definitions/vanar.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK;;;;;;;;;;;;mBAiBw+B,CAAC;4BAA0D,CAAC;kBAAgD,CAAC;kCAAgE,CAAC;;;;;;;;;;;;;;;;;;;;CADtqC,CAAA"}
|