Comparing version 0.0.0-canary-20241023022935 to 0.0.0-canary-20241023204833
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.worldchain = void 0; | ||
const chainConfig_js_1 = require("../../op-stack/chainConfig.js"); | ||
const defineChain_js_1 = require("../../utils/chain/defineChain.js"); | ||
const sourceId = 1; | ||
exports.worldchain = (0, defineChain_js_1.defineChain)({ | ||
@@ -15,8 +17,42 @@ id: 480, | ||
default: { | ||
name: 'World Chain Explorer', | ||
name: 'Worldscan', | ||
url: 'https://worldscan.org', | ||
apiUrl: 'https://api.worldscan.org/api', | ||
}, | ||
blockscout: { | ||
name: 'Blockscout', | ||
url: 'https://worldchain-mainnet.explorer.alchemy.com', | ||
apiUrl: 'https://worldchain-mainnet.explorer.alchemy.com/api', | ||
}, | ||
}, | ||
contracts: { | ||
...chainConfig_js_1.chainConfig.contracts, | ||
multicall3: { | ||
address: '0xca11bde05977b3631167028862be2a173976ca11', | ||
blockCreated: 0, | ||
}, | ||
disputeGameFactory: { | ||
[sourceId]: { | ||
address: '0x0E90dCAFBC242D2C861A20Bb20EC8E7182965a52', | ||
}, | ||
}, | ||
l2OutputOracle: { | ||
[sourceId]: { | ||
address: '0x19A6d1E9034596196295CF148509796978343c5D', | ||
}, | ||
}, | ||
portal: { | ||
[sourceId]: { | ||
address: '0xd5ec14a83B7d95BE1E2Ac12523e2dEE12Cbeea6C', | ||
}, | ||
}, | ||
l1StandardBridge: { | ||
[sourceId]: { | ||
address: '0x470458C91978D2d929704489Ad730DC3E3001113', | ||
}, | ||
}, | ||
}, | ||
testnet: false, | ||
sourceId, | ||
}); | ||
//# sourceMappingURL=worldchain.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.worldchainSepolia = 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.worldchainSepolia = (0, defineChain_js_1.defineChain)({ | ||
@@ -16,8 +18,41 @@ id: 4801, | ||
default: { | ||
name: 'World Chain Sepolia Explorer', | ||
name: 'Worldscan Sepolia', | ||
url: 'https://sepolia.worldscan.org', | ||
}, | ||
blockscout: { | ||
name: 'Blockscout', | ||
url: 'https://worldchain-sepolia.explorer.alchemy.com', | ||
apiUrl: 'https://worldchain-sepolia.explorer.alchemy.com/api', | ||
}, | ||
}, | ||
contracts: { | ||
...chainConfig_js_1.chainConfig.contracts, | ||
multicall3: { | ||
address: '0xca11bde05977b3631167028862be2a173976ca11', | ||
blockCreated: 0, | ||
}, | ||
disputeGameFactory: { | ||
[sourceId]: { | ||
address: '0x8cF97Ee616C986a070F5020d973b456D0120C253', | ||
}, | ||
}, | ||
l2OutputOracle: { | ||
[sourceId]: { | ||
address: '0xc8886f8BAb6Eaeb215aDB5f1c686BF699248300e', | ||
}, | ||
}, | ||
portal: { | ||
[sourceId]: { | ||
address: '0xFf6EBa109271fe6d4237EeeD4bAb1dD9A77dD1A4', | ||
}, | ||
}, | ||
l1StandardBridge: { | ||
[sourceId]: { | ||
address: '0xd7DF54b3989855eb66497301a4aAEc33Dbb3F8DE', | ||
}, | ||
}, | ||
}, | ||
testnet: true, | ||
sourceId, | ||
}); | ||
//# sourceMappingURL=worldchainSepolia.js.map |
@@ -14,8 +14,8 @@ "use strict"; | ||
rpcUrls: { | ||
default: { http: ['https://rpc.xinfin.network'] }, | ||
default: { http: ['https://rpc.xdcrpc.com'] }, | ||
}, | ||
blockExplorers: { | ||
default: { | ||
name: 'Blocksscan', | ||
url: 'https://xdc.blocksscan.io', | ||
name: 'XDCScan', | ||
url: 'https://xdcscan.com', | ||
}, | ||
@@ -25,4 +25,4 @@ }, | ||
multicall3: { | ||
address: '0xca11bde05977b3631167028862be2a173976ca11', | ||
blockCreated: 71542788, | ||
address: '0x0B1795ccA8E4eC4df02346a082df54D437F8D9aF', | ||
blockCreated: 75884020, | ||
}, | ||
@@ -29,0 +29,0 @@ }, |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.version = void 0; | ||
exports.version = '0.0.0-canary-20241023022935'; | ||
exports.version = '0.0.0-canary-20241023204833'; | ||
//# sourceMappingURL=version.js.map |
@@ -5,3 +5,2 @@ "use strict"; | ||
const parseAccount_js_1 = require("../../accounts/utils/parseAccount.js"); | ||
const prepareTransactionRequest_js_1 = require("../../actions/wallet/prepareTransactionRequest.js"); | ||
const account_js_1 = require("../../errors/account.js"); | ||
@@ -19,5 +18,3 @@ const toHex_js_1 = require("../../utils/encoding/toHex.js"); | ||
try { | ||
const { accessList, blockNumber, blockTag, data, gas, gasPrice, maxFeePerGas, maxPriorityFeePerGas, nonce, to, value, ...rest } = account?.type === 'local' | ||
? (await (0, prepareTransactionRequest_js_1.prepareTransactionRequest)(client, args)) | ||
: args; | ||
const { accessList, blockNumber, blockTag, data, gas, gasPrice, maxFeePerGas, maxPriorityFeePerGas, nonce, to, value, ...rest } = args; | ||
const blockNumberHex = blockNumber ? (0, toHex_js_1.numberToHex)(blockNumber) : undefined; | ||
@@ -24,0 +21,0 @@ const block = blockNumberHex || blockTag; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
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; | ||
exports.zoraTestnet = exports.zoraSepolia = exports.zora = exports.worldchainSepolia = exports.worldchain = 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"); | ||
@@ -38,2 +38,6 @@ Object.defineProperty(exports, "ancient8", { enumerable: true, get: function () { return ancient8_js_1.ancient8; } }); | ||
Object.defineProperty(exports, "soneiumMinato", { enumerable: true, get: function () { return soneiumMinato_js_1.soneiumMinato; } }); | ||
var worldchain_js_1 = require("../chains/definitions/worldchain.js"); | ||
Object.defineProperty(exports, "worldchain", { enumerable: true, get: function () { return worldchain_js_1.worldchain; } }); | ||
var worldchainSepolia_js_1 = require("../chains/definitions/worldchainSepolia.js"); | ||
Object.defineProperty(exports, "worldchainSepolia", { enumerable: true, get: function () { return worldchainSepolia_js_1.worldchainSepolia; } }); | ||
var zora_js_1 = require("../chains/definitions/zora.js"); | ||
@@ -40,0 +44,0 @@ Object.defineProperty(exports, "zora", { enumerable: true, get: function () { return zora_js_1.zora; } }); |
@@ -0,2 +1,4 @@ | ||
import { chainConfig } from '../../op-stack/chainConfig.js'; | ||
import { defineChain } from '../../utils/chain/defineChain.js'; | ||
const sourceId = 1; // mainnet | ||
export const worldchain = /*#__PURE__*/ defineChain({ | ||
@@ -12,8 +14,42 @@ id: 480, | ||
default: { | ||
name: 'World Chain Explorer', | ||
name: 'Worldscan', | ||
url: 'https://worldscan.org', | ||
apiUrl: 'https://api.worldscan.org/api', | ||
}, | ||
blockscout: { | ||
name: 'Blockscout', | ||
url: 'https://worldchain-mainnet.explorer.alchemy.com', | ||
apiUrl: 'https://worldchain-mainnet.explorer.alchemy.com/api', | ||
}, | ||
}, | ||
contracts: { | ||
...chainConfig.contracts, | ||
multicall3: { | ||
address: '0xca11bde05977b3631167028862be2a173976ca11', | ||
blockCreated: 0, | ||
}, | ||
disputeGameFactory: { | ||
[sourceId]: { | ||
address: '0x0E90dCAFBC242D2C861A20Bb20EC8E7182965a52', | ||
}, | ||
}, | ||
l2OutputOracle: { | ||
[sourceId]: { | ||
address: '0x19A6d1E9034596196295CF148509796978343c5D', | ||
}, | ||
}, | ||
portal: { | ||
[sourceId]: { | ||
address: '0xd5ec14a83B7d95BE1E2Ac12523e2dEE12Cbeea6C', | ||
}, | ||
}, | ||
l1StandardBridge: { | ||
[sourceId]: { | ||
address: '0x470458C91978D2d929704489Ad730DC3E3001113', | ||
}, | ||
}, | ||
}, | ||
testnet: false, | ||
sourceId, | ||
}); | ||
//# sourceMappingURL=worldchain.js.map |
@@ -0,2 +1,4 @@ | ||
import { chainConfig } from '../../op-stack/chainConfig.js'; | ||
import { defineChain } from '../../utils/chain/defineChain.js'; | ||
const sourceId = 11_155_111; // sepolia | ||
export const worldchainSepolia = /*#__PURE__*/ defineChain({ | ||
@@ -13,8 +15,41 @@ id: 4801, | ||
default: { | ||
name: 'World Chain Sepolia Explorer', | ||
name: 'Worldscan Sepolia', | ||
url: 'https://sepolia.worldscan.org', | ||
}, | ||
blockscout: { | ||
name: 'Blockscout', | ||
url: 'https://worldchain-sepolia.explorer.alchemy.com', | ||
apiUrl: 'https://worldchain-sepolia.explorer.alchemy.com/api', | ||
}, | ||
}, | ||
contracts: { | ||
...chainConfig.contracts, | ||
multicall3: { | ||
address: '0xca11bde05977b3631167028862be2a173976ca11', | ||
blockCreated: 0, | ||
}, | ||
disputeGameFactory: { | ||
[sourceId]: { | ||
address: '0x8cF97Ee616C986a070F5020d973b456D0120C253', | ||
}, | ||
}, | ||
l2OutputOracle: { | ||
[sourceId]: { | ||
address: '0xc8886f8BAb6Eaeb215aDB5f1c686BF699248300e', | ||
}, | ||
}, | ||
portal: { | ||
[sourceId]: { | ||
address: '0xFf6EBa109271fe6d4237EeeD4bAb1dD9A77dD1A4', | ||
}, | ||
}, | ||
l1StandardBridge: { | ||
[sourceId]: { | ||
address: '0xd7DF54b3989855eb66497301a4aAEc33Dbb3F8DE', | ||
}, | ||
}, | ||
}, | ||
testnet: true, | ||
sourceId, | ||
}); | ||
//# sourceMappingURL=worldchainSepolia.js.map |
@@ -11,8 +11,8 @@ import { defineChain } from '../../utils/chain/defineChain.js'; | ||
rpcUrls: { | ||
default: { http: ['https://rpc.xinfin.network'] }, | ||
default: { http: ['https://rpc.xdcrpc.com'] }, | ||
}, | ||
blockExplorers: { | ||
default: { | ||
name: 'Blocksscan', | ||
url: 'https://xdc.blocksscan.io', | ||
name: 'XDCScan', | ||
url: 'https://xdcscan.com', | ||
}, | ||
@@ -22,4 +22,4 @@ }, | ||
multicall3: { | ||
address: '0xca11bde05977b3631167028862be2a173976ca11', | ||
blockCreated: 71542788, | ||
address: '0x0B1795ccA8E4eC4df02346a082df54D437F8D9aF', | ||
blockCreated: 75884020, | ||
}, | ||
@@ -26,0 +26,0 @@ }, |
@@ -1,2 +0,2 @@ | ||
export const version = '0.0.0-canary-20241023022935'; | ||
export const version = '0.0.0-canary-20241023204833'; | ||
//# sourceMappingURL=version.js.map |
import { parseAccount } from '../../accounts/utils/parseAccount.js'; | ||
import { prepareTransactionRequest, } from '../../actions/wallet/prepareTransactionRequest.js'; | ||
import { AccountNotFoundError } from '../../errors/account.js'; | ||
@@ -37,5 +36,3 @@ import { numberToHex } from '../../utils/encoding/toHex.js'; | ||
try { | ||
const { accessList, blockNumber, blockTag, data, gas, gasPrice, maxFeePerGas, maxPriorityFeePerGas, nonce, to, value, ...rest } = account?.type === 'local' | ||
? (await prepareTransactionRequest(client, args)) | ||
: args; | ||
const { accessList, blockNumber, blockTag, data, gas, gasPrice, maxFeePerGas, maxPriorityFeePerGas, nonce, to, value, ...rest } = args; | ||
const blockNumberHex = blockNumber ? numberToHex(blockNumber) : undefined; | ||
@@ -42,0 +39,0 @@ const block = blockNumberHex || blockTag; |
@@ -19,2 +19,4 @@ // biome-ignore lint/performance/noBarrelFile: entrypoint module | ||
export { soneiumMinato } from '../chains/definitions/soneiumMinato.js'; | ||
export { worldchain } from '../chains/definitions/worldchain.js'; | ||
export { worldchainSepolia } from '../chains/definitions/worldchainSepolia.js'; | ||
export { zora } from '../chains/definitions/zora.js'; | ||
@@ -21,0 +23,0 @@ export { zoraSepolia } from '../chains/definitions/zoraSepolia.js'; |
export declare const worldchain: { | ||
blockExplorers: { | ||
readonly default: { | ||
readonly name: "World Chain Explorer"; | ||
readonly name: "Worldscan"; | ||
readonly url: "https://worldscan.org"; | ||
readonly apiUrl: "https://api.worldscan.org/api"; | ||
}; | ||
readonly blockscout: { | ||
readonly name: "Blockscout"; | ||
readonly url: "https://worldchain-mainnet.explorer.alchemy.com"; | ||
readonly apiUrl: "https://worldchain-mainnet.explorer.alchemy.com/api"; | ||
}; | ||
}; | ||
contracts?: import("../index.js").Prettify<{ | ||
[key: string]: import("../../index.js").ChainContract | { | ||
[sourceId: number]: import("../../index.js").ChainContract | undefined; | ||
} | undefined; | ||
} & { | ||
ensRegistry?: import("../../index.js").ChainContract | undefined; | ||
ensUniversalResolver?: import("../../index.js").ChainContract | undefined; | ||
multicall3?: import("../../index.js").ChainContract | undefined; | ||
universalSignatureVerifier?: import("../../index.js").ChainContract | undefined; | ||
}> | undefined; | ||
contracts: { | ||
readonly multicall3: { | ||
readonly address: "0xca11bde05977b3631167028862be2a173976ca11"; | ||
readonly blockCreated: 0; | ||
}; | ||
readonly disputeGameFactory: { | ||
readonly 1: { | ||
readonly address: "0x0E90dCAFBC242D2C861A20Bb20EC8E7182965a52"; | ||
}; | ||
}; | ||
readonly l2OutputOracle: { | ||
readonly 1: { | ||
readonly address: "0x19A6d1E9034596196295CF148509796978343c5D"; | ||
}; | ||
}; | ||
readonly portal: { | ||
readonly 1: { | ||
readonly address: "0xd5ec14a83B7d95BE1E2Ac12523e2dEE12Cbeea6C"; | ||
}; | ||
}; | ||
readonly l1StandardBridge: { | ||
readonly 1: { | ||
readonly address: "0x470458C91978D2d929704489Ad730DC3E3001113"; | ||
}; | ||
}; | ||
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: 480; | ||
@@ -30,3 +70,3 @@ name: "World Chain"; | ||
}; | ||
sourceId?: number | undefined; | ||
sourceId: 1; | ||
testnet: false; | ||
@@ -33,0 +73,0 @@ custom?: Record<string, unknown> | undefined; |
export declare const worldchainSepolia: { | ||
blockExplorers: { | ||
readonly default: { | ||
readonly name: "World Chain Sepolia Explorer"; | ||
readonly name: "Worldscan Sepolia"; | ||
readonly url: "https://sepolia.worldscan.org"; | ||
}; | ||
readonly blockscout: { | ||
readonly name: "Blockscout"; | ||
readonly url: "https://worldchain-sepolia.explorer.alchemy.com"; | ||
readonly apiUrl: "https://worldchain-sepolia.explorer.alchemy.com/api"; | ||
}; | ||
}; | ||
contracts?: import("../index.js").Prettify<{ | ||
[key: string]: import("../../index.js").ChainContract | { | ||
[sourceId: number]: import("../../index.js").ChainContract | undefined; | ||
} | undefined; | ||
} & { | ||
ensRegistry?: import("../../index.js").ChainContract | undefined; | ||
ensUniversalResolver?: import("../../index.js").ChainContract | undefined; | ||
multicall3?: import("../../index.js").ChainContract | undefined; | ||
universalSignatureVerifier?: import("../../index.js").ChainContract | undefined; | ||
}> | undefined; | ||
contracts: { | ||
readonly multicall3: { | ||
readonly address: "0xca11bde05977b3631167028862be2a173976ca11"; | ||
readonly blockCreated: 0; | ||
}; | ||
readonly disputeGameFactory: { | ||
readonly 11155111: { | ||
readonly address: "0x8cF97Ee616C986a070F5020d973b456D0120C253"; | ||
}; | ||
}; | ||
readonly l2OutputOracle: { | ||
readonly 11155111: { | ||
readonly address: "0xc8886f8BAb6Eaeb215aDB5f1c686BF699248300e"; | ||
}; | ||
}; | ||
readonly portal: { | ||
readonly 11155111: { | ||
readonly address: "0xFf6EBa109271fe6d4237EeeD4bAb1dD9A77dD1A4"; | ||
}; | ||
}; | ||
readonly l1StandardBridge: { | ||
readonly 11155111: { | ||
readonly address: "0xd7DF54b3989855eb66497301a4aAEc33Dbb3F8DE"; | ||
}; | ||
}; | ||
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: 4801; | ||
@@ -33,3 +72,3 @@ name: "World Chain Sepolia"; | ||
}; | ||
sourceId?: number | undefined; | ||
sourceId: 11155111; | ||
testnet: true; | ||
@@ -36,0 +75,0 @@ custom?: Record<string, unknown> | undefined; |
export declare const xdc: { | ||
blockExplorers: { | ||
readonly default: { | ||
readonly name: "Blocksscan"; | ||
readonly url: "https://xdc.blocksscan.io"; | ||
readonly name: "XDCScan"; | ||
readonly url: "https://xdcscan.com"; | ||
}; | ||
@@ -10,4 +10,4 @@ }; | ||
readonly multicall3: { | ||
readonly address: "0xca11bde05977b3631167028862be2a173976ca11"; | ||
readonly blockCreated: 71542788; | ||
readonly address: "0x0B1795ccA8E4eC4df02346a082df54D437F8D9aF"; | ||
readonly blockCreated: 75884020; | ||
}; | ||
@@ -24,3 +24,3 @@ }; | ||
readonly default: { | ||
readonly http: readonly ["https://rpc.xinfin.network"]; | ||
readonly http: readonly ["https://rpc.xdcrpc.com"]; | ||
}; | ||
@@ -27,0 +27,0 @@ }; |
@@ -1,2 +0,2 @@ | ||
export declare const version = "0.0.0-canary-20241023022935"; | ||
export declare const version = "0.0.0-canary-20241023204833"; | ||
//# sourceMappingURL=version.d.ts.map |
@@ -18,2 +18,4 @@ export { ancient8 } from '../chains/definitions/ancient8.js'; | ||
export { soneiumMinato } from '../chains/definitions/soneiumMinato.js'; | ||
export { worldchain } from '../chains/definitions/worldchain.js'; | ||
export { worldchainSepolia } from '../chains/definitions/worldchainSepolia.js'; | ||
export { zora } from '../chains/definitions/zora.js'; | ||
@@ -20,0 +22,0 @@ export { zoraSepolia } from '../chains/definitions/zoraSepolia.js'; |
@@ -0,3 +1,6 @@ | ||
import { chainConfig } from '../../op-stack/chainConfig.js' | ||
import { defineChain } from '../../utils/chain/defineChain.js' | ||
const sourceId = 1 // mainnet | ||
export const worldchain = /*#__PURE__*/ defineChain({ | ||
@@ -13,7 +16,41 @@ id: 480, | ||
default: { | ||
name: 'World Chain Explorer', | ||
name: 'Worldscan', | ||
url: 'https://worldscan.org', | ||
apiUrl: 'https://api.worldscan.org/api', | ||
}, | ||
blockscout: { | ||
name: 'Blockscout', | ||
url: 'https://worldchain-mainnet.explorer.alchemy.com', | ||
apiUrl: 'https://worldchain-mainnet.explorer.alchemy.com/api', | ||
}, | ||
}, | ||
contracts: { | ||
...chainConfig.contracts, | ||
multicall3: { | ||
address: '0xca11bde05977b3631167028862be2a173976ca11', | ||
blockCreated: 0, | ||
}, | ||
disputeGameFactory: { | ||
[sourceId]: { | ||
address: '0x0E90dCAFBC242D2C861A20Bb20EC8E7182965a52', | ||
}, | ||
}, | ||
l2OutputOracle: { | ||
[sourceId]: { | ||
address: '0x19A6d1E9034596196295CF148509796978343c5D', | ||
}, | ||
}, | ||
portal: { | ||
[sourceId]: { | ||
address: '0xd5ec14a83B7d95BE1E2Ac12523e2dEE12Cbeea6C', | ||
}, | ||
}, | ||
l1StandardBridge: { | ||
[sourceId]: { | ||
address: '0x470458C91978D2d929704489Ad730DC3E3001113', | ||
}, | ||
}, | ||
}, | ||
testnet: false, | ||
sourceId, | ||
}) |
@@ -0,3 +1,6 @@ | ||
import { chainConfig } from '../../op-stack/chainConfig.js' | ||
import { defineChain } from '../../utils/chain/defineChain.js' | ||
const sourceId = 11_155_111 // sepolia | ||
export const worldchainSepolia = /*#__PURE__*/ defineChain({ | ||
@@ -14,7 +17,40 @@ id: 4801, | ||
default: { | ||
name: 'World Chain Sepolia Explorer', | ||
name: 'Worldscan Sepolia', | ||
url: 'https://sepolia.worldscan.org', | ||
}, | ||
blockscout: { | ||
name: 'Blockscout', | ||
url: 'https://worldchain-sepolia.explorer.alchemy.com', | ||
apiUrl: 'https://worldchain-sepolia.explorer.alchemy.com/api', | ||
}, | ||
}, | ||
contracts: { | ||
...chainConfig.contracts, | ||
multicall3: { | ||
address: '0xca11bde05977b3631167028862be2a173976ca11', | ||
blockCreated: 0, | ||
}, | ||
disputeGameFactory: { | ||
[sourceId]: { | ||
address: '0x8cF97Ee616C986a070F5020d973b456D0120C253', | ||
}, | ||
}, | ||
l2OutputOracle: { | ||
[sourceId]: { | ||
address: '0xc8886f8BAb6Eaeb215aDB5f1c686BF699248300e', | ||
}, | ||
}, | ||
portal: { | ||
[sourceId]: { | ||
address: '0xFf6EBa109271fe6d4237EeeD4bAb1dD9A77dD1A4', | ||
}, | ||
}, | ||
l1StandardBridge: { | ||
[sourceId]: { | ||
address: '0xd7DF54b3989855eb66497301a4aAEc33Dbb3F8DE', | ||
}, | ||
}, | ||
}, | ||
testnet: true, | ||
sourceId, | ||
}) |
@@ -12,8 +12,8 @@ import { defineChain } from '../../utils/chain/defineChain.js' | ||
rpcUrls: { | ||
default: { http: ['https://rpc.xinfin.network'] }, | ||
default: { http: ['https://rpc.xdcrpc.com'] }, | ||
}, | ||
blockExplorers: { | ||
default: { | ||
name: 'Blocksscan', | ||
url: 'https://xdc.blocksscan.io', | ||
name: 'XDCScan', | ||
url: 'https://xdcscan.com', | ||
}, | ||
@@ -23,6 +23,6 @@ }, | ||
multicall3: { | ||
address: '0xca11bde05977b3631167028862be2a173976ca11', | ||
blockCreated: 71542788, | ||
address: '0x0B1795ccA8E4eC4df02346a082df54D437F8D9aF', | ||
blockCreated: 75884020, | ||
}, | ||
}, | ||
}) |
@@ -1,1 +0,1 @@ | ||
export const version = '0.0.0-canary-20241023022935' | ||
export const version = '0.0.0-canary-20241023204833' |
import type { Account } from '../../accounts/types.js' | ||
import { parseAccount } from '../../accounts/utils/parseAccount.js' | ||
import type { EstimateGasParameters as EstimateGasParameters_base } from '../../actions/public/estimateGas.js' | ||
import { | ||
type PrepareTransactionRequestParameters, | ||
prepareTransactionRequest, | ||
} from '../../actions/wallet/prepareTransactionRequest.js' | ||
import type { Client } from '../../clients/createClient.js' | ||
@@ -85,9 +81,3 @@ import type { Transport } from '../../clients/transports/createTransport.js' | ||
...rest | ||
} = | ||
account?.type === 'local' | ||
? ((await prepareTransactionRequest( | ||
client, | ||
args as PrepareTransactionRequestParameters, | ||
)) as EstimateGasParameters) | ||
: args | ||
} = args | ||
@@ -94,0 +84,0 @@ const blockNumberHex = blockNumber ? numberToHex(blockNumber) : undefined |
@@ -19,4 +19,6 @@ // biome-ignore lint/performance/noBarrelFile: entrypoint module | ||
export { soneiumMinato } from '../chains/definitions/soneiumMinato.js' | ||
export { worldchain } from '../chains/definitions/worldchain.js' | ||
export { worldchainSepolia } from '../chains/definitions/worldchainSepolia.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": "0.0.0-canary-20241023022935", | ||
"version": "0.0.0-canary-20241023204833", | ||
"main": "./_cjs/index.js", | ||
@@ -6,0 +6,0 @@ "module": "./_esm/index.js", |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13307430
234697