@flaunch/sdk 0.3.1 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +78 -0
- package/dist/abi/BidWallV1_1.d.ts +740 -0
- package/dist/abi/BidWallV1_1.d.ts.map +1 -0
- package/dist/abi/FairLaunchV1_1.d.ts +522 -0
- package/dist/abi/FairLaunchV1_1.d.ts.map +1 -0
- package/dist/abi/FastFlaunchZap.d.ts +30 -20
- package/dist/abi/FastFlaunchZap.d.ts.map +1 -1
- package/dist/abi/FlaunchPositionManagerV1_1.d.ts +2053 -0
- package/dist/abi/FlaunchPositionManagerV1_1.d.ts.map +1 -0
- package/dist/abi/FlaunchV1_1.d.ts +850 -0
- package/dist/abi/FlaunchV1_1.d.ts.map +1 -0
- package/dist/abi/FlaunchZap.d.ts +330 -0
- package/dist/abi/FlaunchZap.d.ts.map +1 -0
- package/dist/abi/Multicall.d.ts +333 -0
- package/dist/abi/Multicall.d.ts.map +1 -0
- package/dist/abi/RevenueManager.d.ts +648 -0
- package/dist/abi/RevenueManager.d.ts.map +1 -0
- package/dist/abi/TreasuryManagerFactory.d.ts +434 -0
- package/dist/abi/TreasuryManagerFactory.d.ts.map +1 -0
- package/dist/abi/index.cjs +27 -58
- package/dist/abi/index.cjs.map +1 -1
- package/dist/abi/index.js +27 -58
- package/dist/abi/index.js.map +1 -1
- package/dist/addresses/index.cjs +127 -91
- package/dist/addresses/index.cjs.map +1 -1
- package/dist/addresses/index.js +121 -92
- package/dist/addresses/index.js.map +1 -1
- package/dist/addresses.d.ts +7 -0
- package/dist/addresses.d.ts.map +1 -1
- package/dist/clients/BidWallClient.d.ts +20 -0
- package/dist/clients/BidWallClient.d.ts.map +1 -1
- package/dist/clients/BidWallV1_1Client.d.ts +46 -0
- package/dist/clients/BidWallV1_1Client.d.ts.map +1 -0
- package/dist/clients/FairLaunchClient.d.ts +20 -0
- package/dist/clients/FairLaunchClient.d.ts.map +1 -1
- package/dist/clients/FairLaunchV1_1Client.d.ts +50 -0
- package/dist/clients/FairLaunchV1_1Client.d.ts.map +1 -0
- package/dist/clients/FastFlaunchClient.d.ts +40 -0
- package/dist/clients/FastFlaunchClient.d.ts.map +1 -1
- package/dist/clients/FlaunchClient.d.ts +26 -0
- package/dist/clients/FlaunchClient.d.ts.map +1 -1
- package/dist/clients/FlaunchPositionManagerV1_1Client.d.ts +90 -0
- package/dist/clients/FlaunchPositionManagerV1_1Client.d.ts.map +1 -0
- package/dist/clients/FlaunchV1_1Client.d.ts +31 -0
- package/dist/clients/FlaunchV1_1Client.d.ts.map +1 -0
- package/dist/clients/FlaunchZapClient.d.ts +70 -0
- package/dist/clients/FlaunchZapClient.d.ts.map +1 -0
- package/dist/clients/MemecoinClient.d.ts +27 -0
- package/dist/clients/MemecoinClient.d.ts.map +1 -1
- package/dist/clients/MulticallClient.d.ts +16 -0
- package/dist/clients/MulticallClient.d.ts.map +1 -0
- package/dist/clients/Permit2Client.d.ts +17 -0
- package/dist/clients/Permit2Client.d.ts.map +1 -1
- package/dist/clients/QuoterClient.d.ts +39 -3
- package/dist/clients/QuoterClient.d.ts.map +1 -1
- package/dist/clients/RevenueManagerClient.d.ts +68 -0
- package/dist/clients/RevenueManagerClient.d.ts.map +1 -0
- package/dist/clients/StateViewClient.d.ts +30 -0
- package/dist/clients/StateViewClient.d.ts.map +1 -1
- package/dist/clients/TreasuryManagerFactoryClient.d.ts +24 -0
- package/dist/clients/TreasuryManagerFactoryClient.d.ts.map +1 -0
- package/dist/helpers/chainIdToChain.d.ts +5 -0
- package/dist/helpers/chainIdToChain.d.ts.map +1 -0
- package/dist/helpers/index.cjs +5310 -0
- package/dist/helpers/index.cjs.map +1 -1
- package/dist/helpers/index.d.ts +1 -0
- package/dist/helpers/index.d.ts.map +1 -1
- package/dist/helpers/index.js +5313 -4
- package/dist/helpers/index.js.map +1 -1
- package/dist/hooks/FlaunchPositionManagerHooks.d.ts +42 -0
- package/dist/hooks/FlaunchPositionManagerHooks.d.ts.map +1 -1
- package/dist/hooks/index.cjs +95 -0
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.js +94 -1
- package/dist/hooks/index.js.map +1 -1
- package/dist/index.cjs.js +17284 -11191
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +17282 -11197
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/sdk/FlaunchSDK.d.ts +342 -15
- package/dist/sdk/FlaunchSDK.d.ts.map +1 -1
- package/dist/utils/universalRouter.d.ts +2 -0
- package/dist/utils/universalRouter.d.ts.map +1 -1
- package/package.json +8 -3
package/dist/addresses/index.js
CHANGED
|
@@ -9,7 +9,7 @@ function defineChain(chain) {
|
|
|
9
9
|
};
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
const version = '2.
|
|
12
|
+
const version = '2.28.3';
|
|
13
13
|
|
|
14
14
|
let errorConfig = {
|
|
15
15
|
getDocsUrl: ({ docsBaseUrl, docsPath = '', docsSlug, }) => docsPath
|
|
@@ -702,7 +702,7 @@ const defineTransaction = /*#__PURE__*/ defineFormatter('transaction', formatTra
|
|
|
702
702
|
//////////////////////////////////////////////////////////////////////////////
|
|
703
703
|
function formatAuthorizationList$1(authorizationList) {
|
|
704
704
|
return authorizationList.map((authorization) => ({
|
|
705
|
-
|
|
705
|
+
address: authorization.address,
|
|
706
706
|
chainId: Number(authorization.chainId),
|
|
707
707
|
nonce: Number(authorization.nonce),
|
|
708
708
|
r: authorization.r,
|
|
@@ -848,9 +848,13 @@ const defineTransactionRequest = /*#__PURE__*/ defineFormatter('transactionReque
|
|
|
848
848
|
//////////////////////////////////////////////////////////////////////////////
|
|
849
849
|
function formatAuthorizationList(authorizationList) {
|
|
850
850
|
return authorizationList.map((authorization) => ({
|
|
851
|
-
address: authorization.
|
|
852
|
-
r: authorization.r
|
|
853
|
-
|
|
851
|
+
address: authorization.address,
|
|
852
|
+
r: authorization.r
|
|
853
|
+
? numberToHex(BigInt(authorization.r))
|
|
854
|
+
: authorization.r,
|
|
855
|
+
s: authorization.s
|
|
856
|
+
? numberToHex(BigInt(authorization.s))
|
|
857
|
+
: authorization.s,
|
|
854
858
|
chainId: numberToHex(authorization.chainId),
|
|
855
859
|
nonce: numberToHex(authorization.nonce),
|
|
856
860
|
...(typeof authorization.yParity !== 'undefined'
|
|
@@ -1239,6 +1243,26 @@ class InvalidStorageKeySizeError extends BaseError {
|
|
|
1239
1243
|
}
|
|
1240
1244
|
}
|
|
1241
1245
|
|
|
1246
|
+
/*
|
|
1247
|
+
* Serializes an EIP-7702 authorization list.
|
|
1248
|
+
*/
|
|
1249
|
+
function serializeAuthorizationList(authorizationList) {
|
|
1250
|
+
if (!authorizationList || authorizationList.length === 0)
|
|
1251
|
+
return [];
|
|
1252
|
+
const serializedAuthorizationList = [];
|
|
1253
|
+
for (const authorization of authorizationList) {
|
|
1254
|
+
const { chainId, nonce, ...signature } = authorization;
|
|
1255
|
+
const contractAddress = authorization.address;
|
|
1256
|
+
serializedAuthorizationList.push([
|
|
1257
|
+
chainId ? toHex(chainId) : '0x',
|
|
1258
|
+
contractAddress,
|
|
1259
|
+
nonce ? toHex(nonce) : '0x',
|
|
1260
|
+
...toYParitySignatureArray({}, signature),
|
|
1261
|
+
]);
|
|
1262
|
+
}
|
|
1263
|
+
return serializedAuthorizationList;
|
|
1264
|
+
}
|
|
1265
|
+
|
|
1242
1266
|
/**
|
|
1243
1267
|
* Compute commitments from a list of blobs.
|
|
1244
1268
|
*
|
|
@@ -1367,6 +1391,9 @@ function byteSwap32(arr) {
|
|
|
1367
1391
|
arr[i] = byteSwap(arr[i]);
|
|
1368
1392
|
}
|
|
1369
1393
|
}
|
|
1394
|
+
// Built-in hex conversion https://caniuse.com/mdn-javascript_builtins_uint8array_fromhex
|
|
1395
|
+
// @ts-ignore
|
|
1396
|
+
typeof Uint8Array.from([]).toHex === 'function' && typeof Uint8Array.fromHex === 'function';
|
|
1370
1397
|
/**
|
|
1371
1398
|
* Convert JS string to byte array.
|
|
1372
1399
|
* @example utf8ToBytes('abc') // new Uint8Array([97, 98, 99])
|
|
@@ -1436,14 +1463,14 @@ function Maj(a, b, c) {
|
|
|
1436
1463
|
class HashMD extends Hash {
|
|
1437
1464
|
constructor(blockLen, outputLen, padOffset, isLE) {
|
|
1438
1465
|
super();
|
|
1439
|
-
this.blockLen = blockLen;
|
|
1440
|
-
this.outputLen = outputLen;
|
|
1441
|
-
this.padOffset = padOffset;
|
|
1442
|
-
this.isLE = isLE;
|
|
1443
1466
|
this.finished = false;
|
|
1444
1467
|
this.length = 0;
|
|
1445
1468
|
this.pos = 0;
|
|
1446
1469
|
this.destroyed = false;
|
|
1470
|
+
this.blockLen = blockLen;
|
|
1471
|
+
this.outputLen = outputLen;
|
|
1472
|
+
this.padOffset = padOffset;
|
|
1473
|
+
this.isLE = isLE;
|
|
1447
1474
|
this.buffer = new Uint8Array(blockLen);
|
|
1448
1475
|
this.view = createView(this.buffer);
|
|
1449
1476
|
}
|
|
@@ -1564,8 +1591,8 @@ const SHA256_IV = /* @__PURE__ */ new Uint32Array([
|
|
|
1564
1591
|
*/
|
|
1565
1592
|
const SHA256_W = /* @__PURE__ */ new Uint32Array(64);
|
|
1566
1593
|
class SHA256 extends HashMD {
|
|
1567
|
-
constructor() {
|
|
1568
|
-
super(64,
|
|
1594
|
+
constructor(outputLen = 32) {
|
|
1595
|
+
super(64, outputLen, 8, false);
|
|
1569
1596
|
// We cannot use array here since array allows indexing by variable
|
|
1570
1597
|
// which means optimizer/compiler cannot use registers.
|
|
1571
1598
|
this.A = SHA256_IV[0] | 0;
|
|
@@ -1851,25 +1878,6 @@ function toBlobSidecars(parameters) {
|
|
|
1851
1878
|
return sidecars;
|
|
1852
1879
|
}
|
|
1853
1880
|
|
|
1854
|
-
/*
|
|
1855
|
-
* Serializes an EIP-7702 authorization list.
|
|
1856
|
-
*/
|
|
1857
|
-
function serializeAuthorizationList(authorizationList) {
|
|
1858
|
-
if (!authorizationList || authorizationList.length === 0)
|
|
1859
|
-
return [];
|
|
1860
|
-
const serializedAuthorizationList = [];
|
|
1861
|
-
for (const authorization of authorizationList) {
|
|
1862
|
-
const { contractAddress, chainId, nonce, ...signature } = authorization;
|
|
1863
|
-
serializedAuthorizationList.push([
|
|
1864
|
-
chainId ? toHex(chainId) : '0x',
|
|
1865
|
-
contractAddress,
|
|
1866
|
-
nonce ? toHex(nonce) : '0x',
|
|
1867
|
-
...toYParitySignatureArray({}, signature),
|
|
1868
|
-
]);
|
|
1869
|
-
}
|
|
1870
|
-
return serializedAuthorizationList;
|
|
1871
|
-
}
|
|
1872
|
-
|
|
1873
1881
|
class InvalidAddressError extends BaseError {
|
|
1874
1882
|
constructor({ address }) {
|
|
1875
1883
|
super(`Address "${address}" is invalid.`, {
|
|
@@ -2077,15 +2085,16 @@ class Keccak extends Hash {
|
|
|
2077
2085
|
// NOTE: we accept arguments in bytes instead of bits here.
|
|
2078
2086
|
constructor(blockLen, suffix, outputLen, enableXOF = false, rounds = 24) {
|
|
2079
2087
|
super();
|
|
2088
|
+
this.pos = 0;
|
|
2089
|
+
this.posOut = 0;
|
|
2090
|
+
this.finished = false;
|
|
2091
|
+
this.destroyed = false;
|
|
2092
|
+
this.enableXOF = false;
|
|
2080
2093
|
this.blockLen = blockLen;
|
|
2081
2094
|
this.suffix = suffix;
|
|
2082
2095
|
this.outputLen = outputLen;
|
|
2083
2096
|
this.enableXOF = enableXOF;
|
|
2084
2097
|
this.rounds = rounds;
|
|
2085
|
-
this.pos = 0;
|
|
2086
|
-
this.posOut = 0;
|
|
2087
|
-
this.finished = false;
|
|
2088
|
-
this.destroyed = false;
|
|
2089
2098
|
// Can be passed from user as dkLen
|
|
2090
2099
|
anumber(outputLen);
|
|
2091
2100
|
// 1600 = 5x5 matrix of 64bit. 1600 bits === 200 bytes
|
|
@@ -2323,9 +2332,10 @@ function assertTransactionEIP7702(transaction) {
|
|
|
2323
2332
|
const { authorizationList } = transaction;
|
|
2324
2333
|
if (authorizationList) {
|
|
2325
2334
|
for (const authorization of authorizationList) {
|
|
2326
|
-
const {
|
|
2327
|
-
|
|
2328
|
-
|
|
2335
|
+
const { chainId } = authorization;
|
|
2336
|
+
const address = authorization.address;
|
|
2337
|
+
if (!isAddress(address))
|
|
2338
|
+
throw new InvalidAddressError({ address });
|
|
2329
2339
|
if (chainId < 0)
|
|
2330
2340
|
throw new InvalidChainIdError({ chainId });
|
|
2331
2341
|
}
|
|
@@ -3117,40 +3127,6 @@ defineChain({
|
|
|
3117
3127
|
sourceId: sourceId$D,
|
|
3118
3128
|
});
|
|
3119
3129
|
|
|
3120
|
-
/**
|
|
3121
|
-
* Retrieves the bytecode at an address.
|
|
3122
|
-
*
|
|
3123
|
-
* - Docs: https://viem.sh/docs/contract/getCode
|
|
3124
|
-
* - JSON-RPC Methods: [`eth_getCode`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getcode)
|
|
3125
|
-
*
|
|
3126
|
-
* @param client - Client to use
|
|
3127
|
-
* @param parameters - {@link GetCodeParameters}
|
|
3128
|
-
* @returns The contract's bytecode. {@link GetCodeReturnType}
|
|
3129
|
-
*
|
|
3130
|
-
* @example
|
|
3131
|
-
* import { createPublicClient, http } from 'viem'
|
|
3132
|
-
* import { mainnet } from 'viem/chains'
|
|
3133
|
-
* import { getCode } from 'viem/contract'
|
|
3134
|
-
*
|
|
3135
|
-
* const client = createPublicClient({
|
|
3136
|
-
* chain: mainnet,
|
|
3137
|
-
* transport: http(),
|
|
3138
|
-
* })
|
|
3139
|
-
* const code = await getCode(client, {
|
|
3140
|
-
* address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',
|
|
3141
|
-
* })
|
|
3142
|
-
*/
|
|
3143
|
-
async function getCode(client, { address, blockNumber, blockTag = 'latest' }) {
|
|
3144
|
-
const blockNumberHex = blockNumber !== undefined ? numberToHex(blockNumber) : undefined;
|
|
3145
|
-
const hex = await client.request({
|
|
3146
|
-
method: 'eth_getCode',
|
|
3147
|
-
params: [address, blockNumberHex || blockTag],
|
|
3148
|
-
}, { dedupe: Boolean(blockNumberHex) });
|
|
3149
|
-
if (hex === '0x')
|
|
3150
|
-
return undefined;
|
|
3151
|
-
return hex;
|
|
3152
|
-
}
|
|
3153
|
-
|
|
3154
3130
|
const fees = {
|
|
3155
3131
|
/*
|
|
3156
3132
|
* Estimates the fees per gas for a transaction.
|
|
@@ -3164,16 +3140,12 @@ const fees = {
|
|
|
3164
3140
|
estimateFeesPerGas: async (params) => {
|
|
3165
3141
|
if (!params.request?.feeCurrency)
|
|
3166
3142
|
return null;
|
|
3167
|
-
const [gasPrice, maxPriorityFeePerGas
|
|
3143
|
+
const [gasPrice, maxPriorityFeePerGas] = await Promise.all([
|
|
3168
3144
|
estimateFeePerGasInFeeCurrency(params.client, params.request.feeCurrency),
|
|
3169
3145
|
estimateMaxPriorityFeePerGasInFeeCurrency(params.client, params.request.feeCurrency),
|
|
3170
|
-
isCel2(params.client),
|
|
3171
3146
|
]);
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
params.multiply(gasPrice - maxPriorityFeePerGas) + maxPriorityFeePerGas
|
|
3175
|
-
: // eth_gasPrice for Celo L1 returns (baseFeePerGas * multiplier), where the multiplier is 2 by default.
|
|
3176
|
-
gasPrice + maxPriorityFeePerGas;
|
|
3147
|
+
// eth_gasPrice for cel2 returns baseFeePerGas + maxPriorityFeePerGas
|
|
3148
|
+
const maxFeePerGas = params.multiply(gasPrice - maxPriorityFeePerGas) + maxPriorityFeePerGas;
|
|
3177
3149
|
return {
|
|
3178
3150
|
maxFeePerGas,
|
|
3179
3151
|
maxPriorityFeePerGas,
|
|
@@ -3212,11 +3184,6 @@ async function estimateMaxPriorityFeePerGasInFeeCurrency(client, feeCurrency) {
|
|
|
3212
3184
|
});
|
|
3213
3185
|
return BigInt(feesPerGas);
|
|
3214
3186
|
}
|
|
3215
|
-
async function isCel2(client) {
|
|
3216
|
-
const proxyAdminAddress = '0x4200000000000000000000000000000000000018';
|
|
3217
|
-
const code = await getCode(client, { address: proxyAdminAddress });
|
|
3218
|
-
return Boolean(code);
|
|
3219
|
-
}
|
|
3220
3187
|
|
|
3221
3188
|
function isEmpty(value) {
|
|
3222
3189
|
return (value === 0 ||
|
|
@@ -3660,7 +3627,7 @@ const sourceId$z = 1; // mainnet
|
|
|
3660
3627
|
...chainConfig$1,
|
|
3661
3628
|
id: 252,
|
|
3662
3629
|
name: 'Fraxtal',
|
|
3663
|
-
nativeCurrency: { name: 'Frax
|
|
3630
|
+
nativeCurrency: { name: 'Frax', symbol: 'FRAX', decimals: 18 },
|
|
3664
3631
|
rpcUrls: {
|
|
3665
3632
|
default: {
|
|
3666
3633
|
http: ['https://rpc.frax.com'],
|
|
@@ -3704,7 +3671,7 @@ const sourceId$y = 17000; // holesky
|
|
|
3704
3671
|
...chainConfig$1,
|
|
3705
3672
|
id: 2522,
|
|
3706
3673
|
name: 'Fraxtal Testnet',
|
|
3707
|
-
nativeCurrency: { name: 'Frax
|
|
3674
|
+
nativeCurrency: { name: 'Frax', symbol: 'FRAX', decimals: 18 },
|
|
3708
3675
|
rpcUrls: {
|
|
3709
3676
|
default: {
|
|
3710
3677
|
http: ['https://rpc.testnet.frax.com'],
|
|
@@ -3867,6 +3834,10 @@ const sourceId$u = 1; // mainnet
|
|
|
3867
3834
|
},
|
|
3868
3835
|
},
|
|
3869
3836
|
contracts: {
|
|
3837
|
+
multicall3: {
|
|
3838
|
+
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
3839
|
+
blockCreated: 0,
|
|
3840
|
+
},
|
|
3870
3841
|
...chainConfig$1.contracts,
|
|
3871
3842
|
disputeGameFactory: {
|
|
3872
3843
|
[sourceId$u]: {
|
|
@@ -3908,6 +3879,10 @@ const sourceId$t = 11_155_111; // sepolia
|
|
|
3908
3879
|
},
|
|
3909
3880
|
contracts: {
|
|
3910
3881
|
...chainConfig$1.contracts,
|
|
3882
|
+
multicall3: {
|
|
3883
|
+
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
3884
|
+
blockCreated: 0,
|
|
3885
|
+
},
|
|
3911
3886
|
disputeGameFactory: {
|
|
3912
3887
|
[sourceId$t]: {
|
|
3913
3888
|
address: '0x860e626c700af381133d9f4af31412a2d1db3d5d',
|
|
@@ -4950,10 +4925,7 @@ const sourceId$7 = 11155111; // sepolia
|
|
|
4950
4925
|
nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },
|
|
4951
4926
|
rpcUrls: {
|
|
4952
4927
|
default: {
|
|
4953
|
-
http: [
|
|
4954
|
-
'https://swell-mainnet.alt.technology',
|
|
4955
|
-
'https://rpc.ankr.com/swell',
|
|
4956
|
-
],
|
|
4928
|
+
http: ['https://swell-mainnet.alt.technology'],
|
|
4957
4929
|
},
|
|
4958
4930
|
},
|
|
4959
4931
|
blockExplorers: {
|
|
@@ -4972,6 +4944,32 @@ const sourceId$7 = 11155111; // sepolia
|
|
|
4972
4944
|
},
|
|
4973
4945
|
});
|
|
4974
4946
|
|
|
4947
|
+
/*#__PURE__*/ defineChain({
|
|
4948
|
+
...chainConfig$1,
|
|
4949
|
+
id: 1924,
|
|
4950
|
+
name: 'Swellchain Testnet',
|
|
4951
|
+
nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },
|
|
4952
|
+
rpcUrls: {
|
|
4953
|
+
default: {
|
|
4954
|
+
http: ['https://swell-testnet.alt.technology'],
|
|
4955
|
+
},
|
|
4956
|
+
},
|
|
4957
|
+
blockExplorers: {
|
|
4958
|
+
default: {
|
|
4959
|
+
name: 'Swellchain Testnet Explorer',
|
|
4960
|
+
url: 'https://swell-testnet-explorer.alt.technology',
|
|
4961
|
+
apiUrl: 'https://swell-testnet-explorer.alt.technology/api',
|
|
4962
|
+
},
|
|
4963
|
+
},
|
|
4964
|
+
contracts: {
|
|
4965
|
+
...chainConfig$1.contracts,
|
|
4966
|
+
multicall3: {
|
|
4967
|
+
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
4968
|
+
blockCreated: 1,
|
|
4969
|
+
},
|
|
4970
|
+
},
|
|
4971
|
+
});
|
|
4972
|
+
|
|
4975
4973
|
const sourceId$6 = 1; // mainnet
|
|
4976
4974
|
/*#__PURE__*/ defineChain({
|
|
4977
4975
|
...chainConfig$1,
|
|
@@ -5310,6 +5308,10 @@ const FlaunchPositionManagerAddress = {
|
|
|
5310
5308
|
[base.id]: "0x51Bba15255406Cfe7099a42183302640ba7dAFDC",
|
|
5311
5309
|
[baseSepolia.id]: "0x9A7059cA00dA92843906Cb4bCa1D005cE848AFdC",
|
|
5312
5310
|
};
|
|
5311
|
+
const FlaunchPositionManagerV1_1Address = {
|
|
5312
|
+
[base.id]: "0xf785bb58059fab6fb19bdda2cb9078d9e546efdc",
|
|
5313
|
+
[baseSepolia.id]: "0x24347e0dd16357059abfc1b321df354873552fdc",
|
|
5314
|
+
};
|
|
5313
5315
|
const FLETHAddress = {
|
|
5314
5316
|
[base.id]: "0x000000000D564D5be76f7f0d28fE52605afC7Cf8",
|
|
5315
5317
|
[baseSepolia.id]: "0x79FC52701cD4BE6f9Ba9aDC94c207DE37e3314eb",
|
|
@@ -5322,17 +5324,44 @@ const FairLaunchAddress = {
|
|
|
5322
5324
|
[base.id]: "0xCc7A4A00072ccbeEEbd999edc812C0ce498Fb63B",
|
|
5323
5325
|
[baseSepolia.id]: "0x227Fc288aC56E169f2BfEA82e07F8635054d4136",
|
|
5324
5326
|
};
|
|
5327
|
+
// also supports AnyPositionManager
|
|
5328
|
+
const FairLaunchV1_1Address = {
|
|
5329
|
+
[base.id]: "0x4dc442403e8c758425b93c59dc737da522f32640",
|
|
5330
|
+
[baseSepolia.id]: "0x7922c1ead7c5825fb52ed6b14f397d064508acbe",
|
|
5331
|
+
};
|
|
5325
5332
|
const FlaunchAddress = {
|
|
5326
5333
|
[base.id]: "0xCc7A4A00072ccbeEEbd999edc812C0ce498Fb63B",
|
|
5327
5334
|
[baseSepolia.id]: "0x7D375C9133721083DF7b7e5Cb0Ed8Fc78862dfe3",
|
|
5328
5335
|
};
|
|
5336
|
+
// also supports AnyPositionManager
|
|
5337
|
+
const FlaunchV1_1Address = {
|
|
5338
|
+
[base.id]: "0xb4512bf57d50fbcb64a3adf8b17a79b2a204c18c",
|
|
5339
|
+
[baseSepolia.id]: "0x96be8ff5e244294a34bfa507a39190dc7a839baa",
|
|
5340
|
+
};
|
|
5329
5341
|
const BidWallAddress = {
|
|
5330
5342
|
[base.id]: "0x66681f10BA90496241A25e33380004f30Dfd8aa8",
|
|
5331
5343
|
[baseSepolia.id]: "0xa2107050ACEf4809c88Ab744F8e667605db5ACDB",
|
|
5332
5344
|
};
|
|
5345
|
+
// also supports AnyPositionManager
|
|
5346
|
+
const BidWallV1_1Address = {
|
|
5347
|
+
[base.id]: "0x7f22353d1634223a802D1c1Ea5308Ddf5DD0ef9c",
|
|
5348
|
+
[baseSepolia.id]: "0x6f2fa01a05ff8b6efbfefd91a3b85aaf19265a00",
|
|
5349
|
+
};
|
|
5333
5350
|
const FastFlaunchZapAddress = {
|
|
5334
|
-
[base.id]: "
|
|
5335
|
-
[baseSepolia.id]: "
|
|
5351
|
+
[base.id]: "0x68d967d25806fef4aa134db031cdcc55d3e20f92",
|
|
5352
|
+
[baseSepolia.id]: "0x821d9f6075e7971cc71c379081de9d532f5f9957",
|
|
5353
|
+
};
|
|
5354
|
+
const FlaunchZapAddress = {
|
|
5355
|
+
[base.id]: "0xfa9e8528ee95eb109bffd1a2d59cb95b300a672a",
|
|
5356
|
+
[baseSepolia.id]: "0xb2f5d987de90e026b61805e60b6002d367461474",
|
|
5357
|
+
};
|
|
5358
|
+
const RevenueManagerAddress = {
|
|
5359
|
+
[base.id]: "0x712fa8ddc7347b4b6b029aa21710f365cd02d898",
|
|
5360
|
+
[baseSepolia.id]: "0x17E02501dE3e420347e7C5fCAe3AD787C5aea690",
|
|
5361
|
+
};
|
|
5362
|
+
const TreasuryManagerFactoryAddress = {
|
|
5363
|
+
[base.id]: "0x48af8b28DDC5e5A86c4906212fc35Fa808CA8763",
|
|
5364
|
+
[baseSepolia.id]: "0xd2f3c6185e06925dcbe794c6574315b2202e9ccd",
|
|
5336
5365
|
};
|
|
5337
5366
|
const PoolManagerAddress = {
|
|
5338
5367
|
[base.id]: "0x498581fF718922c3f8e6A244956aF099B2652b2b",
|
|
@@ -5371,5 +5400,5 @@ const USDCETHPoolKeys = {
|
|
|
5371
5400
|
},
|
|
5372
5401
|
};
|
|
5373
5402
|
|
|
5374
|
-
export { BidWallAddress, FLETHAddress, FLETHHooksAddress, FairLaunchAddress, FastFlaunchZapAddress, FlaunchAddress, FlaunchPositionManagerAddress, Permit2Address, PoolManagerAddress, QuoterAddress, StateViewAddress, USDCETHPoolKeys, UniversalRouterAddress };
|
|
5403
|
+
export { BidWallAddress, BidWallV1_1Address, FLETHAddress, FLETHHooksAddress, FairLaunchAddress, FairLaunchV1_1Address, FastFlaunchZapAddress, FlaunchAddress, FlaunchPositionManagerAddress, FlaunchPositionManagerV1_1Address, FlaunchV1_1Address, FlaunchZapAddress, Permit2Address, PoolManagerAddress, QuoterAddress, RevenueManagerAddress, StateViewAddress, TreasuryManagerFactoryAddress, USDCETHPoolKeys, UniversalRouterAddress };
|
|
5375
5404
|
//# sourceMappingURL=index.js.map
|