viem 2.21.32 → 2.21.33
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +12 -0
- package/_cjs/actions/public/estimateGas.js +1 -1
- package/_cjs/actions/public/estimateGas.js.map +1 -1
- package/_cjs/actions/wallet/prepareTransactionRequest.js +2 -2
- package/_cjs/actions/wallet/prepareTransactionRequest.js.map +1 -1
- package/_cjs/chains/definitions/bitrock.js +22 -0
- package/_cjs/chains/definitions/bitrock.js.map +1 -0
- package/_cjs/chains/definitions/dustboyIoT.js +29 -0
- package/_cjs/chains/definitions/dustboyIoT.js.map +1 -0
- package/_cjs/chains/definitions/lavita.js +22 -0
- package/_cjs/chains/definitions/lavita.js.map +1 -0
- package/_cjs/chains/index.js +104 -98
- package/_cjs/chains/index.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_cjs/op-stack/actions/buildInitiateWithdrawal.js +1 -1
- package/_cjs/op-stack/actions/buildInitiateWithdrawal.js.map +1 -1
- package/_esm/actions/public/estimateGas.js +1 -1
- package/_esm/actions/public/estimateGas.js.map +1 -1
- package/_esm/actions/wallet/prepareTransactionRequest.js +2 -2
- package/_esm/actions/wallet/prepareTransactionRequest.js.map +1 -1
- package/_esm/chains/definitions/bitrock.js +19 -0
- package/_esm/chains/definitions/bitrock.js.map +1 -0
- package/_esm/chains/definitions/dustboyIoT.js +26 -0
- package/_esm/chains/definitions/dustboyIoT.js.map +1 -0
- package/_esm/chains/definitions/lavita.js +19 -0
- package/_esm/chains/definitions/lavita.js.map +1 -0
- package/_esm/chains/index.js +49 -46
- package/_esm/chains/index.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_esm/op-stack/actions/buildInitiateWithdrawal.js +1 -1
- package/_esm/op-stack/actions/buildInitiateWithdrawal.js.map +1 -1
- package/_types/chains/definitions/bitrock.d.ts +37 -0
- package/_types/chains/definitions/bitrock.d.ts.map +1 -0
- package/_types/chains/definitions/dustboyIoT.d.ts +34 -0
- package/_types/chains/definitions/dustboyIoT.d.ts.map +1 -0
- package/_types/chains/definitions/lavita.d.ts +37 -0
- package/_types/chains/definitions/lavita.d.ts.map +1 -0
- package/_types/chains/index.d.ts +84 -81
- package/_types/chains/index.d.ts.map +1 -1
- package/_types/errors/version.d.ts +1 -1
- package/actions/public/estimateGas.ts +1 -1
- package/actions/wallet/prepareTransactionRequest.ts +2 -2
- package/chains/definitions/bitrock.ts +19 -0
- package/chains/definitions/dustboyIoT.ts +26 -0
- package/chains/definitions/lavita.ts +19 -0
- package/chains/index.ts +97 -94
- package/errors/version.ts +1 -1
- package/op-stack/actions/buildInitiateWithdrawal.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# viem
|
2
2
|
|
3
|
+
## 2.21.33
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- [`d21d9d031442ddb65ea6e633029fb4f43235a27f`](https://github.com/wevm/viem/commit/d21d9d031442ddb65ea6e633029fb4f43235a27f) Thanks [@jxom](https://github.com/jxom)! - Fixed gas estimation issue for OP Stack withdrawals.
|
8
|
+
|
9
|
+
- [#2897](https://github.com/wevm/viem/pull/2897) [`40514f93c9147c26cc47f25421adcec8230d6c40`](https://github.com/wevm/viem/commit/40514f93c9147c26cc47f25421adcec8230d6c40) Thanks [@catbutter](https://github.com/catbutter)! - Added DustBoy IoT chain.
|
10
|
+
|
11
|
+
- [#2908](https://github.com/wevm/viem/pull/2908) [`903d1e4256101253e4fbd6659ae5c2180464427a`](https://github.com/wevm/viem/commit/903d1e4256101253e4fbd6659ae5c2180464427a) Thanks [@qi-0826](https://github.com/qi-0826)! - Added LAVITA Mainnet.
|
12
|
+
|
13
|
+
- [#2907](https://github.com/wevm/viem/pull/2907) [`d3047ead21b4785c83aae35e896120b1dc390ecf`](https://github.com/wevm/viem/commit/d3047ead21b4785c83aae35e896120b1dc390ecf) Thanks [@qi-0826](https://github.com/qi-0826)! - Added Bitrock Mainnet.
|
14
|
+
|
3
15
|
## 2.21.32
|
4
16
|
|
5
17
|
### Patch Changes
|
@@ -13,7 +13,7 @@ const assertRequest_js_1 = require("../../utils/transaction/assertRequest.js");
|
|
13
13
|
const prepareTransactionRequest_js_1 = require("../wallet/prepareTransactionRequest.js");
|
14
14
|
const getBalance_js_1 = require("./getBalance.js");
|
15
15
|
async function estimateGas(client, args) {
|
16
|
-
const account_ =
|
16
|
+
const { account: account_ = client.account } = args;
|
17
17
|
const account = account_ ? (0, parseAccount_js_1.parseAccount)(account_) : undefined;
|
18
18
|
try {
|
19
19
|
const { accessList, authorizationList, blobs, blobVersionedHashes, blockNumber, blockTag, data, gas, gasPrice, maxFeePerBlobGas, maxFeePerGas, maxPriorityFeePerGas, nonce, value, stateOverride, ...rest } = (await (0, prepareTransactionRequest_js_1.prepareTransactionRequest)(client, {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"estimateGas.js","sourceRoot":"","sources":["../../../actions/public/estimateGas.ts"],"names":[],"mappings":";;AAsGA,kCAyIC;AA7OD,0EAG6C;AAG7C,kDAAgD;AAChD,oHAGwE;AAOxE,4DAGsC;AACtC,sFAGkD;AAClD,kEAA2D;AAC3D,wFAGqD;AACrD,mEAAqE;AACrE,+EAIiD;AACjD,yFAG+C;AAC/C,mDAA4C;AA4DrC,KAAK,UAAU,WAAW,CAI/B,MAAyC,EACzC,IAAkC;IAElC,MAAM,QAAQ,GAAG,
|
1
|
+
{"version":3,"file":"estimateGas.js","sourceRoot":"","sources":["../../../actions/public/estimateGas.ts"],"names":[],"mappings":";;AAsGA,kCAyIC;AA7OD,0EAG6C;AAG7C,kDAAgD;AAChD,oHAGwE;AAOxE,4DAGsC;AACtC,sFAGkD;AAClD,kEAA2D;AAC3D,wFAGqD;AACrD,mEAAqE;AACrE,+EAIiD;AACjD,yFAG+C;AAC/C,mDAA4C;AA4DrC,KAAK,UAAU,WAAW,CAI/B,MAAyC,EACzC,IAAkC;IAElC,MAAM,EAAE,OAAO,EAAE,QAAQ,GAAG,MAAM,CAA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AAS,GAAG,MAAM,OAAO,CAAC,GAAG,CACjC,iBAAiB,CAAC,GAAG,CAAC,KAAK,EAAE,aAAa,EAAE,EAAE;gBAC5C,MAAM,EAAE,eAAe,EAAE,GAAG,aAAa,CAAA;gBACzC,MAAM,QAAQ,GAAG,MAAM,eAAe,CAAC;oBACrC,KAAK;oBACL,OAAO,EAAE;wBACP,iBAAiB,EAAE,SAAS;wBAC5B,IAAI;wBACJ,IAAI,EAAE,OAAO,EAAE,OAAO;wBACtB,EAAE,EAAE,eAAe;wBACnB,KAAK,EAAE,IAAA,sBAAW,EAAC,KAAK,CAAC;qBAC1B;oBACD,gBAAgB;iBACjB,CAAC,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,OAAQ,CAAC,CAAA;gBACxB,OAAO,EAAE,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAA;YAC9B,CAAC,CAAC,CACH,CAAA;YACD,QAAQ,IAAI,SAAS,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,EAAE,EAAE,CAAC,GAAG,GAAG,IAAI,EAAE,EAAE,CAAC,CAAA;QAC7D,CAAC;QAED,OAAO,QAAQ,CAAA;IACjB,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,MAAM,IAAA,4CAAmB,EAAC,GAAgB,EAAE;YAC1C,GAAG,IAAI;YACP,OAAO;YACP,KAAK,EAAE,MAAM,CAAC,KAAK;SACpB,CAAC,CAAA;IACJ,CAAC;AACH,CAAC"}
|
@@ -26,7 +26,7 @@ exports.defaultParameters = [
|
|
26
26
|
];
|
27
27
|
async function prepareTransactionRequest(client, args) {
|
28
28
|
const { account: account_ = client.account, blobs, chain, gas, kzg, nonce, nonceManager, parameters = exports.defaultParameters, type, } = args;
|
29
|
-
const account = account_ ? (0, parseAccount_js_1.parseAccount)(account_) :
|
29
|
+
const account = account_ ? (0, parseAccount_js_1.parseAccount)(account_) : account_;
|
30
30
|
const request = { ...args, ...(account ? { from: account?.address } : {}) };
|
31
31
|
let block;
|
32
32
|
async function getBlock() {
|
@@ -138,7 +138,7 @@ async function prepareTransactionRequest(client, args) {
|
|
138
138
|
...request,
|
139
139
|
account: account
|
140
140
|
? { address: account.address, type: 'json-rpc' }
|
141
|
-
:
|
141
|
+
: account,
|
142
142
|
});
|
143
143
|
(0, assertRequest_js_1.assertRequest)(request);
|
144
144
|
delete request.parameters;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"prepareTransactionRequest.js","sourceRoot":"","sources":["../../../actions/wallet/prepareTransactionRequest.ts"],"names":[],"mappings":";;;AAqOA,8DAiMC;AApaD,0EAG6C;AAC7C,sFAGmD;AACnD,wEAI4C;AAC5C,kEAGyC;AACzC,wFAGoD;AAIpD,gDAG4B;AAsB5B,kFAA2E;AAC3E,wEAAiE;AACjE,sGAA+F;AAC/F,0EAAmE;AAEnE,2DAAoD;AAEpD,+EAIiD;AACjD,yFAGsD;AACtD,2DAAmE;AAEtD,QAAA,iBAAiB,GAAG;IAC/B,qBAAqB;IACrB,SAAS;IACT,MAAM;IACN,KAAK;IACL,OAAO;IACP,MAAM;CACE,CAAA;AAyJH,KAAK,UAAU,yBAAyB,CAO7C,MAAyC,EACzC,IAMC;IAUD,MAAM,EACJ,OAAO,EAAE,QAAQ,GAAG,MAAM,CAAC,OAAO,EAClC,KAAK,EACL,KAAK,EACL,GAAG,EACH,GAAG,EACH,KAAK,EACL,YAAY,EACZ,UAAU,GAAG,yBAAiB,EAC9B,IAAI,GACL,GAAG,IAAI,CAAA;IACR,MAAM,OAAO,GAAG,QAAQ,CAAC,CAAC,CAAC,IAAA,8BAAY,EAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,
|
1
|
+
{"version":3,"file":"prepareTransactionRequest.js","sourceRoot":"","sources":["../../../actions/wallet/prepareTransactionRequest.ts"],"names":[],"mappings":";;;AAqOA,8DAiMC;AApaD,0EAG6C;AAC7C,sFAGmD;AACnD,wEAI4C;AAC5C,kEAGyC;AACzC,wFAGoD;AAIpD,gDAG4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IAAA,gCAAa,EAAC,OAAkC,CAAC,CAAA;IAEjD,OAAO,OAAO,CAAC,UAAU,CAAA;IAEzB,OAAO,OAAc,CAAA;AACvB,CAAC"}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.bitrock = void 0;
|
4
|
+
const defineChain_js_1 = require("../../utils/chain/defineChain.js");
|
5
|
+
exports.bitrock = (0, defineChain_js_1.defineChain)({
|
6
|
+
id: 7171,
|
7
|
+
name: 'Bitrock Mainnet',
|
8
|
+
nativeCurrency: { name: 'BROCK', symbol: 'BROCK', decimals: 18 },
|
9
|
+
rpcUrls: {
|
10
|
+
default: {
|
11
|
+
http: ['https://brockrpc.io'],
|
12
|
+
},
|
13
|
+
},
|
14
|
+
blockExplorers: {
|
15
|
+
default: {
|
16
|
+
name: 'Bitrock Explorer',
|
17
|
+
url: 'https://explorer.bit-rock.io',
|
18
|
+
},
|
19
|
+
},
|
20
|
+
testnet: false,
|
21
|
+
});
|
22
|
+
//# sourceMappingURL=bitrock.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"bitrock.js","sourceRoot":"","sources":["../../../chains/definitions/bitrock.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAEjD,QAAA,OAAO,GAAiB,IAAA,4BAAW,EAAC;IAC/C,EAAE,EAAE,IAAI;IACR,IAAI,EAAE,iBAAiB;IACvB,cAAc,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE;IAChE,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,qBAAqB,CAAC;SAC9B;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,kBAAkB;YACxB,GAAG,EAAE,8BAA8B;SACpC;KACF;IACD,OAAO,EAAE,KAAK;CACf,CAAC,CAAA"}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.dustboyIoT = void 0;
|
4
|
+
const defineChain_js_1 = require("../../utils/chain/defineChain.js");
|
5
|
+
exports.dustboyIoT = (0, defineChain_js_1.defineChain)({
|
6
|
+
id: 555888,
|
7
|
+
name: 'DustBoy IoT',
|
8
|
+
nativeCurrency: { name: 'Ether', symbol: 'DST', decimals: 18 },
|
9
|
+
rpcUrls: {
|
10
|
+
default: {
|
11
|
+
http: ['https://dustboy-rpc.jibl2.com'],
|
12
|
+
},
|
13
|
+
},
|
14
|
+
blockExplorers: {
|
15
|
+
default: {
|
16
|
+
name: 'Blockscout',
|
17
|
+
url: 'https://dustboy.jibl2.com',
|
18
|
+
apiUrl: 'https://dustboy.jibl2.com/api',
|
19
|
+
},
|
20
|
+
},
|
21
|
+
contracts: {
|
22
|
+
multicall3: {
|
23
|
+
address: '0xFFD34aa2C62B2D52E00A361e466C229788f4eD6a',
|
24
|
+
blockCreated: 526569,
|
25
|
+
},
|
26
|
+
},
|
27
|
+
testnet: false,
|
28
|
+
});
|
29
|
+
//# sourceMappingURL=dustboyIoT.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"dustboyIoT.js","sourceRoot":"","sources":["../../../chains/definitions/dustboyIoT.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAEjD,QAAA,UAAU,GAAiB,IAAA,4BAAW,EAAC;IAClD,EAAE,EAAE,MAAM;IACV,IAAI,EAAE,aAAa;IACnB,cAAc,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC9D,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,+BAA+B,CAAC;SACxC;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,YAAY;YAClB,GAAG,EAAE,2BAA2B;YAChC,MAAM,EAAE,+BAA+B;SACxC;KACF;IACD,SAAS,EAAE;QACT,UAAU,EAAE;YACV,OAAO,EAAE,4CAA4C;YACrD,YAAY,EAAE,MAAM;SACrB;KACF;IACD,OAAO,EAAE,KAAK;CACf,CAAC,CAAA"}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.lavita = void 0;
|
4
|
+
const defineChain_js_1 = require("../../utils/chain/defineChain.js");
|
5
|
+
exports.lavita = (0, defineChain_js_1.defineChain)({
|
6
|
+
id: 360890,
|
7
|
+
name: 'LAVITA Mainnet',
|
8
|
+
nativeCurrency: { name: 'vTFUEL', symbol: 'vTFUEL', decimals: 18 },
|
9
|
+
rpcUrls: {
|
10
|
+
default: {
|
11
|
+
http: ['https://tsub360890-eth-rpc.thetatoken.org/rpc'],
|
12
|
+
},
|
13
|
+
},
|
14
|
+
blockExplorers: {
|
15
|
+
default: {
|
16
|
+
name: 'LAVITA Explorer',
|
17
|
+
url: 'https://tsub360890-explorer.thetatoken.org',
|
18
|
+
},
|
19
|
+
},
|
20
|
+
testnet: false,
|
21
|
+
});
|
22
|
+
//# sourceMappingURL=lavita.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"lavita.js","sourceRoot":"","sources":["../../../chains/definitions/lavita.ts"],"names":[],"mappings":";;;AAAA,qEAA8D;AAEjD,QAAA,MAAM,GAAiB,IAAA,4BAAW,EAAC;IAC9C,EAAE,EAAE,MAAM;IACV,IAAI,EAAE,gBAAgB;IACtB,cAAc,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,EAAE;IAClE,OAAO,EAAE;QACP,OAAO,EAAE;YACP,IAAI,EAAE,CAAC,+CAA+C,CAAC;SACxD;KACF;IACD,cAAc,EAAE;QACd,OAAO,EAAE;YACP,IAAI,EAAE,iBAAiB;YACvB,GAAG,EAAE,4CAA4C;SAClD;KACF;IACD,OAAO,EAAE,KAAK;CACf,CAAC,CAAA"}
|