Socket
Socket
Sign inDemoInstall

viem

Package Overview
Dependencies
Maintainers
0
Versions
2148
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

viem - npm Package Compare versions

Comparing version 2.21.16 to 2.21.17

_cjs/chains/definitions/assetChain.js

2

_cjs/celo/chainConfig.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.chainConfig = void 0;
const contracts_js_1 = require("../op-stack/contracts.js");
const fees_js_1 = require("./fees.js");

@@ -8,2 +9,3 @@ const formatters_js_1 = require("./formatters.js");

exports.chainConfig = {
contracts: contracts_js_1.contracts,
formatters: formatters_js_1.formatters,

@@ -10,0 +12,0 @@ serializers: serializers_js_1.serializers,

@@ -6,2 +6,3 @@ "use strict";

const defineChain_js_1 = require("../../utils/chain/defineChain.js");
const sourceId = 17000;
exports.celoAlfajores = (0, defineChain_js_1.defineChain)({

@@ -23,8 +24,9 @@ ...chainConfig_js_1.chainConfig,

default: {
name: 'Celo Explorer',
url: 'https://explorer.celo.org/alfajores',
apiUrl: 'https://explorer.celo.org/api',
name: 'Celo Alfajores Explorer',
url: 'https://celo-alfajores.blockscout.com',
apiUrl: 'https://celo-alfajores.blockscout.com/api',
},
},
contracts: {
...chainConfig_js_1.chainConfig.contracts,
multicall3: {

@@ -34,2 +36,26 @@ address: '0xcA11bde05977b3631167028862bE2a173976CA11',

},
portal: {
[sourceId]: {
address: '0x82527353927d8D069b3B452904c942dA149BA381',
blockCreated: 2411324,
},
},
disputeGameFactory: {
[sourceId]: {
address: '0xE28AAdcd9883746c0e5068F58f9ea06027b214cb',
blockCreated: 2411324,
},
},
l2OutputOracle: {
[sourceId]: {
address: '0x4a2635e9e4f6e45817b1D402ac4904c1d1752438',
blockCreated: 2411324,
},
},
l1StandardBridge: {
[sourceId]: {
address: '0xD1B0E0581973c9eB7f886967A606b9441A897037',
blockCreated: 2411324,
},
},
},

@@ -36,0 +62,0 @@ testnet: true,

4

_cjs/chains/definitions/kaia.js

@@ -18,4 +18,4 @@ "use strict";

default: {
name: 'KaiaScope',
url: 'https://kaiascope.com',
name: 'KaiaScan',
url: 'https://kaiascan.io',
apiUrl: 'https://api-cypress.klaytnscope.com/api',

@@ -22,0 +22,0 @@ },

@@ -19,4 +19,4 @@ "use strict";

default: {
name: 'KaiaScope',
url: 'https://kairos.kaiascope.com',
name: 'KaiaScan',
url: 'https://kairos.kaiascan.io',
},

@@ -23,0 +23,0 @@ },

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.soneiumMinato = void 0;
const chainConfig_js_1 = require("../../op-stack/chainConfig.js");
const defineChain_js_1 = require("../../utils/chain/defineChain.js");
const sourceId = 11_155_111;
exports.soneiumMinato = (0, defineChain_js_1.defineChain)({
...chainConfig_js_1.chainConfig,
id: 1946,
name: 'Soneium Minato',
nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },
name: 'Soneium Minato Testnet',
nativeCurrency: { name: 'Sepolia Ether', symbol: 'ETH', decimals: 18 },
rpcUrls: {

@@ -16,8 +19,31 @@ default: {

default: {
name: 'Minato Explorer',
name: 'Blockscout',
url: 'https://explorer-testnet.soneium.org',
apiUrl: 'https://explorer-testnet.soneium.org/api/',
apiUrl: 'https://explorer-testnet.soneium.org/api',
},
},
contracts: {
...chainConfig_js_1.chainConfig.contracts,
disputeGameFactory: {
[sourceId]: {
address: '0xF69dB6cA559C52d9A4BB6e2B2901f490Ca35Fbf6',
},
},
l2OutputOracle: {
[sourceId]: {
address: '0x710e5286C746eC38beeB7538d0146f60D27be343',
},
},
portal: {
[sourceId]: {
address: '0x65ea1489741A5D72fFdD8e6485B216bBdcC15Af3',
blockCreated: 6466136,
},
},
l1StandardBridge: {
[sourceId]: {
address: '0x5f5a404A5edabcDD80DB05E8e54A78c9EBF000C2',
blockCreated: 6466136,
},
},
multicall3: {

@@ -29,3 +55,4 @@ address: '0xcA11bde05977b3631167028862bE2a173976CA11',

testnet: true,
sourceId,
});
//# sourceMappingURL=soneiumMinato.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = '2.21.16';
exports.version = '2.21.17';
//# sourceMappingURL=version.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.zoraTestnet = exports.zoraSepolia = exports.zora = exports.snaxTestnet = exports.snax = exports.shape = exports.pgnTestnet = exports.pgn = exports.optimismSepolia = exports.optimismGoerli = exports.optimism = exports.metalL2 = exports.fraxtalTestnet = exports.fraxtal = exports.baseSepolia = exports.baseGoerli = exports.base = exports.ancient8Sepolia = exports.ancient8 = void 0;
exports.zoraTestnet = exports.zoraSepolia = exports.zora = exports.soneiumMinato = exports.snaxTestnet = exports.snax = exports.shape = exports.pgnTestnet = exports.pgn = exports.optimismSepolia = exports.optimismGoerli = exports.optimism = exports.metalL2 = exports.fraxtalTestnet = exports.fraxtal = exports.baseSepolia = exports.baseGoerli = exports.base = exports.ancient8Sepolia = exports.ancient8 = void 0;
var ancient8_js_1 = require("../chains/definitions/ancient8.js");

@@ -36,2 +36,4 @@ Object.defineProperty(exports, "ancient8", { enumerable: true, get: function () { return ancient8_js_1.ancient8; } });

Object.defineProperty(exports, "snaxTestnet", { enumerable: true, get: function () { return snaxTestnet_js_1.snaxTestnet; } });
var soneiumMinato_js_1 = require("../chains/definitions/soneiumMinato.js");
Object.defineProperty(exports, "soneiumMinato", { enumerable: true, get: function () { return soneiumMinato_js_1.soneiumMinato; } });
var zora_js_1 = require("../chains/definitions/zora.js");

@@ -38,0 +40,0 @@ Object.defineProperty(exports, "zora", { enumerable: true, get: function () { return zora_js_1.zora; } });

@@ -78,3 +78,3 @@ "use strict";

return matchArgs.every((value, index) => {
if (value === null)
if (value === null || value === undefined)
return true;

@@ -93,3 +93,3 @@ const input = inputs[index];

return Object.entries(matchArgs).every(([key, value]) => {
if (value === null)
if (value === null || value === undefined)
return true;

@@ -96,0 +96,0 @@ const input = inputs.find((input) => input.name === key);

@@ -0,1 +1,2 @@

import { contracts } from '../op-stack/contracts.js';
import { fees } from './fees.js';

@@ -5,2 +6,3 @@ import { formatters } from './formatters.js';

export const chainConfig = {
contracts,
formatters,

@@ -7,0 +9,0 @@ serializers,

import { chainConfig } from '../../celo/chainConfig.js';
import { defineChain } from '../../utils/chain/defineChain.js';
const sourceId = 17000; // holsky
// source https://storage.googleapis.com/cel2-rollup-files/alfajores/deployment-l1.json
export const celoAlfajores = /*#__PURE__*/ defineChain({

@@ -19,8 +21,9 @@ ...chainConfig,

default: {
name: 'Celo Explorer',
url: 'https://explorer.celo.org/alfajores',
apiUrl: 'https://explorer.celo.org/api',
name: 'Celo Alfajores Explorer',
url: 'https://celo-alfajores.blockscout.com',
apiUrl: 'https://celo-alfajores.blockscout.com/api',
},
},
contracts: {
...chainConfig.contracts,
multicall3: {

@@ -30,2 +33,26 @@ address: '0xcA11bde05977b3631167028862bE2a173976CA11',

},
portal: {
[sourceId]: {
address: '0x82527353927d8D069b3B452904c942dA149BA381',
blockCreated: 2411324,
},
},
disputeGameFactory: {
[sourceId]: {
address: '0xE28AAdcd9883746c0e5068F58f9ea06027b214cb',
blockCreated: 2411324,
},
},
l2OutputOracle: {
[sourceId]: {
address: '0x4a2635e9e4f6e45817b1D402ac4904c1d1752438',
blockCreated: 2411324,
},
},
l1StandardBridge: {
[sourceId]: {
address: '0xD1B0E0581973c9eB7f886967A606b9441A897037',
blockCreated: 2411324,
},
},
},

@@ -32,0 +59,0 @@ testnet: true,

@@ -15,4 +15,4 @@ import { defineChain } from '../../utils/chain/defineChain.js';

default: {
name: 'KaiaScope',
url: 'https://kaiascope.com',
name: 'KaiaScan',
url: 'https://kaiascan.io',
apiUrl: 'https://api-cypress.klaytnscope.com/api',

@@ -19,0 +19,0 @@ },

@@ -16,4 +16,4 @@ import { defineChain } from '../../utils/chain/defineChain.js';

default: {
name: 'KaiaScope',
url: 'https://kairos.kaiascope.com',
name: 'KaiaScan',
url: 'https://kairos.kaiascan.io',
},

@@ -20,0 +20,0 @@ },

@@ -0,6 +1,9 @@

import { chainConfig } from '../../op-stack/chainConfig.js';
import { defineChain } from '../../utils/chain/defineChain.js';
export const soneiumMinato = defineChain({
const sourceId = 11_155_111; // sepolia
export const soneiumMinato = /*#__PURE__*/ defineChain({
...chainConfig,
id: 1946,
name: 'Soneium Minato',
nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },
name: 'Soneium Minato Testnet',
nativeCurrency: { name: 'Sepolia Ether', symbol: 'ETH', decimals: 18 },
rpcUrls: {

@@ -13,8 +16,31 @@ default: {

default: {
name: 'Minato Explorer',
name: 'Blockscout',
url: 'https://explorer-testnet.soneium.org',
apiUrl: 'https://explorer-testnet.soneium.org/api/',
apiUrl: 'https://explorer-testnet.soneium.org/api',
},
},
contracts: {
...chainConfig.contracts,
disputeGameFactory: {
[sourceId]: {
address: '0xF69dB6cA559C52d9A4BB6e2B2901f490Ca35Fbf6',
},
},
l2OutputOracle: {
[sourceId]: {
address: '0x710e5286C746eC38beeB7538d0146f60D27be343',
},
},
portal: {
[sourceId]: {
address: '0x65ea1489741A5D72fFdD8e6485B216bBdcC15Af3',
blockCreated: 6466136,
},
},
l1StandardBridge: {
[sourceId]: {
address: '0x5f5a404A5edabcDD80DB05E8e54A78c9EBF000C2',
blockCreated: 6466136,
},
},
multicall3: {

@@ -26,3 +52,4 @@ address: '0xcA11bde05977b3631167028862bE2a173976CA11',

testnet: true,
sourceId,
});
//# sourceMappingURL=soneiumMinato.js.map

@@ -13,2 +13,3 @@ // biome-ignore lint/performance/noBarrelFile: entrypoint module

export { arbitrumNova } from './definitions/arbitrumNova.js';
export { assetChain } from './definitions/assetChain.js';
export { assetChainTestnet } from './definitions/assetChainTestnet.js';

@@ -386,3 +387,4 @@ export { astar } from './definitions/astar.js';

export { zoraTestnet } from './definitions/zoraTestnet.js';
export { zircuit } from './definitions/zircuit.js';
export { zircuitTestnet } from './definitions/zircuitTestnet.js';
//# sourceMappingURL=index.js.map

@@ -1,2 +0,2 @@

export const version = '2.21.16';
export const version = '2.21.17';
//# sourceMappingURL=version.js.map

@@ -18,2 +18,3 @@ // biome-ignore lint/performance/noBarrelFile: entrypoint module

export { snaxTestnet } from '../chains/definitions/snaxTestnet.js';
export { soneiumMinato } from '../chains/definitions/soneiumMinato.js';
export { zora } from '../chains/definitions/zora.js';

@@ -20,0 +21,0 @@ export { zoraSepolia } from '../chains/definitions/zoraSepolia.js';

@@ -104,3 +104,3 @@ // TODO(v3): checksum address.

return matchArgs.every((value, index) => {
if (value === null)
if (value === null || value === undefined)
return true;

@@ -119,3 +119,3 @@ const input = inputs[index];

return Object.entries(matchArgs).every(([key, value]) => {
if (value === null)
if (value === null || value === undefined)
return true;

@@ -122,0 +122,0 @@ const input = inputs.find((input) => input.name === key);

export declare const chainConfig: {
readonly contracts: {
readonly gasPriceOracle: {
readonly address: "0x420000000000000000000000000000000000000F";
};
readonly l1Block: {
readonly address: "0x4200000000000000000000000000000000000015";
};
readonly l2CrossDomainMessenger: {
readonly address: "0x4200000000000000000000000000000000000007";
};
readonly l2Erc721Bridge: {
readonly address: "0x4200000000000000000000000000000000000014";
};
readonly l2StandardBridge: {
readonly address: "0x4200000000000000000000000000000000000010";
};
readonly l2ToL1MessagePasser: {
readonly address: "0x4200000000000000000000000000000000000016";
};
};
readonly formatters: {

@@ -3,0 +23,0 @@ readonly block: {

export declare const celoAlfajores: {
blockExplorers: {
readonly default: {
readonly name: "Celo Explorer";
readonly url: "https://explorer.celo.org/alfajores";
readonly apiUrl: "https://explorer.celo.org/api";
readonly name: "Celo Alfajores Explorer";
readonly url: "https://celo-alfajores.blockscout.com";
readonly apiUrl: "https://celo-alfajores.blockscout.com/api";
};

@@ -14,2 +14,44 @@ };

};
readonly portal: {
readonly 17000: {
readonly address: "0x82527353927d8D069b3B452904c942dA149BA381";
readonly blockCreated: 2411324;
};
};
readonly disputeGameFactory: {
readonly 17000: {
readonly address: "0xE28AAdcd9883746c0e5068F58f9ea06027b214cb";
readonly blockCreated: 2411324;
};
};
readonly l2OutputOracle: {
readonly 17000: {
readonly address: "0x4a2635e9e4f6e45817b1D402ac4904c1d1752438";
readonly blockCreated: 2411324;
};
};
readonly l1StandardBridge: {
readonly 17000: {
readonly address: "0xD1B0E0581973c9eB7f886967A606b9441A897037";
readonly blockCreated: 2411324;
};
};
readonly gasPriceOracle: {
readonly address: "0x420000000000000000000000000000000000000F";
};
readonly l1Block: {
readonly address: "0x4200000000000000000000000000000000000015";
};
readonly l2CrossDomainMessenger: {
readonly address: "0x4200000000000000000000000000000000000007";
};
readonly l2Erc721Bridge: {
readonly address: "0x4200000000000000000000000000000000000014";
};
readonly l2StandardBridge: {
readonly address: "0x4200000000000000000000000000000000000010";
};
readonly l2ToL1MessagePasser: {
readonly address: "0x4200000000000000000000000000000000000016";
};
};

@@ -16,0 +58,0 @@ id: 44787;

export declare const kaia: {
blockExplorers: {
readonly default: {
readonly name: "KaiaScope";
readonly url: "https://kaiascope.com";
readonly name: "KaiaScan";
readonly url: "https://kaiascan.io";
readonly apiUrl: "https://api-cypress.klaytnscope.com/api";

@@ -7,0 +7,0 @@ };

export declare const kairos: {
blockExplorers: {
readonly default: {
readonly name: "KaiaScope";
readonly url: "https://kairos.kaiascope.com";
readonly name: "KaiaScan";
readonly url: "https://kairos.kaiascan.io";
};

@@ -7,0 +7,0 @@ };

export declare const soneiumMinato: {
blockExplorers: {
readonly default: {
readonly name: "Minato Explorer";
readonly name: "Blockscout";
readonly url: "https://explorer-testnet.soneium.org";
readonly apiUrl: "https://explorer-testnet.soneium.org/api/";
readonly apiUrl: "https://explorer-testnet.soneium.org/api";
};
};
contracts: {
readonly disputeGameFactory: {
readonly 11155111: {
readonly address: "0xF69dB6cA559C52d9A4BB6e2B2901f490Ca35Fbf6";
};
};
readonly l2OutputOracle: {
readonly 11155111: {
readonly address: "0x710e5286C746eC38beeB7538d0146f60D27be343";
};
};
readonly portal: {
readonly 11155111: {
readonly address: "0x65ea1489741A5D72fFdD8e6485B216bBdcC15Af3";
readonly blockCreated: 6466136;
};
};
readonly l1StandardBridge: {
readonly 11155111: {
readonly address: "0x5f5a404A5edabcDD80DB05E8e54A78c9EBF000C2";
readonly blockCreated: 6466136;
};
};
readonly multicall3: {

@@ -14,7 +36,25 @@ readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";

};
readonly gasPriceOracle: {
readonly address: "0x420000000000000000000000000000000000000F";
};
readonly l1Block: {
readonly address: "0x4200000000000000000000000000000000000015";
};
readonly l2CrossDomainMessenger: {
readonly address: "0x4200000000000000000000000000000000000007";
};
readonly l2Erc721Bridge: {
readonly address: "0x4200000000000000000000000000000000000014";
};
readonly l2StandardBridge: {
readonly address: "0x4200000000000000000000000000000000000010";
};
readonly l2ToL1MessagePasser: {
readonly address: "0x4200000000000000000000000000000000000016";
};
};
id: 1946;
name: "Soneium Minato";
name: "Soneium Minato Testnet";
nativeCurrency: {
readonly name: "Ether";
readonly name: "Sepolia Ether";
readonly symbol: "ETH";

@@ -28,9 +68,241 @@ readonly decimals: 18;

};
sourceId?: number | undefined;
sourceId: 11155111;
testnet: true;
custom?: Record<string, unknown> | undefined;
fees?: import("../../index.js").ChainFees<undefined> | undefined;
formatters?: undefined;
serializers?: import("../../index.js").ChainSerializers<undefined, import("../../index.js").TransactionSerializable> | undefined;
formatters: {
readonly block: {
exclude: [] | undefined;
format: (args: import("../index.js").OpStackRpcBlock) => {
baseFeePerGas: bigint | null;
blobGasUsed: bigint;
difficulty: bigint;
excessBlobGas: bigint;
extraData: import("../../index.js").Hex;
gasLimit: bigint;
gasUsed: bigint;
hash: `0x${string}` | null;
logsBloom: `0x${string}` | null;
miner: import("abitype").Address;
mixHash: import("../../index.js").Hash;
nonce: `0x${string}` | null;
number: bigint | null;
parentBeaconBlockRoot?: import("../../index.js").Hex | undefined;
parentHash: import("../../index.js").Hash;
receiptsRoot: import("../../index.js").Hex;
sealFields: import("../../index.js").Hex[];
sha3Uncles: import("../../index.js").Hash;
size: bigint;
stateRoot: import("../../index.js").Hash;
timestamp: bigint;
totalDifficulty: bigint | null;
transactions: `0x${string}`[] | import("../index.js").OpStackTransaction<boolean>[];
transactionsRoot: import("../../index.js").Hash;
uncles: import("../../index.js").Hash[];
withdrawals?: import("../../index.js").Withdrawal[] | undefined;
withdrawalsRoot?: import("../../index.js").Hex | undefined;
} & {};
type: "block";
};
readonly transaction: {
exclude: [] | undefined;
format: (args: import("../index.js").OpStackRpcTransaction) => ({
blockHash: `0x${string}` | null;
blockNumber: bigint | null;
from: import("abitype").Address;
gas: bigint;
hash: import("../../index.js").Hash;
input: import("../../index.js").Hex;
nonce: number;
r: import("../../index.js").Hex;
s: import("../../index.js").Hex;
to: import("abitype").Address | null;
transactionIndex: number | null;
typeHex: import("../../index.js").Hex | null;
v: bigint;
value: bigint;
yParity: number;
gasPrice?: undefined;
maxFeePerBlobGas?: undefined;
maxFeePerGas: bigint;
maxPriorityFeePerGas: bigint;
isSystemTx?: boolean;
mint?: bigint | undefined;
sourceHash: import("../../index.js").Hex;
type: "deposit";
} | {
r: import("../../index.js").Hex;
s: import("../../index.js").Hex;
v: bigint;
to: import("abitype").Address | null;
from: import("abitype").Address;
gas: bigint;
nonce: number;
value: bigint;
blockHash: `0x${string}` | null;
blockNumber: bigint | null;
hash: import("../../index.js").Hash;
input: import("../../index.js").Hex;
transactionIndex: number | null;
typeHex: import("../../index.js").Hex | null;
accessList?: undefined;
authorizationList?: undefined;
blobVersionedHashes?: undefined;
chainId?: number | undefined;
yParity?: undefined;
type: "legacy";
gasPrice: bigint;
maxFeePerBlobGas?: undefined;
maxFeePerGas?: undefined;
maxPriorityFeePerGas?: undefined;
isSystemTx?: undefined;
mint?: undefined;
sourceHash?: undefined;
} | {
blockHash: `0x${string}` | null;
blockNumber: bigint | null;
from: import("abitype").Address;
gas: bigint;
hash: import("../../index.js").Hash;
input: import("../../index.js").Hex;
nonce: number;
r: import("../../index.js").Hex;
s: import("../../index.js").Hex;
to: import("abitype").Address | null;
transactionIndex: number | null;
typeHex: import("../../index.js").Hex | null;
v: bigint;
value: bigint;
yParity: number;
accessList: import("../../index.js").AccessList;
authorizationList?: undefined;
blobVersionedHashes?: undefined;
chainId: number;
type: "eip2930";
gasPrice: bigint;
maxFeePerBlobGas?: undefined;
maxFeePerGas?: undefined;
maxPriorityFeePerGas?: undefined;
isSystemTx?: undefined;
mint?: undefined;
sourceHash?: undefined;
} | {
blockHash: `0x${string}` | null;
blockNumber: bigint | null;
from: import("abitype").Address;
gas: bigint;
hash: import("../../index.js").Hash;
input: import("../../index.js").Hex;
nonce: number;
r: import("../../index.js").Hex;
s: import("../../index.js").Hex;
to: import("abitype").Address | null;
transactionIndex: number | null;
typeHex: import("../../index.js").Hex | null;
v: bigint;
value: bigint;
yParity: number;
accessList: import("../../index.js").AccessList;
authorizationList?: undefined;
blobVersionedHashes?: undefined;
chainId: number;
type: "eip1559";
gasPrice?: undefined;
maxFeePerBlobGas?: undefined;
maxFeePerGas: bigint;
maxPriorityFeePerGas: bigint;
isSystemTx?: undefined;
mint?: undefined;
sourceHash?: undefined;
} | {
blockHash: `0x${string}` | null;
blockNumber: bigint | null;
from: import("abitype").Address;
gas: bigint;
hash: import("../../index.js").Hash;
input: import("../../index.js").Hex;
nonce: number;
r: import("../../index.js").Hex;
s: import("../../index.js").Hex;
to: import("abitype").Address | null;
transactionIndex: number | null;
typeHex: import("../../index.js").Hex | null;
v: bigint;
value: bigint;
yParity: number;
accessList: import("../../index.js").AccessList;
authorizationList?: undefined;
blobVersionedHashes: readonly import("../../index.js").Hex[];
chainId: number;
type: "eip4844";
gasPrice?: undefined;
maxFeePerBlobGas: bigint;
maxFeePerGas: bigint;
maxPriorityFeePerGas: bigint;
isSystemTx?: undefined;
mint?: undefined;
sourceHash?: undefined;
} | {
blockHash: `0x${string}` | null;
blockNumber: bigint | null;
from: import("abitype").Address;
gas: bigint;
hash: import("../../index.js").Hash;
input: import("../../index.js").Hex;
nonce: number;
r: import("../../index.js").Hex;
s: import("../../index.js").Hex;
to: import("abitype").Address | null;
transactionIndex: number | null;
typeHex: import("../../index.js").Hex | null;
v: bigint;
value: bigint;
yParity: number;
accessList: import("../../index.js").AccessList;
authorizationList: import("../../experimental/index.js").SignedAuthorizationList;
blobVersionedHashes?: undefined;
chainId: number;
type: "eip7702";
gasPrice?: undefined;
maxFeePerBlobGas?: undefined;
maxFeePerGas: bigint;
maxPriorityFeePerGas: bigint;
isSystemTx?: undefined;
mint?: undefined;
sourceHash?: undefined;
}) & {};
type: "transaction";
};
readonly transactionReceipt: {
exclude: [] | undefined;
format: (args: import("../index.js").OpStackRpcTransactionReceipt) => {
blobGasPrice?: bigint | undefined;
blobGasUsed?: bigint | undefined;
blockHash: import("../../index.js").Hash;
blockNumber: bigint;
contractAddress: import("abitype").Address | null | undefined;
cumulativeGasUsed: bigint;
effectiveGasPrice: bigint;
from: import("abitype").Address;
gasUsed: bigint;
logs: import("../../index.js").Log<bigint, number, false>[];
logsBloom: import("../../index.js").Hex;
root?: import("../../index.js").Hash | undefined;
status: "success" | "reverted";
to: import("abitype").Address | null;
transactionHash: import("../../index.js").Hash;
transactionIndex: number;
type: import("../../index.js").TransactionType;
l1GasPrice: bigint | null;
l1GasUsed: bigint | null;
l1Fee: bigint | null;
l1FeeScalar: number | null;
} & {};
type: "transactionReceipt";
};
};
serializers: {
readonly transaction: typeof import("../index.js").serializeTransactionOpStack;
};
};
//# sourceMappingURL=soneiumMinato.d.ts.map

@@ -13,2 +13,3 @@ export type { Chain } from '../types/chain.js';

export { arbitrumNova } from './definitions/arbitrumNova.js';
export { assetChain } from './definitions/assetChain.js';
export { assetChainTestnet } from './definitions/assetChainTestnet.js';

@@ -386,2 +387,3 @@ export { astar } from './definitions/astar.js';

export { zoraTestnet } from './definitions/zoraTestnet.js';
export { zircuit } from './definitions/zircuit.js';
export { zircuitTestnet } from './definitions/zircuitTestnet.js';

@@ -388,0 +390,0 @@ export type { Assign, Omit, PartialBy, Prettify, UnionLooseOmit, } from '../types/utils.js';

@@ -1,2 +0,2 @@

export declare const version = "2.21.16";
export declare const version = "2.21.17";
//# sourceMappingURL=version.d.ts.map

@@ -17,2 +17,3 @@ export { ancient8 } from '../chains/definitions/ancient8.js';

export { snaxTestnet } from '../chains/definitions/snaxTestnet.js';
export { soneiumMinato } from '../chains/definitions/soneiumMinato.js';
export { zora } from '../chains/definitions/zora.js';

@@ -19,0 +20,0 @@ export { zoraSepolia } from '../chains/definitions/zoraSepolia.js';

@@ -0,1 +1,2 @@

import { contracts } from '../op-stack/contracts.js'
import { fees } from './fees.js'

@@ -6,2 +7,3 @@ import { formatters } from './formatters.js'

export const chainConfig = {
contracts,
formatters,

@@ -8,0 +10,0 @@ serializers,

import { chainConfig } from '../../celo/chainConfig.js'
import { defineChain } from '../../utils/chain/defineChain.js'
const sourceId = 17000 // holsky
// source https://storage.googleapis.com/cel2-rollup-files/alfajores/deployment-l1.json
export const celoAlfajores = /*#__PURE__*/ defineChain({

@@ -20,8 +23,9 @@ ...chainConfig,

default: {
name: 'Celo Explorer',
url: 'https://explorer.celo.org/alfajores',
apiUrl: 'https://explorer.celo.org/api',
name: 'Celo Alfajores Explorer',
url: 'https://celo-alfajores.blockscout.com',
apiUrl: 'https://celo-alfajores.blockscout.com/api',
},
},
contracts: {
...chainConfig.contracts,
multicall3: {

@@ -31,4 +35,28 @@ address: '0xcA11bde05977b3631167028862bE2a173976CA11',

},
portal: {
[sourceId]: {
address: '0x82527353927d8D069b3B452904c942dA149BA381',
blockCreated: 2411324,
},
},
disputeGameFactory: {
[sourceId]: {
address: '0xE28AAdcd9883746c0e5068F58f9ea06027b214cb',
blockCreated: 2411324,
},
},
l2OutputOracle: {
[sourceId]: {
address: '0x4a2635e9e4f6e45817b1D402ac4904c1d1752438',
blockCreated: 2411324,
},
},
l1StandardBridge: {
[sourceId]: {
address: '0xD1B0E0581973c9eB7f886967A606b9441A897037',
blockCreated: 2411324,
},
},
},
testnet: true,
})

@@ -16,4 +16,4 @@ import { defineChain } from '../../utils/chain/defineChain.js'

default: {
name: 'KaiaScope',
url: 'https://kaiascope.com',
name: 'KaiaScan',
url: 'https://kaiascan.io',
apiUrl: 'https://api-cypress.klaytnscope.com/api',

@@ -20,0 +20,0 @@ },

@@ -17,4 +17,4 @@ import { defineChain } from '../../utils/chain/defineChain.js'

default: {
name: 'KaiaScope',
url: 'https://kairos.kaiascope.com',
name: 'KaiaScan',
url: 'https://kairos.kaiascan.io',
},

@@ -21,0 +21,0 @@ },

@@ -0,7 +1,11 @@

import { chainConfig } from '../../op-stack/chainConfig.js'
import { defineChain } from '../../utils/chain/defineChain.js'
export const soneiumMinato = defineChain({
const sourceId = 11_155_111 // sepolia
export const soneiumMinato = /*#__PURE__*/ defineChain({
...chainConfig,
id: 1946,
name: 'Soneium Minato',
nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },
name: 'Soneium Minato Testnet',
nativeCurrency: { name: 'Sepolia Ether', symbol: 'ETH', decimals: 18 },
rpcUrls: {

@@ -14,8 +18,31 @@ default: {

default: {
name: 'Minato Explorer',
name: 'Blockscout',
url: 'https://explorer-testnet.soneium.org',
apiUrl: 'https://explorer-testnet.soneium.org/api/',
apiUrl: 'https://explorer-testnet.soneium.org/api',
},
},
contracts: {
...chainConfig.contracts,
disputeGameFactory: {
[sourceId]: {
address: '0xF69dB6cA559C52d9A4BB6e2B2901f490Ca35Fbf6',
},
},
l2OutputOracle: {
[sourceId]: {
address: '0x710e5286C746eC38beeB7538d0146f60D27be343',
},
},
portal: {
[sourceId]: {
address: '0x65ea1489741A5D72fFdD8e6485B216bBdcC15Af3',
blockCreated: 6466136,
},
},
l1StandardBridge: {
[sourceId]: {
address: '0x5f5a404A5edabcDD80DB05E8e54A78c9EBF000C2',
blockCreated: 6466136,
},
},
multicall3: {

@@ -27,2 +54,3 @@ address: '0xcA11bde05977b3631167028862bE2a173976CA11',

testnet: true,
sourceId,
})

@@ -15,2 +15,3 @@ export type { Chain } from '../types/chain.js'

export { arbitrumNova } from './definitions/arbitrumNova.js'
export { assetChain } from './definitions/assetChain.js'
export { assetChainTestnet } from './definitions/assetChainTestnet.js'

@@ -398,2 +399,3 @@ export { astar } from './definitions/astar.js'

export { zoraTestnet } from './definitions/zoraTestnet.js'
export { zircuit } from './definitions/zircuit.js'
export { zircuitTestnet } from './definitions/zircuitTestnet.js'

@@ -400,0 +402,0 @@

@@ -1,1 +0,1 @@

export const version = '2.21.16'
export const version = '2.21.17'

@@ -18,4 +18,5 @@ // biome-ignore lint/performance/noBarrelFile: entrypoint module

export { snaxTestnet } from '../chains/definitions/snaxTestnet.js'
export { soneiumMinato } from '../chains/definitions/soneiumMinato.js'
export { zora } from '../chains/definitions/zora.js'
export { zoraSepolia } from '../chains/definitions/zoraSepolia.js'
export { zoraTestnet } from '../chains/definitions/zoraTestnet.js'
{
"name": "viem",
"description": "TypeScript Interface for Ethereum",
"version": "2.21.16",
"version": "2.21.17",
"main": "./_cjs/index.js",

@@ -6,0 +6,0 @@ "module": "./_esm/index.js",

@@ -196,3 +196,3 @@ // TODO(v3): checksum address.

return matchArgs.every((value, index) => {
if (value === null) return true
if (value === null || value === undefined) return true
const input = inputs[index]

@@ -212,3 +212,3 @@ if (!input) return false

return Object.entries(matchArgs).every(([key, value]) => {
if (value === null) return true
if (value === null || value === undefined) return true
const input = inputs.find((input) => input.name === key)

@@ -215,0 +215,0 @@ if (!input) return false

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc