@flaunch/sdk 0.3.1 → 0.4.0
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/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 +20 -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/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 +42 -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 +16748 -11289
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +16742 -11291
- 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 +288 -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.cjs
CHANGED
|
@@ -13,7 +13,7 @@ function defineChain(chain) {
|
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
const version = '2.
|
|
16
|
+
const version = '2.28.3';
|
|
17
17
|
|
|
18
18
|
let errorConfig = {
|
|
19
19
|
getDocsUrl: ({ docsBaseUrl, docsPath = '', docsSlug, }) => docsPath
|
|
@@ -706,7 +706,7 @@ const defineTransaction = /*#__PURE__*/ defineFormatter('transaction', formatTra
|
|
|
706
706
|
//////////////////////////////////////////////////////////////////////////////
|
|
707
707
|
function formatAuthorizationList$1(authorizationList) {
|
|
708
708
|
return authorizationList.map((authorization) => ({
|
|
709
|
-
|
|
709
|
+
address: authorization.address,
|
|
710
710
|
chainId: Number(authorization.chainId),
|
|
711
711
|
nonce: Number(authorization.nonce),
|
|
712
712
|
r: authorization.r,
|
|
@@ -852,9 +852,13 @@ const defineTransactionRequest = /*#__PURE__*/ defineFormatter('transactionReque
|
|
|
852
852
|
//////////////////////////////////////////////////////////////////////////////
|
|
853
853
|
function formatAuthorizationList(authorizationList) {
|
|
854
854
|
return authorizationList.map((authorization) => ({
|
|
855
|
-
address: authorization.
|
|
856
|
-
r: authorization.r
|
|
857
|
-
|
|
855
|
+
address: authorization.address,
|
|
856
|
+
r: authorization.r
|
|
857
|
+
? numberToHex(BigInt(authorization.r))
|
|
858
|
+
: authorization.r,
|
|
859
|
+
s: authorization.s
|
|
860
|
+
? numberToHex(BigInt(authorization.s))
|
|
861
|
+
: authorization.s,
|
|
858
862
|
chainId: numberToHex(authorization.chainId),
|
|
859
863
|
nonce: numberToHex(authorization.nonce),
|
|
860
864
|
...(typeof authorization.yParity !== 'undefined'
|
|
@@ -1243,6 +1247,26 @@ class InvalidStorageKeySizeError extends BaseError {
|
|
|
1243
1247
|
}
|
|
1244
1248
|
}
|
|
1245
1249
|
|
|
1250
|
+
/*
|
|
1251
|
+
* Serializes an EIP-7702 authorization list.
|
|
1252
|
+
*/
|
|
1253
|
+
function serializeAuthorizationList(authorizationList) {
|
|
1254
|
+
if (!authorizationList || authorizationList.length === 0)
|
|
1255
|
+
return [];
|
|
1256
|
+
const serializedAuthorizationList = [];
|
|
1257
|
+
for (const authorization of authorizationList) {
|
|
1258
|
+
const { chainId, nonce, ...signature } = authorization;
|
|
1259
|
+
const contractAddress = authorization.address;
|
|
1260
|
+
serializedAuthorizationList.push([
|
|
1261
|
+
chainId ? toHex(chainId) : '0x',
|
|
1262
|
+
contractAddress,
|
|
1263
|
+
nonce ? toHex(nonce) : '0x',
|
|
1264
|
+
...toYParitySignatureArray({}, signature),
|
|
1265
|
+
]);
|
|
1266
|
+
}
|
|
1267
|
+
return serializedAuthorizationList;
|
|
1268
|
+
}
|
|
1269
|
+
|
|
1246
1270
|
/**
|
|
1247
1271
|
* Compute commitments from a list of blobs.
|
|
1248
1272
|
*
|
|
@@ -1371,6 +1395,9 @@ function byteSwap32(arr) {
|
|
|
1371
1395
|
arr[i] = byteSwap(arr[i]);
|
|
1372
1396
|
}
|
|
1373
1397
|
}
|
|
1398
|
+
// Built-in hex conversion https://caniuse.com/mdn-javascript_builtins_uint8array_fromhex
|
|
1399
|
+
// @ts-ignore
|
|
1400
|
+
typeof Uint8Array.from([]).toHex === 'function' && typeof Uint8Array.fromHex === 'function';
|
|
1374
1401
|
/**
|
|
1375
1402
|
* Convert JS string to byte array.
|
|
1376
1403
|
* @example utf8ToBytes('abc') // new Uint8Array([97, 98, 99])
|
|
@@ -1440,14 +1467,14 @@ function Maj(a, b, c) {
|
|
|
1440
1467
|
class HashMD extends Hash {
|
|
1441
1468
|
constructor(blockLen, outputLen, padOffset, isLE) {
|
|
1442
1469
|
super();
|
|
1443
|
-
this.blockLen = blockLen;
|
|
1444
|
-
this.outputLen = outputLen;
|
|
1445
|
-
this.padOffset = padOffset;
|
|
1446
|
-
this.isLE = isLE;
|
|
1447
1470
|
this.finished = false;
|
|
1448
1471
|
this.length = 0;
|
|
1449
1472
|
this.pos = 0;
|
|
1450
1473
|
this.destroyed = false;
|
|
1474
|
+
this.blockLen = blockLen;
|
|
1475
|
+
this.outputLen = outputLen;
|
|
1476
|
+
this.padOffset = padOffset;
|
|
1477
|
+
this.isLE = isLE;
|
|
1451
1478
|
this.buffer = new Uint8Array(blockLen);
|
|
1452
1479
|
this.view = createView(this.buffer);
|
|
1453
1480
|
}
|
|
@@ -1568,8 +1595,8 @@ const SHA256_IV = /* @__PURE__ */ new Uint32Array([
|
|
|
1568
1595
|
*/
|
|
1569
1596
|
const SHA256_W = /* @__PURE__ */ new Uint32Array(64);
|
|
1570
1597
|
class SHA256 extends HashMD {
|
|
1571
|
-
constructor() {
|
|
1572
|
-
super(64,
|
|
1598
|
+
constructor(outputLen = 32) {
|
|
1599
|
+
super(64, outputLen, 8, false);
|
|
1573
1600
|
// We cannot use array here since array allows indexing by variable
|
|
1574
1601
|
// which means optimizer/compiler cannot use registers.
|
|
1575
1602
|
this.A = SHA256_IV[0] | 0;
|
|
@@ -1855,25 +1882,6 @@ function toBlobSidecars(parameters) {
|
|
|
1855
1882
|
return sidecars;
|
|
1856
1883
|
}
|
|
1857
1884
|
|
|
1858
|
-
/*
|
|
1859
|
-
* Serializes an EIP-7702 authorization list.
|
|
1860
|
-
*/
|
|
1861
|
-
function serializeAuthorizationList(authorizationList) {
|
|
1862
|
-
if (!authorizationList || authorizationList.length === 0)
|
|
1863
|
-
return [];
|
|
1864
|
-
const serializedAuthorizationList = [];
|
|
1865
|
-
for (const authorization of authorizationList) {
|
|
1866
|
-
const { contractAddress, chainId, nonce, ...signature } = authorization;
|
|
1867
|
-
serializedAuthorizationList.push([
|
|
1868
|
-
chainId ? toHex(chainId) : '0x',
|
|
1869
|
-
contractAddress,
|
|
1870
|
-
nonce ? toHex(nonce) : '0x',
|
|
1871
|
-
...toYParitySignatureArray({}, signature),
|
|
1872
|
-
]);
|
|
1873
|
-
}
|
|
1874
|
-
return serializedAuthorizationList;
|
|
1875
|
-
}
|
|
1876
|
-
|
|
1877
1885
|
class InvalidAddressError extends BaseError {
|
|
1878
1886
|
constructor({ address }) {
|
|
1879
1887
|
super(`Address "${address}" is invalid.`, {
|
|
@@ -2081,15 +2089,16 @@ class Keccak extends Hash {
|
|
|
2081
2089
|
// NOTE: we accept arguments in bytes instead of bits here.
|
|
2082
2090
|
constructor(blockLen, suffix, outputLen, enableXOF = false, rounds = 24) {
|
|
2083
2091
|
super();
|
|
2092
|
+
this.pos = 0;
|
|
2093
|
+
this.posOut = 0;
|
|
2094
|
+
this.finished = false;
|
|
2095
|
+
this.destroyed = false;
|
|
2096
|
+
this.enableXOF = false;
|
|
2084
2097
|
this.blockLen = blockLen;
|
|
2085
2098
|
this.suffix = suffix;
|
|
2086
2099
|
this.outputLen = outputLen;
|
|
2087
2100
|
this.enableXOF = enableXOF;
|
|
2088
2101
|
this.rounds = rounds;
|
|
2089
|
-
this.pos = 0;
|
|
2090
|
-
this.posOut = 0;
|
|
2091
|
-
this.finished = false;
|
|
2092
|
-
this.destroyed = false;
|
|
2093
2102
|
// Can be passed from user as dkLen
|
|
2094
2103
|
anumber(outputLen);
|
|
2095
2104
|
// 1600 = 5x5 matrix of 64bit. 1600 bits === 200 bytes
|
|
@@ -2327,9 +2336,10 @@ function assertTransactionEIP7702(transaction) {
|
|
|
2327
2336
|
const { authorizationList } = transaction;
|
|
2328
2337
|
if (authorizationList) {
|
|
2329
2338
|
for (const authorization of authorizationList) {
|
|
2330
|
-
const {
|
|
2331
|
-
|
|
2332
|
-
|
|
2339
|
+
const { chainId } = authorization;
|
|
2340
|
+
const address = authorization.address;
|
|
2341
|
+
if (!isAddress(address))
|
|
2342
|
+
throw new InvalidAddressError({ address });
|
|
2333
2343
|
if (chainId < 0)
|
|
2334
2344
|
throw new InvalidChainIdError({ chainId });
|
|
2335
2345
|
}
|
|
@@ -3121,40 +3131,6 @@ defineChain({
|
|
|
3121
3131
|
sourceId: sourceId$D,
|
|
3122
3132
|
});
|
|
3123
3133
|
|
|
3124
|
-
/**
|
|
3125
|
-
* Retrieves the bytecode at an address.
|
|
3126
|
-
*
|
|
3127
|
-
* - Docs: https://viem.sh/docs/contract/getCode
|
|
3128
|
-
* - JSON-RPC Methods: [`eth_getCode`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_getcode)
|
|
3129
|
-
*
|
|
3130
|
-
* @param client - Client to use
|
|
3131
|
-
* @param parameters - {@link GetCodeParameters}
|
|
3132
|
-
* @returns The contract's bytecode. {@link GetCodeReturnType}
|
|
3133
|
-
*
|
|
3134
|
-
* @example
|
|
3135
|
-
* import { createPublicClient, http } from 'viem'
|
|
3136
|
-
* import { mainnet } from 'viem/chains'
|
|
3137
|
-
* import { getCode } from 'viem/contract'
|
|
3138
|
-
*
|
|
3139
|
-
* const client = createPublicClient({
|
|
3140
|
-
* chain: mainnet,
|
|
3141
|
-
* transport: http(),
|
|
3142
|
-
* })
|
|
3143
|
-
* const code = await getCode(client, {
|
|
3144
|
-
* address: '0xFBA3912Ca04dd458c843e2EE08967fC04f3579c2',
|
|
3145
|
-
* })
|
|
3146
|
-
*/
|
|
3147
|
-
async function getCode(client, { address, blockNumber, blockTag = 'latest' }) {
|
|
3148
|
-
const blockNumberHex = blockNumber !== undefined ? numberToHex(blockNumber) : undefined;
|
|
3149
|
-
const hex = await client.request({
|
|
3150
|
-
method: 'eth_getCode',
|
|
3151
|
-
params: [address, blockNumberHex || blockTag],
|
|
3152
|
-
}, { dedupe: Boolean(blockNumberHex) });
|
|
3153
|
-
if (hex === '0x')
|
|
3154
|
-
return undefined;
|
|
3155
|
-
return hex;
|
|
3156
|
-
}
|
|
3157
|
-
|
|
3158
3134
|
const fees = {
|
|
3159
3135
|
/*
|
|
3160
3136
|
* Estimates the fees per gas for a transaction.
|
|
@@ -3168,16 +3144,12 @@ const fees = {
|
|
|
3168
3144
|
estimateFeesPerGas: async (params) => {
|
|
3169
3145
|
if (!params.request?.feeCurrency)
|
|
3170
3146
|
return null;
|
|
3171
|
-
const [gasPrice, maxPriorityFeePerGas
|
|
3147
|
+
const [gasPrice, maxPriorityFeePerGas] = await Promise.all([
|
|
3172
3148
|
estimateFeePerGasInFeeCurrency(params.client, params.request.feeCurrency),
|
|
3173
3149
|
estimateMaxPriorityFeePerGasInFeeCurrency(params.client, params.request.feeCurrency),
|
|
3174
|
-
isCel2(params.client),
|
|
3175
3150
|
]);
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
params.multiply(gasPrice - maxPriorityFeePerGas) + maxPriorityFeePerGas
|
|
3179
|
-
: // eth_gasPrice for Celo L1 returns (baseFeePerGas * multiplier), where the multiplier is 2 by default.
|
|
3180
|
-
gasPrice + maxPriorityFeePerGas;
|
|
3151
|
+
// eth_gasPrice for cel2 returns baseFeePerGas + maxPriorityFeePerGas
|
|
3152
|
+
const maxFeePerGas = params.multiply(gasPrice - maxPriorityFeePerGas) + maxPriorityFeePerGas;
|
|
3181
3153
|
return {
|
|
3182
3154
|
maxFeePerGas,
|
|
3183
3155
|
maxPriorityFeePerGas,
|
|
@@ -3216,11 +3188,6 @@ async function estimateMaxPriorityFeePerGasInFeeCurrency(client, feeCurrency) {
|
|
|
3216
3188
|
});
|
|
3217
3189
|
return BigInt(feesPerGas);
|
|
3218
3190
|
}
|
|
3219
|
-
async function isCel2(client) {
|
|
3220
|
-
const proxyAdminAddress = '0x4200000000000000000000000000000000000018';
|
|
3221
|
-
const code = await getCode(client, { address: proxyAdminAddress });
|
|
3222
|
-
return Boolean(code);
|
|
3223
|
-
}
|
|
3224
3191
|
|
|
3225
3192
|
function isEmpty(value) {
|
|
3226
3193
|
return (value === 0 ||
|
|
@@ -3664,7 +3631,7 @@ const sourceId$z = 1; // mainnet
|
|
|
3664
3631
|
...chainConfig$1,
|
|
3665
3632
|
id: 252,
|
|
3666
3633
|
name: 'Fraxtal',
|
|
3667
|
-
nativeCurrency: { name: 'Frax
|
|
3634
|
+
nativeCurrency: { name: 'Frax', symbol: 'FRAX', decimals: 18 },
|
|
3668
3635
|
rpcUrls: {
|
|
3669
3636
|
default: {
|
|
3670
3637
|
http: ['https://rpc.frax.com'],
|
|
@@ -3708,7 +3675,7 @@ const sourceId$y = 17000; // holesky
|
|
|
3708
3675
|
...chainConfig$1,
|
|
3709
3676
|
id: 2522,
|
|
3710
3677
|
name: 'Fraxtal Testnet',
|
|
3711
|
-
nativeCurrency: { name: 'Frax
|
|
3678
|
+
nativeCurrency: { name: 'Frax', symbol: 'FRAX', decimals: 18 },
|
|
3712
3679
|
rpcUrls: {
|
|
3713
3680
|
default: {
|
|
3714
3681
|
http: ['https://rpc.testnet.frax.com'],
|
|
@@ -3871,6 +3838,10 @@ const sourceId$u = 1; // mainnet
|
|
|
3871
3838
|
},
|
|
3872
3839
|
},
|
|
3873
3840
|
contracts: {
|
|
3841
|
+
multicall3: {
|
|
3842
|
+
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
3843
|
+
blockCreated: 0,
|
|
3844
|
+
},
|
|
3874
3845
|
...chainConfig$1.contracts,
|
|
3875
3846
|
disputeGameFactory: {
|
|
3876
3847
|
[sourceId$u]: {
|
|
@@ -3912,6 +3883,10 @@ const sourceId$t = 11_155_111; // sepolia
|
|
|
3912
3883
|
},
|
|
3913
3884
|
contracts: {
|
|
3914
3885
|
...chainConfig$1.contracts,
|
|
3886
|
+
multicall3: {
|
|
3887
|
+
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
3888
|
+
blockCreated: 0,
|
|
3889
|
+
},
|
|
3915
3890
|
disputeGameFactory: {
|
|
3916
3891
|
[sourceId$t]: {
|
|
3917
3892
|
address: '0x860e626c700af381133d9f4af31412a2d1db3d5d',
|
|
@@ -4954,10 +4929,7 @@ const sourceId$7 = 11155111; // sepolia
|
|
|
4954
4929
|
nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },
|
|
4955
4930
|
rpcUrls: {
|
|
4956
4931
|
default: {
|
|
4957
|
-
http: [
|
|
4958
|
-
'https://swell-mainnet.alt.technology',
|
|
4959
|
-
'https://rpc.ankr.com/swell',
|
|
4960
|
-
],
|
|
4932
|
+
http: ['https://swell-mainnet.alt.technology'],
|
|
4961
4933
|
},
|
|
4962
4934
|
},
|
|
4963
4935
|
blockExplorers: {
|
|
@@ -4976,6 +4948,32 @@ const sourceId$7 = 11155111; // sepolia
|
|
|
4976
4948
|
},
|
|
4977
4949
|
});
|
|
4978
4950
|
|
|
4951
|
+
/*#__PURE__*/ defineChain({
|
|
4952
|
+
...chainConfig$1,
|
|
4953
|
+
id: 1924,
|
|
4954
|
+
name: 'Swellchain Testnet',
|
|
4955
|
+
nativeCurrency: { name: 'Ether', symbol: 'ETH', decimals: 18 },
|
|
4956
|
+
rpcUrls: {
|
|
4957
|
+
default: {
|
|
4958
|
+
http: ['https://swell-testnet.alt.technology'],
|
|
4959
|
+
},
|
|
4960
|
+
},
|
|
4961
|
+
blockExplorers: {
|
|
4962
|
+
default: {
|
|
4963
|
+
name: 'Swellchain Testnet Explorer',
|
|
4964
|
+
url: 'https://swell-testnet-explorer.alt.technology',
|
|
4965
|
+
apiUrl: 'https://swell-testnet-explorer.alt.technology/api',
|
|
4966
|
+
},
|
|
4967
|
+
},
|
|
4968
|
+
contracts: {
|
|
4969
|
+
...chainConfig$1.contracts,
|
|
4970
|
+
multicall3: {
|
|
4971
|
+
address: '0xcA11bde05977b3631167028862bE2a173976CA11',
|
|
4972
|
+
blockCreated: 1,
|
|
4973
|
+
},
|
|
4974
|
+
},
|
|
4975
|
+
});
|
|
4976
|
+
|
|
4979
4977
|
const sourceId$6 = 1; // mainnet
|
|
4980
4978
|
/*#__PURE__*/ defineChain({
|
|
4981
4979
|
...chainConfig$1,
|
|
@@ -5314,6 +5312,10 @@ const FlaunchPositionManagerAddress = {
|
|
|
5314
5312
|
[base.id]: "0x51Bba15255406Cfe7099a42183302640ba7dAFDC",
|
|
5315
5313
|
[baseSepolia.id]: "0x9A7059cA00dA92843906Cb4bCa1D005cE848AFdC",
|
|
5316
5314
|
};
|
|
5315
|
+
const FlaunchPositionManagerV1_1Address = {
|
|
5316
|
+
[base.id]: "0xf785bb58059fab6fb19bdda2cb9078d9e546efdc",
|
|
5317
|
+
[baseSepolia.id]: "0x24347e0dd16357059abfc1b321df354873552fdc",
|
|
5318
|
+
};
|
|
5317
5319
|
const FLETHAddress = {
|
|
5318
5320
|
[base.id]: "0x000000000D564D5be76f7f0d28fE52605afC7Cf8",
|
|
5319
5321
|
[baseSepolia.id]: "0x79FC52701cD4BE6f9Ba9aDC94c207DE37e3314eb",
|
|
@@ -5326,17 +5328,44 @@ const FairLaunchAddress = {
|
|
|
5326
5328
|
[base.id]: "0xCc7A4A00072ccbeEEbd999edc812C0ce498Fb63B",
|
|
5327
5329
|
[baseSepolia.id]: "0x227Fc288aC56E169f2BfEA82e07F8635054d4136",
|
|
5328
5330
|
};
|
|
5331
|
+
// also supports AnyPositionManager
|
|
5332
|
+
const FairLaunchV1_1Address = {
|
|
5333
|
+
[base.id]: "0x4dc442403e8c758425b93c59dc737da522f32640",
|
|
5334
|
+
[baseSepolia.id]: "0x7922c1ead7c5825fb52ed6b14f397d064508acbe",
|
|
5335
|
+
};
|
|
5329
5336
|
const FlaunchAddress = {
|
|
5330
5337
|
[base.id]: "0xCc7A4A00072ccbeEEbd999edc812C0ce498Fb63B",
|
|
5331
5338
|
[baseSepolia.id]: "0x7D375C9133721083DF7b7e5Cb0Ed8Fc78862dfe3",
|
|
5332
5339
|
};
|
|
5340
|
+
// also supports AnyPositionManager
|
|
5341
|
+
const FlaunchV1_1Address = {
|
|
5342
|
+
[base.id]: "0xb4512bf57d50fbcb64a3adf8b17a79b2a204c18c",
|
|
5343
|
+
[baseSepolia.id]: "0x96be8ff5e244294a34bfa507a39190dc7a839baa",
|
|
5344
|
+
};
|
|
5333
5345
|
const BidWallAddress = {
|
|
5334
5346
|
[base.id]: "0x66681f10BA90496241A25e33380004f30Dfd8aa8",
|
|
5335
5347
|
[baseSepolia.id]: "0xa2107050ACEf4809c88Ab744F8e667605db5ACDB",
|
|
5336
5348
|
};
|
|
5349
|
+
// also supports AnyPositionManager
|
|
5350
|
+
const BidWallV1_1Address = {
|
|
5351
|
+
[base.id]: "0x7f22353d1634223a802D1c1Ea5308Ddf5DD0ef9c",
|
|
5352
|
+
[baseSepolia.id]: "0x6f2fa01a05ff8b6efbfefd91a3b85aaf19265a00",
|
|
5353
|
+
};
|
|
5337
5354
|
const FastFlaunchZapAddress = {
|
|
5338
|
-
[base.id]: "
|
|
5339
|
-
[baseSepolia.id]: "
|
|
5355
|
+
[base.id]: "0x68d967d25806fef4aa134db031cdcc55d3e20f92",
|
|
5356
|
+
[baseSepolia.id]: "0x821d9f6075e7971cc71c379081de9d532f5f9957",
|
|
5357
|
+
};
|
|
5358
|
+
const FlaunchZapAddress = {
|
|
5359
|
+
[base.id]: "0xfa9e8528ee95eb109bffd1a2d59cb95b300a672a",
|
|
5360
|
+
[baseSepolia.id]: "0xb2f5d987de90e026b61805e60b6002d367461474",
|
|
5361
|
+
};
|
|
5362
|
+
const RevenueManagerAddress = {
|
|
5363
|
+
[base.id]: "0x712fa8ddc7347b4b6b029aa21710f365cd02d898",
|
|
5364
|
+
[baseSepolia.id]: "0x17E02501dE3e420347e7C5fCAe3AD787C5aea690",
|
|
5365
|
+
};
|
|
5366
|
+
const TreasuryManagerFactoryAddress = {
|
|
5367
|
+
[base.id]: "0x48af8b28DDC5e5A86c4906212fc35Fa808CA8763",
|
|
5368
|
+
[baseSepolia.id]: "0xd2f3c6185e06925dcbe794c6574315b2202e9ccd",
|
|
5340
5369
|
};
|
|
5341
5370
|
const PoolManagerAddress = {
|
|
5342
5371
|
[base.id]: "0x498581fF718922c3f8e6A244956aF099B2652b2b",
|
|
@@ -5376,16 +5405,23 @@ const USDCETHPoolKeys = {
|
|
|
5376
5405
|
};
|
|
5377
5406
|
|
|
5378
5407
|
exports.BidWallAddress = BidWallAddress;
|
|
5408
|
+
exports.BidWallV1_1Address = BidWallV1_1Address;
|
|
5379
5409
|
exports.FLETHAddress = FLETHAddress;
|
|
5380
5410
|
exports.FLETHHooksAddress = FLETHHooksAddress;
|
|
5381
5411
|
exports.FairLaunchAddress = FairLaunchAddress;
|
|
5412
|
+
exports.FairLaunchV1_1Address = FairLaunchV1_1Address;
|
|
5382
5413
|
exports.FastFlaunchZapAddress = FastFlaunchZapAddress;
|
|
5383
5414
|
exports.FlaunchAddress = FlaunchAddress;
|
|
5384
5415
|
exports.FlaunchPositionManagerAddress = FlaunchPositionManagerAddress;
|
|
5416
|
+
exports.FlaunchPositionManagerV1_1Address = FlaunchPositionManagerV1_1Address;
|
|
5417
|
+
exports.FlaunchV1_1Address = FlaunchV1_1Address;
|
|
5418
|
+
exports.FlaunchZapAddress = FlaunchZapAddress;
|
|
5385
5419
|
exports.Permit2Address = Permit2Address;
|
|
5386
5420
|
exports.PoolManagerAddress = PoolManagerAddress;
|
|
5387
5421
|
exports.QuoterAddress = QuoterAddress;
|
|
5422
|
+
exports.RevenueManagerAddress = RevenueManagerAddress;
|
|
5388
5423
|
exports.StateViewAddress = StateViewAddress;
|
|
5424
|
+
exports.TreasuryManagerFactoryAddress = TreasuryManagerFactoryAddress;
|
|
5389
5425
|
exports.USDCETHPoolKeys = USDCETHPoolKeys;
|
|
5390
5426
|
exports.UniversalRouterAddress = UniversalRouterAddress;
|
|
5391
5427
|
//# sourceMappingURL=index.cjs.map
|