damm-sdk 1.2.24 → 1.2.25
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/dist/index.cjs +37681 -39877
- package/dist/index.cjs.map +34 -53
- package/dist/index.js +4 -9
- package/dist/index.js.map +3 -3
- package/dist/lib/transaction.simulation.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/lib/contractsRegistry.json +1 -6
- package/src/lib/transaction.simulation.ts +5 -2
package/dist/index.js
CHANGED
|
@@ -53510,12 +53510,7 @@ var contractsRegistry_default = {
|
|
|
53510
53510
|
liusd: "0x66bCF6151D5558AfB47c38B20663589843156078",
|
|
53511
53511
|
cUSD: "0xcccc62962d17b8914c62d74ffb843d73b2a3cccc",
|
|
53512
53512
|
stcUSD: "0x88887be419578051ff9f4eb6c858a951921d8888",
|
|
53513
|
-
eeth: "0x35fA164735182de50811E8e2E824cFb9B6118ac2"
|
|
53514
|
-
gho: "0x40D16FC0246aD3160Ccc09B8D0D3A2cD28aE6C2f",
|
|
53515
|
-
eurc: "0x1aBaEA1f7C830bD89Acc67eC4af516284b1bC33c",
|
|
53516
|
-
cbeth: "0xBe9895146f7AF43049ca1c1AE358B0541Ea49704",
|
|
53517
|
-
ethx: "0xA35b1B31Ce002FBF2058D22F30f95D405200A15b",
|
|
53518
|
-
usdtb: "0xC139190F447e929f090Edeb554D95AbB8b18aC1C"
|
|
53513
|
+
eeth: "0x35fA164735182de50811E8e2E824cFb9B6118ac2"
|
|
53519
53514
|
},
|
|
53520
53515
|
morpho: {
|
|
53521
53516
|
morphoBlue: "0xBBBBBbbBBb9cC5e90e3b3Af64bdAF62C37EEFFCb"
|
|
@@ -86430,7 +86425,7 @@ var simulateOrThrow = async (env2) => {
|
|
|
86430
86425
|
if (!payload.simulation) {
|
|
86431
86426
|
throw new Error(`Invalid simulation response: ${JSON.stringify(payload)}`);
|
|
86432
86427
|
}
|
|
86433
|
-
const { network_id, block_number, error_message, status, block_header } = payload.simulation;
|
|
86428
|
+
const { network_id, block_number, error_message, status, gas_used, block_header } = payload.simulation;
|
|
86434
86429
|
return {
|
|
86435
86430
|
result: status,
|
|
86436
86431
|
blockNumber: block_number,
|
|
@@ -86439,7 +86434,7 @@ var simulateOrThrow = async (env2) => {
|
|
|
86439
86434
|
baseFeePerGas: hexToNumber(block_header.baseFeePerGas),
|
|
86440
86435
|
gasLimit: hexToNumber(block_header.gasLimit),
|
|
86441
86436
|
timestamp: hexToNumber(block_header.timestamp),
|
|
86442
|
-
gasUsed:
|
|
86437
|
+
gasUsed: gas_used
|
|
86443
86438
|
};
|
|
86444
86439
|
};
|
|
86445
86440
|
export {
|
|
@@ -86661,4 +86656,4 @@ export {
|
|
|
86661
86656
|
aave_pool_abi_default as AaveL1PoolAbi
|
|
86662
86657
|
};
|
|
86663
86658
|
|
|
86664
|
-
//# debugId=
|
|
86659
|
+
//# debugId=813E06D7B331563C64756E2164756E21
|