Skip to content

Commit

Permalink
fix: update contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
Namaskar-1F64F committed Aug 14, 2024
1 parent 1512a8c commit 09f70f9
Show file tree
Hide file tree
Showing 46 changed files with 6,907 additions and 5,808 deletions.
10 changes: 9 additions & 1 deletion src/actions-local/minipool.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { TestRuntime } from "@tenderly/actions-test";

import { beforeAll, describe, test } from "vitest";

import { minipoolStatusChange } from "../actions/minipool";
import { minipoolStatusChange, minipoolUndercollateralized } from "../actions/minipool";

config();

Expand All @@ -21,6 +21,14 @@ describe("Minipool", () => {
}
}
});
describe("Undercollateralized", () => {
test.concurrent("0 [undercollateralized].", async () => {
await testRuntime.execute(
minipoolUndercollateralized,
require("./payload/payload-minipool-undercollateralized.json")
);
});
});
describe("Statuses", () => {
test.concurrent("0 [prelaunch].", async () => {
await testRuntime.execute(
Expand Down
50 changes: 25 additions & 25 deletions src/actions-local/payload/payload-manual-launch.json
Original file line number Diff line number Diff line change
@@ -1,59 +1,59 @@
{
"network": "43113",
"blockHash": "0xfd65af0594b027f0b3e7d6f8fa67795b4def4dce82e9d22e66f1ab6eefe15037",
"blockNumber": 35231113,
"hash": "0xf27694223c00ccfc02015d04c480c16a513858a1ecf2539393d8266004b8f109",
"from": "0x282e8c1a3c4A9F908dcb6194Fb6b19E03E23D4cb",
"to": "0x4C4B2663ad02E6A25ee96CCC15cd5eca1A8407cf",
"network": "43114",
"blockHash": "0x05deba65798c1420ad180a00bdfff242928ecd990831bba50de22efaedbf6778",
"blockNumber": 49217893,
"hash": "0x5f7bfe664dafa45533061ee5a4f72245ee7bbfdafae234855b26451a4b2a8aab",
"from": "0xB486738fa5859d08C841c7EB20b5Ef2B5502F38b",
"to": "0xc300Bc9B4b690BA7A182126299a0618eCe268Ee7",
"logs": [
{
"address": "0x2630D024c0D34766E194E79C0fb079bDfFeb37dc",
"address": "0xA25EaF2906FA1a3a13EdAc9B9657108Af7B703e3",
"topics": [
"0x14438a8606c512fda07a1e9dfefc371418ed542946338bfa1c87788e903b4d68",
"0x0000000000000000000000004c4b2663ad02e6a25ee96ccc15cd5eca1a8407cf"
"0x000000000000000000000000c300bc9b4b690ba7a182126299a0618ece268ee7"
],
"data": "0x0000000000000000000000000000000000000000000000000de0b6b3a7640000"
"data": "0x00000000000000000000000000000000000000000000003635c9adc5dea00000"
},
{
"address": "0xd00ae08403B9bbb9124bB305C09058E32C39A48c",
"address": "0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7",
"topics": [
"0x7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65",
"0x0000000000000000000000002630d024c0d34766e194e79c0fb079bdffeb37dc"
"0x000000000000000000000000a25eaf2906fa1a3a13edac9b9657108af7b703e3"
],
"data": "0x0000000000000000000000000000000000000000000000000de0b6b3a7640000"
"data": "0x00000000000000000000000000000000000000000000003635c9adc5dea00000"
},
{
"address": "0x4C4B2663ad02E6A25ee96CCC15cd5eca1A8407cf",
"address": "0xc300Bc9B4b690BA7A182126299a0618eCe268Ee7",
"topics": [
"0xc9c043637725967252aedd2704cc65fee962e7b8a1e3cf8098587a66601e50c5",
"0x000000000000000000000000967cabff3234eb3e6bff2f745264b881bf133714",
"0x00000000000000000000000039ba611943e1ef841923ceca2bb53efa59f777ec",
"0x0000000000000000000000000000000000000000000000000000000000000001"
],
"data": "0x"
},
{
"address": "0x4C4B2663ad02E6A25ee96CCC15cd5eca1A8407cf",
"address": "0xc300Bc9B4b690BA7A182126299a0618eCe268Ee7",
"topics": [
"0x60089039570e67d4e4e0f7f06be8ef92be8b5f70c72524c58491350983a5e10a",
"0x000000000000000000000000967cabff3234eb3e6bff2f745264b881bf133714"
"0x051432f8fe60e16e77c7d63dd8fbec40600ab62c8ab79ad5e332a41db28158ab",
"0x00000000000000000000000039ba611943e1ef841923ceca2bb53efa59f777ec"
],
"data": "0x0000000000000000000000000000000000000000000000000000000000000000"
"data": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009e3400"
},
{
"address": "0xaaA95D2E271a8293FC16E339080DB83C9bEB6Fcf",
"address": "0xd45Cb6F5AcA41AfAAAeBdBE4EFBA49c1bC41E6BA",
"topics": [
"0xf2cef7bfb552886daf5034c34174362dca0ce32c5d844a0d384c2d4c41bd0696",
"0xdc9f46fd71d4bf9bb05b835608e68c9394b627d9f45ac7ee85b2772e827e321e"
],
"data": "0x0000000000000000000000000000000000000000000000000de0b6b3a7640000"
"data": "0x00000000000000000000000000000000000000000000003635c9adc5dea00000"
}
],
"input": "0x809784c5000000000000000000000000967cabff3234eb3e6bff2f745264b881bf133714",
"input": "0x809784c500000000000000000000000039ba611943e1ef841923ceca2bb53efa59f777ec",
"value": "0x0",
"nonce": "0x2852",
"gas": "0x304f7",
"gasUsed": "0x2fa5b",
"cumulativeGasUsed": "0x2fa5b",
"nonce": "0x7eb7",
"gas": "0x31443",
"gasUsed": "0x30988",
"cumulativeGasUsed": "0xf0f48",
"gasPrice": "0x5d21dba00",
"gasTipCap": "0x0",
"gasFeeCap": "0xba43b7400",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"network": "43114",
"blockHash": "0x7b154e62264ab13670e0abb219d795a69c01a4466563bd39ef1ce53352399172",
"blockNumber": 48455039,
"hash": "0xba36e5fcd3ea53437b1720b0cc4d19a35af96ba5063f1b683fc1de36a77b9678",
"from": "0xB486738fa5859d08C841c7EB20b5Ef2B5502F38b",
"to": "0x17395Ad76b236FABeaC3634b78fF8F6970222199",
"logs": [
{
"address": "0xd45Cb6F5AcA41AfAAAeBdBE4EFBA49c1bC41E6BA",
"topics": [
"0xd4502e0d4f9dc8fb9302d686a2b2bff55a6ed89cc5549f55b64490dff5d3e559",
"0xdc9f46fd71d4bf9bb05b835608e68c9394b627d9f45ac7ee85b2772e827e321e"
],
"data": "0x000000000000000000000000000000000000000000000036a0299042cc58b200"
},
{
"address": "0xA25EaF2906FA1a3a13EdAc9B9657108Af7B703e3",
"topics": [
"0xc427d2d659d7dba18f3b7dc230a5b3eeaf5775bdda96b5018efceed241e06e0e",
"0x00000000000000000000000017395ad76b236fabeac3634b78ff8f6970222199"
],
"data": "0x0000000000000000000000000000000000000000000000367d13b17a145c47000000000000000000000000000000000000000000000000002315dec8b7fc6b00"
},
{
"address": "0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7",
"topics": [
"0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c",
"0x000000000000000000000000a25eaf2906fa1a3a13edac9b9657108af7b703e3"
],
"data": "0x000000000000000000000000000000000000000000000036a0299042cc58b200"
},
{
"address": "0x17395Ad76b236FABeaC3634b78fF8F6970222199",
"topics": [
"0xc9c043637725967252aedd2704cc65fee962e7b8a1e3cf8098587a66601e50c5",
"0x00000000000000000000000021cbbf35b70605fc81bf48ed53a89dd10c7d66fb",
"0x0000000000000000000000000000000000000000000000000000000000000003"
],
"data": "0x"
}
],
"input": "0x8e481d6000000000000000000000000021cbbf35b70605fc81bf48ed53a89dd10c7d66fb0000000000000000000000000000000000000000000000000000000066a3648a000000000000000000000000000000000000000000000000462bbd916ff8d600",
"value": "0x6d4053208598b16400",
"nonce": "0x7884",
"gas": "0x56039",
"gasUsed": "0x550dd",
"cumulativeGasUsed": "0x79c98",
"gasPrice": "0x5d21dba00",
"gasTipCap": "0x0",
"gasFeeCap": "0xba43b7400",
"alertId": null
}
Loading

0 comments on commit 09f70f9

Please sign in to comment.