From 5a2619bb01a82ce970076d1a13c01db21fa881d6 Mon Sep 17 00:00:00 2001 From: Z4karia <92750334+Z4karia@users.noreply.github.com> Date: Thu, 28 Mar 2024 15:11:43 +0000 Subject: [PATCH] remove unused abis --- ...40f8af587eea6200d2081e31dc87285ac.abi.json | 1737 ---------------- ...a1f4c522ad341a9da5eaa48af207ab3ec.abi.json | 1737 ---------------- ...089a8c28ddc4c81d65befe014c793a60d.abi.json | 1737 ---------------- ...2eb09a1e2e9fa97a2fd970e06d87b43de.abi.json | 1737 ---------------- ...afe83b8bdccc8df38f15b90199d20f1ee.abi.json | 1737 ---------------- ...7b20d372cb3240c72eefb9d79ba5e4959.abi.json | 1643 --------------- ...e1519b020516d72d749221c24756385c9.abi.json | 1658 ---------------- ...36f9a13e4fba16042a46c30f092b06aa5.abi.json | 1643 --------------- ...1735152edb928239c1712883dd8eb976f.abi.json | 1737 ---------------- ...41d1f23c289412dd5e5701e9810103a93.abi.json | 1643 --------------- ...c76db3812403431facb00f3453fc42125.abi.json | 1658 ---------------- ...f617a33f5d02cffff579435776ef29fb0.abi.json | 1737 ---------------- ...1339a918baa38338ed9bd695bd0924bcf.abi.json | 1737 ---------------- ...6a88fbf428465ad65d00e8d6b6e5846c3.abi.json | 1643 --------------- ...9dfe2a5b01f3e1e6a2bbf9a576c6f95c4.abi.json | 1643 --------------- ...8e807db8ef7c578279beeee6b228f1c1c.abi.json | 302 --- ...a399d251e894ac732651be8b0e4e85001.abi.json | 1554 --------------- ...0e881aec34837845e4d0eb430a1b4b737.abi.json | 1737 ---------------- ...1f7de2748f4d6a0678e1521e20347643f.abi.json | 1643 --------------- ...bc210baa384531079ed7f59d9149309ba.abi.json | 1737 ---------------- ...3f812b3af3abbf7de64c3cd7cc7d1af44.abi.json | 1658 ---------------- ...dc7ca179ae82e0c4aff4af9ff66612a43.abi.json | 1737 ---------------- ...c303df7120eae3346de5ad877f80beb64.abi.json | 1737 ---------------- ...1c697247d5e0a9efb37d8b0ed0c464f7f.abi.json | 1658 ---------------- ...31b9aaa7527132b752252b99420937adc.abi.json | 1737 ---------------- ...29073fffa7a67399acefc2dd75a831a1a.abi.json | 1658 ---------------- ...e22ad9033bcbf192059122d163b60349d.abi.json | 1643 --------------- ...d7288079a66d12350c828d3c00a6f07d7.abi.json | 1645 --------------- ...c101df3ded0c0d9074db80c438774b6a9.abi.json | 1658 ---------------- ...0201ca39b17b460ed2f11e4929559071e.abi.json | 1658 ---------------- ...cbfb88e92021b8bcc3da22703a2e4459c.abi.json | 1737 ---------------- ...239ed541ef7cc7d11a45d740ce9f0a1f4.abi.json | 1737 ---------------- ...22a7aae58038cf8ae6ed07330cc7d3ae8.abi.json | 1737 ---------------- ...32e2f8156ec15a2c21c3a6c053af52be8.abi.json | 1643 --------------- ...cbc86917d2809ce2715a19e58a210fcee.abi.json | 1737 ---------------- ...b1da0d9cb2832ebb06241d18552a85400.abi.json | 1643 --------------- ...5ab90812e5bae28404024c9498ff9414d.abi.json | 1737 ---------------- ...933e676cb25892d1838fdcc00a1dde4cf.abi.json | 1737 ---------------- ...6cdfc46ec237783d94fc78553e79d4e9c.abi.json | 1658 ---------------- ...790fd2f109fe4e55aa419adf2fce0c842.abi.json | 1737 ---------------- ...e308144f19089cb197b7c11c2bf495906.abi.json | 1737 ---------------- ...b00f9d0921cb46dfc099cff73b42419dc.abi.json | 1643 --------------- ...a104ff567f71fd2a4c68c026fdb6e740b.abi.json | 1658 ---------------- ...e0707a3416044bad5066858a12198fcf5.abi.json | 1737 ---------------- ...c0e212c671ea351827edf93db27cc0c65.abi.json | 1643 --------------- ...1f067912d18563d56858ba7d6ec67a6fa.abi.json | 1658 ---------------- ...77bcf800640b5dae8c91106575a4826e6.abi.json | 1658 ---------------- ...c64213a5dcd9d26880c1bcfa72d5b6b0e.abi.json | 1658 ---------------- ...0508cfd41a13837a60149927a11c03731.abi.json | 1643 --------------- ...935bf137d45a3c98938db1f4c8517298e.abi.json | 1737 ---------------- ...f4f17528cbffb7817060941bcdac924fa.abi.json | 1737 ---------------- ...c69c19e6792510e1153cb0c5834665fdc.abi.json | 1643 --------------- ...8d5b06ca40dd986fac0734ba0e0cac022.abi.json | 1737 ---------------- ...e351e57cacbf3161f66562ff2b1261db4.abi.json | 1737 ---------------- ...c904aad03027b5178cca81584744ac01f.abi.json | 1643 --------------- ...86f221a5f79713d3e84404355a9293c50.abi.json | 1643 --------------- ...762017db0ed73a71c9a06db7768db5e66.abi.json | 1643 --------------- ...2124784745c1071dcb244c6688d2533d3.abi.json | 1658 ---------------- ...d87028518c5f35a49c151612a062bfcd0.abi.json | 1737 ---------------- ...ec00ceec252a7091559484f7adb83165f.abi.json | 1737 ---------------- ...33f50c0505f77f598c0b3ca7b5feb3d68.abi.json | 1737 ---------------- ...c9a333f01544177a924893fa1f5b9f748.abi.json | 1643 --------------- ...b82853e9fb711bc0b300e1b374724adac.abi.json | 1737 ---------------- ...a80c1fb2175cd33eff32f762e43cd8c41.abi.json | 1737 ---------------- ...636ba518697d745ac218ad4cee5ee0abc.abi.json | 1737 ---------------- ...4eebfb03e90a18adbaaab770d4666471e.abi.json | 1643 --------------- ...8c9d5c230001848b69b1947ee2a607164.abi.json | 1643 --------------- ...d3ee6baf2802d29a901ef11501c44797a.abi.json | 1658 ---------------- ...99fcc59f0f2726a300b03166a395578da.abi.json | 1643 --------------- ...566d2e4a0b29b8eccb642c63199cd393c.abi.json | 1737 ---------------- ...b8b2a78696f0b9b830b3d67623122e270.abi.json | 1737 ---------------- ...cb0c3d319a052c91efb3b3318899338df.abi.json | 1737 ---------------- ...51b71c8596817fd442849bd44219bb095.abi.json | 1643 --------------- ...abdae578b483e5f43f12a39cf75b973a9.abi.json | 1554 --------------- ...a8b13062ade45a33ca9bc8de64d520cb9.abi.json | 1737 ---------------- ...c8af877cb37031e0a3b2f34a78e3c56a6.abi.json | 1658 ---------------- ...d186448dfa667c51cb3d695c7a6e52d8e.abi.json | 1643 --------------- ...2fa8abe21b0a976736cda4775523aed1e.abi.json | 1645 --------------- ...b6c5cb6e457c3f3cbb2d8aa2536e319f1.abi.json | 1737 ---------------- ...04ec410130c69c958acab81794f7a622f.abi.json | 1737 ---------------- ...0f0f66ccad8a5bfc3a03c96836c1897be.abi.json | 1737 ---------------- ...c10bba0cfa74cfc2d6fba9ba1ed9530b2.abi.json | 1643 --------------- ...fbd5a67207755d04467d6a70c0b75bf60.abi.json | 1643 --------------- ...469362f9eeab3c96ea41b51d9b4cc2b21.abi.json | 1737 ---------------- ...52f8db94134b6508dabac54d3b45efce6.abi.json | 1643 --------------- ...1e476827857704b87bdee7922d058cbe4.abi.json | 1737 ---------------- ...af687a671a804d8070ddda99cab926dfe.abi.json | 1643 --------------- ...15499fedcdadee06adc5b55680b3d0785.abi.json | 1737 ---------------- ...e5bc922694afe112c140b8878b9fb0390.abi.json | 1643 --------------- ...109202b426169f0d8f01a3332dae160f3.abi.json | 1737 ---------------- ...9df5df6ef23bd5b9cedb651580bdf56ca.abi.json | 1658 ---------------- ...f94f4b9890dfa99a4175b3ef0288c16b3.abi.json | 1737 ---------------- ...f49b4fd9dc38117469cd31a1e5aec91f5.abi.json | 1643 --------------- ...229a057c13bf847c0744d646cfb6c9e1a.abi.json | 1658 ---------------- ...0236fe8f5916c5638a462ee83da99d07b.abi.json | 1737 ---------------- ...0777f5b778b52d553a5abaa148dd0dc5d.abi.json | 1643 --------------- ...67bd88db6720a861e56a3a72b4aa579df.abi.json | 1737 ---------------- ...0232add37d72dd1dcff55b715755ecdee.abi.json | 1737 ---------------- ...c2703ce83fb3b828b7c782d1cd983b04a.abi.json | 1737 ---------------- ...9898d384f785ee44acfe945efdff5f3e0.abi.json | 1764 ----------------- ...92bc948e1d8c2caa53b2e0a60ed5403b0.abi.json | 1737 ---------------- ...ff18c14ad9bb88963acb0010a0506de88.abi.json | 1737 ---------------- ...66c9575fc5f5a0dbb9a34a706ad997a3f.abi.json | 1737 ---------------- ...24bc3aea28385b60480f15a0771f26d09.abi.json | 1643 --------------- ...d7a6196c67a2d6bce8ec55e9f18802018.abi.json | 1737 ---------------- ...9b978cfde81297849be6151d3ccb408a9.abi.json | 1737 ---------------- ...891add058ada2e826306d812c638d87a7.abi.json | 1658 ---------------- ...04263354ba99290dadad00d1e1f2b6476.abi.json | 1737 ---------------- ...154bf539dea4385a39f5fa8534fb53073.abi.json | 1643 --------------- ...66389a1aa039e21aac35a92464005baf5.abi.json | 1737 ---------------- ...fc424986ae89ce4a910fc109587b6abf3.abi.json | 1737 ---------------- ...fa460da291e796b9045e93d19ef948c6a.abi.json | 1658 ---------------- ...9bd8f63aeb7e20282b12d243b4626e2ae.abi.json | 1737 ---------------- ...a32db09f63f9a59a129278f3fdc3eee67.abi.json | 1737 ---------------- ...7a7f743debafb402070ab01a4e0d2e45e.abi.json | 1658 ---------------- ...ceca7cf55abf5ec87910da21c5c7da581.abi.json | 1737 ---------------- ...5b5a27879921d6f685f041421c7f482da.abi.json | 1658 ---------------- ...4277fd7b977b196a826459a69e27ea4ea.abi.json | 1643 --------------- ...f2594004419fc08b388d7d3bdc1c0d6c1.abi.json | 1737 ---------------- ...1d8e0e1c7949bd84223e0c7911d85171c.abi.json | 1737 ---------------- ...4307344b6d7941ab654b2aeee25347473.abi.json | 1643 --------------- ...d0f3841a468184aca3cc478d2148e1757.abi.json | 1658 ---------------- ...60be305f32e03b3d231e5a81e550c6295.abi.json | 1737 ---------------- ...5741aa9db947a744e713c15d4d19d8822.abi.json | 1658 ---------------- ...cd9efb07a8ce90a6eb014cf3c0e3b32ef.abi.json | 1658 ---------------- ...abe09182fe5f91fc273040b7d8f7aefe7.abi.json | 1737 ---------------- ...2d0a2b61551d107378aff60ceae40c342.abi.json | 1737 ---------------- ...017053e0d37ec206c9898716a21e0b2e2.abi.json | 1737 ---------------- ...f588a109c09b50a03f42e4110e29d353f.abi.json | 1645 --------------- ...19de6f00d4056dbfddf2dd7444f993d87.abi.json | 1737 ---------------- ...998a9e6f410702dea8bc08a9d500aaafe.abi.json | 1737 ---------------- ...dd5edf5919a5c0c2433ce053fad2e0336.abi.json | 1643 --------------- ...a012cfba9b15f6d4b36ac57a46966ab9a.abi.json | 1658 ---------------- ...468fbd041cab7883c5eef16d1a99a47c3.abi.json | 1737 ---------------- ...fc18b79ddfc05b21c43da7e324cf3b8eb.abi.json | 1737 ---------------- ...06ca8206d8aa700ce2143d7db854d168c.abi.json | 1643 --------------- ...829ae975e850e23e9615b11da1b3dc4de.abi.json | 1643 --------------- ...dedbda9ef64cf753f0e851efe4a419ea9.abi.json | 1737 ---------------- ...95d24a4a350983d5b8ac4eb8638887396.abi.json | 1645 --------------- ...2df33f41940c2646a9bf3031e2524d515.abi.json | 1737 ---------------- ...cc78dffa1a63e9e50587c197387ff6c7e.abi.json | 1658 ---------------- ...7b3368e83797a35382afb776baae4f5c8.abi.json | 1658 ---------------- ...f45c877e611c76f2d4bf57476f2014381.abi.json | 1737 ---------------- ...05352acd611f53640b001e48f2ea31d63.abi.json | 1737 ---------------- ...d7e0866755ae0dda3318470a61f62abe8.abi.json | 1643 --------------- ...1811213c340e850ea305481aff02f5b28.abi.json | 1645 --------------- ...aa72529d5ec0da8a41e2f41ed7fe4b48c.abi.json | 1737 ---------------- ...2d3c25bd2fcb8fed615182667c0a7086c.abi.json | 1737 ---------------- ...ab5a4b129df4f6f37a8d461c2510b5503.abi.json | 1737 ---------------- ...5518dba12e8ab069502820923351667c5.abi.json | 1737 ---------------- ...e8f989c828b25a7da5eb1ec363283fa3f.abi.json | 1737 ---------------- ...b1bd9aadd3185160324e0e011159b61d3.abi.json | 1737 ---------------- ...520de3a18e5e111b5eaab095312d7fe84.abi.json | 1600 --------------- ...7a731466182518fae980feae96479d80b.abi.json | 1643 --------------- ...1b5614bd6ece40afb295c26f4377069d3.abi.json | 1737 ---------------- ...7b9d6b2c9ee07a275e9616b84ac560139.abi.json | 1658 ---------------- ...4bff40ad6e506edf43156577a3f8672ec.abi.json | 1658 ---------------- ...a3194ba294a5b8146fa9becd6a5fea137.abi.json | 1737 ---------------- ...0128775a317b3f775a7afcec73571b732.abi.json | 1737 ---------------- ...2a618c552c23b1e4701109a9e756bab67.abi.json | 1645 --------------- ...4fa51e7b7dc920340043b203447842a6b.abi.json | 1643 --------------- ...737ccf34ca21cdef461e5c7547adc8c77.abi.json | 1737 ---------------- ...6a35b539b1142e2f921a2a88bb019506a.abi.json | 1737 ---------------- ...a6d8a379abfe7793399d3ddacc5bbecbb.abi.json | 1282 ------------ ...e27171c418cdabc2477042554b1904857.abi.json | 1658 ---------------- ...25e586b117282399433257a1c0841edf3.abi.json | 1737 ---------------- ...9c02c5fd147de25baa105322ebf26bd97.abi.json | 1658 ---------------- ...6bf73396c020e8354bca581846171649d.abi.json | 1737 ---------------- ...bd59a1da3d35bd86cdb555694372f488f.abi.json | 1737 ---------------- ...908d482550b87f96ef60271b95f92c861.abi.json | 1737 ---------------- ...5e2a9e93861c3fbdd25f1e943b8d87417.abi.json | 1658 ---------------- ...580c41cd07104e9af154fc6428bb93c73.abi.json | 1643 --------------- ...9f2407670463068ce540528b9a710ae7f.abi.json | 1737 ---------------- ...adafd3d874db22e8bba662e05f6257613.abi.json | 1737 ---------------- ...ae51c3f75fcfbd900505ec63ce7de320c.abi.json | 1737 ---------------- ...a2e486846f7304d3b9334f96d32000f8d.abi.json | 1737 ---------------- ...27b62efb0d8ed38cf3ea103a6cca4037e.abi.json | 1643 --------------- ...9d30e70bf709b41e3935c3f7cdbc6d255.abi.json | 1737 ---------------- ...44499afbd8795f8f86910f068a6bf1a7c.abi.json | 1737 ---------------- ...d4c8e3517a939bc79d0c7093eb7cf56b5.abi.json | 1559 --------------- ...c3e94c5acc10366556b836855d96bfa93.abi.json | 1737 ---------------- ...158421482c39e72f209a7a8ef3a0c669d.abi.json | 1737 ---------------- ...3ddf5ce4c42e19a4f30eeaa761795c72b.abi.json | 1737 ---------------- ...de81eb517a32f0f81537ea2636b27b8cc.abi.json | 1737 ---------------- ...c819324a9e432ca07c689ecbf00088cd6.abi.json | 1737 ---------------- ...aad34fe51c6f181acf43c1e20db4f84ac.abi.json | 1737 ---------------- ...0586bcfc9b1bf5cd8e22546add7b81a64.abi.json | 1737 ---------------- ...97be05c201845c0bfd2e96a60bacde267.abi.json | 1658 ---------------- ...91b8e626c099eaab29b1e3eea279763bb.abi.json | 1643 --------------- ...931ede4d5018184e198699dc6d66c1915.abi.json | 1643 --------------- ...9f1ab5631232fe5e97a05bbbb94970c95.abi.json | 1643 --------------- ...72474e612a6fa9d82d3395dea5829a52a.abi.json | 1737 ---------------- ...03181e7484a155dd612b06f57e12be5f0.abi.json | 1643 --------------- ...15eda864dfa43306766f2f8ca50c03f9e.abi.json | 1737 ---------------- ...f6324cfa40d7169ef80b12031770b4325.abi.json | 1554 --------------- ...2f74869176652c35d30db89854b5ae84d.abi.json | 1554 --------------- ...8b3b85af791b2aadd661cdbd5e6097db1.abi.json | 1645 --------------- ...d30479d7a2dcfea5af69fb86b8f71ccec.abi.json | 1737 ---------------- ...cfd1a9b5acd557558f44b096ef8340c1b.abi.json | 1737 ---------------- ...73bf3a015e2aa70741bde1498bdb9425b.abi.json | 1282 ------------ ...d0ef7d987ed1baf8e1d7aaef5b9e3db42.abi.json | 1737 ---------------- ...c158eb71037d4125bdd7538421981e6aa.abi.json | 1643 --------------- ...3e39cbc6d819e2c340bcf295e0084ff7c.abi.json | 1643 --------------- ...8f4d2a038ae9583da254945285e5a77a4.abi.json | 1737 ---------------- ...4ce63dd588195b98aad9f91b121d5f3d7.abi.json | 1737 ---------------- ...2b69f32999766c1a0035ab77e8fb5b99c.abi.json | 1737 ---------------- ...8a0b370eafb11d9b8df4131415423577a.abi.json | 1737 ---------------- ...83c464d6edccff23444ff3cfc6886f6fb.abi.json | 1658 ---------------- ...8698bdef169b89834f76704c3b205aedf.abi.json | 1658 ---------------- ...c0acd427a680d640f02d90f6186e71725.abi.json | 1658 ---------------- ...c29f0666bdd1662feaae2a3c935ee3469.abi.json | 1737 ---------------- ...1d593fb10e2f8c2a6fd2c958792434b9c.abi.json | 1643 --------------- ...2c93c5f2ae2f28c041eeb393212439502.abi.json | 1737 ---------------- ...64ef53510909a94c618a5ec1ff75103bf.abi.json | 1737 ---------------- ...6bc42ed2eab44d6b829017f7b78b29f88.abi.json | 1643 --------------- ...4b88281de4f532a3beefa5b85b69b9324.abi.json | 1658 ---------------- ...a9e079db4b7c2929229caf503d0f6da96.abi.json | 1737 ---------------- ...825f29972629b2295e050f74cb2f4992b.abi.json | 1737 ---------------- ...723b8087fd2ea7ef1afec93d35e8bed42.abi.json | 1658 ---------------- ...9095789caf24c98f7cce092fa8e120775.abi.json | 1643 --------------- 220 files changed, 370429 deletions(-) delete mode 100644 tests/networks/ethereum/stakekit/abis/0x00e8eb340f8af587eea6200d2081e31dc87285ac.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x01b01c4a1f4c522ad341a9da5eaa48af207ab3ec.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x03eae26089a8c28ddc4c81d65befe014c793a60d.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x04c8bfe2eb09a1e2e9fa97a2fd970e06d87b43de.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x04d549bafe83b8bdccc8df38f15b90199d20f1ee.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x04d73c87b20d372cb3240c72eefb9d79ba5e4959.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x054af22e1519b020516d72d749221c24756385c9.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x0d4ea8536f9a13e4fba16042a46c30f092b06aa5.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x0daa35a1735152edb928239c1712883dd8eb976f.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x1025b1641d1f23c289412dd5e5701e9810103a93.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x132d8d2c76db3812403431facb00f3453fc42125.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x133cb5cf617a33f5d02cffff579435776ef29fb0.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x150f76e1339a918baa38338ed9bd695bd0924bcf.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x1635b506a88fbf428465ad65d00e8d6b6e5846c3.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x16825039dfe2a5b01f3e1e6a2bbf9a576c6f95c4.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x16d5a408e807db8ef7c578279beeee6b228f1c1c.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x19d3364a399d251e894ac732651be8b0e4e85001.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x1a5ebff0e881aec34837845e4d0eb430a1b4b737.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x1b905331f7de2748f4d6a0678e1521e20347643f.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x1bb04fcbc210baa384531079ed7f59d9149309ba.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x1c6a9783f812b3af3abbf7de64c3cd7cc7d1af44.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x1c97e67dc7ca179ae82e0c4aff4af9ff66612a43.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x20f6a2ec303df7120eae3346de5ad877f80beb64.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x23d3d0f1c697247d5e0a9efb37d8b0ed0c464f7f.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x241add131b9aaa7527132b752252b99420937adc.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x25212df29073fffa7a67399acefc2dd75a831a1a.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x27b5739e22ad9033bcbf192059122d163b60349d.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x27b7b1ad7288079a66d12350c828d3c00a6f07d7.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x28a5b95c101df3ded0c0d9074db80c438774b6a9.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x2a38b9b0201ca39b17b460ed2f11e4929559071e.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x2a82dcdcbfb88e92021b8bcc3da22703a2e4459c.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x2ab6578239ed541ef7cc7d11a45d740ce9f0a1f4.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x2d59aa422a7aae58038cf8ae6ed07330cc7d3ae8.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x2dfb14e32e2f8156ec15a2c21c3a6c053af52be8.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x2e2b268cbc86917d2809ce2715a19e58a210fcee.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x2e5c7e9b1da0d9cb2832ebb06241d18552a85400.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x2fb06235ab90812e5bae28404024c9498ff9414d.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x30b801f933e676cb25892d1838fdcc00a1dde4cf.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x30fcf7c6cdfc46ec237783d94fc78553e79d4e9c.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x321d570790fd2f109fe4e55aa419adf2fce0c842.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x3221bfbe308144f19089cb197b7c11c2bf495906.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x378cb52b00f9d0921cb46dfc099cff73b42419dc.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x39caf13a104ff567f71fd2a4c68c026fdb6e740b.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x3a51269e0707a3416044bad5066858a12198fcf5.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x3b27f92c0e212c671ea351827edf93db27cc0c65.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x3b96d491f067912d18563d56858ba7d6ec67a6fa.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x3c5df3077bcf800640b5dae8c91106575a4826e6.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x3d27705c64213a5dcd9d26880c1bcfa72d5b6b0e.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x3d980e50508cfd41a13837a60149927a11c03731.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x3e720ba935bf137d45a3c98938db1f4c8517298e.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x3f34a7ef4f17528cbffb7817060941bcdac924fa.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x4213458c69c19e6792510e1153cb0c5834665fdc.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x429ea2d8d5b06ca40dd986fac0734ba0e0cac022.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x445f62ee351e57cacbf3161f66562ff2b1261db4.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x4560b99c904aad03027b5178cca81584744ac01f.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x490bd0886f221a5f79713d3e84404355a9293c50.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x4a3fe75762017db0ed73a71c9a06db7768db5e66.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x4b5bfd52124784745c1071dcb244c6688d2533d3.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x4cb5483d87028518c5f35a49c151612a062bfcd0.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x4cbb6a5ec00ceec252a7091559484f7adb83165f.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x507c6de33f50c0505f77f598c0b3ca7b5feb3d68.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x528d50dc9a333f01544177a924893fa1f5b9f748.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x5331009b82853e9fb711bc0b300e1b374724adac.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x5359680a80c1fb2175cd33eff32f762e43cd8c41.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x571b384636ba518697d745ac218ad4cee5ee0abc.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x59518884eebfb03e90a18adbaaab770d4666471e.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x595a68a8c9d5c230001848b69b1947ee2a607164.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x5a770dbd3ee6baf2802d29a901ef11501c44797a.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x5ab64c599fcc59f0f2726a300b03166a395578da.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x5b2384d566d2e4a0b29b8eccb642c63199cd393c.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x5b8c556b8b2a78696f0b9b830b3d67623122e270.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x5cbf567cb0c3d319a052c91efb3b3318899338df.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x5e69e8b51b71c8596817fd442849bd44219bb095.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x5f18c75abdae578b483e5f43f12a39cf75b973a9.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x5f208d3a8b13062ade45a33ca9bc8de64d520cb9.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x5fa5b62c8af877cb37031e0a3b2f34a78e3c56a6.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x5faf6a2d186448dfa667c51cb3d695c7a6e52d8e.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x625b7df2fa8abe21b0a976736cda4775523aed1e.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x63bd3bbb6c5cb6e457c3f3cbb2d8aa2536e319f1.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x63c5c0604ec410130c69c958acab81794f7a622f.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x65346970f0f66ccad8a5bfc3a03c96836c1897be.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x671a912c10bba0cfa74cfc2d6fba9ba1ed9530b2.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x67e019bfbd5a67207755d04467d6a70c0b75bf60.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x6949145469362f9eeab3c96ea41b51d9b4cc2b21.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x6a5468752f8db94134b6508dabac54d3b45efce6.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x6a7a0481e476827857704b87bdee7922d058cbe4.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x6b5ce31af687a671a804d8070ddda99cab926dfe.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x6c6371e15499fedcdadee06adc5b55680b3d0785.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x6d765cbe5bc922694afe112c140b8878b9fb0390.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x6e9455d109202b426169f0d8f01a3332dae160f3.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x6ede7f19df5df6ef23bd5b9cedb651580bdf56ca.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x6f0ace0f94f4b9890dfa99a4175b3ef0288c16b3.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x6fafca7f49b4fd9dc38117469cd31a1e5aec91f5.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x7047f90229a057c13bf847c0744d646cfb6c9e1a.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x708c42e0236fe8f5916c5638a462ee83da99d07b.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x718abe90777f5b778b52d553a5abaa148dd0dc5d.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x72faea467bd88db6720a861e56a3a72b4aa579df.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x75a291f0232add37d72dd1dcff55b715755ecdee.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x774b4cbc2703ce83fb3b828b7c782d1cd983b04a.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x777777c9898d384f785ee44acfe945efdff5f3e0.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x7788a5492bc948e1d8c2caa53b2e0a60ed5403b0.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x77e829fff18c14ad9bb88963acb0010a0506de88.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x7845ebf66c9575fc5f5a0dbb9a34a706ad997a3f.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x790a60024bc3aea28385b60480f15a0771f26d09.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x79f4a9ed7a6196c67a2d6bce8ec55e9f18802018.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x7ca00559b978cfde81297849be6151d3ccb408a9.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x7da96a3891add058ada2e826306d812c638d87a7.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x7e113c504263354ba99290dadad00d1e1f2b6476.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x801ab06154bf539dea4385a39f5fa8534fb53073.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x8072b1d66389a1aa039e21aac35a92464005baf5.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x8078198fc424986ae89ce4a910fc109587b6abf3.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x80bbee2fa460da291e796b9045e93d19ef948c6a.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x8176b059bd8f63aeb7e20282b12d243b4626e2ae.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x82c83dda32db09f63f9a59a129278f3fdc3eee67.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x8414db07a7f743debafb402070ab01a4e0d2e45e.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x849dc56ceca7cf55abf5ec87910da21c5c7da581.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x84e13785b5a27879921d6f685f041421c7f482da.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x873fb544277fd7b977b196a826459a69e27ea4ea.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x883a777f2594004419fc08b388d7d3bdc1c0d6c1.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x8aa95b71d8e0e1c7949bd84223e0c7911d85171c.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x8b9c0c24307344b6d7941ab654b2aeee25347473.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x8cc94ccd0f3841a468184aca3cc478d2148e1757.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x8cdf57760be305f32e03b3d231e5a81e550c6295.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x8ee57c05741aa9db947a744e713c15d4d19d8822.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x8fa3a9ecd9efb07a8ce90a6eb014cf3c0e3b32ef.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x91ae8feabe09182fe5f91fc273040b7d8f7aefe7.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x93cf0b02d0a2b61551d107378aff60ceae40c342.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x944d749017053e0d37ec206c9898716a21e0b2e2.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x986b4aff588a109c09b50a03f42e4110e29d353f.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x9894acf19de6f00d4056dbfddf2dd7444f993d87.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x98fa691998a9e6f410702dea8bc08a9d500aaafe.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x9a39f31dd5edf5919a5c0c2433ce053fad2e0336.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x9d409a0a012cfba9b15f6d4b36ac57a46966ab9a.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x9e0e0af468fbd041cab7883c5eef16d1a99a47c3.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0x9f8b5c0fc18b79ddfc05b21c43da7e324cf3b8eb.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xa258c4606ca8206d8aa700ce2143d7db854d168c.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xa354f35829ae975e850e23e9615b11da1b3dc4de.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xa540744dedbda9ef64cf753f0e851efe4a419ea9.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xa5ca62d95d24a4a350983d5b8ac4eb8638887396.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xa669d6c2df33f41940c2646a9bf3031e2524d515.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xa696a63cc78dffa1a63e9e50587c197387ff6c7e.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xa74d4b67b3368e83797a35382afb776baae4f5c8.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xa8e0c42f45c877e611c76f2d4bf57476f2014381.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xa8ef50905352acd611f53640b001e48f2ea31d63.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xa9412ffd7e0866755ae0dda3318470a61f62abe8.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xa9fe4601811213c340e850ea305481aff02f5b28.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xaa379c2aa72529d5ec0da8a41e2f41ed7fe4b48c.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xaa4f7562d3c25bd2fcb8fed615182667c0a7086c.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xabd64d5ab5a4b129df4f6f37a8d461c2510b5503.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xad2f9a55518dba12e8ab069502820923351667c5.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xad86df2e8f989c828b25a7da5eb1ec363283fa3f.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xae6ed98b1bd9aadd3185160324e0e011159b61d3.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xae7ab96520de3a18e5e111b5eaab095312d7fe84.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xb09f2a67a731466182518fae980feae96479d80b.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xb37094c1b5614bd6ece40afb295c26f4377069d3.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xb4ada607b9d6b2c9ee07a275e9616b84ac560139.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xb4d1be44bff40ad6e506edf43156577a3f8672ec.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xb512d68a3194ba294a5b8146fa9becd6a5fea137.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xb5de7250128775a317b3f775a7afcec73571b732.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xb8c3b7a2a618c552c23b1e4701109a9e756bab67.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xbcbb5b54fa51e7b7dc920340043b203447842a6b.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xbe4afe6737ccf34ca21cdef461e5c7547adc8c77.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xbf91b696a35b539b1142e2f921a2a88bb019506a.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xbfa4d8aa6d8a379abfe7793399d3ddacc5bbecbb.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xbfedbcbe27171c418cdabc2477042554b1904857.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xc09cfb625e586b117282399433257a1c0841edf3.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xc116df49c02c5fd147de25baa105322ebf26bd97.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xc1f3c276bf73396c020e8354bca581846171649d.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xc2adad1bd59a1da3d35bd86cdb555694372f488f.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xc325849908d482550b87f96ef60271b95f92c861.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xc4daf3b5e2a9e93861c3fbdd25f1e943b8d87417.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xc5f3d11580c41cd07104e9af154fc6428bb93c73.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xc688c419f2407670463068ce540528b9a710ae7f.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xc869206adafd3d874db22e8bba662e05f6257613.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xc8be5e2ae51c3f75fcfbd900505ec63ce7de320c.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xc8ca30aa2e486846f7304d3b9334f96d32000f8d.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xc97232527b62efb0d8ed38cf3ea103a6cca4037e.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xca31dcb9d30e70bf709b41e3935c3f7cdbc6d255.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xca46d6e44499afbd8795f8f86910f068a6bf1a7c.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xcb550a6d4c8e3517a939bc79d0c7093eb7cf56b5.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xcd68c3fc3e94c5acc10366556b836855d96bfa93.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xce71767158421482c39e72f209a7a8ef3a0c669d.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xd347e7a3ddf5ce4c42e19a4f30eeaa761795c72b.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xd6627f7de81eb517a32f0f81537ea2636b27b8cc.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xd6a4180c819324a9e432ca07c689ecbf00088cd6.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xd6a528faad34fe51c6f181acf43c1e20db4f84ac.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xd6b2f4f0586bcfc9b1bf5cd8e22546add7b81a64.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xd6ea40597be05c201845c0bfd2e96a60bacde267.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xd8c620991b8e626c099eaab29b1e3eea279763bb.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xd9788f3931ede4d5018184e198699dc6d66c1915.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xda816459f1ab5631232fe5e97a05bbbb94970c95.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xdadbb5472474e612a6fa9d82d3395dea5829a52a.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xdb25ca703181e7484a155dd612b06f57e12be5f0.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xdb26d8815eda864dfa43306766f2f8ca50c03f9e.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xdcd90c7f6324cfa40d7169ef80b12031770b4325.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xe11ba472f74869176652c35d30db89854b5ae84d.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xe14d13d8b3b85af791b2aadd661cdbd5e6097db1.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xe1747f4d30479d7a2dcfea5af69fb86b8f71ccec.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xe2cad35cfd1a9b5acd557558f44b096ef8340c1b.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xe2f6b9773bf3a015e2aa70741bde1498bdb9425b.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xe510e87d0ef7d987ed1baf8e1d7aaef5b9e3db42.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xe537b5cc158eb71037d4125bdd7538421981e6aa.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xe5edce53e39cbc6d819e2c340bcf295e0084ff7c.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xe5f625e8f4d2a038ae9583da254945285e5a77a4.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xe6570a24ce63dd588195b98aad9f91b121d5f3d7.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xe80cc7b2b69f32999766c1a0035ab77e8fb5b99c.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xe8b96c38a0b370eafb11d9b8df4131415423577a.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xe9dc63083c464d6edccff23444ff3cfc6886f6fb.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xf29ae508698bdef169b89834f76704c3b205aedf.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xf2db9a7c0acd427a680d640f02d90f6186e71725.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xf56fb6cc29f0666bdd1662feaae2a3c935ee3469.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xf59d66c1d593fb10e2f8c2a6fd2c958792434b9c.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xf5f33812c93c5f2ae2f28c041eeb393212439502.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xf614d3864ef53510909a94c618a5ec1ff75103bf.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xf6b9dfe6bc42ed2eab44d6b829017f7b78b29f88.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xf8768814b88281de4f532a3beefa5b85b69b9324.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xfb5137aa9e079db4b7c2929229caf503d0f6da96.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xfb9a680825f29972629b2295e050f74cb2f4992b.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xfbeb78a723b8087fd2ea7ef1afec93d35e8bed42.abi.json delete mode 100644 tests/networks/ethereum/stakekit/abis/0xfd0877d9095789caf24c98f7cce092fa8e120775.abi.json diff --git a/tests/networks/ethereum/stakekit/abis/0x00e8eb340f8af587eea6200d2081e31dc87285ac.abi.json b/tests/networks/ethereum/stakekit/abis/0x00e8eb340f8af587eea6200d2081e31dc87285ac.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x00e8eb340f8af587eea6200d2081e31dc87285ac.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x01b01c4a1f4c522ad341a9da5eaa48af207ab3ec.abi.json b/tests/networks/ethereum/stakekit/abis/0x01b01c4a1f4c522ad341a9da5eaa48af207ab3ec.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x01b01c4a1f4c522ad341a9da5eaa48af207ab3ec.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x03eae26089a8c28ddc4c81d65befe014c793a60d.abi.json b/tests/networks/ethereum/stakekit/abis/0x03eae26089a8c28ddc4c81d65befe014c793a60d.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x03eae26089a8c28ddc4c81d65befe014c793a60d.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x04c8bfe2eb09a1e2e9fa97a2fd970e06d87b43de.abi.json b/tests/networks/ethereum/stakekit/abis/0x04c8bfe2eb09a1e2e9fa97a2fd970e06d87b43de.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x04c8bfe2eb09a1e2e9fa97a2fd970e06d87b43de.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x04d549bafe83b8bdccc8df38f15b90199d20f1ee.abi.json b/tests/networks/ethereum/stakekit/abis/0x04d549bafe83b8bdccc8df38f15b90199d20f1ee.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x04d549bafe83b8bdccc8df38f15b90199d20f1ee.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x04d73c87b20d372cb3240c72eefb9d79ba5e4959.abi.json b/tests/networks/ethereum/stakekit/abis/0x04d73c87b20d372cb3240c72eefb9d79ba5e4959.abi.json deleted file mode 100644 index a26af95..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x04d73c87b20d372cb3240c72eefb9d79ba5e4959.abi.json +++ /dev/null @@ -1,1643 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 5946 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 108344 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 73194 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 37665 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 38937 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 39075 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 39626 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37789 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39065 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39199 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39229 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 41773 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 41844 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 1090134 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 79308 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 121671 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38241 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42882 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42906 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 91494 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 8698 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1576655 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 77734 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1523989 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 124263 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47611 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47641 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42854 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1190208 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1255644 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23636673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 21381 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1239256 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 13920 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 11673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3923 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4168 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 22641 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4057 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 3978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4128 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4158 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4188 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4218 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4248 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4278 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4523 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 4338 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x054af22e1519b020516d72d749221c24756385c9.abi.json b/tests/networks/ethereum/stakekit/abis/0x054af22e1519b020516d72d749221c24756385c9.abi.json deleted file mode 100644 index a3f716d..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x054af22e1519b020516d72d749221c24756385c9.abi.json +++ /dev/null @@ -1,1658 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 4546 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 107044 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 71894 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 36365 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 37637 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 37775 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address" - } - ], - "outputs": [], - "gas": 37805 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 37835 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegration", - "inputs": [ - { - "name": "degration", - "type": "uint256" - } - ], - "outputs": [], - "gas": 36519 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37795 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37929 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37959 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 39203 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 39274 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 763950 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 76768 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 116531 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38271 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40312 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40336 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 81264 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 383839 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 18195 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1485796 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 115193 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42441 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42471 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 41251 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1141468 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1199804 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23088703 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 9551 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1015170 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 8750 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 7803 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2408 - }, - { - "stateMutability": "view", - "type": "function", - "name": "precisionFactor", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2438 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2683 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2928 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2528 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2558 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2588 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2618 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2648 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guestList", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 11031 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2847 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 2768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2918 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2948 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegration", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3313 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 3128 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x0d4ea8536f9a13e4fba16042a46c30f092b06aa5.abi.json b/tests/networks/ethereum/stakekit/abis/0x0d4ea8536f9a13e4fba16042a46c30f092b06aa5.abi.json deleted file mode 100644 index a26af95..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x0d4ea8536f9a13e4fba16042a46c30f092b06aa5.abi.json +++ /dev/null @@ -1,1643 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 5946 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 108344 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 73194 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 37665 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 38937 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 39075 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 39626 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37789 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39065 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39199 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39229 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 41773 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 41844 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 1090134 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 79308 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 121671 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38241 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42882 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42906 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 91494 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 8698 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1576655 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 77734 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1523989 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 124263 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47611 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47641 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42854 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1190208 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1255644 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23636673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 21381 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1239256 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 13920 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 11673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3923 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4168 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 22641 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4057 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 3978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4128 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4158 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4188 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4218 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4248 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4278 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4523 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 4338 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x0daa35a1735152edb928239c1712883dd8eb976f.abi.json b/tests/networks/ethereum/stakekit/abis/0x0daa35a1735152edb928239c1712883dd8eb976f.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x0daa35a1735152edb928239c1712883dd8eb976f.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x1025b1641d1f23c289412dd5e5701e9810103a93.abi.json b/tests/networks/ethereum/stakekit/abis/0x1025b1641d1f23c289412dd5e5701e9810103a93.abi.json deleted file mode 100644 index a26af95..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x1025b1641d1f23c289412dd5e5701e9810103a93.abi.json +++ /dev/null @@ -1,1643 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 5946 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 108344 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 73194 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 37665 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 38937 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 39075 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 39626 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37789 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39065 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39199 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39229 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 41773 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 41844 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 1090134 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 79308 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 121671 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38241 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42882 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42906 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 91494 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 8698 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1576655 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 77734 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1523989 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 124263 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47611 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47641 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42854 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1190208 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1255644 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23636673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 21381 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1239256 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 13920 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 11673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3923 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4168 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 22641 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4057 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 3978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4128 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4158 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4188 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4218 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4248 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4278 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4523 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 4338 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x132d8d2c76db3812403431facb00f3453fc42125.abi.json b/tests/networks/ethereum/stakekit/abis/0x132d8d2c76db3812403431facb00f3453fc42125.abi.json deleted file mode 100644 index a3f716d..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x132d8d2c76db3812403431facb00f3453fc42125.abi.json +++ /dev/null @@ -1,1658 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 4546 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 107044 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 71894 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 36365 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 37637 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 37775 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address" - } - ], - "outputs": [], - "gas": 37805 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 37835 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegration", - "inputs": [ - { - "name": "degration", - "type": "uint256" - } - ], - "outputs": [], - "gas": 36519 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37795 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37929 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37959 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 39203 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 39274 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 763950 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 76768 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 116531 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38271 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40312 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40336 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 81264 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 383839 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 18195 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1485796 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 115193 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42441 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42471 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 41251 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1141468 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1199804 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23088703 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 9551 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1015170 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 8750 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 7803 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2408 - }, - { - "stateMutability": "view", - "type": "function", - "name": "precisionFactor", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2438 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2683 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2928 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2528 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2558 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2588 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2618 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2648 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guestList", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 11031 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2847 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 2768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2918 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2948 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegration", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3313 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 3128 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x133cb5cf617a33f5d02cffff579435776ef29fb0.abi.json b/tests/networks/ethereum/stakekit/abis/0x133cb5cf617a33f5d02cffff579435776ef29fb0.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x133cb5cf617a33f5d02cffff579435776ef29fb0.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x150f76e1339a918baa38338ed9bd695bd0924bcf.abi.json b/tests/networks/ethereum/stakekit/abis/0x150f76e1339a918baa38338ed9bd695bd0924bcf.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x150f76e1339a918baa38338ed9bd695bd0924bcf.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x1635b506a88fbf428465ad65d00e8d6b6e5846c3.abi.json b/tests/networks/ethereum/stakekit/abis/0x1635b506a88fbf428465ad65d00e8d6b6e5846c3.abi.json deleted file mode 100644 index a26af95..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x1635b506a88fbf428465ad65d00e8d6b6e5846c3.abi.json +++ /dev/null @@ -1,1643 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 5946 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 108344 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 73194 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 37665 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 38937 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 39075 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 39626 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37789 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39065 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39199 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39229 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 41773 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 41844 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 1090134 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 79308 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 121671 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38241 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42882 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42906 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 91494 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 8698 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1576655 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 77734 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1523989 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 124263 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47611 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47641 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42854 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1190208 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1255644 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23636673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 21381 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1239256 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 13920 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 11673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3923 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4168 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 22641 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4057 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 3978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4128 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4158 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4188 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4218 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4248 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4278 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4523 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 4338 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x16825039dfe2a5b01f3e1e6a2bbf9a576c6f95c4.abi.json b/tests/networks/ethereum/stakekit/abis/0x16825039dfe2a5b01f3e1e6a2bbf9a576c6f95c4.abi.json deleted file mode 100644 index a26af95..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x16825039dfe2a5b01f3e1e6a2bbf9a576c6f95c4.abi.json +++ /dev/null @@ -1,1643 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 5946 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 108344 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 73194 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 37665 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 38937 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 39075 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 39626 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37789 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39065 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39199 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39229 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 41773 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 41844 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 1090134 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 79308 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 121671 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38241 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42882 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42906 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 91494 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 8698 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1576655 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 77734 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1523989 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 124263 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47611 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47641 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42854 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1190208 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1255644 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23636673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 21381 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1239256 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 13920 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 11673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3923 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4168 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 22641 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4057 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 3978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4128 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4158 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4188 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4218 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4248 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4278 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4523 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 4338 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x16d5a408e807db8ef7c578279beeee6b228f1c1c.abi.json b/tests/networks/ethereum/stakekit/abis/0x16d5a408e807db8ef7c578279beeee6b228f1c1c.abi.json deleted file mode 100644 index 362b60d..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x16d5a408e807db8ef7c578279beeee6b228f1c1c.abi.json +++ /dev/null @@ -1,302 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "address", - "name": "_rocketStorage", - "type": "address" - }, - { - "internalType": "address", - "name": "_wethAddress", - "type": "address" - }, - { - "internalType": "address", - "name": "_uniswapRouter", - "type": "address" - }, - { - "internalType": "uint24", - "name": "_uniswapPoolFee", - "type": "uint24" - }, - { - "internalType": "address", - "name": "_uniswapQuoter", - "type": "address" - }, - { - "internalType": "address", - "name": "_balancerVault", - "type": "address" - }, - { - "internalType": "bytes32", - "name": "_balancerPoolId", - "type": "bytes32" - } - ], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "amountOut", - "type": "uint256" - } - ], - "name": "LessThanMinimum", - "type": "error" - }, - { - "inputs": [], - "name": "TransferFailed", - "type": "error" - }, - { - "inputs": [], - "name": "WETH", - "outputs": [ - { - "internalType": "contract IWETH", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "balancerPoolId", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "balancerVault", - "outputs": [ - { - "internalType": "contract IVault", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_amount", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "_steps", - "type": "uint256" - } - ], - "name": "optimiseSwapFrom", - "outputs": [ - { - "internalType": "uint256[2]", - "name": "portions", - "type": "uint256[2]" - }, - { - "internalType": "uint256", - "name": "amountOut", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_amount", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "_steps", - "type": "uint256" - } - ], - "name": "optimiseSwapTo", - "outputs": [ - { - "internalType": "uint256[2]", - "name": "portions", - "type": "uint256[2]" - }, - { - "internalType": "uint256", - "name": "amountOut", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "rETH", - "outputs": [ - { - "internalType": "contract IrETH", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "targetContract", - "type": "address" - }, - { - "internalType": "bytes", - "name": "calldataPayload", - "type": "bytes" - } - ], - "name": "simulate", - "outputs": [ - { - "internalType": "bytes", - "name": "response", - "type": "bytes" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "targetContract", - "type": "address" - }, - { - "internalType": "bytes", - "name": "calldataPayload", - "type": "bytes" - } - ], - "name": "simulateAndRevert", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_uniswapPortion", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "_balancerPortion", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "_minTokensOut", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "_idealTokensOut", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "_tokensIn", - "type": "uint256" - } - ], - "name": "swapFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_uniswapPortion", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "_balancerPortion", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "_minTokensOut", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "_idealTokensOut", - "type": "uint256" - } - ], - "name": "swapTo", - "outputs": [], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [], - "name": "uniswapQuoter", - "outputs": [ - { - "internalType": "contract IQuoter", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "uniswapRouter", - "outputs": [ - { - "internalType": "contract ISwapRouter", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "stateMutability": "payable", - "type": "receive" - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x19d3364a399d251e894ac732651be8b0e4e85001.abi.json b/tests/networks/ethereum/stakekit/abis/0x19d3364a399d251e894ac732651be8b0e4e85001.abi.json deleted file mode 100644 index d95bc34..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x19d3364a399d251e894ac732651be8b0e4e85001.abi.json +++ /dev/null @@ -1,1554 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "type": "address", - "name": "sender", - "indexed": true - }, - { - "type": "address", - "name": "receiver", - "indexed": true - }, - { - "type": "uint256", - "name": "value", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "type": "address", - "name": "owner", - "indexed": true - }, - { - "type": "address", - "name": "spender", - "indexed": true - }, - { - "type": "uint256", - "name": "value", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "debtRatio", - "indexed": false - }, - { - "type": "uint256", - "name": "rateLimit", - "indexed": false - }, - { - "type": "uint256", - "name": "performanceFee", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "gain", - "indexed": false - }, - { - "type": "uint256", - "name": "loss", - "indexed": false - }, - { - "type": "uint256", - "name": "totalGain", - "indexed": false - }, - { - "type": "uint256", - "name": "totalLoss", - "indexed": false - }, - { - "type": "uint256", - "name": "totalDebt", - "indexed": false - }, - { - "type": "uint256", - "name": "debtAdded", - "indexed": false - }, - { - "type": "uint256", - "name": "debtRatio", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "type": "address", - "name": "governance", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "type": "address", - "name": "management", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuestList", - "inputs": [ - { - "type": "address", - "name": "guestList", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "type": "address", - "name": "rewards", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "type": "uint256", - "name": "depositLimit", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "type": "uint256", - "name": "performanceFee", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "type": "uint256", - "name": "managementFee", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "type": "address", - "name": "guardian", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "type": "bool", - "name": "active", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "type": "address[20]", - "name": "queue", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "debtRatio", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateRateLimit", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "rateLimit", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "performanceFee", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "type": "address", - "name": "oldVersion", - "indexed": true - }, - { - "type": "address", - "name": "newVersion", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "initialize", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "token" - }, - { - "type": "address", - "name": "governance" - }, - { - "type": "address", - "name": "rewards" - }, - { - "type": "string", - "name": "nameOverride" - }, - { - "type": "string", - "name": "symbolOverride" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "initialize", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "token" - }, - { - "type": "address", - "name": "governance" - }, - { - "type": "address", - "name": "rewards" - }, - { - "type": "string", - "name": "nameOverride" - }, - { - "type": "string", - "name": "symbolOverride" - }, - { - "type": "address", - "name": "guardian" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "apiVersion", - "outputs": [ - { - "type": "string", - "name": "" - } - ], - "inputs": [], - "stateMutability": "pure", - "type": "function", - "gas": 4519 - }, - { - "name": "setName", - "outputs": [], - "inputs": [ - { - "type": "string", - "name": "name" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 107017 - }, - { - "name": "setSymbol", - "outputs": [], - "inputs": [ - { - "type": "string", - "name": "symbol" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 71867 - }, - { - "name": "setGovernance", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "governance" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 36338 - }, - { - "name": "acceptGovernance", - "outputs": [], - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37610 - }, - { - "name": "setManagement", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "management" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37748 - }, - { - "name": "setGuestList", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "guestList" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37778 - }, - { - "name": "setRewards", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "rewards" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37808 - }, - { - "name": "setDepositLimit", - "outputs": [], - "inputs": [ - { - "type": "uint256", - "name": "limit" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37738 - }, - { - "name": "setPerformanceFee", - "outputs": [], - "inputs": [ - { - "type": "uint256", - "name": "fee" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37872 - }, - { - "name": "setManagementFee", - "outputs": [], - "inputs": [ - { - "type": "uint256", - "name": "fee" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37902 - }, - { - "name": "setGuardian", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "guardian" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 39146 - }, - { - "name": "setEmergencyShutdown", - "outputs": [], - "inputs": [ - { - "type": "bool", - "name": "active" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 39217 - }, - { - "name": "setWithdrawalQueue", - "outputs": [], - "inputs": [ - { - "type": "address[20]", - "name": "queue" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 763893 - }, - { - "name": "transfer", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "receiver" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 76733 - }, - { - "name": "transferFrom", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "sender" - }, - { - "type": "address", - "name": "receiver" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 116496 - }, - { - "name": "approve", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "spender" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 38244 - }, - { - "name": "increaseAllowance", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "spender" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 40285 - }, - { - "name": "decreaseAllowance", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "spender" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 40309 - }, - { - "name": "permit", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "owner" - }, - { - "type": "address", - "name": "spender" - }, - { - "type": "uint256", - "name": "amount" - }, - { - "type": "uint256", - "name": "expiry" - }, - { - "type": "bytes", - "name": "signature" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 81237 - }, - { - "name": "totalAssets", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 4123 - }, - { - "name": "deposit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "deposit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "_amount" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "deposit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "_amount" - }, - { - "type": "address", - "name": "recipient" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "maxAvailableShares", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 364171 - }, - { - "name": "withdraw", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "withdraw", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "maxShares" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "withdraw", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "maxShares" - }, - { - "type": "address", - "name": "recipient" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "withdraw", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "maxShares" - }, - { - "type": "address", - "name": "recipient" - }, - { - "type": "uint256", - "name": "maxLoss" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "pricePerShare", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 12412 - }, - { - "name": "addStrategy", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - }, - { - "type": "uint256", - "name": "debtRatio" - }, - { - "type": "uint256", - "name": "rateLimit" - }, - { - "type": "uint256", - "name": "performanceFee" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 1450351 - }, - { - "name": "updateStrategyDebtRatio", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - }, - { - "type": "uint256", - "name": "debtRatio" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 115316 - }, - { - "name": "updateStrategyRateLimit", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - }, - { - "type": "uint256", - "name": "rateLimit" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 41467 - }, - { - "name": "updateStrategyPerformanceFee", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - }, - { - "type": "uint256", - "name": "performanceFee" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 41344 - }, - { - "name": "migrateStrategy", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "oldVersion" - }, - { - "type": "address", - "name": "newVersion" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 1105801 - }, - { - "name": "revokeStrategy", - "outputs": [], - "inputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "revokeStrategy", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "addStrategyToQueue", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 1196920 - }, - { - "name": "removeStrategyFromQueue", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 23091666 - }, - { - "name": "debtOutstanding", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function" - }, - { - "name": "debtOutstanding", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "name": "creditAvailable", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function" - }, - { - "name": "creditAvailable", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "name": "availableDepositLimit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 9808 - }, - { - "name": "expectedReturn", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function" - }, - { - "name": "expectedReturn", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "name": "report", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "gain" - }, - { - "type": "uint256", - "name": "loss" - }, - { - "type": "uint256", - "name": "_debtPayment" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 937520 - }, - { - "name": "sweep", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "token" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "sweep", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "token" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "name", - "outputs": [ - { - "type": "string", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 9053 - }, - { - "name": "symbol", - "outputs": [ - { - "type": "string", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 8106 - }, - { - "name": "decimals", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2711 - }, - { - "name": "balanceOf", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "arg0" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 2956 - }, - { - "name": "allowance", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "arg0" - }, - { - "type": "address", - "name": "arg1" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 3201 - }, - { - "name": "totalSupply", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2801 - }, - { - "name": "token", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2831 - }, - { - "name": "governance", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2861 - }, - { - "name": "management", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2891 - }, - { - "name": "guardian", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2921 - }, - { - "name": "guestList", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2951 - }, - { - "name": "strategies", - "outputs": [ - { - "type": "uint256", - "name": "performanceFee" - }, - { - "type": "uint256", - "name": "activation" - }, - { - "type": "uint256", - "name": "debtRatio" - }, - { - "type": "uint256", - "name": "rateLimit" - }, - { - "type": "uint256", - "name": "lastReport" - }, - { - "type": "uint256", - "name": "totalDebt" - }, - { - "type": "uint256", - "name": "totalGain" - }, - { - "type": "uint256", - "name": "totalLoss" - } - ], - "inputs": [ - { - "type": "address", - "name": "arg0" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 10322 - }, - { - "name": "withdrawalQueue", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "arg0" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 3120 - }, - { - "name": "emergencyShutdown", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3041 - }, - { - "name": "depositLimit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3071 - }, - { - "name": "debtRatio", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3101 - }, - { - "name": "totalDebt", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3131 - }, - { - "name": "lastReport", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3161 - }, - { - "name": "activation", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3191 - }, - { - "name": "rewards", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3221 - }, - { - "name": "managementFee", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3251 - }, - { - "name": "performanceFee", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3281 - }, - { - "name": "nonces", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "arg0" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 3526 - }, - { - "name": "DOMAIN_SEPARATOR", - "outputs": [ - { - "type": "bytes32", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3341 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x1a5ebff0e881aec34837845e4d0eb430a1b4b737.abi.json b/tests/networks/ethereum/stakekit/abis/0x1a5ebff0e881aec34837845e4d0eb430a1b4b737.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x1a5ebff0e881aec34837845e4d0eb430a1b4b737.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x1b905331f7de2748f4d6a0678e1521e20347643f.abi.json b/tests/networks/ethereum/stakekit/abis/0x1b905331f7de2748f4d6a0678e1521e20347643f.abi.json deleted file mode 100644 index a26af95..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x1b905331f7de2748f4d6a0678e1521e20347643f.abi.json +++ /dev/null @@ -1,1643 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 5946 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 108344 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 73194 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 37665 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 38937 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 39075 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 39626 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37789 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39065 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39199 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39229 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 41773 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 41844 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 1090134 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 79308 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 121671 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38241 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42882 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42906 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 91494 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 8698 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1576655 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 77734 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1523989 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 124263 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47611 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47641 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42854 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1190208 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1255644 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23636673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 21381 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1239256 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 13920 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 11673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3923 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4168 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 22641 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4057 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 3978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4128 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4158 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4188 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4218 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4248 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4278 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4523 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 4338 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x1bb04fcbc210baa384531079ed7f59d9149309ba.abi.json b/tests/networks/ethereum/stakekit/abis/0x1bb04fcbc210baa384531079ed7f59d9149309ba.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x1bb04fcbc210baa384531079ed7f59d9149309ba.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x1c6a9783f812b3af3abbf7de64c3cd7cc7d1af44.abi.json b/tests/networks/ethereum/stakekit/abis/0x1c6a9783f812b3af3abbf7de64c3cd7cc7d1af44.abi.json deleted file mode 100644 index a3f716d..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x1c6a9783f812b3af3abbf7de64c3cd7cc7d1af44.abi.json +++ /dev/null @@ -1,1658 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 4546 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 107044 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 71894 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 36365 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 37637 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 37775 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address" - } - ], - "outputs": [], - "gas": 37805 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 37835 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegration", - "inputs": [ - { - "name": "degration", - "type": "uint256" - } - ], - "outputs": [], - "gas": 36519 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37795 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37929 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37959 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 39203 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 39274 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 763950 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 76768 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 116531 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38271 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40312 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40336 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 81264 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 383839 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 18195 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1485796 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 115193 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42441 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42471 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 41251 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1141468 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1199804 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23088703 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 9551 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1015170 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 8750 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 7803 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2408 - }, - { - "stateMutability": "view", - "type": "function", - "name": "precisionFactor", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2438 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2683 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2928 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2528 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2558 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2588 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2618 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2648 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guestList", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 11031 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2847 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 2768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2918 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2948 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegration", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3313 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 3128 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x1c97e67dc7ca179ae82e0c4aff4af9ff66612a43.abi.json b/tests/networks/ethereum/stakekit/abis/0x1c97e67dc7ca179ae82e0c4aff4af9ff66612a43.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x1c97e67dc7ca179ae82e0c4aff4af9ff66612a43.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x20f6a2ec303df7120eae3346de5ad877f80beb64.abi.json b/tests/networks/ethereum/stakekit/abis/0x20f6a2ec303df7120eae3346de5ad877f80beb64.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x20f6a2ec303df7120eae3346de5ad877f80beb64.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x23d3d0f1c697247d5e0a9efb37d8b0ed0c464f7f.abi.json b/tests/networks/ethereum/stakekit/abis/0x23d3d0f1c697247d5e0a9efb37d8b0ed0c464f7f.abi.json deleted file mode 100644 index a3f716d..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x23d3d0f1c697247d5e0a9efb37d8b0ed0c464f7f.abi.json +++ /dev/null @@ -1,1658 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 4546 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 107044 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 71894 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 36365 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 37637 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 37775 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address" - } - ], - "outputs": [], - "gas": 37805 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 37835 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegration", - "inputs": [ - { - "name": "degration", - "type": "uint256" - } - ], - "outputs": [], - "gas": 36519 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37795 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37929 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37959 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 39203 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 39274 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 763950 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 76768 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 116531 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38271 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40312 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40336 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 81264 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 383839 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 18195 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1485796 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 115193 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42441 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42471 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 41251 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1141468 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1199804 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23088703 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 9551 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1015170 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 8750 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 7803 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2408 - }, - { - "stateMutability": "view", - "type": "function", - "name": "precisionFactor", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2438 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2683 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2928 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2528 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2558 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2588 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2618 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2648 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guestList", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 11031 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2847 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 2768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2918 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2948 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegration", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3313 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 3128 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x241add131b9aaa7527132b752252b99420937adc.abi.json b/tests/networks/ethereum/stakekit/abis/0x241add131b9aaa7527132b752252b99420937adc.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x241add131b9aaa7527132b752252b99420937adc.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x25212df29073fffa7a67399acefc2dd75a831a1a.abi.json b/tests/networks/ethereum/stakekit/abis/0x25212df29073fffa7a67399acefc2dd75a831a1a.abi.json deleted file mode 100644 index a3f716d..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x25212df29073fffa7a67399acefc2dd75a831a1a.abi.json +++ /dev/null @@ -1,1658 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 4546 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 107044 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 71894 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 36365 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 37637 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 37775 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address" - } - ], - "outputs": [], - "gas": 37805 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 37835 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegration", - "inputs": [ - { - "name": "degration", - "type": "uint256" - } - ], - "outputs": [], - "gas": 36519 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37795 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37929 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37959 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 39203 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 39274 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 763950 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 76768 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 116531 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38271 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40312 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40336 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 81264 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 383839 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 18195 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1485796 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 115193 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42441 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42471 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 41251 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1141468 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1199804 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23088703 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 9551 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1015170 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 8750 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 7803 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2408 - }, - { - "stateMutability": "view", - "type": "function", - "name": "precisionFactor", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2438 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2683 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2928 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2528 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2558 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2588 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2618 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2648 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guestList", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 11031 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2847 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 2768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2918 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2948 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegration", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3313 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 3128 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x27b5739e22ad9033bcbf192059122d163b60349d.abi.json b/tests/networks/ethereum/stakekit/abis/0x27b5739e22ad9033bcbf192059122d163b60349d.abi.json deleted file mode 100644 index a26af95..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x27b5739e22ad9033bcbf192059122d163b60349d.abi.json +++ /dev/null @@ -1,1643 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 5946 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 108344 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 73194 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 37665 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 38937 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 39075 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 39626 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37789 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39065 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39199 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39229 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 41773 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 41844 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 1090134 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 79308 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 121671 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38241 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42882 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42906 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 91494 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 8698 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1576655 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 77734 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1523989 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 124263 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47611 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47641 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42854 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1190208 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1255644 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23636673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 21381 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1239256 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 13920 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 11673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3923 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4168 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 22641 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4057 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 3978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4128 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4158 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4188 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4218 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4248 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4278 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4523 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 4338 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x27b7b1ad7288079a66d12350c828d3c00a6f07d7.abi.json b/tests/networks/ethereum/stakekit/abis/0x27b7b1ad7288079a66d12350c828d3c00a6f07d7.abi.json deleted file mode 100644 index 32764a2..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x27b7b1ad7288079a66d12350c828d3c00a6f07d7.abi.json +++ /dev/null @@ -1,1645 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "type": "address", - "name": "sender", - "indexed": true - }, - { - "type": "address", - "name": "receiver", - "indexed": true - }, - { - "type": "uint256", - "name": "value", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "type": "address", - "name": "owner", - "indexed": true - }, - { - "type": "address", - "name": "spender", - "indexed": true - }, - { - "type": "uint256", - "name": "value", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "debtRatio", - "indexed": false - }, - { - "type": "uint256", - "name": "minDebtPerHarvest", - "indexed": false - }, - { - "type": "uint256", - "name": "maxDebtPerHarvest", - "indexed": false - }, - { - "type": "uint256", - "name": "performanceFee", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "gain", - "indexed": false - }, - { - "type": "uint256", - "name": "loss", - "indexed": false - }, - { - "type": "uint256", - "name": "debtPaid", - "indexed": false - }, - { - "type": "uint256", - "name": "totalGain", - "indexed": false - }, - { - "type": "uint256", - "name": "totalLoss", - "indexed": false - }, - { - "type": "uint256", - "name": "totalDebt", - "indexed": false - }, - { - "type": "uint256", - "name": "debtAdded", - "indexed": false - }, - { - "type": "uint256", - "name": "debtRatio", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "type": "address", - "name": "governance", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "type": "address", - "name": "management", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuestList", - "inputs": [ - { - "type": "address", - "name": "guestList", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "type": "address", - "name": "rewards", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "type": "uint256", - "name": "depositLimit", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "type": "uint256", - "name": "performanceFee", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "type": "uint256", - "name": "managementFee", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "type": "address", - "name": "guardian", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "type": "bool", - "name": "active", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "type": "address[20]", - "name": "queue", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "debtRatio", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "minDebtPerHarvest", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "maxDebtPerHarvest", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "performanceFee", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "type": "address", - "name": "oldVersion", - "indexed": true - }, - { - "type": "address", - "name": "newVersion", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "initialize", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "token" - }, - { - "type": "address", - "name": "governance" - }, - { - "type": "address", - "name": "rewards" - }, - { - "type": "string", - "name": "nameOverride" - }, - { - "type": "string", - "name": "symbolOverride" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "initialize", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "token" - }, - { - "type": "address", - "name": "governance" - }, - { - "type": "address", - "name": "rewards" - }, - { - "type": "string", - "name": "nameOverride" - }, - { - "type": "string", - "name": "symbolOverride" - }, - { - "type": "address", - "name": "guardian" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "apiVersion", - "outputs": [ - { - "type": "string", - "name": "" - } - ], - "inputs": [], - "stateMutability": "pure", - "type": "function", - "gas": 4519 - }, - { - "name": "setName", - "outputs": [], - "inputs": [ - { - "type": "string", - "name": "name" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 107017 - }, - { - "name": "setSymbol", - "outputs": [], - "inputs": [ - { - "type": "string", - "name": "symbol" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 71867 - }, - { - "name": "setGovernance", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "governance" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 36338 - }, - { - "name": "acceptGovernance", - "outputs": [], - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37610 - }, - { - "name": "setManagement", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "management" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37748 - }, - { - "name": "setGuestList", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "guestList" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37778 - }, - { - "name": "setRewards", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "rewards" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37808 - }, - { - "name": "setLockedProfitDegration", - "outputs": [], - "inputs": [ - { - "type": "uint256", - "name": "degration" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 36516 - }, - { - "name": "setDepositLimit", - "outputs": [], - "inputs": [ - { - "type": "uint256", - "name": "limit" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37768 - }, - { - "name": "setPerformanceFee", - "outputs": [], - "inputs": [ - { - "type": "uint256", - "name": "fee" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37902 - }, - { - "name": "setManagementFee", - "outputs": [], - "inputs": [ - { - "type": "uint256", - "name": "fee" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37932 - }, - { - "name": "setGuardian", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "guardian" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 39176 - }, - { - "name": "setEmergencyShutdown", - "outputs": [], - "inputs": [ - { - "type": "bool", - "name": "active" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 39247 - }, - { - "name": "setWithdrawalQueue", - "outputs": [], - "inputs": [ - { - "type": "address[20]", - "name": "queue" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 763923 - }, - { - "name": "transfer", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "receiver" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 76913 - }, - { - "name": "transferFrom", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "sender" - }, - { - "type": "address", - "name": "receiver" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 116676 - }, - { - "name": "approve", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "spender" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 38334 - }, - { - "name": "increaseAllowance", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "spender" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 40375 - }, - { - "name": "decreaseAllowance", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "spender" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 40399 - }, - { - "name": "permit", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "owner" - }, - { - "type": "address", - "name": "spender" - }, - { - "type": "uint256", - "name": "amount" - }, - { - "type": "uint256", - "name": "expiry" - }, - { - "type": "bytes", - "name": "signature" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 81327 - }, - { - "name": "totalAssets", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 4303 - }, - { - "name": "deposit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "deposit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "_amount" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "deposit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "_amount" - }, - { - "type": "address", - "name": "recipient" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "maxAvailableShares", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 379843 - }, - { - "name": "withdraw", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "withdraw", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "maxShares" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "withdraw", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "maxShares" - }, - { - "type": "address", - "name": "recipient" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "withdraw", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "maxShares" - }, - { - "type": "address", - "name": "recipient" - }, - { - "type": "uint256", - "name": "maxLoss" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "pricePerShare", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 17509 - }, - { - "name": "addStrategy", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - }, - { - "type": "uint256", - "name": "debtRatio" - }, - { - "type": "uint256", - "name": "minDebtPerHarvest" - }, - { - "type": "uint256", - "name": "maxDebtPerHarvest" - }, - { - "type": "uint256", - "name": "performanceFee" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 1486241 - }, - { - "name": "updateStrategyDebtRatio", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - }, - { - "type": "uint256", - "name": "debtRatio" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 115406 - }, - { - "name": "updateStrategyMinDebtPerHarvest", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - }, - { - "type": "uint256", - "name": "minDebtPerHarvest" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 42654 - }, - { - "name": "updateStrategyMaxDebtPerHarvest", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - }, - { - "type": "uint256", - "name": "maxDebtPerHarvest" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 42684 - }, - { - "name": "updateStrategyPerformanceFee", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - }, - { - "type": "uint256", - "name": "performanceFee" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 41464 - }, - { - "name": "migrateStrategy", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "oldVersion" - }, - { - "type": "address", - "name": "newVersion" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 1141973 - }, - { - "name": "revokeStrategy", - "outputs": [], - "inputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "revokeStrategy", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "addStrategyToQueue", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 1197130 - }, - { - "name": "removeStrategyFromQueue", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 23093586 - }, - { - "name": "debtOutstanding", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function" - }, - { - "name": "debtOutstanding", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "name": "creditAvailable", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function" - }, - { - "name": "creditAvailable", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "name": "availableDepositLimit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 10108 - }, - { - "name": "expectedReturn", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function" - }, - { - "name": "expectedReturn", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "name": "report", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "gain" - }, - { - "type": "uint256", - "name": "loss" - }, - { - "type": "uint256", - "name": "_debtPayment" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 1009335 - }, - { - "name": "sweep", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "token" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "sweep", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "token" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "name", - "outputs": [ - { - "type": "string", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 9143 - }, - { - "name": "symbol", - "outputs": [ - { - "type": "string", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 8196 - }, - { - "name": "decimals", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2801 - }, - { - "name": "balanceOf", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "arg0" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 3046 - }, - { - "name": "allowance", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "arg0" - }, - { - "type": "address", - "name": "arg1" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 3291 - }, - { - "name": "totalSupply", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2891 - }, - { - "name": "token", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2921 - }, - { - "name": "governance", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2951 - }, - { - "name": "management", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2981 - }, - { - "name": "guardian", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3011 - }, - { - "name": "guestList", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3041 - }, - { - "name": "strategies", - "outputs": [ - { - "type": "uint256", - "name": "performanceFee" - }, - { - "type": "uint256", - "name": "activation" - }, - { - "type": "uint256", - "name": "debtRatio" - }, - { - "type": "uint256", - "name": "minDebtPerHarvest" - }, - { - "type": "uint256", - "name": "maxDebtPerHarvest" - }, - { - "type": "uint256", - "name": "lastReport" - }, - { - "type": "uint256", - "name": "totalDebt" - }, - { - "type": "uint256", - "name": "totalGain" - }, - { - "type": "uint256", - "name": "totalLoss" - } - ], - "inputs": [ - { - "type": "address", - "name": "arg0" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 11394 - }, - { - "name": "withdrawalQueue", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "arg0" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 3210 - }, - { - "name": "emergencyShutdown", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3131 - }, - { - "name": "depositLimit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3161 - }, - { - "name": "debtRatio", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3191 - }, - { - "name": "totalDebt", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3221 - }, - { - "name": "lastReport", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3251 - }, - { - "name": "activation", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3281 - }, - { - "name": "lockedProfit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3311 - }, - { - "name": "lockedProfitDegration", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3341 - }, - { - "name": "rewards", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3371 - }, - { - "name": "managementFee", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3401 - }, - { - "name": "performanceFee", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3431 - }, - { - "name": "nonces", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "arg0" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 3676 - }, - { - "name": "DOMAIN_SEPARATOR", - "outputs": [ - { - "type": "bytes32", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3491 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x28a5b95c101df3ded0c0d9074db80c438774b6a9.abi.json b/tests/networks/ethereum/stakekit/abis/0x28a5b95c101df3ded0c0d9074db80c438774b6a9.abi.json deleted file mode 100644 index a3f716d..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x28a5b95c101df3ded0c0d9074db80c438774b6a9.abi.json +++ /dev/null @@ -1,1658 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 4546 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 107044 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 71894 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 36365 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 37637 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 37775 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address" - } - ], - "outputs": [], - "gas": 37805 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 37835 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegration", - "inputs": [ - { - "name": "degration", - "type": "uint256" - } - ], - "outputs": [], - "gas": 36519 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37795 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37929 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37959 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 39203 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 39274 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 763950 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 76768 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 116531 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38271 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40312 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40336 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 81264 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 383839 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 18195 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1485796 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 115193 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42441 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42471 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 41251 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1141468 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1199804 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23088703 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 9551 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1015170 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 8750 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 7803 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2408 - }, - { - "stateMutability": "view", - "type": "function", - "name": "precisionFactor", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2438 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2683 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2928 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2528 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2558 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2588 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2618 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2648 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guestList", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 11031 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2847 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 2768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2918 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2948 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegration", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3313 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 3128 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x2a38b9b0201ca39b17b460ed2f11e4929559071e.abi.json b/tests/networks/ethereum/stakekit/abis/0x2a38b9b0201ca39b17b460ed2f11e4929559071e.abi.json deleted file mode 100644 index a3f716d..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x2a38b9b0201ca39b17b460ed2f11e4929559071e.abi.json +++ /dev/null @@ -1,1658 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 4546 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 107044 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 71894 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 36365 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 37637 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 37775 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address" - } - ], - "outputs": [], - "gas": 37805 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 37835 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegration", - "inputs": [ - { - "name": "degration", - "type": "uint256" - } - ], - "outputs": [], - "gas": 36519 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37795 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37929 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37959 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 39203 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 39274 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 763950 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 76768 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 116531 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38271 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40312 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40336 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 81264 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 383839 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 18195 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1485796 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 115193 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42441 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42471 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 41251 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1141468 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1199804 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23088703 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 9551 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1015170 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 8750 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 7803 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2408 - }, - { - "stateMutability": "view", - "type": "function", - "name": "precisionFactor", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2438 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2683 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2928 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2528 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2558 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2588 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2618 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2648 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guestList", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 11031 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2847 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 2768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2918 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2948 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegration", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3313 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 3128 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x2a82dcdcbfb88e92021b8bcc3da22703a2e4459c.abi.json b/tests/networks/ethereum/stakekit/abis/0x2a82dcdcbfb88e92021b8bcc3da22703a2e4459c.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x2a82dcdcbfb88e92021b8bcc3da22703a2e4459c.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x2ab6578239ed541ef7cc7d11a45d740ce9f0a1f4.abi.json b/tests/networks/ethereum/stakekit/abis/0x2ab6578239ed541ef7cc7d11a45d740ce9f0a1f4.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x2ab6578239ed541ef7cc7d11a45d740ce9f0a1f4.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x2d59aa422a7aae58038cf8ae6ed07330cc7d3ae8.abi.json b/tests/networks/ethereum/stakekit/abis/0x2d59aa422a7aae58038cf8ae6ed07330cc7d3ae8.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x2d59aa422a7aae58038cf8ae6ed07330cc7d3ae8.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x2dfb14e32e2f8156ec15a2c21c3a6c053af52be8.abi.json b/tests/networks/ethereum/stakekit/abis/0x2dfb14e32e2f8156ec15a2c21c3a6c053af52be8.abi.json deleted file mode 100644 index a26af95..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x2dfb14e32e2f8156ec15a2c21c3a6c053af52be8.abi.json +++ /dev/null @@ -1,1643 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 5946 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 108344 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 73194 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 37665 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 38937 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 39075 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 39626 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37789 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39065 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39199 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39229 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 41773 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 41844 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 1090134 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 79308 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 121671 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38241 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42882 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42906 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 91494 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 8698 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1576655 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 77734 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1523989 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 124263 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47611 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47641 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42854 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1190208 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1255644 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23636673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 21381 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1239256 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 13920 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 11673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3923 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4168 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 22641 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4057 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 3978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4128 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4158 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4188 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4218 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4248 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4278 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4523 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 4338 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x2e2b268cbc86917d2809ce2715a19e58a210fcee.abi.json b/tests/networks/ethereum/stakekit/abis/0x2e2b268cbc86917d2809ce2715a19e58a210fcee.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x2e2b268cbc86917d2809ce2715a19e58a210fcee.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x2e5c7e9b1da0d9cb2832ebb06241d18552a85400.abi.json b/tests/networks/ethereum/stakekit/abis/0x2e5c7e9b1da0d9cb2832ebb06241d18552a85400.abi.json deleted file mode 100644 index a26af95..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x2e5c7e9b1da0d9cb2832ebb06241d18552a85400.abi.json +++ /dev/null @@ -1,1643 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 5946 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 108344 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 73194 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 37665 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 38937 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 39075 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 39626 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37789 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39065 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39199 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39229 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 41773 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 41844 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 1090134 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 79308 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 121671 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38241 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42882 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42906 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 91494 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 8698 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1576655 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 77734 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1523989 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 124263 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47611 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47641 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42854 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1190208 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1255644 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23636673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 21381 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1239256 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 13920 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 11673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3923 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4168 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 22641 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4057 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 3978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4128 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4158 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4188 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4218 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4248 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4278 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4523 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 4338 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x2fb06235ab90812e5bae28404024c9498ff9414d.abi.json b/tests/networks/ethereum/stakekit/abis/0x2fb06235ab90812e5bae28404024c9498ff9414d.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x2fb06235ab90812e5bae28404024c9498ff9414d.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x30b801f933e676cb25892d1838fdcc00a1dde4cf.abi.json b/tests/networks/ethereum/stakekit/abis/0x30b801f933e676cb25892d1838fdcc00a1dde4cf.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x30b801f933e676cb25892d1838fdcc00a1dde4cf.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x30fcf7c6cdfc46ec237783d94fc78553e79d4e9c.abi.json b/tests/networks/ethereum/stakekit/abis/0x30fcf7c6cdfc46ec237783d94fc78553e79d4e9c.abi.json deleted file mode 100644 index a3f716d..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x30fcf7c6cdfc46ec237783d94fc78553e79d4e9c.abi.json +++ /dev/null @@ -1,1658 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 4546 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 107044 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 71894 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 36365 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 37637 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 37775 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address" - } - ], - "outputs": [], - "gas": 37805 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 37835 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegration", - "inputs": [ - { - "name": "degration", - "type": "uint256" - } - ], - "outputs": [], - "gas": 36519 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37795 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37929 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37959 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 39203 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 39274 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 763950 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 76768 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 116531 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38271 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40312 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40336 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 81264 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 383839 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 18195 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1485796 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 115193 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42441 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42471 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 41251 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1141468 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1199804 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23088703 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 9551 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1015170 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 8750 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 7803 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2408 - }, - { - "stateMutability": "view", - "type": "function", - "name": "precisionFactor", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2438 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2683 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2928 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2528 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2558 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2588 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2618 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2648 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guestList", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 11031 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2847 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 2768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2918 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2948 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegration", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3313 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 3128 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x321d570790fd2f109fe4e55aa419adf2fce0c842.abi.json b/tests/networks/ethereum/stakekit/abis/0x321d570790fd2f109fe4e55aa419adf2fce0c842.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x321d570790fd2f109fe4e55aa419adf2fce0c842.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x3221bfbe308144f19089cb197b7c11c2bf495906.abi.json b/tests/networks/ethereum/stakekit/abis/0x3221bfbe308144f19089cb197b7c11c2bf495906.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x3221bfbe308144f19089cb197b7c11c2bf495906.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x378cb52b00f9d0921cb46dfc099cff73b42419dc.abi.json b/tests/networks/ethereum/stakekit/abis/0x378cb52b00f9d0921cb46dfc099cff73b42419dc.abi.json deleted file mode 100644 index a26af95..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x378cb52b00f9d0921cb46dfc099cff73b42419dc.abi.json +++ /dev/null @@ -1,1643 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 5946 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 108344 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 73194 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 37665 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 38937 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 39075 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 39626 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37789 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39065 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39199 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39229 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 41773 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 41844 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 1090134 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 79308 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 121671 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38241 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42882 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42906 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 91494 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 8698 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1576655 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 77734 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1523989 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 124263 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47611 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47641 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42854 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1190208 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1255644 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23636673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 21381 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1239256 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 13920 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 11673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3923 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4168 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 22641 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4057 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 3978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4128 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4158 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4188 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4218 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4248 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4278 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4523 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 4338 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x39caf13a104ff567f71fd2a4c68c026fdb6e740b.abi.json b/tests/networks/ethereum/stakekit/abis/0x39caf13a104ff567f71fd2a4c68c026fdb6e740b.abi.json deleted file mode 100644 index a3f716d..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x39caf13a104ff567f71fd2a4c68c026fdb6e740b.abi.json +++ /dev/null @@ -1,1658 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 4546 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 107044 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 71894 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 36365 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 37637 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 37775 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address" - } - ], - "outputs": [], - "gas": 37805 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 37835 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegration", - "inputs": [ - { - "name": "degration", - "type": "uint256" - } - ], - "outputs": [], - "gas": 36519 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37795 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37929 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37959 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 39203 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 39274 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 763950 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 76768 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 116531 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38271 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40312 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40336 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 81264 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 383839 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 18195 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1485796 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 115193 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42441 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42471 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 41251 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1141468 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1199804 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23088703 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 9551 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1015170 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 8750 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 7803 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2408 - }, - { - "stateMutability": "view", - "type": "function", - "name": "precisionFactor", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2438 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2683 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2928 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2528 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2558 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2588 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2618 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2648 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guestList", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 11031 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2847 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 2768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2918 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2948 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegration", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3313 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 3128 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x3a51269e0707a3416044bad5066858a12198fcf5.abi.json b/tests/networks/ethereum/stakekit/abis/0x3a51269e0707a3416044bad5066858a12198fcf5.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x3a51269e0707a3416044bad5066858a12198fcf5.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x3b27f92c0e212c671ea351827edf93db27cc0c65.abi.json b/tests/networks/ethereum/stakekit/abis/0x3b27f92c0e212c671ea351827edf93db27cc0c65.abi.json deleted file mode 100644 index a26af95..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x3b27f92c0e212c671ea351827edf93db27cc0c65.abi.json +++ /dev/null @@ -1,1643 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 5946 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 108344 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 73194 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 37665 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 38937 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 39075 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 39626 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37789 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39065 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39199 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39229 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 41773 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 41844 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 1090134 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 79308 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 121671 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38241 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42882 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42906 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 91494 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 8698 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1576655 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 77734 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1523989 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 124263 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47611 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47641 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42854 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1190208 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1255644 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23636673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 21381 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1239256 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 13920 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 11673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3923 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4168 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 22641 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4057 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 3978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4128 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4158 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4188 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4218 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4248 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4278 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4523 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 4338 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x3b96d491f067912d18563d56858ba7d6ec67a6fa.abi.json b/tests/networks/ethereum/stakekit/abis/0x3b96d491f067912d18563d56858ba7d6ec67a6fa.abi.json deleted file mode 100644 index a3f716d..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x3b96d491f067912d18563d56858ba7d6ec67a6fa.abi.json +++ /dev/null @@ -1,1658 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 4546 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 107044 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 71894 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 36365 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 37637 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 37775 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address" - } - ], - "outputs": [], - "gas": 37805 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 37835 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegration", - "inputs": [ - { - "name": "degration", - "type": "uint256" - } - ], - "outputs": [], - "gas": 36519 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37795 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37929 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37959 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 39203 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 39274 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 763950 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 76768 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 116531 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38271 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40312 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40336 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 81264 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 383839 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 18195 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1485796 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 115193 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42441 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42471 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 41251 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1141468 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1199804 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23088703 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 9551 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1015170 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 8750 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 7803 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2408 - }, - { - "stateMutability": "view", - "type": "function", - "name": "precisionFactor", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2438 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2683 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2928 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2528 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2558 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2588 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2618 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2648 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guestList", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 11031 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2847 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 2768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2918 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2948 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegration", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3313 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 3128 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x3c5df3077bcf800640b5dae8c91106575a4826e6.abi.json b/tests/networks/ethereum/stakekit/abis/0x3c5df3077bcf800640b5dae8c91106575a4826e6.abi.json deleted file mode 100644 index a3f716d..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x3c5df3077bcf800640b5dae8c91106575a4826e6.abi.json +++ /dev/null @@ -1,1658 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 4546 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 107044 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 71894 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 36365 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 37637 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 37775 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address" - } - ], - "outputs": [], - "gas": 37805 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 37835 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegration", - "inputs": [ - { - "name": "degration", - "type": "uint256" - } - ], - "outputs": [], - "gas": 36519 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37795 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37929 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37959 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 39203 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 39274 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 763950 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 76768 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 116531 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38271 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40312 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40336 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 81264 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 383839 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 18195 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1485796 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 115193 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42441 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42471 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 41251 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1141468 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1199804 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23088703 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 9551 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1015170 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 8750 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 7803 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2408 - }, - { - "stateMutability": "view", - "type": "function", - "name": "precisionFactor", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2438 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2683 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2928 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2528 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2558 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2588 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2618 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2648 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guestList", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 11031 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2847 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 2768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2918 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2948 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegration", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3313 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 3128 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x3d27705c64213a5dcd9d26880c1bcfa72d5b6b0e.abi.json b/tests/networks/ethereum/stakekit/abis/0x3d27705c64213a5dcd9d26880c1bcfa72d5b6b0e.abi.json deleted file mode 100644 index a3f716d..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x3d27705c64213a5dcd9d26880c1bcfa72d5b6b0e.abi.json +++ /dev/null @@ -1,1658 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 4546 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 107044 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 71894 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 36365 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 37637 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 37775 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address" - } - ], - "outputs": [], - "gas": 37805 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 37835 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegration", - "inputs": [ - { - "name": "degration", - "type": "uint256" - } - ], - "outputs": [], - "gas": 36519 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37795 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37929 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37959 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 39203 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 39274 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 763950 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 76768 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 116531 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38271 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40312 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40336 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 81264 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 383839 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 18195 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1485796 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 115193 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42441 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42471 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 41251 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1141468 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1199804 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23088703 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 9551 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1015170 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 8750 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 7803 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2408 - }, - { - "stateMutability": "view", - "type": "function", - "name": "precisionFactor", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2438 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2683 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2928 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2528 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2558 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2588 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2618 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2648 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guestList", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 11031 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2847 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 2768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2918 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2948 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegration", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3313 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 3128 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x3d980e50508cfd41a13837a60149927a11c03731.abi.json b/tests/networks/ethereum/stakekit/abis/0x3d980e50508cfd41a13837a60149927a11c03731.abi.json deleted file mode 100644 index 4b756ee..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x3d980e50508cfd41a13837a60149927a11c03731.abi.json +++ /dev/null @@ -1,1643 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 5946 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 108344 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 73194 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 37665 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 38937 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 39075 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 39626 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37789 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39065 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39199 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39229 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 41773 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 41844 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 1090134 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 79308 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 121671 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38241 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42882 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42906 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 91494 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 8698 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 830798 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 43519 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1523989 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 124263 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47611 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47641 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42854 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1190208 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1255644 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23636673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 21381 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1170904 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 13920 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 11673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3923 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4168 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 22641 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4057 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 3978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4128 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4158 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4188 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4218 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4248 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4278 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4523 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 4338 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x3e720ba935bf137d45a3c98938db1f4c8517298e.abi.json b/tests/networks/ethereum/stakekit/abis/0x3e720ba935bf137d45a3c98938db1f4c8517298e.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x3e720ba935bf137d45a3c98938db1f4c8517298e.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x3f34a7ef4f17528cbffb7817060941bcdac924fa.abi.json b/tests/networks/ethereum/stakekit/abis/0x3f34a7ef4f17528cbffb7817060941bcdac924fa.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x3f34a7ef4f17528cbffb7817060941bcdac924fa.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x4213458c69c19e6792510e1153cb0c5834665fdc.abi.json b/tests/networks/ethereum/stakekit/abis/0x4213458c69c19e6792510e1153cb0c5834665fdc.abi.json deleted file mode 100644 index a26af95..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x4213458c69c19e6792510e1153cb0c5834665fdc.abi.json +++ /dev/null @@ -1,1643 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 5946 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 108344 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 73194 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 37665 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 38937 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 39075 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 39626 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37789 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39065 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39199 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39229 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 41773 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 41844 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 1090134 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 79308 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 121671 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38241 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42882 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42906 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 91494 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 8698 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1576655 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 77734 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1523989 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 124263 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47611 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47641 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42854 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1190208 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1255644 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23636673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 21381 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1239256 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 13920 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 11673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3923 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4168 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 22641 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4057 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 3978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4128 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4158 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4188 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4218 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4248 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4278 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4523 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 4338 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x429ea2d8d5b06ca40dd986fac0734ba0e0cac022.abi.json b/tests/networks/ethereum/stakekit/abis/0x429ea2d8d5b06ca40dd986fac0734ba0e0cac022.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x429ea2d8d5b06ca40dd986fac0734ba0e0cac022.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x445f62ee351e57cacbf3161f66562ff2b1261db4.abi.json b/tests/networks/ethereum/stakekit/abis/0x445f62ee351e57cacbf3161f66562ff2b1261db4.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x445f62ee351e57cacbf3161f66562ff2b1261db4.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x4560b99c904aad03027b5178cca81584744ac01f.abi.json b/tests/networks/ethereum/stakekit/abis/0x4560b99c904aad03027b5178cca81584744ac01f.abi.json deleted file mode 100644 index a26af95..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x4560b99c904aad03027b5178cca81584744ac01f.abi.json +++ /dev/null @@ -1,1643 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 5946 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 108344 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 73194 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 37665 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 38937 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 39075 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 39626 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37789 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39065 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39199 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39229 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 41773 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 41844 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 1090134 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 79308 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 121671 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38241 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42882 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42906 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 91494 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 8698 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1576655 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 77734 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1523989 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 124263 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47611 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47641 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42854 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1190208 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1255644 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23636673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 21381 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1239256 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 13920 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 11673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3923 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4168 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 22641 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4057 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 3978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4128 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4158 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4188 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4218 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4248 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4278 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4523 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 4338 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x490bd0886f221a5f79713d3e84404355a9293c50.abi.json b/tests/networks/ethereum/stakekit/abis/0x490bd0886f221a5f79713d3e84404355a9293c50.abi.json deleted file mode 100644 index a26af95..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x490bd0886f221a5f79713d3e84404355a9293c50.abi.json +++ /dev/null @@ -1,1643 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 5946 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 108344 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 73194 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 37665 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 38937 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 39075 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 39626 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37789 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39065 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39199 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39229 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 41773 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 41844 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 1090134 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 79308 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 121671 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38241 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42882 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42906 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 91494 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 8698 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1576655 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 77734 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1523989 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 124263 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47611 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47641 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42854 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1190208 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1255644 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23636673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 21381 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1239256 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 13920 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 11673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3923 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4168 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 22641 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4057 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 3978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4128 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4158 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4188 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4218 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4248 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4278 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4523 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 4338 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x4a3fe75762017db0ed73a71c9a06db7768db5e66.abi.json b/tests/networks/ethereum/stakekit/abis/0x4a3fe75762017db0ed73a71c9a06db7768db5e66.abi.json deleted file mode 100644 index a26af95..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x4a3fe75762017db0ed73a71c9a06db7768db5e66.abi.json +++ /dev/null @@ -1,1643 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 5946 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 108344 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 73194 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 37665 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 38937 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 39075 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 39626 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37789 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39065 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39199 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39229 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 41773 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 41844 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 1090134 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 79308 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 121671 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38241 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42882 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42906 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 91494 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 8698 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1576655 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 77734 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1523989 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 124263 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47611 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47641 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42854 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1190208 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1255644 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23636673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 21381 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1239256 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 13920 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 11673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3923 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4168 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 22641 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4057 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 3978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4128 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4158 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4188 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4218 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4248 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4278 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4523 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 4338 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x4b5bfd52124784745c1071dcb244c6688d2533d3.abi.json b/tests/networks/ethereum/stakekit/abis/0x4b5bfd52124784745c1071dcb244c6688d2533d3.abi.json deleted file mode 100644 index a3f716d..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x4b5bfd52124784745c1071dcb244c6688d2533d3.abi.json +++ /dev/null @@ -1,1658 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 4546 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 107044 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 71894 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 36365 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 37637 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 37775 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address" - } - ], - "outputs": [], - "gas": 37805 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 37835 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegration", - "inputs": [ - { - "name": "degration", - "type": "uint256" - } - ], - "outputs": [], - "gas": 36519 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37795 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37929 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37959 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 39203 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 39274 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 763950 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 76768 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 116531 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38271 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40312 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40336 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 81264 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 383839 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 18195 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1485796 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 115193 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42441 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42471 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 41251 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1141468 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1199804 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23088703 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 9551 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1015170 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 8750 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 7803 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2408 - }, - { - "stateMutability": "view", - "type": "function", - "name": "precisionFactor", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2438 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2683 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2928 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2528 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2558 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2588 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2618 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2648 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guestList", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 11031 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2847 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 2768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2918 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2948 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegration", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3313 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 3128 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x4cb5483d87028518c5f35a49c151612a062bfcd0.abi.json b/tests/networks/ethereum/stakekit/abis/0x4cb5483d87028518c5f35a49c151612a062bfcd0.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x4cb5483d87028518c5f35a49c151612a062bfcd0.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x4cbb6a5ec00ceec252a7091559484f7adb83165f.abi.json b/tests/networks/ethereum/stakekit/abis/0x4cbb6a5ec00ceec252a7091559484f7adb83165f.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x4cbb6a5ec00ceec252a7091559484f7adb83165f.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x507c6de33f50c0505f77f598c0b3ca7b5feb3d68.abi.json b/tests/networks/ethereum/stakekit/abis/0x507c6de33f50c0505f77f598c0b3ca7b5feb3d68.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x507c6de33f50c0505f77f598c0b3ca7b5feb3d68.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x528d50dc9a333f01544177a924893fa1f5b9f748.abi.json b/tests/networks/ethereum/stakekit/abis/0x528d50dc9a333f01544177a924893fa1f5b9f748.abi.json deleted file mode 100644 index a26af95..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x528d50dc9a333f01544177a924893fa1f5b9f748.abi.json +++ /dev/null @@ -1,1643 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 5946 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 108344 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 73194 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 37665 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 38937 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 39075 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 39626 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37789 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39065 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39199 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39229 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 41773 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 41844 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 1090134 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 79308 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 121671 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38241 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42882 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42906 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 91494 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 8698 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1576655 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 77734 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1523989 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 124263 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47611 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47641 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42854 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1190208 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1255644 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23636673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 21381 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1239256 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 13920 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 11673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3923 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4168 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 22641 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4057 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 3978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4128 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4158 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4188 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4218 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4248 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4278 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4523 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 4338 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x5331009b82853e9fb711bc0b300e1b374724adac.abi.json b/tests/networks/ethereum/stakekit/abis/0x5331009b82853e9fb711bc0b300e1b374724adac.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x5331009b82853e9fb711bc0b300e1b374724adac.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x5359680a80c1fb2175cd33eff32f762e43cd8c41.abi.json b/tests/networks/ethereum/stakekit/abis/0x5359680a80c1fb2175cd33eff32f762e43cd8c41.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x5359680a80c1fb2175cd33eff32f762e43cd8c41.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x571b384636ba518697d745ac218ad4cee5ee0abc.abi.json b/tests/networks/ethereum/stakekit/abis/0x571b384636ba518697d745ac218ad4cee5ee0abc.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x571b384636ba518697d745ac218ad4cee5ee0abc.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x59518884eebfb03e90a18adbaaab770d4666471e.abi.json b/tests/networks/ethereum/stakekit/abis/0x59518884eebfb03e90a18adbaaab770d4666471e.abi.json deleted file mode 100644 index a26af95..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x59518884eebfb03e90a18adbaaab770d4666471e.abi.json +++ /dev/null @@ -1,1643 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 5946 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 108344 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 73194 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 37665 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 38937 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 39075 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 39626 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37789 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39065 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39199 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39229 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 41773 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 41844 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 1090134 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 79308 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 121671 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38241 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42882 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42906 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 91494 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 8698 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1576655 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 77734 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1523989 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 124263 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47611 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47641 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42854 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1190208 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1255644 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23636673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 21381 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1239256 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 13920 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 11673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3923 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4168 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 22641 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4057 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 3978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4128 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4158 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4188 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4218 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4248 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4278 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4523 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 4338 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x595a68a8c9d5c230001848b69b1947ee2a607164.abi.json b/tests/networks/ethereum/stakekit/abis/0x595a68a8c9d5c230001848b69b1947ee2a607164.abi.json deleted file mode 100644 index a26af95..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x595a68a8c9d5c230001848b69b1947ee2a607164.abi.json +++ /dev/null @@ -1,1643 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 5946 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 108344 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 73194 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 37665 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 38937 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 39075 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 39626 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37789 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39065 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39199 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39229 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 41773 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 41844 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 1090134 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 79308 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 121671 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38241 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42882 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42906 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 91494 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 8698 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1576655 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 77734 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1523989 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 124263 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47611 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47641 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42854 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1190208 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1255644 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23636673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 21381 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1239256 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 13920 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 11673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3923 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4168 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 22641 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4057 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 3978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4128 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4158 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4188 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4218 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4248 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4278 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4523 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 4338 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x5a770dbd3ee6baf2802d29a901ef11501c44797a.abi.json b/tests/networks/ethereum/stakekit/abis/0x5a770dbd3ee6baf2802d29a901ef11501c44797a.abi.json deleted file mode 100644 index a3f716d..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x5a770dbd3ee6baf2802d29a901ef11501c44797a.abi.json +++ /dev/null @@ -1,1658 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 4546 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 107044 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 71894 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 36365 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 37637 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 37775 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address" - } - ], - "outputs": [], - "gas": 37805 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 37835 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegration", - "inputs": [ - { - "name": "degration", - "type": "uint256" - } - ], - "outputs": [], - "gas": 36519 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37795 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37929 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37959 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 39203 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 39274 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 763950 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 76768 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 116531 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38271 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40312 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40336 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 81264 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 383839 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 18195 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1485796 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 115193 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42441 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42471 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 41251 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1141468 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1199804 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23088703 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 9551 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1015170 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 8750 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 7803 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2408 - }, - { - "stateMutability": "view", - "type": "function", - "name": "precisionFactor", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2438 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2683 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2928 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2528 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2558 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2588 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2618 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2648 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guestList", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 11031 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2847 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 2768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2918 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2948 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegration", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3313 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 3128 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x5ab64c599fcc59f0f2726a300b03166a395578da.abi.json b/tests/networks/ethereum/stakekit/abis/0x5ab64c599fcc59f0f2726a300b03166a395578da.abi.json deleted file mode 100644 index a26af95..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x5ab64c599fcc59f0f2726a300b03166a395578da.abi.json +++ /dev/null @@ -1,1643 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 5946 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 108344 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 73194 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 37665 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 38937 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 39075 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 39626 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37789 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39065 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39199 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39229 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 41773 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 41844 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 1090134 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 79308 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 121671 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38241 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42882 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42906 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 91494 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 8698 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1576655 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 77734 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1523989 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 124263 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47611 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47641 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42854 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1190208 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1255644 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23636673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 21381 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1239256 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 13920 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 11673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3923 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4168 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 22641 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4057 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 3978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4128 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4158 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4188 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4218 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4248 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4278 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4523 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 4338 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x5b2384d566d2e4a0b29b8eccb642c63199cd393c.abi.json b/tests/networks/ethereum/stakekit/abis/0x5b2384d566d2e4a0b29b8eccb642c63199cd393c.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x5b2384d566d2e4a0b29b8eccb642c63199cd393c.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x5b8c556b8b2a78696f0b9b830b3d67623122e270.abi.json b/tests/networks/ethereum/stakekit/abis/0x5b8c556b8b2a78696f0b9b830b3d67623122e270.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x5b8c556b8b2a78696f0b9b830b3d67623122e270.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x5cbf567cb0c3d319a052c91efb3b3318899338df.abi.json b/tests/networks/ethereum/stakekit/abis/0x5cbf567cb0c3d319a052c91efb3b3318899338df.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x5cbf567cb0c3d319a052c91efb3b3318899338df.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x5e69e8b51b71c8596817fd442849bd44219bb095.abi.json b/tests/networks/ethereum/stakekit/abis/0x5e69e8b51b71c8596817fd442849bd44219bb095.abi.json deleted file mode 100644 index a26af95..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x5e69e8b51b71c8596817fd442849bd44219bb095.abi.json +++ /dev/null @@ -1,1643 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 5946 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 108344 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 73194 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 37665 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 38937 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 39075 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 39626 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37789 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39065 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39199 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39229 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 41773 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 41844 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 1090134 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 79308 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 121671 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38241 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42882 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42906 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 91494 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 8698 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1576655 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 77734 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1523989 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 124263 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47611 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47641 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42854 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1190208 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1255644 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23636673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 21381 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1239256 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 13920 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 11673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3923 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4168 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 22641 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4057 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 3978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4128 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4158 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4188 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4218 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4248 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4278 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4523 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 4338 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x5f18c75abdae578b483e5f43f12a39cf75b973a9.abi.json b/tests/networks/ethereum/stakekit/abis/0x5f18c75abdae578b483e5f43f12a39cf75b973a9.abi.json deleted file mode 100644 index d95bc34..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x5f18c75abdae578b483e5f43f12a39cf75b973a9.abi.json +++ /dev/null @@ -1,1554 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "type": "address", - "name": "sender", - "indexed": true - }, - { - "type": "address", - "name": "receiver", - "indexed": true - }, - { - "type": "uint256", - "name": "value", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "type": "address", - "name": "owner", - "indexed": true - }, - { - "type": "address", - "name": "spender", - "indexed": true - }, - { - "type": "uint256", - "name": "value", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "debtRatio", - "indexed": false - }, - { - "type": "uint256", - "name": "rateLimit", - "indexed": false - }, - { - "type": "uint256", - "name": "performanceFee", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "gain", - "indexed": false - }, - { - "type": "uint256", - "name": "loss", - "indexed": false - }, - { - "type": "uint256", - "name": "totalGain", - "indexed": false - }, - { - "type": "uint256", - "name": "totalLoss", - "indexed": false - }, - { - "type": "uint256", - "name": "totalDebt", - "indexed": false - }, - { - "type": "uint256", - "name": "debtAdded", - "indexed": false - }, - { - "type": "uint256", - "name": "debtRatio", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "type": "address", - "name": "governance", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "type": "address", - "name": "management", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuestList", - "inputs": [ - { - "type": "address", - "name": "guestList", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "type": "address", - "name": "rewards", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "type": "uint256", - "name": "depositLimit", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "type": "uint256", - "name": "performanceFee", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "type": "uint256", - "name": "managementFee", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "type": "address", - "name": "guardian", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "type": "bool", - "name": "active", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "type": "address[20]", - "name": "queue", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "debtRatio", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateRateLimit", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "rateLimit", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "performanceFee", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "type": "address", - "name": "oldVersion", - "indexed": true - }, - { - "type": "address", - "name": "newVersion", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "initialize", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "token" - }, - { - "type": "address", - "name": "governance" - }, - { - "type": "address", - "name": "rewards" - }, - { - "type": "string", - "name": "nameOverride" - }, - { - "type": "string", - "name": "symbolOverride" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "initialize", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "token" - }, - { - "type": "address", - "name": "governance" - }, - { - "type": "address", - "name": "rewards" - }, - { - "type": "string", - "name": "nameOverride" - }, - { - "type": "string", - "name": "symbolOverride" - }, - { - "type": "address", - "name": "guardian" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "apiVersion", - "outputs": [ - { - "type": "string", - "name": "" - } - ], - "inputs": [], - "stateMutability": "pure", - "type": "function", - "gas": 4519 - }, - { - "name": "setName", - "outputs": [], - "inputs": [ - { - "type": "string", - "name": "name" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 107017 - }, - { - "name": "setSymbol", - "outputs": [], - "inputs": [ - { - "type": "string", - "name": "symbol" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 71867 - }, - { - "name": "setGovernance", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "governance" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 36338 - }, - { - "name": "acceptGovernance", - "outputs": [], - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37610 - }, - { - "name": "setManagement", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "management" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37748 - }, - { - "name": "setGuestList", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "guestList" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37778 - }, - { - "name": "setRewards", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "rewards" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37808 - }, - { - "name": "setDepositLimit", - "outputs": [], - "inputs": [ - { - "type": "uint256", - "name": "limit" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37738 - }, - { - "name": "setPerformanceFee", - "outputs": [], - "inputs": [ - { - "type": "uint256", - "name": "fee" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37872 - }, - { - "name": "setManagementFee", - "outputs": [], - "inputs": [ - { - "type": "uint256", - "name": "fee" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37902 - }, - { - "name": "setGuardian", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "guardian" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 39146 - }, - { - "name": "setEmergencyShutdown", - "outputs": [], - "inputs": [ - { - "type": "bool", - "name": "active" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 39217 - }, - { - "name": "setWithdrawalQueue", - "outputs": [], - "inputs": [ - { - "type": "address[20]", - "name": "queue" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 763893 - }, - { - "name": "transfer", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "receiver" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 76733 - }, - { - "name": "transferFrom", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "sender" - }, - { - "type": "address", - "name": "receiver" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 116496 - }, - { - "name": "approve", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "spender" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 38244 - }, - { - "name": "increaseAllowance", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "spender" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 40285 - }, - { - "name": "decreaseAllowance", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "spender" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 40309 - }, - { - "name": "permit", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "owner" - }, - { - "type": "address", - "name": "spender" - }, - { - "type": "uint256", - "name": "amount" - }, - { - "type": "uint256", - "name": "expiry" - }, - { - "type": "bytes", - "name": "signature" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 81237 - }, - { - "name": "totalAssets", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 4123 - }, - { - "name": "deposit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "deposit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "_amount" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "deposit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "_amount" - }, - { - "type": "address", - "name": "recipient" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "maxAvailableShares", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 364171 - }, - { - "name": "withdraw", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "withdraw", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "maxShares" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "withdraw", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "maxShares" - }, - { - "type": "address", - "name": "recipient" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "withdraw", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "maxShares" - }, - { - "type": "address", - "name": "recipient" - }, - { - "type": "uint256", - "name": "maxLoss" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "pricePerShare", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 12412 - }, - { - "name": "addStrategy", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - }, - { - "type": "uint256", - "name": "debtRatio" - }, - { - "type": "uint256", - "name": "rateLimit" - }, - { - "type": "uint256", - "name": "performanceFee" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 1450351 - }, - { - "name": "updateStrategyDebtRatio", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - }, - { - "type": "uint256", - "name": "debtRatio" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 115316 - }, - { - "name": "updateStrategyRateLimit", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - }, - { - "type": "uint256", - "name": "rateLimit" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 41467 - }, - { - "name": "updateStrategyPerformanceFee", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - }, - { - "type": "uint256", - "name": "performanceFee" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 41344 - }, - { - "name": "migrateStrategy", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "oldVersion" - }, - { - "type": "address", - "name": "newVersion" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 1105801 - }, - { - "name": "revokeStrategy", - "outputs": [], - "inputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "revokeStrategy", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "addStrategyToQueue", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 1196920 - }, - { - "name": "removeStrategyFromQueue", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 23091666 - }, - { - "name": "debtOutstanding", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function" - }, - { - "name": "debtOutstanding", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "name": "creditAvailable", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function" - }, - { - "name": "creditAvailable", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "name": "availableDepositLimit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 9808 - }, - { - "name": "expectedReturn", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function" - }, - { - "name": "expectedReturn", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "name": "report", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "gain" - }, - { - "type": "uint256", - "name": "loss" - }, - { - "type": "uint256", - "name": "_debtPayment" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 937520 - }, - { - "name": "sweep", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "token" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "sweep", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "token" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "name", - "outputs": [ - { - "type": "string", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 9053 - }, - { - "name": "symbol", - "outputs": [ - { - "type": "string", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 8106 - }, - { - "name": "decimals", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2711 - }, - { - "name": "balanceOf", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "arg0" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 2956 - }, - { - "name": "allowance", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "arg0" - }, - { - "type": "address", - "name": "arg1" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 3201 - }, - { - "name": "totalSupply", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2801 - }, - { - "name": "token", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2831 - }, - { - "name": "governance", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2861 - }, - { - "name": "management", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2891 - }, - { - "name": "guardian", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2921 - }, - { - "name": "guestList", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2951 - }, - { - "name": "strategies", - "outputs": [ - { - "type": "uint256", - "name": "performanceFee" - }, - { - "type": "uint256", - "name": "activation" - }, - { - "type": "uint256", - "name": "debtRatio" - }, - { - "type": "uint256", - "name": "rateLimit" - }, - { - "type": "uint256", - "name": "lastReport" - }, - { - "type": "uint256", - "name": "totalDebt" - }, - { - "type": "uint256", - "name": "totalGain" - }, - { - "type": "uint256", - "name": "totalLoss" - } - ], - "inputs": [ - { - "type": "address", - "name": "arg0" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 10322 - }, - { - "name": "withdrawalQueue", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "arg0" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 3120 - }, - { - "name": "emergencyShutdown", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3041 - }, - { - "name": "depositLimit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3071 - }, - { - "name": "debtRatio", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3101 - }, - { - "name": "totalDebt", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3131 - }, - { - "name": "lastReport", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3161 - }, - { - "name": "activation", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3191 - }, - { - "name": "rewards", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3221 - }, - { - "name": "managementFee", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3251 - }, - { - "name": "performanceFee", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3281 - }, - { - "name": "nonces", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "arg0" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 3526 - }, - { - "name": "DOMAIN_SEPARATOR", - "outputs": [ - { - "type": "bytes32", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3341 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x5f208d3a8b13062ade45a33ca9bc8de64d520cb9.abi.json b/tests/networks/ethereum/stakekit/abis/0x5f208d3a8b13062ade45a33ca9bc8de64d520cb9.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x5f208d3a8b13062ade45a33ca9bc8de64d520cb9.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x5fa5b62c8af877cb37031e0a3b2f34a78e3c56a6.abi.json b/tests/networks/ethereum/stakekit/abis/0x5fa5b62c8af877cb37031e0a3b2f34a78e3c56a6.abi.json deleted file mode 100644 index a3f716d..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x5fa5b62c8af877cb37031e0a3b2f34a78e3c56a6.abi.json +++ /dev/null @@ -1,1658 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 4546 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 107044 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 71894 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 36365 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 37637 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 37775 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address" - } - ], - "outputs": [], - "gas": 37805 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 37835 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegration", - "inputs": [ - { - "name": "degration", - "type": "uint256" - } - ], - "outputs": [], - "gas": 36519 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37795 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37929 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37959 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 39203 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 39274 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 763950 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 76768 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 116531 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38271 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40312 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40336 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 81264 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 383839 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 18195 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1485796 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 115193 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42441 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42471 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 41251 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1141468 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1199804 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23088703 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 9551 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1015170 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 8750 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 7803 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2408 - }, - { - "stateMutability": "view", - "type": "function", - "name": "precisionFactor", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2438 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2683 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2928 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2528 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2558 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2588 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2618 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2648 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guestList", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 11031 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2847 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 2768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2918 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2948 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegration", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3313 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 3128 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x5faf6a2d186448dfa667c51cb3d695c7a6e52d8e.abi.json b/tests/networks/ethereum/stakekit/abis/0x5faf6a2d186448dfa667c51cb3d695c7a6e52d8e.abi.json deleted file mode 100644 index a26af95..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x5faf6a2d186448dfa667c51cb3d695c7a6e52d8e.abi.json +++ /dev/null @@ -1,1643 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 5946 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 108344 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 73194 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 37665 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 38937 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 39075 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 39626 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37789 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39065 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39199 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39229 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 41773 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 41844 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 1090134 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 79308 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 121671 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38241 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42882 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42906 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 91494 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 8698 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1576655 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 77734 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1523989 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 124263 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47611 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47641 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42854 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1190208 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1255644 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23636673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 21381 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1239256 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 13920 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 11673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3923 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4168 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 22641 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4057 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 3978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4128 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4158 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4188 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4218 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4248 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4278 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4523 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 4338 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x625b7df2fa8abe21b0a976736cda4775523aed1e.abi.json b/tests/networks/ethereum/stakekit/abis/0x625b7df2fa8abe21b0a976736cda4775523aed1e.abi.json deleted file mode 100644 index 8f61d99..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x625b7df2fa8abe21b0a976736cda4775523aed1e.abi.json +++ /dev/null @@ -1,1645 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 4546 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 107044 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 71894 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 36365 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 37637 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 37775 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address" - } - ], - "outputs": [], - "gas": 37805 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 37835 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegration", - "inputs": [ - { - "name": "degration", - "type": "uint256" - } - ], - "outputs": [], - "gas": 36519 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37795 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37929 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37959 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 39203 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 39274 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 763950 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 76768 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 116531 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38271 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40312 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40336 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 81264 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 366010 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 16930 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1485796 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 115193 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42441 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42471 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 41251 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1141468 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1199804 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23088703 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 9551 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1005750 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 8750 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 7803 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2408 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2653 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2898 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2498 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2528 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2558 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2588 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2618 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guestList", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2648 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 11001 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2817 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 2738 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2918 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegration", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2948 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3283 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 3098 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x63bd3bbb6c5cb6e457c3f3cbb2d8aa2536e319f1.abi.json b/tests/networks/ethereum/stakekit/abis/0x63bd3bbb6c5cb6e457c3f3cbb2d8aa2536e319f1.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x63bd3bbb6c5cb6e457c3f3cbb2d8aa2536e319f1.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x63c5c0604ec410130c69c958acab81794f7a622f.abi.json b/tests/networks/ethereum/stakekit/abis/0x63c5c0604ec410130c69c958acab81794f7a622f.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x63c5c0604ec410130c69c958acab81794f7a622f.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x65346970f0f66ccad8a5bfc3a03c96836c1897be.abi.json b/tests/networks/ethereum/stakekit/abis/0x65346970f0f66ccad8a5bfc3a03c96836c1897be.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x65346970f0f66ccad8a5bfc3a03c96836c1897be.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x671a912c10bba0cfa74cfc2d6fba9ba1ed9530b2.abi.json b/tests/networks/ethereum/stakekit/abis/0x671a912c10bba0cfa74cfc2d6fba9ba1ed9530b2.abi.json deleted file mode 100644 index 4b756ee..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x671a912c10bba0cfa74cfc2d6fba9ba1ed9530b2.abi.json +++ /dev/null @@ -1,1643 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 5946 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 108344 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 73194 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 37665 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 38937 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 39075 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 39626 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37789 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39065 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39199 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39229 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 41773 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 41844 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 1090134 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 79308 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 121671 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38241 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42882 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42906 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 91494 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 8698 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 830798 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 43519 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1523989 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 124263 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47611 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47641 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42854 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1190208 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1255644 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23636673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 21381 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1170904 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 13920 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 11673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3923 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4168 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 22641 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4057 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 3978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4128 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4158 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4188 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4218 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4248 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4278 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4523 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 4338 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x67e019bfbd5a67207755d04467d6a70c0b75bf60.abi.json b/tests/networks/ethereum/stakekit/abis/0x67e019bfbd5a67207755d04467d6a70c0b75bf60.abi.json deleted file mode 100644 index a26af95..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x67e019bfbd5a67207755d04467d6a70c0b75bf60.abi.json +++ /dev/null @@ -1,1643 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 5946 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 108344 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 73194 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 37665 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 38937 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 39075 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 39626 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37789 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39065 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39199 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39229 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 41773 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 41844 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 1090134 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 79308 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 121671 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38241 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42882 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42906 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 91494 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 8698 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1576655 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 77734 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1523989 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 124263 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47611 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47641 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42854 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1190208 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1255644 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23636673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 21381 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1239256 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 13920 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 11673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3923 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4168 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 22641 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4057 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 3978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4128 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4158 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4188 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4218 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4248 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4278 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4523 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 4338 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x6949145469362f9eeab3c96ea41b51d9b4cc2b21.abi.json b/tests/networks/ethereum/stakekit/abis/0x6949145469362f9eeab3c96ea41b51d9b4cc2b21.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x6949145469362f9eeab3c96ea41b51d9b4cc2b21.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x6a5468752f8db94134b6508dabac54d3b45efce6.abi.json b/tests/networks/ethereum/stakekit/abis/0x6a5468752f8db94134b6508dabac54d3b45efce6.abi.json deleted file mode 100644 index a26af95..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x6a5468752f8db94134b6508dabac54d3b45efce6.abi.json +++ /dev/null @@ -1,1643 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 5946 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 108344 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 73194 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 37665 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 38937 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 39075 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 39626 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37789 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39065 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39199 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39229 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 41773 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 41844 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 1090134 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 79308 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 121671 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38241 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42882 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42906 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 91494 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 8698 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1576655 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 77734 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1523989 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 124263 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47611 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47641 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42854 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1190208 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1255644 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23636673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 21381 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1239256 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 13920 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 11673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3923 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4168 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 22641 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4057 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 3978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4128 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4158 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4188 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4218 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4248 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4278 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4523 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 4338 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x6a7a0481e476827857704b87bdee7922d058cbe4.abi.json b/tests/networks/ethereum/stakekit/abis/0x6a7a0481e476827857704b87bdee7922d058cbe4.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x6a7a0481e476827857704b87bdee7922d058cbe4.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x6b5ce31af687a671a804d8070ddda99cab926dfe.abi.json b/tests/networks/ethereum/stakekit/abis/0x6b5ce31af687a671a804d8070ddda99cab926dfe.abi.json deleted file mode 100644 index a26af95..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x6b5ce31af687a671a804d8070ddda99cab926dfe.abi.json +++ /dev/null @@ -1,1643 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 5946 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 108344 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 73194 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 37665 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 38937 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 39075 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 39626 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37789 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39065 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39199 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39229 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 41773 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 41844 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 1090134 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 79308 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 121671 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38241 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42882 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42906 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 91494 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 8698 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1576655 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 77734 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1523989 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 124263 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47611 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47641 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42854 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1190208 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1255644 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23636673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 21381 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1239256 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 13920 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 11673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3923 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4168 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 22641 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4057 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 3978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4128 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4158 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4188 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4218 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4248 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4278 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4523 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 4338 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x6c6371e15499fedcdadee06adc5b55680b3d0785.abi.json b/tests/networks/ethereum/stakekit/abis/0x6c6371e15499fedcdadee06adc5b55680b3d0785.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x6c6371e15499fedcdadee06adc5b55680b3d0785.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x6d765cbe5bc922694afe112c140b8878b9fb0390.abi.json b/tests/networks/ethereum/stakekit/abis/0x6d765cbe5bc922694afe112c140b8878b9fb0390.abi.json deleted file mode 100644 index a26af95..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x6d765cbe5bc922694afe112c140b8878b9fb0390.abi.json +++ /dev/null @@ -1,1643 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 5946 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 108344 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 73194 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 37665 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 38937 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 39075 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 39626 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37789 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39065 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39199 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39229 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 41773 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 41844 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 1090134 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 79308 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 121671 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38241 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42882 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42906 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 91494 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 8698 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1576655 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 77734 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1523989 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 124263 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47611 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47641 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42854 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1190208 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1255644 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23636673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 21381 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1239256 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 13920 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 11673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3923 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4168 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 22641 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4057 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 3978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4128 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4158 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4188 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4218 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4248 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4278 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4523 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 4338 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x6e9455d109202b426169f0d8f01a3332dae160f3.abi.json b/tests/networks/ethereum/stakekit/abis/0x6e9455d109202b426169f0d8f01a3332dae160f3.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x6e9455d109202b426169f0d8f01a3332dae160f3.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x6ede7f19df5df6ef23bd5b9cedb651580bdf56ca.abi.json b/tests/networks/ethereum/stakekit/abis/0x6ede7f19df5df6ef23bd5b9cedb651580bdf56ca.abi.json deleted file mode 100644 index a3f716d..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x6ede7f19df5df6ef23bd5b9cedb651580bdf56ca.abi.json +++ /dev/null @@ -1,1658 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 4546 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 107044 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 71894 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 36365 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 37637 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 37775 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address" - } - ], - "outputs": [], - "gas": 37805 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 37835 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegration", - "inputs": [ - { - "name": "degration", - "type": "uint256" - } - ], - "outputs": [], - "gas": 36519 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37795 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37929 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37959 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 39203 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 39274 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 763950 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 76768 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 116531 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38271 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40312 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40336 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 81264 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 383839 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 18195 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1485796 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 115193 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42441 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42471 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 41251 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1141468 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1199804 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23088703 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 9551 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1015170 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 8750 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 7803 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2408 - }, - { - "stateMutability": "view", - "type": "function", - "name": "precisionFactor", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2438 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2683 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2928 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2528 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2558 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2588 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2618 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2648 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guestList", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 11031 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2847 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 2768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2918 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2948 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegration", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3313 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 3128 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x6f0ace0f94f4b9890dfa99a4175b3ef0288c16b3.abi.json b/tests/networks/ethereum/stakekit/abis/0x6f0ace0f94f4b9890dfa99a4175b3ef0288c16b3.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x6f0ace0f94f4b9890dfa99a4175b3ef0288c16b3.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x6fafca7f49b4fd9dc38117469cd31a1e5aec91f5.abi.json b/tests/networks/ethereum/stakekit/abis/0x6fafca7f49b4fd9dc38117469cd31a1e5aec91f5.abi.json deleted file mode 100644 index a26af95..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x6fafca7f49b4fd9dc38117469cd31a1e5aec91f5.abi.json +++ /dev/null @@ -1,1643 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 5946 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 108344 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 73194 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 37665 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 38937 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 39075 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 39626 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37789 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39065 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39199 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39229 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 41773 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 41844 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 1090134 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 79308 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 121671 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38241 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42882 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42906 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 91494 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 8698 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1576655 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 77734 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1523989 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 124263 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47611 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47641 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42854 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1190208 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1255644 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23636673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 21381 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1239256 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 13920 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 11673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3923 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4168 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 22641 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4057 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 3978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4128 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4158 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4188 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4218 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4248 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4278 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4523 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 4338 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x7047f90229a057c13bf847c0744d646cfb6c9e1a.abi.json b/tests/networks/ethereum/stakekit/abis/0x7047f90229a057c13bf847c0744d646cfb6c9e1a.abi.json deleted file mode 100644 index a3f716d..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x7047f90229a057c13bf847c0744d646cfb6c9e1a.abi.json +++ /dev/null @@ -1,1658 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 4546 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 107044 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 71894 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 36365 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 37637 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 37775 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address" - } - ], - "outputs": [], - "gas": 37805 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 37835 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegration", - "inputs": [ - { - "name": "degration", - "type": "uint256" - } - ], - "outputs": [], - "gas": 36519 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37795 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37929 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37959 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 39203 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 39274 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 763950 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 76768 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 116531 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38271 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40312 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40336 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 81264 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 383839 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 18195 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1485796 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 115193 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42441 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42471 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 41251 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1141468 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1199804 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23088703 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 9551 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1015170 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 8750 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 7803 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2408 - }, - { - "stateMutability": "view", - "type": "function", - "name": "precisionFactor", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2438 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2683 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2928 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2528 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2558 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2588 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2618 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2648 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guestList", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 11031 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2847 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 2768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2918 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2948 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegration", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3313 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 3128 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x708c42e0236fe8f5916c5638a462ee83da99d07b.abi.json b/tests/networks/ethereum/stakekit/abis/0x708c42e0236fe8f5916c5638a462ee83da99d07b.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x708c42e0236fe8f5916c5638a462ee83da99d07b.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x718abe90777f5b778b52d553a5abaa148dd0dc5d.abi.json b/tests/networks/ethereum/stakekit/abis/0x718abe90777f5b778b52d553a5abaa148dd0dc5d.abi.json deleted file mode 100644 index a26af95..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x718abe90777f5b778b52d553a5abaa148dd0dc5d.abi.json +++ /dev/null @@ -1,1643 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 5946 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 108344 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 73194 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 37665 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 38937 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 39075 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 39626 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37789 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39065 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39199 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39229 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 41773 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 41844 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 1090134 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 79308 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 121671 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38241 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42882 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42906 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 91494 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 8698 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1576655 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 77734 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1523989 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 124263 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47611 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47641 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42854 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1190208 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1255644 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23636673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 21381 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1239256 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 13920 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 11673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3923 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4168 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 22641 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4057 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 3978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4128 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4158 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4188 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4218 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4248 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4278 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4523 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 4338 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x72faea467bd88db6720a861e56a3a72b4aa579df.abi.json b/tests/networks/ethereum/stakekit/abis/0x72faea467bd88db6720a861e56a3a72b4aa579df.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x72faea467bd88db6720a861e56a3a72b4aa579df.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x75a291f0232add37d72dd1dcff55b715755ecdee.abi.json b/tests/networks/ethereum/stakekit/abis/0x75a291f0232add37d72dd1dcff55b715755ecdee.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x75a291f0232add37d72dd1dcff55b715755ecdee.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x774b4cbc2703ce83fb3b828b7c782d1cd983b04a.abi.json b/tests/networks/ethereum/stakekit/abis/0x774b4cbc2703ce83fb3b828b7c782d1cd983b04a.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x774b4cbc2703ce83fb3b828b7c782d1cd983b04a.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x777777c9898d384f785ee44acfe945efdff5f3e0.abi.json b/tests/networks/ethereum/stakekit/abis/0x777777c9898d384f785ee44acfe945efdff5f3e0.abi.json deleted file mode 100644 index e4981dc..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x777777c9898d384f785ee44acfe945efdff5f3e0.abi.json +++ /dev/null @@ -1,1764 +0,0 @@ -[ - { - "inputs": [], - "name": "BorrowNotPaused", - "type": "error" - }, - { - "inputs": [], - "name": "ExceedsMaxBasisPoints", - "type": "error" - }, - { - "inputs": [], - "name": "MarketAlreadyCreated", - "type": "error" - }, - { - "inputs": [], - "name": "MarketIsDeprecated", - "type": "error" - }, - { - "inputs": [], - "name": "MarketIsNotListedOnAave", - "type": "error" - }, - { - "inputs": [], - "name": "MarketNotCreated", - "type": "error" - }, - { - "inputs": [], - "name": "MaxNumberOfMarkets", - "type": "error" - }, - { - "inputs": [], - "name": "MaxSortedUsersCannotBeZero", - "type": "error" - }, - { - "inputs": [], - "name": "ZeroAddress", - "type": "error" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "uint64", - "name": "supply", - "type": "uint64" - }, - { - "internalType": "uint64", - "name": "borrow", - "type": "uint64" - }, - { - "internalType": "uint64", - "name": "withdraw", - "type": "uint64" - }, - { - "internalType": "uint64", - "name": "repay", - "type": "uint64" - } - ], - "indexed": false, - "internalType": "struct Types.MaxGasForMatching", - "name": "_defaultMaxGasForMatching", - "type": "tuple" - } - ], - "name": "DefaultMaxGasForMatchingSet", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "_entryPositionsManager", - "type": "address" - } - ], - "name": "EntryPositionsManagerSet", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "_exitPositionsManager", - "type": "address" - } - ], - "name": "ExitPositionsManagerSet", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "_interestRatesManager", - "type": "address" - } - ], - "name": "InterestRatesSet", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "_poolToken", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "_isPaused", - "type": "bool" - } - ], - "name": "IsBorrowPausedSet", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "_poolToken", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "_isDeprecated", - "type": "bool" - } - ], - "name": "IsDeprecatedSet", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "_poolToken", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "_isPaused", - "type": "bool" - } - ], - "name": "IsLiquidateBorrowPausedSet", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "_poolToken", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "_isPaused", - "type": "bool" - } - ], - "name": "IsLiquidateCollateralPausedSet", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "_poolToken", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "_isPaused", - "type": "bool" - } - ], - "name": "IsRepayPausedSet", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "_poolToken", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "_isPaused", - "type": "bool" - } - ], - "name": "IsSupplyPausedSet", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "_poolToken", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "_isPaused", - "type": "bool" - } - ], - "name": "IsWithdrawPausedSet", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "_poolToken", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint16", - "name": "_reserveFactor", - "type": "uint16" - }, - { - "indexed": false, - "internalType": "uint16", - "name": "_p2pIndexCursor", - "type": "uint16" - } - ], - "name": "MarketCreated", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint256", - "name": "_newValue", - "type": "uint256" - } - ], - "name": "MaxSortedUsersSet", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "_poolToken", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint16", - "name": "_newValue", - "type": "uint16" - } - ], - "name": "P2PIndexCursorSet", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "_poolToken", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "_isP2PDisabled", - "type": "bool" - } - ], - "name": "P2PStatusSet", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "_poolToken", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint16", - "name": "_newValue", - "type": "uint16" - } - ], - "name": "ReserveFactorSet", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "_poolToken", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "_amountClaimed", - "type": "uint256" - } - ], - "name": "ReserveFeeClaimed", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "_newTreasuryVaultAddress", - "type": "address" - } - ], - "name": "TreasuryVaultSet", - "type": "event" - }, - { - "inputs": [], - "name": "BORROWING_MASK", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "DEFAULT_LIQUIDATION_CLOSE_FACTOR", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "HEALTH_FACTOR_LIQUIDATION_THRESHOLD", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "MAX_BASIS_POINTS", - "outputs": [ - { - "internalType": "uint16", - "name": "", - "type": "uint16" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "MAX_NB_OF_MARKETS", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "NO_REFERRAL_CODE", - "outputs": [ - { - "internalType": "uint8", - "name": "", - "type": "uint8" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "ONE", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "ST_ETH", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "ST_ETH_BASE_REBASE_INDEX", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "VARIABLE_INTEREST_MODE", - "outputs": [ - { - "internalType": "uint8", - "name": "", - "type": "uint8" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "aaveIncentivesController", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "addressesProvider", - "outputs": [ - { - "internalType": "contract ILendingPoolAddressesProvider", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_poolToken", - "type": "address" - }, - { - "internalType": "uint256", - "name": "_amount", - "type": "uint256" - } - ], - "name": "borrow", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_poolToken", - "type": "address" - }, - { - "internalType": "uint256", - "name": "_amount", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "_maxGasForMatching", - "type": "uint256" - } - ], - "name": "borrow", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "borrowBalanceInOf", - "outputs": [ - { - "internalType": "uint256", - "name": "inP2P", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "onPool", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "borrowMask", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address[]", - "name": "", - "type": "address[]" - }, - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "name": "claimRewards", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address[]", - "name": "_poolTokens", - "type": "address[]" - }, - { - "internalType": "uint256[]", - "name": "_amounts", - "type": "uint256[]" - } - ], - "name": "claimToTreasury", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_underlyingToken", - "type": "address" - }, - { - "internalType": "uint16", - "name": "_reserveFactor", - "type": "uint16" - }, - { - "internalType": "uint16", - "name": "_p2pIndexCursor", - "type": "uint16" - } - ], - "name": "createMarket", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "defaultMaxGasForMatching", - "outputs": [ - { - "internalType": "uint64", - "name": "supply", - "type": "uint64" - }, - { - "internalType": "uint64", - "name": "borrow", - "type": "uint64" - }, - { - "internalType": "uint64", - "name": "withdraw", - "type": "uint64" - }, - { - "internalType": "uint64", - "name": "repay", - "type": "uint64" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "deltas", - "outputs": [ - { - "internalType": "uint256", - "name": "p2pSupplyDelta", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "p2pBorrowDelta", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "p2pSupplyAmount", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "p2pBorrowAmount", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "entryPositionsManager", - "outputs": [ - { - "internalType": "contract IEntryPositionsManager", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "exitPositionsManager", - "outputs": [ - { - "internalType": "contract IExitPositionsManager", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_poolToken", - "type": "address" - }, - { - "internalType": "enum Types.PositionType", - "name": "_positionType", - "type": "uint8" - } - ], - "name": "getHead", - "outputs": [ - { - "internalType": "address", - "name": "head", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "getMarketsCreated", - "outputs": [ - { - "internalType": "address[]", - "name": "", - "type": "address[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_poolToken", - "type": "address" - }, - { - "internalType": "enum Types.PositionType", - "name": "_positionType", - "type": "uint8" - }, - { - "internalType": "address", - "name": "_user", - "type": "address" - } - ], - "name": "getNext", - "outputs": [ - { - "internalType": "address", - "name": "next", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "incentivesVault", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_poolToken", - "type": "address" - }, - { - "internalType": "uint256", - "name": "_amount", - "type": "uint256" - } - ], - "name": "increaseP2PDeltas", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "contract IEntryPositionsManager", - "name": "_entryPositionsManager", - "type": "address" - }, - { - "internalType": "contract IExitPositionsManager", - "name": "_exitPositionsManager", - "type": "address" - }, - { - "internalType": "contract IInterestRatesManager", - "name": "_interestRatesManager", - "type": "address" - }, - { - "internalType": "contract ILendingPoolAddressesProvider", - "name": "_lendingPoolAddressesProvider", - "type": "address" - }, - { - "components": [ - { - "internalType": "uint64", - "name": "supply", - "type": "uint64" - }, - { - "internalType": "uint64", - "name": "borrow", - "type": "uint64" - }, - { - "internalType": "uint64", - "name": "withdraw", - "type": "uint64" - }, - { - "internalType": "uint64", - "name": "repay", - "type": "uint64" - } - ], - "internalType": "struct Types.MaxGasForMatching", - "name": "_defaultMaxGasForMatching", - "type": "tuple" - }, - { - "internalType": "uint256", - "name": "_maxSortedUsers", - "type": "uint256" - } - ], - "name": "initialize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "interestRatesManager", - "outputs": [ - { - "internalType": "contract IInterestRatesManager", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "isClaimRewardsPaused", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_poolTokenBorrowed", - "type": "address" - }, - { - "internalType": "address", - "name": "_poolTokenCollateral", - "type": "address" - }, - { - "internalType": "address", - "name": "_borrower", - "type": "address" - }, - { - "internalType": "uint256", - "name": "_amount", - "type": "uint256" - } - ], - "name": "liquidate", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "market", - "outputs": [ - { - "internalType": "address", - "name": "underlyingToken", - "type": "address" - }, - { - "internalType": "uint16", - "name": "reserveFactor", - "type": "uint16" - }, - { - "internalType": "uint16", - "name": "p2pIndexCursor", - "type": "uint16" - }, - { - "internalType": "bool", - "name": "isCreated", - "type": "bool" - }, - { - "internalType": "bool", - "name": "isPaused", - "type": "bool" - }, - { - "internalType": "bool", - "name": "isPartiallyPaused", - "type": "bool" - }, - { - "internalType": "bool", - "name": "isP2PDisabled", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "marketPauseStatus", - "outputs": [ - { - "internalType": "bool", - "name": "isSupplyPaused", - "type": "bool" - }, - { - "internalType": "bool", - "name": "isBorrowPaused", - "type": "bool" - }, - { - "internalType": "bool", - "name": "isWithdrawPaused", - "type": "bool" - }, - { - "internalType": "bool", - "name": "isRepayPaused", - "type": "bool" - }, - { - "internalType": "bool", - "name": "isLiquidateCollateralPaused", - "type": "bool" - }, - { - "internalType": "bool", - "name": "isLiquidateBorrowPaused", - "type": "bool" - }, - { - "internalType": "bool", - "name": "isDeprecated", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "maxSortedUsers", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "p2pBorrowIndex", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "p2pSupplyIndex", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "pool", - "outputs": [ - { - "internalType": "contract ILendingPool", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "poolIndexes", - "outputs": [ - { - "internalType": "uint32", - "name": "lastUpdateTimestamp", - "type": "uint32" - }, - { - "internalType": "uint112", - "name": "poolSupplyIndex", - "type": "uint112" - }, - { - "internalType": "uint112", - "name": "poolBorrowIndex", - "type": "uint112" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_poolToken", - "type": "address" - }, - { - "internalType": "address", - "name": "_onBehalf", - "type": "address" - }, - { - "internalType": "uint256", - "name": "_amount", - "type": "uint256" - } - ], - "name": "repay", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_poolToken", - "type": "address" - }, - { - "internalType": "uint256", - "name": "_amount", - "type": "uint256" - } - ], - "name": "repay", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "rewardsManager", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "uint64", - "name": "supply", - "type": "uint64" - }, - { - "internalType": "uint64", - "name": "borrow", - "type": "uint64" - }, - { - "internalType": "uint64", - "name": "withdraw", - "type": "uint64" - }, - { - "internalType": "uint64", - "name": "repay", - "type": "uint64" - } - ], - "internalType": "struct Types.MaxGasForMatching", - "name": "_defaultMaxGasForMatching", - "type": "tuple" - } - ], - "name": "setDefaultMaxGasForMatching", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "contract IEntryPositionsManager", - "name": "_entryPositionsManager", - "type": "address" - } - ], - "name": "setEntryPositionsManager", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "contract IExitPositionsManager", - "name": "_exitPositionsManager", - "type": "address" - } - ], - "name": "setExitPositionsManager", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "contract IInterestRatesManager", - "name": "_interestRatesManager", - "type": "address" - } - ], - "name": "setInterestRatesManager", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_poolToken", - "type": "address" - }, - { - "internalType": "bool", - "name": "_isPaused", - "type": "bool" - } - ], - "name": "setIsBorrowPaused", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_poolToken", - "type": "address" - }, - { - "internalType": "bool", - "name": "_isDeprecated", - "type": "bool" - } - ], - "name": "setIsDeprecated", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_poolToken", - "type": "address" - }, - { - "internalType": "bool", - "name": "_isPaused", - "type": "bool" - } - ], - "name": "setIsLiquidateBorrowPaused", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_poolToken", - "type": "address" - }, - { - "internalType": "bool", - "name": "_isPaused", - "type": "bool" - } - ], - "name": "setIsLiquidateCollateralPaused", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_poolToken", - "type": "address" - }, - { - "internalType": "bool", - "name": "_isP2PDisabled", - "type": "bool" - } - ], - "name": "setIsP2PDisabled", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bool", - "name": "_isPaused", - "type": "bool" - } - ], - "name": "setIsPausedForAllMarkets", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_poolToken", - "type": "address" - }, - { - "internalType": "bool", - "name": "_isPaused", - "type": "bool" - } - ], - "name": "setIsRepayPaused", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_poolToken", - "type": "address" - }, - { - "internalType": "bool", - "name": "_isPaused", - "type": "bool" - } - ], - "name": "setIsSupplyPaused", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_poolToken", - "type": "address" - }, - { - "internalType": "bool", - "name": "_isPaused", - "type": "bool" - } - ], - "name": "setIsWithdrawPaused", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_newMaxSortedUsers", - "type": "uint256" - } - ], - "name": "setMaxSortedUsers", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_poolToken", - "type": "address" - }, - { - "internalType": "uint16", - "name": "_p2pIndexCursor", - "type": "uint16" - } - ], - "name": "setP2PIndexCursor", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_poolToken", - "type": "address" - }, - { - "internalType": "uint16", - "name": "_newReserveFactor", - "type": "uint16" - } - ], - "name": "setReserveFactor", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_treasuryVault", - "type": "address" - } - ], - "name": "setTreasuryVault", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_poolToken", - "type": "address" - }, - { - "internalType": "address", - "name": "_onBehalf", - "type": "address" - }, - { - "internalType": "uint256", - "name": "_amount", - "type": "uint256" - } - ], - "name": "supply", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_poolToken", - "type": "address" - }, - { - "internalType": "uint256", - "name": "_amount", - "type": "uint256" - } - ], - "name": "supply", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_poolToken", - "type": "address" - }, - { - "internalType": "address", - "name": "_onBehalf", - "type": "address" - }, - { - "internalType": "uint256", - "name": "_amount", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "_maxGasForMatching", - "type": "uint256" - } - ], - "name": "supply", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "supplyBalanceInOf", - "outputs": [ - { - "internalType": "uint256", - "name": "inP2P", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "onPool", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "treasuryVault", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_poolToken", - "type": "address" - } - ], - "name": "updateIndexes", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "userMarkets", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_poolToken", - "type": "address" - }, - { - "internalType": "uint256", - "name": "_amount", - "type": "uint256" - }, - { - "internalType": "address", - "name": "_receiver", - "type": "address" - } - ], - "name": "withdraw", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_poolToken", - "type": "address" - }, - { - "internalType": "uint256", - "name": "_amount", - "type": "uint256" - } - ], - "name": "withdraw", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x7788a5492bc948e1d8c2caa53b2e0a60ed5403b0.abi.json b/tests/networks/ethereum/stakekit/abis/0x7788a5492bc948e1d8c2caa53b2e0a60ed5403b0.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x7788a5492bc948e1d8c2caa53b2e0a60ed5403b0.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x77e829fff18c14ad9bb88963acb0010a0506de88.abi.json b/tests/networks/ethereum/stakekit/abis/0x77e829fff18c14ad9bb88963acb0010a0506de88.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x77e829fff18c14ad9bb88963acb0010a0506de88.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x7845ebf66c9575fc5f5a0dbb9a34a706ad997a3f.abi.json b/tests/networks/ethereum/stakekit/abis/0x7845ebf66c9575fc5f5a0dbb9a34a706ad997a3f.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x7845ebf66c9575fc5f5a0dbb9a34a706ad997a3f.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x790a60024bc3aea28385b60480f15a0771f26d09.abi.json b/tests/networks/ethereum/stakekit/abis/0x790a60024bc3aea28385b60480f15a0771f26d09.abi.json deleted file mode 100644 index a26af95..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x790a60024bc3aea28385b60480f15a0771f26d09.abi.json +++ /dev/null @@ -1,1643 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 5946 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 108344 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 73194 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 37665 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 38937 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 39075 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 39626 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37789 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39065 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39199 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39229 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 41773 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 41844 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 1090134 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 79308 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 121671 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38241 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42882 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42906 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 91494 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 8698 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1576655 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 77734 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1523989 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 124263 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47611 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47641 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42854 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1190208 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1255644 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23636673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 21381 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1239256 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 13920 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 11673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3923 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4168 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 22641 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4057 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 3978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4128 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4158 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4188 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4218 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4248 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4278 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4523 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 4338 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x79f4a9ed7a6196c67a2d6bce8ec55e9f18802018.abi.json b/tests/networks/ethereum/stakekit/abis/0x79f4a9ed7a6196c67a2d6bce8ec55e9f18802018.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x79f4a9ed7a6196c67a2d6bce8ec55e9f18802018.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x7ca00559b978cfde81297849be6151d3ccb408a9.abi.json b/tests/networks/ethereum/stakekit/abis/0x7ca00559b978cfde81297849be6151d3ccb408a9.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x7ca00559b978cfde81297849be6151d3ccb408a9.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x7da96a3891add058ada2e826306d812c638d87a7.abi.json b/tests/networks/ethereum/stakekit/abis/0x7da96a3891add058ada2e826306d812c638d87a7.abi.json deleted file mode 100644 index a3f716d..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x7da96a3891add058ada2e826306d812c638d87a7.abi.json +++ /dev/null @@ -1,1658 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 4546 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 107044 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 71894 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 36365 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 37637 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 37775 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address" - } - ], - "outputs": [], - "gas": 37805 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 37835 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegration", - "inputs": [ - { - "name": "degration", - "type": "uint256" - } - ], - "outputs": [], - "gas": 36519 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37795 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37929 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37959 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 39203 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 39274 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 763950 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 76768 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 116531 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38271 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40312 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40336 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 81264 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 383839 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 18195 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1485796 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 115193 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42441 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42471 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 41251 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1141468 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1199804 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23088703 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 9551 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1015170 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 8750 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 7803 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2408 - }, - { - "stateMutability": "view", - "type": "function", - "name": "precisionFactor", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2438 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2683 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2928 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2528 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2558 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2588 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2618 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2648 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guestList", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 11031 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2847 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 2768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2918 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2948 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegration", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3313 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 3128 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x7e113c504263354ba99290dadad00d1e1f2b6476.abi.json b/tests/networks/ethereum/stakekit/abis/0x7e113c504263354ba99290dadad00d1e1f2b6476.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x7e113c504263354ba99290dadad00d1e1f2b6476.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x801ab06154bf539dea4385a39f5fa8534fb53073.abi.json b/tests/networks/ethereum/stakekit/abis/0x801ab06154bf539dea4385a39f5fa8534fb53073.abi.json deleted file mode 100644 index a26af95..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x801ab06154bf539dea4385a39f5fa8534fb53073.abi.json +++ /dev/null @@ -1,1643 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 5946 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 108344 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 73194 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 37665 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 38937 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 39075 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 39626 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37789 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39065 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39199 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39229 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 41773 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 41844 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 1090134 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 79308 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 121671 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38241 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42882 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42906 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 91494 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 8698 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1576655 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 77734 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1523989 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 124263 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47611 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47641 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42854 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1190208 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1255644 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23636673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 21381 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1239256 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 13920 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 11673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3923 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4168 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 22641 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4057 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 3978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4128 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4158 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4188 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4218 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4248 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4278 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4523 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 4338 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x8072b1d66389a1aa039e21aac35a92464005baf5.abi.json b/tests/networks/ethereum/stakekit/abis/0x8072b1d66389a1aa039e21aac35a92464005baf5.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x8072b1d66389a1aa039e21aac35a92464005baf5.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x8078198fc424986ae89ce4a910fc109587b6abf3.abi.json b/tests/networks/ethereum/stakekit/abis/0x8078198fc424986ae89ce4a910fc109587b6abf3.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x8078198fc424986ae89ce4a910fc109587b6abf3.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x80bbee2fa460da291e796b9045e93d19ef948c6a.abi.json b/tests/networks/ethereum/stakekit/abis/0x80bbee2fa460da291e796b9045e93d19ef948c6a.abi.json deleted file mode 100644 index a3f716d..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x80bbee2fa460da291e796b9045e93d19ef948c6a.abi.json +++ /dev/null @@ -1,1658 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 4546 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 107044 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 71894 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 36365 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 37637 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 37775 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address" - } - ], - "outputs": [], - "gas": 37805 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 37835 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegration", - "inputs": [ - { - "name": "degration", - "type": "uint256" - } - ], - "outputs": [], - "gas": 36519 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37795 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37929 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37959 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 39203 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 39274 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 763950 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 76768 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 116531 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38271 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40312 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40336 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 81264 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 383839 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 18195 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1485796 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 115193 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42441 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42471 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 41251 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1141468 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1199804 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23088703 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 9551 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1015170 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 8750 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 7803 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2408 - }, - { - "stateMutability": "view", - "type": "function", - "name": "precisionFactor", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2438 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2683 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2928 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2528 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2558 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2588 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2618 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2648 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guestList", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 11031 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2847 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 2768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2918 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2948 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegration", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3313 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 3128 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x8176b059bd8f63aeb7e20282b12d243b4626e2ae.abi.json b/tests/networks/ethereum/stakekit/abis/0x8176b059bd8f63aeb7e20282b12d243b4626e2ae.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x8176b059bd8f63aeb7e20282b12d243b4626e2ae.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x82c83dda32db09f63f9a59a129278f3fdc3eee67.abi.json b/tests/networks/ethereum/stakekit/abis/0x82c83dda32db09f63f9a59a129278f3fdc3eee67.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x82c83dda32db09f63f9a59a129278f3fdc3eee67.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x8414db07a7f743debafb402070ab01a4e0d2e45e.abi.json b/tests/networks/ethereum/stakekit/abis/0x8414db07a7f743debafb402070ab01a4e0d2e45e.abi.json deleted file mode 100644 index a3f716d..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x8414db07a7f743debafb402070ab01a4e0d2e45e.abi.json +++ /dev/null @@ -1,1658 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 4546 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 107044 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 71894 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 36365 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 37637 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 37775 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address" - } - ], - "outputs": [], - "gas": 37805 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 37835 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegration", - "inputs": [ - { - "name": "degration", - "type": "uint256" - } - ], - "outputs": [], - "gas": 36519 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37795 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37929 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37959 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 39203 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 39274 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 763950 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 76768 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 116531 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38271 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40312 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40336 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 81264 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 383839 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 18195 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1485796 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 115193 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42441 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42471 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 41251 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1141468 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1199804 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23088703 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 9551 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1015170 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 8750 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 7803 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2408 - }, - { - "stateMutability": "view", - "type": "function", - "name": "precisionFactor", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2438 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2683 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2928 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2528 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2558 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2588 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2618 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2648 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guestList", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 11031 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2847 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 2768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2918 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2948 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegration", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3313 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 3128 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x849dc56ceca7cf55abf5ec87910da21c5c7da581.abi.json b/tests/networks/ethereum/stakekit/abis/0x849dc56ceca7cf55abf5ec87910da21c5c7da581.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x849dc56ceca7cf55abf5ec87910da21c5c7da581.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x84e13785b5a27879921d6f685f041421c7f482da.abi.json b/tests/networks/ethereum/stakekit/abis/0x84e13785b5a27879921d6f685f041421c7f482da.abi.json deleted file mode 100644 index a3f716d..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x84e13785b5a27879921d6f685f041421c7f482da.abi.json +++ /dev/null @@ -1,1658 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 4546 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 107044 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 71894 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 36365 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 37637 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 37775 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address" - } - ], - "outputs": [], - "gas": 37805 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 37835 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegration", - "inputs": [ - { - "name": "degration", - "type": "uint256" - } - ], - "outputs": [], - "gas": 36519 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37795 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37929 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37959 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 39203 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 39274 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 763950 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 76768 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 116531 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38271 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40312 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40336 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 81264 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 383839 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 18195 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1485796 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 115193 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42441 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42471 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 41251 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1141468 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1199804 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23088703 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 9551 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1015170 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 8750 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 7803 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2408 - }, - { - "stateMutability": "view", - "type": "function", - "name": "precisionFactor", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2438 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2683 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2928 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2528 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2558 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2588 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2618 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2648 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guestList", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 11031 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2847 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 2768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2918 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2948 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegration", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3313 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 3128 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x873fb544277fd7b977b196a826459a69e27ea4ea.abi.json b/tests/networks/ethereum/stakekit/abis/0x873fb544277fd7b977b196a826459a69e27ea4ea.abi.json deleted file mode 100644 index 4b756ee..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x873fb544277fd7b977b196a826459a69e27ea4ea.abi.json +++ /dev/null @@ -1,1643 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 5946 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 108344 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 73194 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 37665 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 38937 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 39075 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 39626 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37789 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39065 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39199 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39229 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 41773 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 41844 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 1090134 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 79308 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 121671 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38241 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42882 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42906 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 91494 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 8698 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 830798 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 43519 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1523989 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 124263 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47611 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47641 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42854 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1190208 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1255644 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23636673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 21381 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1170904 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 13920 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 11673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3923 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4168 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 22641 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4057 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 3978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4128 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4158 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4188 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4218 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4248 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4278 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4523 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 4338 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x883a777f2594004419fc08b388d7d3bdc1c0d6c1.abi.json b/tests/networks/ethereum/stakekit/abis/0x883a777f2594004419fc08b388d7d3bdc1c0d6c1.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x883a777f2594004419fc08b388d7d3bdc1c0d6c1.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x8aa95b71d8e0e1c7949bd84223e0c7911d85171c.abi.json b/tests/networks/ethereum/stakekit/abis/0x8aa95b71d8e0e1c7949bd84223e0c7911d85171c.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x8aa95b71d8e0e1c7949bd84223e0c7911d85171c.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x8b9c0c24307344b6d7941ab654b2aeee25347473.abi.json b/tests/networks/ethereum/stakekit/abis/0x8b9c0c24307344b6d7941ab654b2aeee25347473.abi.json deleted file mode 100644 index a26af95..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x8b9c0c24307344b6d7941ab654b2aeee25347473.abi.json +++ /dev/null @@ -1,1643 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 5946 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 108344 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 73194 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 37665 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 38937 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 39075 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 39626 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37789 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39065 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39199 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39229 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 41773 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 41844 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 1090134 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 79308 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 121671 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38241 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42882 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42906 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 91494 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 8698 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1576655 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 77734 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1523989 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 124263 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47611 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47641 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42854 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1190208 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1255644 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23636673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 21381 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1239256 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 13920 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 11673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3923 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4168 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 22641 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4057 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 3978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4128 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4158 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4188 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4218 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4248 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4278 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4523 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 4338 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x8cc94ccd0f3841a468184aca3cc478d2148e1757.abi.json b/tests/networks/ethereum/stakekit/abis/0x8cc94ccd0f3841a468184aca3cc478d2148e1757.abi.json deleted file mode 100644 index a3f716d..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x8cc94ccd0f3841a468184aca3cc478d2148e1757.abi.json +++ /dev/null @@ -1,1658 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 4546 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 107044 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 71894 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 36365 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 37637 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 37775 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address" - } - ], - "outputs": [], - "gas": 37805 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 37835 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegration", - "inputs": [ - { - "name": "degration", - "type": "uint256" - } - ], - "outputs": [], - "gas": 36519 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37795 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37929 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37959 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 39203 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 39274 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 763950 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 76768 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 116531 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38271 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40312 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40336 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 81264 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 383839 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 18195 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1485796 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 115193 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42441 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42471 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 41251 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1141468 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1199804 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23088703 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 9551 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1015170 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 8750 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 7803 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2408 - }, - { - "stateMutability": "view", - "type": "function", - "name": "precisionFactor", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2438 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2683 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2928 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2528 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2558 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2588 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2618 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2648 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guestList", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 11031 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2847 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 2768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2918 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2948 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegration", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3313 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 3128 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x8cdf57760be305f32e03b3d231e5a81e550c6295.abi.json b/tests/networks/ethereum/stakekit/abis/0x8cdf57760be305f32e03b3d231e5a81e550c6295.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x8cdf57760be305f32e03b3d231e5a81e550c6295.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x8ee57c05741aa9db947a744e713c15d4d19d8822.abi.json b/tests/networks/ethereum/stakekit/abis/0x8ee57c05741aa9db947a744e713c15d4d19d8822.abi.json deleted file mode 100644 index a3f716d..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x8ee57c05741aa9db947a744e713c15d4d19d8822.abi.json +++ /dev/null @@ -1,1658 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 4546 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 107044 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 71894 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 36365 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 37637 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 37775 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address" - } - ], - "outputs": [], - "gas": 37805 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 37835 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegration", - "inputs": [ - { - "name": "degration", - "type": "uint256" - } - ], - "outputs": [], - "gas": 36519 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37795 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37929 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37959 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 39203 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 39274 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 763950 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 76768 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 116531 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38271 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40312 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40336 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 81264 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 383839 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 18195 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1485796 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 115193 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42441 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42471 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 41251 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1141468 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1199804 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23088703 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 9551 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1015170 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 8750 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 7803 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2408 - }, - { - "stateMutability": "view", - "type": "function", - "name": "precisionFactor", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2438 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2683 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2928 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2528 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2558 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2588 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2618 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2648 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guestList", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 11031 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2847 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 2768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2918 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2948 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegration", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3313 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 3128 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x8fa3a9ecd9efb07a8ce90a6eb014cf3c0e3b32ef.abi.json b/tests/networks/ethereum/stakekit/abis/0x8fa3a9ecd9efb07a8ce90a6eb014cf3c0e3b32ef.abi.json deleted file mode 100644 index a3f716d..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x8fa3a9ecd9efb07a8ce90a6eb014cf3c0e3b32ef.abi.json +++ /dev/null @@ -1,1658 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 4546 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 107044 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 71894 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 36365 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 37637 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 37775 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address" - } - ], - "outputs": [], - "gas": 37805 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 37835 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegration", - "inputs": [ - { - "name": "degration", - "type": "uint256" - } - ], - "outputs": [], - "gas": 36519 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37795 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37929 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37959 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 39203 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 39274 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 763950 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 76768 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 116531 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38271 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40312 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40336 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 81264 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 383839 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 18195 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1485796 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 115193 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42441 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42471 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 41251 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1141468 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1199804 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23088703 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 9551 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1015170 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 8750 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 7803 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2408 - }, - { - "stateMutability": "view", - "type": "function", - "name": "precisionFactor", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2438 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2683 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2928 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2528 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2558 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2588 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2618 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2648 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guestList", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 11031 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2847 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 2768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2918 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2948 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegration", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3313 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 3128 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x91ae8feabe09182fe5f91fc273040b7d8f7aefe7.abi.json b/tests/networks/ethereum/stakekit/abis/0x91ae8feabe09182fe5f91fc273040b7d8f7aefe7.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x91ae8feabe09182fe5f91fc273040b7d8f7aefe7.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x93cf0b02d0a2b61551d107378aff60ceae40c342.abi.json b/tests/networks/ethereum/stakekit/abis/0x93cf0b02d0a2b61551d107378aff60ceae40c342.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x93cf0b02d0a2b61551d107378aff60ceae40c342.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x944d749017053e0d37ec206c9898716a21e0b2e2.abi.json b/tests/networks/ethereum/stakekit/abis/0x944d749017053e0d37ec206c9898716a21e0b2e2.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x944d749017053e0d37ec206c9898716a21e0b2e2.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x986b4aff588a109c09b50a03f42e4110e29d353f.abi.json b/tests/networks/ethereum/stakekit/abis/0x986b4aff588a109c09b50a03f42e4110e29d353f.abi.json deleted file mode 100644 index 32764a2..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x986b4aff588a109c09b50a03f42e4110e29d353f.abi.json +++ /dev/null @@ -1,1645 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "type": "address", - "name": "sender", - "indexed": true - }, - { - "type": "address", - "name": "receiver", - "indexed": true - }, - { - "type": "uint256", - "name": "value", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "type": "address", - "name": "owner", - "indexed": true - }, - { - "type": "address", - "name": "spender", - "indexed": true - }, - { - "type": "uint256", - "name": "value", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "debtRatio", - "indexed": false - }, - { - "type": "uint256", - "name": "minDebtPerHarvest", - "indexed": false - }, - { - "type": "uint256", - "name": "maxDebtPerHarvest", - "indexed": false - }, - { - "type": "uint256", - "name": "performanceFee", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "gain", - "indexed": false - }, - { - "type": "uint256", - "name": "loss", - "indexed": false - }, - { - "type": "uint256", - "name": "debtPaid", - "indexed": false - }, - { - "type": "uint256", - "name": "totalGain", - "indexed": false - }, - { - "type": "uint256", - "name": "totalLoss", - "indexed": false - }, - { - "type": "uint256", - "name": "totalDebt", - "indexed": false - }, - { - "type": "uint256", - "name": "debtAdded", - "indexed": false - }, - { - "type": "uint256", - "name": "debtRatio", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "type": "address", - "name": "governance", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "type": "address", - "name": "management", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuestList", - "inputs": [ - { - "type": "address", - "name": "guestList", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "type": "address", - "name": "rewards", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "type": "uint256", - "name": "depositLimit", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "type": "uint256", - "name": "performanceFee", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "type": "uint256", - "name": "managementFee", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "type": "address", - "name": "guardian", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "type": "bool", - "name": "active", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "type": "address[20]", - "name": "queue", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "debtRatio", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "minDebtPerHarvest", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "maxDebtPerHarvest", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "performanceFee", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "type": "address", - "name": "oldVersion", - "indexed": true - }, - { - "type": "address", - "name": "newVersion", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "initialize", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "token" - }, - { - "type": "address", - "name": "governance" - }, - { - "type": "address", - "name": "rewards" - }, - { - "type": "string", - "name": "nameOverride" - }, - { - "type": "string", - "name": "symbolOverride" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "initialize", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "token" - }, - { - "type": "address", - "name": "governance" - }, - { - "type": "address", - "name": "rewards" - }, - { - "type": "string", - "name": "nameOverride" - }, - { - "type": "string", - "name": "symbolOverride" - }, - { - "type": "address", - "name": "guardian" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "apiVersion", - "outputs": [ - { - "type": "string", - "name": "" - } - ], - "inputs": [], - "stateMutability": "pure", - "type": "function", - "gas": 4519 - }, - { - "name": "setName", - "outputs": [], - "inputs": [ - { - "type": "string", - "name": "name" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 107017 - }, - { - "name": "setSymbol", - "outputs": [], - "inputs": [ - { - "type": "string", - "name": "symbol" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 71867 - }, - { - "name": "setGovernance", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "governance" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 36338 - }, - { - "name": "acceptGovernance", - "outputs": [], - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37610 - }, - { - "name": "setManagement", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "management" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37748 - }, - { - "name": "setGuestList", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "guestList" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37778 - }, - { - "name": "setRewards", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "rewards" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37808 - }, - { - "name": "setLockedProfitDegration", - "outputs": [], - "inputs": [ - { - "type": "uint256", - "name": "degration" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 36516 - }, - { - "name": "setDepositLimit", - "outputs": [], - "inputs": [ - { - "type": "uint256", - "name": "limit" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37768 - }, - { - "name": "setPerformanceFee", - "outputs": [], - "inputs": [ - { - "type": "uint256", - "name": "fee" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37902 - }, - { - "name": "setManagementFee", - "outputs": [], - "inputs": [ - { - "type": "uint256", - "name": "fee" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37932 - }, - { - "name": "setGuardian", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "guardian" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 39176 - }, - { - "name": "setEmergencyShutdown", - "outputs": [], - "inputs": [ - { - "type": "bool", - "name": "active" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 39247 - }, - { - "name": "setWithdrawalQueue", - "outputs": [], - "inputs": [ - { - "type": "address[20]", - "name": "queue" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 763923 - }, - { - "name": "transfer", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "receiver" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 76913 - }, - { - "name": "transferFrom", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "sender" - }, - { - "type": "address", - "name": "receiver" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 116676 - }, - { - "name": "approve", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "spender" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 38334 - }, - { - "name": "increaseAllowance", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "spender" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 40375 - }, - { - "name": "decreaseAllowance", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "spender" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 40399 - }, - { - "name": "permit", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "owner" - }, - { - "type": "address", - "name": "spender" - }, - { - "type": "uint256", - "name": "amount" - }, - { - "type": "uint256", - "name": "expiry" - }, - { - "type": "bytes", - "name": "signature" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 81327 - }, - { - "name": "totalAssets", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 4303 - }, - { - "name": "deposit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "deposit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "_amount" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "deposit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "_amount" - }, - { - "type": "address", - "name": "recipient" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "maxAvailableShares", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 379843 - }, - { - "name": "withdraw", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "withdraw", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "maxShares" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "withdraw", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "maxShares" - }, - { - "type": "address", - "name": "recipient" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "withdraw", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "maxShares" - }, - { - "type": "address", - "name": "recipient" - }, - { - "type": "uint256", - "name": "maxLoss" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "pricePerShare", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 17509 - }, - { - "name": "addStrategy", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - }, - { - "type": "uint256", - "name": "debtRatio" - }, - { - "type": "uint256", - "name": "minDebtPerHarvest" - }, - { - "type": "uint256", - "name": "maxDebtPerHarvest" - }, - { - "type": "uint256", - "name": "performanceFee" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 1486241 - }, - { - "name": "updateStrategyDebtRatio", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - }, - { - "type": "uint256", - "name": "debtRatio" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 115406 - }, - { - "name": "updateStrategyMinDebtPerHarvest", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - }, - { - "type": "uint256", - "name": "minDebtPerHarvest" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 42654 - }, - { - "name": "updateStrategyMaxDebtPerHarvest", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - }, - { - "type": "uint256", - "name": "maxDebtPerHarvest" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 42684 - }, - { - "name": "updateStrategyPerformanceFee", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - }, - { - "type": "uint256", - "name": "performanceFee" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 41464 - }, - { - "name": "migrateStrategy", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "oldVersion" - }, - { - "type": "address", - "name": "newVersion" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 1141973 - }, - { - "name": "revokeStrategy", - "outputs": [], - "inputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "revokeStrategy", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "addStrategyToQueue", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 1197130 - }, - { - "name": "removeStrategyFromQueue", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 23093586 - }, - { - "name": "debtOutstanding", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function" - }, - { - "name": "debtOutstanding", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "name": "creditAvailable", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function" - }, - { - "name": "creditAvailable", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "name": "availableDepositLimit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 10108 - }, - { - "name": "expectedReturn", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function" - }, - { - "name": "expectedReturn", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "name": "report", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "gain" - }, - { - "type": "uint256", - "name": "loss" - }, - { - "type": "uint256", - "name": "_debtPayment" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 1009335 - }, - { - "name": "sweep", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "token" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "sweep", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "token" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "name", - "outputs": [ - { - "type": "string", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 9143 - }, - { - "name": "symbol", - "outputs": [ - { - "type": "string", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 8196 - }, - { - "name": "decimals", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2801 - }, - { - "name": "balanceOf", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "arg0" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 3046 - }, - { - "name": "allowance", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "arg0" - }, - { - "type": "address", - "name": "arg1" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 3291 - }, - { - "name": "totalSupply", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2891 - }, - { - "name": "token", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2921 - }, - { - "name": "governance", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2951 - }, - { - "name": "management", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2981 - }, - { - "name": "guardian", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3011 - }, - { - "name": "guestList", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3041 - }, - { - "name": "strategies", - "outputs": [ - { - "type": "uint256", - "name": "performanceFee" - }, - { - "type": "uint256", - "name": "activation" - }, - { - "type": "uint256", - "name": "debtRatio" - }, - { - "type": "uint256", - "name": "minDebtPerHarvest" - }, - { - "type": "uint256", - "name": "maxDebtPerHarvest" - }, - { - "type": "uint256", - "name": "lastReport" - }, - { - "type": "uint256", - "name": "totalDebt" - }, - { - "type": "uint256", - "name": "totalGain" - }, - { - "type": "uint256", - "name": "totalLoss" - } - ], - "inputs": [ - { - "type": "address", - "name": "arg0" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 11394 - }, - { - "name": "withdrawalQueue", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "arg0" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 3210 - }, - { - "name": "emergencyShutdown", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3131 - }, - { - "name": "depositLimit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3161 - }, - { - "name": "debtRatio", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3191 - }, - { - "name": "totalDebt", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3221 - }, - { - "name": "lastReport", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3251 - }, - { - "name": "activation", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3281 - }, - { - "name": "lockedProfit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3311 - }, - { - "name": "lockedProfitDegration", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3341 - }, - { - "name": "rewards", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3371 - }, - { - "name": "managementFee", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3401 - }, - { - "name": "performanceFee", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3431 - }, - { - "name": "nonces", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "arg0" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 3676 - }, - { - "name": "DOMAIN_SEPARATOR", - "outputs": [ - { - "type": "bytes32", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3491 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x9894acf19de6f00d4056dbfddf2dd7444f993d87.abi.json b/tests/networks/ethereum/stakekit/abis/0x9894acf19de6f00d4056dbfddf2dd7444f993d87.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x9894acf19de6f00d4056dbfddf2dd7444f993d87.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x98fa691998a9e6f410702dea8bc08a9d500aaafe.abi.json b/tests/networks/ethereum/stakekit/abis/0x98fa691998a9e6f410702dea8bc08a9d500aaafe.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x98fa691998a9e6f410702dea8bc08a9d500aaafe.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x9a39f31dd5edf5919a5c0c2433ce053fad2e0336.abi.json b/tests/networks/ethereum/stakekit/abis/0x9a39f31dd5edf5919a5c0c2433ce053fad2e0336.abi.json deleted file mode 100644 index a26af95..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x9a39f31dd5edf5919a5c0c2433ce053fad2e0336.abi.json +++ /dev/null @@ -1,1643 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 5946 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 108344 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 73194 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 37665 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 38937 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 39075 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 39626 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37789 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39065 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39199 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39229 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 41773 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 41844 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 1090134 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 79308 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 121671 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38241 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42882 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42906 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 91494 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 8698 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1576655 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 77734 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1523989 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 124263 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47611 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47641 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42854 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1190208 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1255644 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23636673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 21381 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1239256 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 13920 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 11673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3923 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4168 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 22641 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4057 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 3978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4128 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4158 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4188 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4218 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4248 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4278 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4523 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 4338 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x9d409a0a012cfba9b15f6d4b36ac57a46966ab9a.abi.json b/tests/networks/ethereum/stakekit/abis/0x9d409a0a012cfba9b15f6d4b36ac57a46966ab9a.abi.json deleted file mode 100644 index a3f716d..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x9d409a0a012cfba9b15f6d4b36ac57a46966ab9a.abi.json +++ /dev/null @@ -1,1658 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 4546 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 107044 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 71894 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 36365 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 37637 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 37775 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address" - } - ], - "outputs": [], - "gas": 37805 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 37835 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegration", - "inputs": [ - { - "name": "degration", - "type": "uint256" - } - ], - "outputs": [], - "gas": 36519 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37795 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37929 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37959 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 39203 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 39274 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 763950 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 76768 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 116531 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38271 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40312 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40336 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 81264 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 383839 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 18195 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1485796 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 115193 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42441 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42471 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 41251 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1141468 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1199804 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23088703 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 9551 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1015170 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 8750 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 7803 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2408 - }, - { - "stateMutability": "view", - "type": "function", - "name": "precisionFactor", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2438 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2683 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2928 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2528 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2558 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2588 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2618 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2648 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guestList", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 11031 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2847 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 2768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2918 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2948 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegration", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3313 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 3128 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x9e0e0af468fbd041cab7883c5eef16d1a99a47c3.abi.json b/tests/networks/ethereum/stakekit/abis/0x9e0e0af468fbd041cab7883c5eef16d1a99a47c3.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x9e0e0af468fbd041cab7883c5eef16d1a99a47c3.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0x9f8b5c0fc18b79ddfc05b21c43da7e324cf3b8eb.abi.json b/tests/networks/ethereum/stakekit/abis/0x9f8b5c0fc18b79ddfc05b21c43da7e324cf3b8eb.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0x9f8b5c0fc18b79ddfc05b21c43da7e324cf3b8eb.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xa258c4606ca8206d8aa700ce2143d7db854d168c.abi.json b/tests/networks/ethereum/stakekit/abis/0xa258c4606ca8206d8aa700ce2143d7db854d168c.abi.json deleted file mode 100644 index 4b756ee..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xa258c4606ca8206d8aa700ce2143d7db854d168c.abi.json +++ /dev/null @@ -1,1643 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 5946 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 108344 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 73194 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 37665 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 38937 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 39075 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 39626 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37789 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39065 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39199 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39229 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 41773 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 41844 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 1090134 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 79308 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 121671 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38241 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42882 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42906 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 91494 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 8698 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 830798 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 43519 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1523989 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 124263 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47611 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47641 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42854 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1190208 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1255644 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23636673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 21381 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1170904 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 13920 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 11673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3923 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4168 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 22641 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4057 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 3978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4128 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4158 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4188 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4218 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4248 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4278 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4523 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 4338 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xa354f35829ae975e850e23e9615b11da1b3dc4de.abi.json b/tests/networks/ethereum/stakekit/abis/0xa354f35829ae975e850e23e9615b11da1b3dc4de.abi.json deleted file mode 100644 index a26af95..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xa354f35829ae975e850e23e9615b11da1b3dc4de.abi.json +++ /dev/null @@ -1,1643 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 5946 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 108344 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 73194 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 37665 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 38937 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 39075 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 39626 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37789 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39065 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39199 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39229 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 41773 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 41844 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 1090134 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 79308 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 121671 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38241 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42882 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42906 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 91494 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 8698 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1576655 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 77734 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1523989 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 124263 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47611 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47641 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42854 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1190208 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1255644 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23636673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 21381 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1239256 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 13920 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 11673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3923 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4168 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 22641 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4057 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 3978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4128 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4158 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4188 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4218 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4248 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4278 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4523 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 4338 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xa540744dedbda9ef64cf753f0e851efe4a419ea9.abi.json b/tests/networks/ethereum/stakekit/abis/0xa540744dedbda9ef64cf753f0e851efe4a419ea9.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xa540744dedbda9ef64cf753f0e851efe4a419ea9.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xa5ca62d95d24a4a350983d5b8ac4eb8638887396.abi.json b/tests/networks/ethereum/stakekit/abis/0xa5ca62d95d24a4a350983d5b8ac4eb8638887396.abi.json deleted file mode 100644 index 8f61d99..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xa5ca62d95d24a4a350983d5b8ac4eb8638887396.abi.json +++ /dev/null @@ -1,1645 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 4546 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 107044 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 71894 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 36365 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 37637 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 37775 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address" - } - ], - "outputs": [], - "gas": 37805 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 37835 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegration", - "inputs": [ - { - "name": "degration", - "type": "uint256" - } - ], - "outputs": [], - "gas": 36519 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37795 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37929 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37959 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 39203 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 39274 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 763950 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 76768 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 116531 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38271 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40312 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40336 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 81264 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 366010 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 16930 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1485796 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 115193 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42441 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42471 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 41251 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1141468 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1199804 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23088703 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 9551 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1005750 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 8750 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 7803 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2408 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2653 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2898 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2498 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2528 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2558 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2588 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2618 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guestList", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2648 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 11001 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2817 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 2738 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2918 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegration", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2948 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3283 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 3098 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xa669d6c2df33f41940c2646a9bf3031e2524d515.abi.json b/tests/networks/ethereum/stakekit/abis/0xa669d6c2df33f41940c2646a9bf3031e2524d515.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xa669d6c2df33f41940c2646a9bf3031e2524d515.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xa696a63cc78dffa1a63e9e50587c197387ff6c7e.abi.json b/tests/networks/ethereum/stakekit/abis/0xa696a63cc78dffa1a63e9e50587c197387ff6c7e.abi.json deleted file mode 100644 index a3f716d..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xa696a63cc78dffa1a63e9e50587c197387ff6c7e.abi.json +++ /dev/null @@ -1,1658 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 4546 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 107044 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 71894 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 36365 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 37637 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 37775 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address" - } - ], - "outputs": [], - "gas": 37805 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 37835 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegration", - "inputs": [ - { - "name": "degration", - "type": "uint256" - } - ], - "outputs": [], - "gas": 36519 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37795 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37929 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37959 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 39203 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 39274 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 763950 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 76768 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 116531 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38271 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40312 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40336 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 81264 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 383839 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 18195 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1485796 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 115193 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42441 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42471 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 41251 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1141468 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1199804 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23088703 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 9551 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1015170 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 8750 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 7803 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2408 - }, - { - "stateMutability": "view", - "type": "function", - "name": "precisionFactor", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2438 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2683 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2928 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2528 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2558 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2588 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2618 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2648 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guestList", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 11031 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2847 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 2768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2918 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2948 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegration", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3313 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 3128 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xa74d4b67b3368e83797a35382afb776baae4f5c8.abi.json b/tests/networks/ethereum/stakekit/abis/0xa74d4b67b3368e83797a35382afb776baae4f5c8.abi.json deleted file mode 100644 index a3f716d..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xa74d4b67b3368e83797a35382afb776baae4f5c8.abi.json +++ /dev/null @@ -1,1658 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 4546 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 107044 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 71894 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 36365 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 37637 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 37775 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address" - } - ], - "outputs": [], - "gas": 37805 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 37835 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegration", - "inputs": [ - { - "name": "degration", - "type": "uint256" - } - ], - "outputs": [], - "gas": 36519 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37795 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37929 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37959 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 39203 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 39274 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 763950 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 76768 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 116531 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38271 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40312 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40336 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 81264 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 383839 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 18195 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1485796 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 115193 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42441 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42471 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 41251 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1141468 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1199804 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23088703 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 9551 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1015170 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 8750 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 7803 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2408 - }, - { - "stateMutability": "view", - "type": "function", - "name": "precisionFactor", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2438 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2683 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2928 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2528 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2558 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2588 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2618 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2648 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guestList", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 11031 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2847 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 2768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2918 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2948 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegration", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3313 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 3128 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xa8e0c42f45c877e611c76f2d4bf57476f2014381.abi.json b/tests/networks/ethereum/stakekit/abis/0xa8e0c42f45c877e611c76f2d4bf57476f2014381.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xa8e0c42f45c877e611c76f2d4bf57476f2014381.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xa8ef50905352acd611f53640b001e48f2ea31d63.abi.json b/tests/networks/ethereum/stakekit/abis/0xa8ef50905352acd611f53640b001e48f2ea31d63.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xa8ef50905352acd611f53640b001e48f2ea31d63.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xa9412ffd7e0866755ae0dda3318470a61f62abe8.abi.json b/tests/networks/ethereum/stakekit/abis/0xa9412ffd7e0866755ae0dda3318470a61f62abe8.abi.json deleted file mode 100644 index a26af95..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xa9412ffd7e0866755ae0dda3318470a61f62abe8.abi.json +++ /dev/null @@ -1,1643 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 5946 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 108344 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 73194 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 37665 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 38937 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 39075 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 39626 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37789 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39065 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39199 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39229 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 41773 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 41844 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 1090134 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 79308 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 121671 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38241 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42882 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42906 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 91494 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 8698 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1576655 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 77734 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1523989 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 124263 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47611 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47641 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42854 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1190208 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1255644 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23636673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 21381 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1239256 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 13920 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 11673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3923 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4168 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 22641 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4057 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 3978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4128 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4158 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4188 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4218 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4248 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4278 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4523 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 4338 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xa9fe4601811213c340e850ea305481aff02f5b28.abi.json b/tests/networks/ethereum/stakekit/abis/0xa9fe4601811213c340e850ea305481aff02f5b28.abi.json deleted file mode 100644 index 32764a2..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xa9fe4601811213c340e850ea305481aff02f5b28.abi.json +++ /dev/null @@ -1,1645 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "type": "address", - "name": "sender", - "indexed": true - }, - { - "type": "address", - "name": "receiver", - "indexed": true - }, - { - "type": "uint256", - "name": "value", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "type": "address", - "name": "owner", - "indexed": true - }, - { - "type": "address", - "name": "spender", - "indexed": true - }, - { - "type": "uint256", - "name": "value", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "debtRatio", - "indexed": false - }, - { - "type": "uint256", - "name": "minDebtPerHarvest", - "indexed": false - }, - { - "type": "uint256", - "name": "maxDebtPerHarvest", - "indexed": false - }, - { - "type": "uint256", - "name": "performanceFee", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "gain", - "indexed": false - }, - { - "type": "uint256", - "name": "loss", - "indexed": false - }, - { - "type": "uint256", - "name": "debtPaid", - "indexed": false - }, - { - "type": "uint256", - "name": "totalGain", - "indexed": false - }, - { - "type": "uint256", - "name": "totalLoss", - "indexed": false - }, - { - "type": "uint256", - "name": "totalDebt", - "indexed": false - }, - { - "type": "uint256", - "name": "debtAdded", - "indexed": false - }, - { - "type": "uint256", - "name": "debtRatio", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "type": "address", - "name": "governance", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "type": "address", - "name": "management", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuestList", - "inputs": [ - { - "type": "address", - "name": "guestList", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "type": "address", - "name": "rewards", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "type": "uint256", - "name": "depositLimit", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "type": "uint256", - "name": "performanceFee", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "type": "uint256", - "name": "managementFee", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "type": "address", - "name": "guardian", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "type": "bool", - "name": "active", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "type": "address[20]", - "name": "queue", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "debtRatio", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "minDebtPerHarvest", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "maxDebtPerHarvest", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "performanceFee", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "type": "address", - "name": "oldVersion", - "indexed": true - }, - { - "type": "address", - "name": "newVersion", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "initialize", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "token" - }, - { - "type": "address", - "name": "governance" - }, - { - "type": "address", - "name": "rewards" - }, - { - "type": "string", - "name": "nameOverride" - }, - { - "type": "string", - "name": "symbolOverride" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "initialize", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "token" - }, - { - "type": "address", - "name": "governance" - }, - { - "type": "address", - "name": "rewards" - }, - { - "type": "string", - "name": "nameOverride" - }, - { - "type": "string", - "name": "symbolOverride" - }, - { - "type": "address", - "name": "guardian" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "apiVersion", - "outputs": [ - { - "type": "string", - "name": "" - } - ], - "inputs": [], - "stateMutability": "pure", - "type": "function", - "gas": 4519 - }, - { - "name": "setName", - "outputs": [], - "inputs": [ - { - "type": "string", - "name": "name" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 107017 - }, - { - "name": "setSymbol", - "outputs": [], - "inputs": [ - { - "type": "string", - "name": "symbol" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 71867 - }, - { - "name": "setGovernance", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "governance" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 36338 - }, - { - "name": "acceptGovernance", - "outputs": [], - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37610 - }, - { - "name": "setManagement", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "management" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37748 - }, - { - "name": "setGuestList", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "guestList" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37778 - }, - { - "name": "setRewards", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "rewards" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37808 - }, - { - "name": "setLockedProfitDegration", - "outputs": [], - "inputs": [ - { - "type": "uint256", - "name": "degration" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 36516 - }, - { - "name": "setDepositLimit", - "outputs": [], - "inputs": [ - { - "type": "uint256", - "name": "limit" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37768 - }, - { - "name": "setPerformanceFee", - "outputs": [], - "inputs": [ - { - "type": "uint256", - "name": "fee" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37902 - }, - { - "name": "setManagementFee", - "outputs": [], - "inputs": [ - { - "type": "uint256", - "name": "fee" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37932 - }, - { - "name": "setGuardian", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "guardian" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 39176 - }, - { - "name": "setEmergencyShutdown", - "outputs": [], - "inputs": [ - { - "type": "bool", - "name": "active" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 39247 - }, - { - "name": "setWithdrawalQueue", - "outputs": [], - "inputs": [ - { - "type": "address[20]", - "name": "queue" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 763923 - }, - { - "name": "transfer", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "receiver" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 76913 - }, - { - "name": "transferFrom", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "sender" - }, - { - "type": "address", - "name": "receiver" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 116676 - }, - { - "name": "approve", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "spender" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 38334 - }, - { - "name": "increaseAllowance", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "spender" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 40375 - }, - { - "name": "decreaseAllowance", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "spender" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 40399 - }, - { - "name": "permit", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "owner" - }, - { - "type": "address", - "name": "spender" - }, - { - "type": "uint256", - "name": "amount" - }, - { - "type": "uint256", - "name": "expiry" - }, - { - "type": "bytes", - "name": "signature" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 81327 - }, - { - "name": "totalAssets", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 4303 - }, - { - "name": "deposit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "deposit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "_amount" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "deposit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "_amount" - }, - { - "type": "address", - "name": "recipient" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "maxAvailableShares", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 379843 - }, - { - "name": "withdraw", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "withdraw", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "maxShares" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "withdraw", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "maxShares" - }, - { - "type": "address", - "name": "recipient" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "withdraw", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "maxShares" - }, - { - "type": "address", - "name": "recipient" - }, - { - "type": "uint256", - "name": "maxLoss" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "pricePerShare", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 17509 - }, - { - "name": "addStrategy", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - }, - { - "type": "uint256", - "name": "debtRatio" - }, - { - "type": "uint256", - "name": "minDebtPerHarvest" - }, - { - "type": "uint256", - "name": "maxDebtPerHarvest" - }, - { - "type": "uint256", - "name": "performanceFee" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 1486241 - }, - { - "name": "updateStrategyDebtRatio", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - }, - { - "type": "uint256", - "name": "debtRatio" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 115406 - }, - { - "name": "updateStrategyMinDebtPerHarvest", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - }, - { - "type": "uint256", - "name": "minDebtPerHarvest" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 42654 - }, - { - "name": "updateStrategyMaxDebtPerHarvest", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - }, - { - "type": "uint256", - "name": "maxDebtPerHarvest" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 42684 - }, - { - "name": "updateStrategyPerformanceFee", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - }, - { - "type": "uint256", - "name": "performanceFee" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 41464 - }, - { - "name": "migrateStrategy", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "oldVersion" - }, - { - "type": "address", - "name": "newVersion" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 1141973 - }, - { - "name": "revokeStrategy", - "outputs": [], - "inputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "revokeStrategy", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "addStrategyToQueue", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 1197130 - }, - { - "name": "removeStrategyFromQueue", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 23093586 - }, - { - "name": "debtOutstanding", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function" - }, - { - "name": "debtOutstanding", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "name": "creditAvailable", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function" - }, - { - "name": "creditAvailable", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "name": "availableDepositLimit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 10108 - }, - { - "name": "expectedReturn", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function" - }, - { - "name": "expectedReturn", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "name": "report", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "gain" - }, - { - "type": "uint256", - "name": "loss" - }, - { - "type": "uint256", - "name": "_debtPayment" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 1009335 - }, - { - "name": "sweep", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "token" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "sweep", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "token" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "name", - "outputs": [ - { - "type": "string", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 9143 - }, - { - "name": "symbol", - "outputs": [ - { - "type": "string", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 8196 - }, - { - "name": "decimals", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2801 - }, - { - "name": "balanceOf", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "arg0" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 3046 - }, - { - "name": "allowance", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "arg0" - }, - { - "type": "address", - "name": "arg1" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 3291 - }, - { - "name": "totalSupply", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2891 - }, - { - "name": "token", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2921 - }, - { - "name": "governance", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2951 - }, - { - "name": "management", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2981 - }, - { - "name": "guardian", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3011 - }, - { - "name": "guestList", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3041 - }, - { - "name": "strategies", - "outputs": [ - { - "type": "uint256", - "name": "performanceFee" - }, - { - "type": "uint256", - "name": "activation" - }, - { - "type": "uint256", - "name": "debtRatio" - }, - { - "type": "uint256", - "name": "minDebtPerHarvest" - }, - { - "type": "uint256", - "name": "maxDebtPerHarvest" - }, - { - "type": "uint256", - "name": "lastReport" - }, - { - "type": "uint256", - "name": "totalDebt" - }, - { - "type": "uint256", - "name": "totalGain" - }, - { - "type": "uint256", - "name": "totalLoss" - } - ], - "inputs": [ - { - "type": "address", - "name": "arg0" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 11394 - }, - { - "name": "withdrawalQueue", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "arg0" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 3210 - }, - { - "name": "emergencyShutdown", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3131 - }, - { - "name": "depositLimit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3161 - }, - { - "name": "debtRatio", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3191 - }, - { - "name": "totalDebt", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3221 - }, - { - "name": "lastReport", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3251 - }, - { - "name": "activation", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3281 - }, - { - "name": "lockedProfit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3311 - }, - { - "name": "lockedProfitDegration", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3341 - }, - { - "name": "rewards", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3371 - }, - { - "name": "managementFee", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3401 - }, - { - "name": "performanceFee", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3431 - }, - { - "name": "nonces", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "arg0" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 3676 - }, - { - "name": "DOMAIN_SEPARATOR", - "outputs": [ - { - "type": "bytes32", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3491 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xaa379c2aa72529d5ec0da8a41e2f41ed7fe4b48c.abi.json b/tests/networks/ethereum/stakekit/abis/0xaa379c2aa72529d5ec0da8a41e2f41ed7fe4b48c.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xaa379c2aa72529d5ec0da8a41e2f41ed7fe4b48c.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xaa4f7562d3c25bd2fcb8fed615182667c0a7086c.abi.json b/tests/networks/ethereum/stakekit/abis/0xaa4f7562d3c25bd2fcb8fed615182667c0a7086c.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xaa4f7562d3c25bd2fcb8fed615182667c0a7086c.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xabd64d5ab5a4b129df4f6f37a8d461c2510b5503.abi.json b/tests/networks/ethereum/stakekit/abis/0xabd64d5ab5a4b129df4f6f37a8d461c2510b5503.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xabd64d5ab5a4b129df4f6f37a8d461c2510b5503.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xad2f9a55518dba12e8ab069502820923351667c5.abi.json b/tests/networks/ethereum/stakekit/abis/0xad2f9a55518dba12e8ab069502820923351667c5.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xad2f9a55518dba12e8ab069502820923351667c5.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xad86df2e8f989c828b25a7da5eb1ec363283fa3f.abi.json b/tests/networks/ethereum/stakekit/abis/0xad86df2e8f989c828b25a7da5eb1ec363283fa3f.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xad86df2e8f989c828b25a7da5eb1ec363283fa3f.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xae6ed98b1bd9aadd3185160324e0e011159b61d3.abi.json b/tests/networks/ethereum/stakekit/abis/0xae6ed98b1bd9aadd3185160324e0e011159b61d3.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xae6ed98b1bd9aadd3185160324e0e011159b61d3.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xae7ab96520de3a18e5e111b5eaab095312d7fe84.abi.json b/tests/networks/ethereum/stakekit/abis/0xae7ab96520de3a18e5e111b5eaab095312d7fe84.abi.json deleted file mode 100644 index eaea020..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xae7ab96520de3a18e5e111b5eaab095312d7fe84.abi.json +++ /dev/null @@ -1,1600 +0,0 @@ -[ - { - "constant": false, - "inputs": [], - "name": "resume", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "name", - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "payable": false, - "stateMutability": "pure", - "type": "function" - }, - { - "constant": false, - "inputs": [], - "name": "stop", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "hasInitialized", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_spender", - "type": "address" - }, - { - "name": "_amount", - "type": "uint256" - } - ], - "name": "approve", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "STAKING_CONTROL_ROLE", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "totalSupply", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_ethAmount", - "type": "uint256" - } - ], - "name": "getSharesByPooledEth", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "isStakingPaused", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_sender", - "type": "address" - }, - { - "name": "_recipient", - "type": "address" - }, - { - "name": "_amount", - "type": "uint256" - } - ], - "name": "transferFrom", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_script", - "type": "bytes" - } - ], - "name": "getEVMScriptExecutor", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_maxStakeLimit", - "type": "uint256" - }, - { - "name": "_stakeLimitIncreasePerBlock", - "type": "uint256" - } - ], - "name": "setStakingLimit", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "RESUME_ROLE", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_lidoLocator", - "type": "address" - }, - { - "name": "_eip712StETH", - "type": "address" - } - ], - "name": "finalizeUpgrade_v2", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "decimals", - "outputs": [ - { - "name": "", - "type": "uint8" - } - ], - "payable": false, - "stateMutability": "pure", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "getRecoveryVault", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "DOMAIN_SEPARATOR", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "getTotalPooledEther", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_newDepositedValidators", - "type": "uint256" - } - ], - "name": "unsafeChangeDepositedValidators", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "PAUSE_ROLE", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_spender", - "type": "address" - }, - { - "name": "_addedValue", - "type": "uint256" - } - ], - "name": "increaseAllowance", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "getTreasury", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "isStopped", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "getBufferedEther", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_lidoLocator", - "type": "address" - }, - { - "name": "_eip712StETH", - "type": "address" - } - ], - "name": "initialize", - "outputs": [], - "payable": true, - "stateMutability": "payable", - "type": "function" - }, - { - "constant": false, - "inputs": [], - "name": "receiveELRewards", - "outputs": [], - "payable": true, - "stateMutability": "payable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "getWithdrawalCredentials", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "getCurrentStakeLimit", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "getStakeLimitFullInfo", - "outputs": [ - { - "name": "isStakingPaused", - "type": "bool" - }, - { - "name": "isStakingLimitSet", - "type": "bool" - }, - { - "name": "currentStakeLimit", - "type": "uint256" - }, - { - "name": "maxStakeLimit", - "type": "uint256" - }, - { - "name": "maxStakeLimitGrowthBlocks", - "type": "uint256" - }, - { - "name": "prevStakeLimit", - "type": "uint256" - }, - { - "name": "prevStakeBlockNumber", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_sender", - "type": "address" - }, - { - "name": "_recipient", - "type": "address" - }, - { - "name": "_sharesAmount", - "type": "uint256" - } - ], - "name": "transferSharesFrom", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_account", - "type": "address" - } - ], - "name": "balanceOf", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [], - "name": "resumeStaking", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "getFeeDistribution", - "outputs": [ - { - "name": "treasuryFeeBasisPoints", - "type": "uint16" - }, - { - "name": "insuranceFeeBasisPoints", - "type": "uint16" - }, - { - "name": "operatorsFeeBasisPoints", - "type": "uint16" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [], - "name": "receiveWithdrawals", - "outputs": [], - "payable": true, - "stateMutability": "payable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_sharesAmount", - "type": "uint256" - } - ], - "name": "getPooledEthByShares", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "name": "allowRecoverability", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "owner", - "type": "address" - } - ], - "name": "nonces", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "appId", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "getOracle", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "eip712Domain", - "outputs": [ - { - "name": "name", - "type": "string" - }, - { - "name": "version", - "type": "string" - }, - { - "name": "chainId", - "type": "uint256" - }, - { - "name": "verifyingContract", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "getContractVersion", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "getInitializationBlock", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_recipient", - "type": "address" - }, - { - "name": "_sharesAmount", - "type": "uint256" - } - ], - "name": "transferShares", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "symbol", - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "payable": false, - "stateMutability": "pure", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "getEIP712StETH", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "", - "type": "address" - } - ], - "name": "transferToVault", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_sender", - "type": "address" - }, - { - "name": "_role", - "type": "bytes32" - }, - { - "name": "_params", - "type": "uint256[]" - } - ], - "name": "canPerform", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_referral", - "type": "address" - } - ], - "name": "submit", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": true, - "stateMutability": "payable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_spender", - "type": "address" - }, - { - "name": "_subtractedValue", - "type": "uint256" - } - ], - "name": "decreaseAllowance", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "getEVMScriptRegistry", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_recipient", - "type": "address" - }, - { - "name": "_amount", - "type": "uint256" - } - ], - "name": "transfer", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_maxDepositsCount", - "type": "uint256" - }, - { - "name": "_stakingModuleId", - "type": "uint256" - }, - { - "name": "_depositCalldata", - "type": "bytes" - } - ], - "name": "deposit", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "UNSAFE_CHANGE_DEPOSITED_VALIDATORS_ROLE", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "getBeaconStat", - "outputs": [ - { - "name": "depositedValidators", - "type": "uint256" - }, - { - "name": "beaconValidators", - "type": "uint256" - }, - { - "name": "beaconBalance", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [], - "name": "removeStakingLimit", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_reportTimestamp", - "type": "uint256" - }, - { - "name": "_timeElapsed", - "type": "uint256" - }, - { - "name": "_clValidators", - "type": "uint256" - }, - { - "name": "_clBalance", - "type": "uint256" - }, - { - "name": "_withdrawalVaultBalance", - "type": "uint256" - }, - { - "name": "_elRewardsVaultBalance", - "type": "uint256" - }, - { - "name": "_sharesRequestedToBurn", - "type": "uint256" - }, - { - "name": "_withdrawalFinalizationBatches", - "type": "uint256[]" - }, - { - "name": "_simulatedShareRate", - "type": "uint256" - } - ], - "name": "handleOracleReport", - "outputs": [ - { - "name": "postRebaseAmounts", - "type": "uint256[4]" - } - ], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "getFee", - "outputs": [ - { - "name": "totalFee", - "type": "uint16" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "kernel", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "getTotalShares", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [ - { - "name": "_owner", - "type": "address" - }, - { - "name": "_spender", - "type": "address" - }, - { - "name": "_value", - "type": "uint256" - }, - { - "name": "_deadline", - "type": "uint256" - }, - { - "name": "_v", - "type": "uint8" - }, - { - "name": "_r", - "type": "bytes32" - }, - { - "name": "_s", - "type": "bytes32" - } - ], - "name": "permit", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_owner", - "type": "address" - }, - { - "name": "_spender", - "type": "address" - } - ], - "name": "allowance", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "isPetrified", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "getLidoLocator", - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "canDeposit", - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "STAKING_PAUSE_ROLE", - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "getDepositableEther", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": true, - "inputs": [ - { - "name": "_account", - "type": "address" - } - ], - "name": "sharesOf", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "constant": false, - "inputs": [], - "name": "pauseStaking", - "outputs": [], - "payable": false, - "stateMutability": "nonpayable", - "type": "function" - }, - { - "constant": true, - "inputs": [], - "name": "getTotalELRewardsCollected", - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "payable": false, - "stateMutability": "view", - "type": "function" - }, - { - "payable": true, - "stateMutability": "payable", - "type": "fallback" - }, - { - "anonymous": false, - "inputs": [], - "name": "StakingPaused", - "type": "event" - }, - { - "anonymous": false, - "inputs": [], - "name": "StakingResumed", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "maxStakeLimit", - "type": "uint256" - }, - { - "indexed": false, - "name": "stakeLimitIncreasePerBlock", - "type": "uint256" - } - ], - "name": "StakingLimitSet", - "type": "event" - }, - { - "anonymous": false, - "inputs": [], - "name": "StakingLimitRemoved", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "reportTimestamp", - "type": "uint256" - }, - { - "indexed": false, - "name": "preCLValidators", - "type": "uint256" - }, - { - "indexed": false, - "name": "postCLValidators", - "type": "uint256" - } - ], - "name": "CLValidatorsUpdated", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "depositedValidators", - "type": "uint256" - } - ], - "name": "DepositedValidatorsChanged", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "reportTimestamp", - "type": "uint256" - }, - { - "indexed": false, - "name": "preCLBalance", - "type": "uint256" - }, - { - "indexed": false, - "name": "postCLBalance", - "type": "uint256" - }, - { - "indexed": false, - "name": "withdrawalsWithdrawn", - "type": "uint256" - }, - { - "indexed": false, - "name": "executionLayerRewardsWithdrawn", - "type": "uint256" - }, - { - "indexed": false, - "name": "postBufferedEther", - "type": "uint256" - } - ], - "name": "ETHDistributed", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "reportTimestamp", - "type": "uint256" - }, - { - "indexed": false, - "name": "timeElapsed", - "type": "uint256" - }, - { - "indexed": false, - "name": "preTotalShares", - "type": "uint256" - }, - { - "indexed": false, - "name": "preTotalEther", - "type": "uint256" - }, - { - "indexed": false, - "name": "postTotalShares", - "type": "uint256" - }, - { - "indexed": false, - "name": "postTotalEther", - "type": "uint256" - }, - { - "indexed": false, - "name": "sharesMintedAsFees", - "type": "uint256" - } - ], - "name": "TokenRebased", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "lidoLocator", - "type": "address" - } - ], - "name": "LidoLocatorSet", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "amount", - "type": "uint256" - } - ], - "name": "ELRewardsReceived", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "amount", - "type": "uint256" - } - ], - "name": "WithdrawalsReceived", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "sender", - "type": "address" - }, - { - "indexed": false, - "name": "amount", - "type": "uint256" - }, - { - "indexed": false, - "name": "referral", - "type": "address" - } - ], - "name": "Submitted", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "amount", - "type": "uint256" - } - ], - "name": "Unbuffered", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "executor", - "type": "address" - }, - { - "indexed": false, - "name": "script", - "type": "bytes" - }, - { - "indexed": false, - "name": "input", - "type": "bytes" - }, - { - "indexed": false, - "name": "returnData", - "type": "bytes" - } - ], - "name": "ScriptResult", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "vault", - "type": "address" - }, - { - "indexed": true, - "name": "token", - "type": "address" - }, - { - "indexed": false, - "name": "amount", - "type": "uint256" - } - ], - "name": "RecoverToVault", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "eip712StETH", - "type": "address" - } - ], - "name": "EIP712StETHInitialized", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "from", - "type": "address" - }, - { - "indexed": true, - "name": "to", - "type": "address" - }, - { - "indexed": false, - "name": "sharesValue", - "type": "uint256" - } - ], - "name": "TransferShares", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "account", - "type": "address" - }, - { - "indexed": false, - "name": "preRebaseTokenAmount", - "type": "uint256" - }, - { - "indexed": false, - "name": "postRebaseTokenAmount", - "type": "uint256" - }, - { - "indexed": false, - "name": "sharesAmount", - "type": "uint256" - } - ], - "name": "SharesBurnt", - "type": "event" - }, - { - "anonymous": false, - "inputs": [], - "name": "Stopped", - "type": "event" - }, - { - "anonymous": false, - "inputs": [], - "name": "Resumed", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "from", - "type": "address" - }, - { - "indexed": true, - "name": "to", - "type": "address" - }, - { - "indexed": false, - "name": "value", - "type": "uint256" - } - ], - "name": "Transfer", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "name": "spender", - "type": "address" - }, - { - "indexed": false, - "name": "value", - "type": "uint256" - } - ], - "name": "Approval", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "name": "version", - "type": "uint256" - } - ], - "name": "ContractVersionSet", - "type": "event" - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xb09f2a67a731466182518fae980feae96479d80b.abi.json b/tests/networks/ethereum/stakekit/abis/0xb09f2a67a731466182518fae980feae96479d80b.abi.json deleted file mode 100644 index a26af95..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xb09f2a67a731466182518fae980feae96479d80b.abi.json +++ /dev/null @@ -1,1643 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 5946 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 108344 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 73194 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 37665 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 38937 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 39075 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 39626 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37789 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39065 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39199 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39229 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 41773 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 41844 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 1090134 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 79308 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 121671 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38241 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42882 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42906 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 91494 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 8698 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1576655 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 77734 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1523989 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 124263 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47611 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47641 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42854 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1190208 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1255644 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23636673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 21381 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1239256 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 13920 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 11673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3923 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4168 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 22641 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4057 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 3978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4128 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4158 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4188 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4218 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4248 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4278 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4523 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 4338 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xb37094c1b5614bd6ece40afb295c26f4377069d3.abi.json b/tests/networks/ethereum/stakekit/abis/0xb37094c1b5614bd6ece40afb295c26f4377069d3.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xb37094c1b5614bd6ece40afb295c26f4377069d3.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xb4ada607b9d6b2c9ee07a275e9616b84ac560139.abi.json b/tests/networks/ethereum/stakekit/abis/0xb4ada607b9d6b2c9ee07a275e9616b84ac560139.abi.json deleted file mode 100644 index a3f716d..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xb4ada607b9d6b2c9ee07a275e9616b84ac560139.abi.json +++ /dev/null @@ -1,1658 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 4546 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 107044 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 71894 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 36365 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 37637 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 37775 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address" - } - ], - "outputs": [], - "gas": 37805 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 37835 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegration", - "inputs": [ - { - "name": "degration", - "type": "uint256" - } - ], - "outputs": [], - "gas": 36519 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37795 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37929 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37959 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 39203 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 39274 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 763950 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 76768 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 116531 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38271 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40312 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40336 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 81264 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 383839 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 18195 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1485796 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 115193 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42441 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42471 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 41251 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1141468 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1199804 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23088703 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 9551 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1015170 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 8750 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 7803 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2408 - }, - { - "stateMutability": "view", - "type": "function", - "name": "precisionFactor", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2438 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2683 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2928 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2528 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2558 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2588 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2618 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2648 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guestList", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 11031 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2847 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 2768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2918 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2948 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegration", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3313 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 3128 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xb4d1be44bff40ad6e506edf43156577a3f8672ec.abi.json b/tests/networks/ethereum/stakekit/abis/0xb4d1be44bff40ad6e506edf43156577a3f8672ec.abi.json deleted file mode 100644 index a3f716d..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xb4d1be44bff40ad6e506edf43156577a3f8672ec.abi.json +++ /dev/null @@ -1,1658 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 4546 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 107044 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 71894 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 36365 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 37637 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 37775 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address" - } - ], - "outputs": [], - "gas": 37805 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 37835 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegration", - "inputs": [ - { - "name": "degration", - "type": "uint256" - } - ], - "outputs": [], - "gas": 36519 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37795 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37929 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37959 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 39203 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 39274 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 763950 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 76768 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 116531 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38271 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40312 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40336 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 81264 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 383839 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 18195 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1485796 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 115193 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42441 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42471 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 41251 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1141468 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1199804 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23088703 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 9551 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1015170 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 8750 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 7803 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2408 - }, - { - "stateMutability": "view", - "type": "function", - "name": "precisionFactor", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2438 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2683 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2928 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2528 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2558 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2588 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2618 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2648 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guestList", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 11031 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2847 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 2768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2918 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2948 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegration", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3313 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 3128 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xb512d68a3194ba294a5b8146fa9becd6a5fea137.abi.json b/tests/networks/ethereum/stakekit/abis/0xb512d68a3194ba294a5b8146fa9becd6a5fea137.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xb512d68a3194ba294a5b8146fa9becd6a5fea137.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xb5de7250128775a317b3f775a7afcec73571b732.abi.json b/tests/networks/ethereum/stakekit/abis/0xb5de7250128775a317b3f775a7afcec73571b732.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xb5de7250128775a317b3f775a7afcec73571b732.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xb8c3b7a2a618c552c23b1e4701109a9e756bab67.abi.json b/tests/networks/ethereum/stakekit/abis/0xb8c3b7a2a618c552c23b1e4701109a9e756bab67.abi.json deleted file mode 100644 index 32764a2..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xb8c3b7a2a618c552c23b1e4701109a9e756bab67.abi.json +++ /dev/null @@ -1,1645 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "type": "address", - "name": "sender", - "indexed": true - }, - { - "type": "address", - "name": "receiver", - "indexed": true - }, - { - "type": "uint256", - "name": "value", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "type": "address", - "name": "owner", - "indexed": true - }, - { - "type": "address", - "name": "spender", - "indexed": true - }, - { - "type": "uint256", - "name": "value", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "debtRatio", - "indexed": false - }, - { - "type": "uint256", - "name": "minDebtPerHarvest", - "indexed": false - }, - { - "type": "uint256", - "name": "maxDebtPerHarvest", - "indexed": false - }, - { - "type": "uint256", - "name": "performanceFee", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "gain", - "indexed": false - }, - { - "type": "uint256", - "name": "loss", - "indexed": false - }, - { - "type": "uint256", - "name": "debtPaid", - "indexed": false - }, - { - "type": "uint256", - "name": "totalGain", - "indexed": false - }, - { - "type": "uint256", - "name": "totalLoss", - "indexed": false - }, - { - "type": "uint256", - "name": "totalDebt", - "indexed": false - }, - { - "type": "uint256", - "name": "debtAdded", - "indexed": false - }, - { - "type": "uint256", - "name": "debtRatio", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "type": "address", - "name": "governance", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "type": "address", - "name": "management", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuestList", - "inputs": [ - { - "type": "address", - "name": "guestList", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "type": "address", - "name": "rewards", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "type": "uint256", - "name": "depositLimit", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "type": "uint256", - "name": "performanceFee", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "type": "uint256", - "name": "managementFee", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "type": "address", - "name": "guardian", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "type": "bool", - "name": "active", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "type": "address[20]", - "name": "queue", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "debtRatio", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "minDebtPerHarvest", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "maxDebtPerHarvest", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "performanceFee", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "type": "address", - "name": "oldVersion", - "indexed": true - }, - { - "type": "address", - "name": "newVersion", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "initialize", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "token" - }, - { - "type": "address", - "name": "governance" - }, - { - "type": "address", - "name": "rewards" - }, - { - "type": "string", - "name": "nameOverride" - }, - { - "type": "string", - "name": "symbolOverride" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "initialize", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "token" - }, - { - "type": "address", - "name": "governance" - }, - { - "type": "address", - "name": "rewards" - }, - { - "type": "string", - "name": "nameOverride" - }, - { - "type": "string", - "name": "symbolOverride" - }, - { - "type": "address", - "name": "guardian" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "apiVersion", - "outputs": [ - { - "type": "string", - "name": "" - } - ], - "inputs": [], - "stateMutability": "pure", - "type": "function", - "gas": 4519 - }, - { - "name": "setName", - "outputs": [], - "inputs": [ - { - "type": "string", - "name": "name" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 107017 - }, - { - "name": "setSymbol", - "outputs": [], - "inputs": [ - { - "type": "string", - "name": "symbol" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 71867 - }, - { - "name": "setGovernance", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "governance" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 36338 - }, - { - "name": "acceptGovernance", - "outputs": [], - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37610 - }, - { - "name": "setManagement", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "management" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37748 - }, - { - "name": "setGuestList", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "guestList" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37778 - }, - { - "name": "setRewards", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "rewards" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37808 - }, - { - "name": "setLockedProfitDegration", - "outputs": [], - "inputs": [ - { - "type": "uint256", - "name": "degration" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 36516 - }, - { - "name": "setDepositLimit", - "outputs": [], - "inputs": [ - { - "type": "uint256", - "name": "limit" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37768 - }, - { - "name": "setPerformanceFee", - "outputs": [], - "inputs": [ - { - "type": "uint256", - "name": "fee" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37902 - }, - { - "name": "setManagementFee", - "outputs": [], - "inputs": [ - { - "type": "uint256", - "name": "fee" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37932 - }, - { - "name": "setGuardian", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "guardian" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 39176 - }, - { - "name": "setEmergencyShutdown", - "outputs": [], - "inputs": [ - { - "type": "bool", - "name": "active" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 39247 - }, - { - "name": "setWithdrawalQueue", - "outputs": [], - "inputs": [ - { - "type": "address[20]", - "name": "queue" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 763923 - }, - { - "name": "transfer", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "receiver" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 76913 - }, - { - "name": "transferFrom", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "sender" - }, - { - "type": "address", - "name": "receiver" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 116676 - }, - { - "name": "approve", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "spender" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 38334 - }, - { - "name": "increaseAllowance", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "spender" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 40375 - }, - { - "name": "decreaseAllowance", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "spender" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 40399 - }, - { - "name": "permit", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "owner" - }, - { - "type": "address", - "name": "spender" - }, - { - "type": "uint256", - "name": "amount" - }, - { - "type": "uint256", - "name": "expiry" - }, - { - "type": "bytes", - "name": "signature" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 81327 - }, - { - "name": "totalAssets", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 4303 - }, - { - "name": "deposit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "deposit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "_amount" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "deposit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "_amount" - }, - { - "type": "address", - "name": "recipient" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "maxAvailableShares", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 379843 - }, - { - "name": "withdraw", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "withdraw", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "maxShares" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "withdraw", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "maxShares" - }, - { - "type": "address", - "name": "recipient" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "withdraw", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "maxShares" - }, - { - "type": "address", - "name": "recipient" - }, - { - "type": "uint256", - "name": "maxLoss" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "pricePerShare", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 17509 - }, - { - "name": "addStrategy", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - }, - { - "type": "uint256", - "name": "debtRatio" - }, - { - "type": "uint256", - "name": "minDebtPerHarvest" - }, - { - "type": "uint256", - "name": "maxDebtPerHarvest" - }, - { - "type": "uint256", - "name": "performanceFee" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 1486241 - }, - { - "name": "updateStrategyDebtRatio", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - }, - { - "type": "uint256", - "name": "debtRatio" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 115406 - }, - { - "name": "updateStrategyMinDebtPerHarvest", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - }, - { - "type": "uint256", - "name": "minDebtPerHarvest" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 42654 - }, - { - "name": "updateStrategyMaxDebtPerHarvest", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - }, - { - "type": "uint256", - "name": "maxDebtPerHarvest" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 42684 - }, - { - "name": "updateStrategyPerformanceFee", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - }, - { - "type": "uint256", - "name": "performanceFee" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 41464 - }, - { - "name": "migrateStrategy", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "oldVersion" - }, - { - "type": "address", - "name": "newVersion" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 1141973 - }, - { - "name": "revokeStrategy", - "outputs": [], - "inputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "revokeStrategy", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "addStrategyToQueue", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 1197130 - }, - { - "name": "removeStrategyFromQueue", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 23093586 - }, - { - "name": "debtOutstanding", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function" - }, - { - "name": "debtOutstanding", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "name": "creditAvailable", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function" - }, - { - "name": "creditAvailable", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "name": "availableDepositLimit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 10108 - }, - { - "name": "expectedReturn", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function" - }, - { - "name": "expectedReturn", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "name": "report", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "gain" - }, - { - "type": "uint256", - "name": "loss" - }, - { - "type": "uint256", - "name": "_debtPayment" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 1009335 - }, - { - "name": "sweep", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "token" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "sweep", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "token" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "name", - "outputs": [ - { - "type": "string", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 9143 - }, - { - "name": "symbol", - "outputs": [ - { - "type": "string", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 8196 - }, - { - "name": "decimals", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2801 - }, - { - "name": "balanceOf", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "arg0" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 3046 - }, - { - "name": "allowance", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "arg0" - }, - { - "type": "address", - "name": "arg1" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 3291 - }, - { - "name": "totalSupply", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2891 - }, - { - "name": "token", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2921 - }, - { - "name": "governance", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2951 - }, - { - "name": "management", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2981 - }, - { - "name": "guardian", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3011 - }, - { - "name": "guestList", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3041 - }, - { - "name": "strategies", - "outputs": [ - { - "type": "uint256", - "name": "performanceFee" - }, - { - "type": "uint256", - "name": "activation" - }, - { - "type": "uint256", - "name": "debtRatio" - }, - { - "type": "uint256", - "name": "minDebtPerHarvest" - }, - { - "type": "uint256", - "name": "maxDebtPerHarvest" - }, - { - "type": "uint256", - "name": "lastReport" - }, - { - "type": "uint256", - "name": "totalDebt" - }, - { - "type": "uint256", - "name": "totalGain" - }, - { - "type": "uint256", - "name": "totalLoss" - } - ], - "inputs": [ - { - "type": "address", - "name": "arg0" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 11394 - }, - { - "name": "withdrawalQueue", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "arg0" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 3210 - }, - { - "name": "emergencyShutdown", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3131 - }, - { - "name": "depositLimit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3161 - }, - { - "name": "debtRatio", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3191 - }, - { - "name": "totalDebt", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3221 - }, - { - "name": "lastReport", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3251 - }, - { - "name": "activation", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3281 - }, - { - "name": "lockedProfit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3311 - }, - { - "name": "lockedProfitDegration", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3341 - }, - { - "name": "rewards", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3371 - }, - { - "name": "managementFee", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3401 - }, - { - "name": "performanceFee", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3431 - }, - { - "name": "nonces", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "arg0" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 3676 - }, - { - "name": "DOMAIN_SEPARATOR", - "outputs": [ - { - "type": "bytes32", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3491 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xbcbb5b54fa51e7b7dc920340043b203447842a6b.abi.json b/tests/networks/ethereum/stakekit/abis/0xbcbb5b54fa51e7b7dc920340043b203447842a6b.abi.json deleted file mode 100644 index a26af95..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xbcbb5b54fa51e7b7dc920340043b203447842a6b.abi.json +++ /dev/null @@ -1,1643 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 5946 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 108344 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 73194 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 37665 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 38937 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 39075 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 39626 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37789 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39065 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39199 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39229 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 41773 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 41844 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 1090134 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 79308 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 121671 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38241 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42882 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42906 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 91494 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 8698 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1576655 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 77734 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1523989 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 124263 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47611 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47641 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42854 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1190208 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1255644 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23636673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 21381 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1239256 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 13920 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 11673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3923 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4168 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 22641 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4057 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 3978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4128 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4158 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4188 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4218 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4248 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4278 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4523 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 4338 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xbe4afe6737ccf34ca21cdef461e5c7547adc8c77.abi.json b/tests/networks/ethereum/stakekit/abis/0xbe4afe6737ccf34ca21cdef461e5c7547adc8c77.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xbe4afe6737ccf34ca21cdef461e5c7547adc8c77.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xbf91b696a35b539b1142e2f921a2a88bb019506a.abi.json b/tests/networks/ethereum/stakekit/abis/0xbf91b696a35b539b1142e2f921a2a88bb019506a.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xbf91b696a35b539b1142e2f921a2a88bb019506a.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xbfa4d8aa6d8a379abfe7793399d3ddacc5bbecbb.abi.json b/tests/networks/ethereum/stakekit/abis/0xbfa4d8aa6d8a379abfe7793399d3ddacc5bbecbb.abi.json deleted file mode 100644 index cac2db2..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xbfa4d8aa6d8a379abfe7793399d3ddacc5bbecbb.abi.json +++ /dev/null @@ -1,1282 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "type": "address", - "name": "sender", - "indexed": true - }, - { - "type": "address", - "name": "receiver", - "indexed": true - }, - { - "type": "uint256", - "name": "value", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "type": "address", - "name": "owner", - "indexed": true - }, - { - "type": "address", - "name": "spender", - "indexed": true - }, - { - "type": "uint256", - "name": "value", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "debtLimit", - "indexed": false - }, - { - "type": "uint256", - "name": "rateLimit", - "indexed": false - }, - { - "type": "uint256", - "name": "performanceFee", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "gain", - "indexed": false - }, - { - "type": "uint256", - "name": "loss", - "indexed": false - }, - { - "type": "uint256", - "name": "totalGain", - "indexed": false - }, - { - "type": "uint256", - "name": "totalLoss", - "indexed": false - }, - { - "type": "uint256", - "name": "totalDebt", - "indexed": false - }, - { - "type": "uint256", - "name": "debtAdded", - "indexed": false - }, - { - "type": "uint256", - "name": "debtLimit", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "_token" - }, - { - "type": "address", - "name": "_governance" - }, - { - "type": "address", - "name": "_rewards" - }, - { - "type": "string", - "name": "_nameOverride" - }, - { - "type": "string", - "name": "_symbolOverride" - } - ], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "name": "apiVersion", - "outputs": [ - { - "type": "string", - "name": "" - } - ], - "inputs": [], - "stateMutability": "pure", - "type": "function", - "gas": 4489 - }, - { - "name": "setName", - "outputs": [], - "inputs": [ - { - "type": "string", - "name": "_name" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 106987 - }, - { - "name": "setSymbol", - "outputs": [], - "inputs": [ - { - "type": "string", - "name": "_symbol" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 71837 - }, - { - "name": "setGovernance", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "_governance" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 36308 - }, - { - "name": "acceptGovernance", - "outputs": [], - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "gas": 36234 - }, - { - "name": "setGuestList", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "_guestList" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 36368 - }, - { - "name": "setRewards", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "_rewards" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 36398 - }, - { - "name": "setDepositLimit", - "outputs": [], - "inputs": [ - { - "type": "uint256", - "name": "_limit" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 36328 - }, - { - "name": "setPerformanceFee", - "outputs": [], - "inputs": [ - { - "type": "uint256", - "name": "_fee" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 36358 - }, - { - "name": "setManagementFee", - "outputs": [], - "inputs": [ - { - "type": "uint256", - "name": "_fee" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 36388 - }, - { - "name": "setGuardian", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "_guardian" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37745 - }, - { - "name": "setEmergencyShutdown", - "outputs": [], - "inputs": [ - { - "type": "bool", - "name": "_active" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37775 - }, - { - "name": "setWithdrawalQueue", - "outputs": [], - "inputs": [ - { - "type": "address[20]", - "name": "_queue" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 750044 - }, - { - "name": "transfer", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "_to" - }, - { - "type": "uint256", - "name": "_value" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 76619 - }, - { - "name": "transferFrom", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "_from" - }, - { - "type": "address", - "name": "_to" - }, - { - "type": "uint256", - "name": "_value" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 116382 - }, - { - "name": "approve", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "_spender" - }, - { - "type": "uint256", - "name": "_value" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 38184 - }, - { - "name": "increaseAllowance", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "_spender" - }, - { - "type": "uint256", - "name": "_value" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 40225 - }, - { - "name": "decreaseAllowance", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "_spender" - }, - { - "type": "uint256", - "name": "_value" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 40249 - }, - { - "name": "permit", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "owner" - }, - { - "type": "address", - "name": "spender" - }, - { - "type": "uint256", - "name": "amount" - }, - { - "type": "uint256", - "name": "expiry" - }, - { - "type": "bytes", - "name": "signature" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 81177 - }, - { - "name": "totalAssets", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 4003 - }, - { - "name": "balanceSheetOfStrategy", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "_strategy" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 2508 - }, - { - "name": "totalBalanceSheet", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address[40]", - "name": "_strategies" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 77066 - }, - { - "name": "deposit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "deposit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "_amount" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "deposit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "_amount" - }, - { - "type": "address", - "name": "_recipient" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "maxAvailableShares", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 359791 - }, - { - "name": "withdraw", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "withdraw", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "_shares" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "withdraw", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "_shares" - }, - { - "type": "address", - "name": "_recipient" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "pricePerShare", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 12352 - }, - { - "name": "addStrategy", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "_strategy" - }, - { - "type": "uint256", - "name": "_debtLimit" - }, - { - "type": "uint256", - "name": "_rateLimit" - }, - { - "type": "uint256", - "name": "_performanceFee" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 1445752 - }, - { - "name": "updateStrategyDebtLimit", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "_strategy" - }, - { - "type": "uint256", - "name": "_debtLimit" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 111496 - }, - { - "name": "updateStrategyRateLimit", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "_strategy" - }, - { - "type": "uint256", - "name": "_rateLimit" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 38548 - }, - { - "name": "updateStrategyPerformanceFee", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "_strategy" - }, - { - "type": "uint256", - "name": "_performanceFee" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 38572 - }, - { - "name": "migrateStrategy", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "_oldVersion" - }, - { - "type": "address", - "name": "_newVersion" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 1178418 - }, - { - "name": "revokeStrategy", - "outputs": [], - "inputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "revokeStrategy", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "_strategy" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "addStrategyToQueue", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "_strategy" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 1194595 - }, - { - "name": "removeStrategyFromQueue", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "_strategy" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 23068248 - }, - { - "name": "debtOutstanding", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function" - }, - { - "name": "debtOutstanding", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "_strategy" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "name": "creditAvailable", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function" - }, - { - "name": "creditAvailable", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "_strategy" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "name": "availableDepositLimit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 9688 - }, - { - "name": "expectedReturn", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function" - }, - { - "name": "expectedReturn", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "_strategy" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "name": "report", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "_gain" - }, - { - "type": "uint256", - "name": "_loss" - }, - { - "type": "uint256", - "name": "_debtPayment" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 919553 - }, - { - "name": "sweep", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "_token" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "sweep", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "_token" - }, - { - "type": "uint256", - "name": "_value" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "name", - "outputs": [ - { - "type": "string", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 9053 - }, - { - "name": "symbol", - "outputs": [ - { - "type": "string", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 8106 - }, - { - "name": "decimals", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2711 - }, - { - "name": "balanceOf", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "arg0" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 2956 - }, - { - "name": "allowance", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "arg0" - }, - { - "type": "address", - "name": "arg1" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 3201 - }, - { - "name": "totalSupply", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2801 - }, - { - "name": "token", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2831 - }, - { - "name": "governance", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2861 - }, - { - "name": "guardian", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2891 - }, - { - "name": "guestList", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2921 - }, - { - "name": "strategies", - "outputs": [ - { - "type": "uint256", - "name": "performanceFee" - }, - { - "type": "uint256", - "name": "activation" - }, - { - "type": "uint256", - "name": "debtLimit" - }, - { - "type": "uint256", - "name": "rateLimit" - }, - { - "type": "uint256", - "name": "lastReport" - }, - { - "type": "uint256", - "name": "totalDebt" - }, - { - "type": "uint256", - "name": "totalGain" - }, - { - "type": "uint256", - "name": "totalLoss" - } - ], - "inputs": [ - { - "type": "address", - "name": "arg0" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 10292 - }, - { - "name": "withdrawalQueue", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "arg0" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 3090 - }, - { - "name": "emergencyShutdown", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3011 - }, - { - "name": "depositLimit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3041 - }, - { - "name": "debtLimit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3071 - }, - { - "name": "totalDebt", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3101 - }, - { - "name": "lastReport", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3131 - }, - { - "name": "activation", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3161 - }, - { - "name": "rewards", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3191 - }, - { - "name": "managementFee", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3221 - }, - { - "name": "performanceFee", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3251 - }, - { - "name": "nonces", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "arg0" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 3496 - }, - { - "name": "DOMAIN_SEPARATOR", - "outputs": [ - { - "type": "bytes32", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3311 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xbfedbcbe27171c418cdabc2477042554b1904857.abi.json b/tests/networks/ethereum/stakekit/abis/0xbfedbcbe27171c418cdabc2477042554b1904857.abi.json deleted file mode 100644 index a3f716d..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xbfedbcbe27171c418cdabc2477042554b1904857.abi.json +++ /dev/null @@ -1,1658 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 4546 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 107044 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 71894 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 36365 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 37637 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 37775 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address" - } - ], - "outputs": [], - "gas": 37805 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 37835 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegration", - "inputs": [ - { - "name": "degration", - "type": "uint256" - } - ], - "outputs": [], - "gas": 36519 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37795 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37929 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37959 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 39203 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 39274 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 763950 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 76768 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 116531 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38271 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40312 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40336 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 81264 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 383839 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 18195 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1485796 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 115193 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42441 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42471 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 41251 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1141468 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1199804 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23088703 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 9551 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1015170 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 8750 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 7803 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2408 - }, - { - "stateMutability": "view", - "type": "function", - "name": "precisionFactor", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2438 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2683 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2928 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2528 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2558 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2588 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2618 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2648 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guestList", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 11031 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2847 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 2768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2918 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2948 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegration", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3313 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 3128 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xc09cfb625e586b117282399433257a1c0841edf3.abi.json b/tests/networks/ethereum/stakekit/abis/0xc09cfb625e586b117282399433257a1c0841edf3.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xc09cfb625e586b117282399433257a1c0841edf3.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xc116df49c02c5fd147de25baa105322ebf26bd97.abi.json b/tests/networks/ethereum/stakekit/abis/0xc116df49c02c5fd147de25baa105322ebf26bd97.abi.json deleted file mode 100644 index a3f716d..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xc116df49c02c5fd147de25baa105322ebf26bd97.abi.json +++ /dev/null @@ -1,1658 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 4546 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 107044 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 71894 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 36365 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 37637 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 37775 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address" - } - ], - "outputs": [], - "gas": 37805 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 37835 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegration", - "inputs": [ - { - "name": "degration", - "type": "uint256" - } - ], - "outputs": [], - "gas": 36519 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37795 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37929 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37959 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 39203 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 39274 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 763950 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 76768 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 116531 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38271 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40312 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40336 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 81264 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 383839 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 18195 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1485796 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 115193 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42441 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42471 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 41251 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1141468 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1199804 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23088703 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 9551 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1015170 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 8750 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 7803 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2408 - }, - { - "stateMutability": "view", - "type": "function", - "name": "precisionFactor", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2438 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2683 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2928 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2528 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2558 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2588 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2618 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2648 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guestList", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 11031 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2847 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 2768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2918 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2948 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegration", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3313 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 3128 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xc1f3c276bf73396c020e8354bca581846171649d.abi.json b/tests/networks/ethereum/stakekit/abis/0xc1f3c276bf73396c020e8354bca581846171649d.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xc1f3c276bf73396c020e8354bca581846171649d.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xc2adad1bd59a1da3d35bd86cdb555694372f488f.abi.json b/tests/networks/ethereum/stakekit/abis/0xc2adad1bd59a1da3d35bd86cdb555694372f488f.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xc2adad1bd59a1da3d35bd86cdb555694372f488f.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xc325849908d482550b87f96ef60271b95f92c861.abi.json b/tests/networks/ethereum/stakekit/abis/0xc325849908d482550b87f96ef60271b95f92c861.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xc325849908d482550b87f96ef60271b95f92c861.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xc4daf3b5e2a9e93861c3fbdd25f1e943b8d87417.abi.json b/tests/networks/ethereum/stakekit/abis/0xc4daf3b5e2a9e93861c3fbdd25f1e943b8d87417.abi.json deleted file mode 100644 index a3f716d..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xc4daf3b5e2a9e93861c3fbdd25f1e943b8d87417.abi.json +++ /dev/null @@ -1,1658 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 4546 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 107044 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 71894 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 36365 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 37637 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 37775 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address" - } - ], - "outputs": [], - "gas": 37805 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 37835 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegration", - "inputs": [ - { - "name": "degration", - "type": "uint256" - } - ], - "outputs": [], - "gas": 36519 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37795 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37929 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37959 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 39203 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 39274 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 763950 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 76768 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 116531 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38271 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40312 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40336 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 81264 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 383839 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 18195 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1485796 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 115193 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42441 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42471 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 41251 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1141468 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1199804 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23088703 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 9551 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1015170 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 8750 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 7803 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2408 - }, - { - "stateMutability": "view", - "type": "function", - "name": "precisionFactor", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2438 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2683 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2928 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2528 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2558 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2588 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2618 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2648 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guestList", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 11031 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2847 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 2768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2918 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2948 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegration", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3313 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 3128 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xc5f3d11580c41cd07104e9af154fc6428bb93c73.abi.json b/tests/networks/ethereum/stakekit/abis/0xc5f3d11580c41cd07104e9af154fc6428bb93c73.abi.json deleted file mode 100644 index a26af95..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xc5f3d11580c41cd07104e9af154fc6428bb93c73.abi.json +++ /dev/null @@ -1,1643 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 5946 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 108344 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 73194 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 37665 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 38937 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 39075 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 39626 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37789 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39065 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39199 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39229 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 41773 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 41844 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 1090134 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 79308 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 121671 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38241 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42882 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42906 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 91494 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 8698 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1576655 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 77734 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1523989 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 124263 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47611 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47641 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42854 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1190208 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1255644 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23636673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 21381 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1239256 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 13920 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 11673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3923 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4168 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 22641 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4057 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 3978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4128 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4158 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4188 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4218 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4248 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4278 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4523 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 4338 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xc688c419f2407670463068ce540528b9a710ae7f.abi.json b/tests/networks/ethereum/stakekit/abis/0xc688c419f2407670463068ce540528b9a710ae7f.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xc688c419f2407670463068ce540528b9a710ae7f.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xc869206adafd3d874db22e8bba662e05f6257613.abi.json b/tests/networks/ethereum/stakekit/abis/0xc869206adafd3d874db22e8bba662e05f6257613.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xc869206adafd3d874db22e8bba662e05f6257613.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xc8be5e2ae51c3f75fcfbd900505ec63ce7de320c.abi.json b/tests/networks/ethereum/stakekit/abis/0xc8be5e2ae51c3f75fcfbd900505ec63ce7de320c.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xc8be5e2ae51c3f75fcfbd900505ec63ce7de320c.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xc8ca30aa2e486846f7304d3b9334f96d32000f8d.abi.json b/tests/networks/ethereum/stakekit/abis/0xc8ca30aa2e486846f7304d3b9334f96d32000f8d.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xc8ca30aa2e486846f7304d3b9334f96d32000f8d.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xc97232527b62efb0d8ed38cf3ea103a6cca4037e.abi.json b/tests/networks/ethereum/stakekit/abis/0xc97232527b62efb0d8ed38cf3ea103a6cca4037e.abi.json deleted file mode 100644 index a26af95..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xc97232527b62efb0d8ed38cf3ea103a6cca4037e.abi.json +++ /dev/null @@ -1,1643 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 5946 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 108344 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 73194 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 37665 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 38937 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 39075 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 39626 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37789 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39065 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39199 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39229 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 41773 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 41844 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 1090134 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 79308 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 121671 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38241 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42882 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42906 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 91494 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 8698 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1576655 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 77734 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1523989 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 124263 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47611 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47641 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42854 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1190208 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1255644 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23636673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 21381 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1239256 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 13920 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 11673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3923 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4168 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 22641 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4057 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 3978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4128 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4158 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4188 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4218 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4248 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4278 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4523 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 4338 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xca31dcb9d30e70bf709b41e3935c3f7cdbc6d255.abi.json b/tests/networks/ethereum/stakekit/abis/0xca31dcb9d30e70bf709b41e3935c3f7cdbc6d255.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xca31dcb9d30e70bf709b41e3935c3f7cdbc6d255.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xca46d6e44499afbd8795f8f86910f068a6bf1a7c.abi.json b/tests/networks/ethereum/stakekit/abis/0xca46d6e44499afbd8795f8f86910f068a6bf1a7c.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xca46d6e44499afbd8795f8f86910f068a6bf1a7c.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xcb550a6d4c8e3517a939bc79d0c7093eb7cf56b5.abi.json b/tests/networks/ethereum/stakekit/abis/0xcb550a6d4c8e3517a939bc79d0c7093eb7cf56b5.abi.json deleted file mode 100644 index 2c4b416..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xcb550a6d4c8e3517a939bc79d0c7093eb7cf56b5.abi.json +++ /dev/null @@ -1,1559 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "type": "address", - "name": "sender", - "indexed": true - }, - { - "type": "address", - "name": "receiver", - "indexed": true - }, - { - "type": "uint256", - "name": "value", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "type": "address", - "name": "owner", - "indexed": true - }, - { - "type": "address", - "name": "spender", - "indexed": true - }, - { - "type": "uint256", - "name": "value", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "debtRatio", - "indexed": false - }, - { - "type": "uint256", - "name": "rateLimit", - "indexed": false - }, - { - "type": "uint256", - "name": "performanceFee", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "gain", - "indexed": false - }, - { - "type": "uint256", - "name": "loss", - "indexed": false - }, - { - "type": "uint256", - "name": "debtPaid", - "indexed": false - }, - { - "type": "uint256", - "name": "totalGain", - "indexed": false - }, - { - "type": "uint256", - "name": "totalLoss", - "indexed": false - }, - { - "type": "uint256", - "name": "totalDebt", - "indexed": false - }, - { - "type": "uint256", - "name": "debtAdded", - "indexed": false - }, - { - "type": "uint256", - "name": "debtRatio", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "type": "address", - "name": "governance", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "type": "address", - "name": "management", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuestList", - "inputs": [ - { - "type": "address", - "name": "guestList", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "type": "address", - "name": "rewards", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "type": "uint256", - "name": "depositLimit", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "type": "uint256", - "name": "performanceFee", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "type": "uint256", - "name": "managementFee", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "type": "address", - "name": "guardian", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "type": "bool", - "name": "active", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "type": "address[20]", - "name": "queue", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "debtRatio", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateRateLimit", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "rateLimit", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "performanceFee", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "type": "address", - "name": "oldVersion", - "indexed": true - }, - { - "type": "address", - "name": "newVersion", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "initialize", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "token" - }, - { - "type": "address", - "name": "governance" - }, - { - "type": "address", - "name": "rewards" - }, - { - "type": "string", - "name": "nameOverride" - }, - { - "type": "string", - "name": "symbolOverride" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "initialize", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "token" - }, - { - "type": "address", - "name": "governance" - }, - { - "type": "address", - "name": "rewards" - }, - { - "type": "string", - "name": "nameOverride" - }, - { - "type": "string", - "name": "symbolOverride" - }, - { - "type": "address", - "name": "guardian" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "apiVersion", - "outputs": [ - { - "type": "string", - "name": "" - } - ], - "inputs": [], - "stateMutability": "pure", - "type": "function", - "gas": 4519 - }, - { - "name": "setName", - "outputs": [], - "inputs": [ - { - "type": "string", - "name": "name" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 107017 - }, - { - "name": "setSymbol", - "outputs": [], - "inputs": [ - { - "type": "string", - "name": "symbol" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 71867 - }, - { - "name": "setGovernance", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "governance" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 36338 - }, - { - "name": "acceptGovernance", - "outputs": [], - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37610 - }, - { - "name": "setManagement", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "management" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37748 - }, - { - "name": "setGuestList", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "guestList" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37778 - }, - { - "name": "setRewards", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "rewards" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37808 - }, - { - "name": "setDepositLimit", - "outputs": [], - "inputs": [ - { - "type": "uint256", - "name": "limit" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37738 - }, - { - "name": "setPerformanceFee", - "outputs": [], - "inputs": [ - { - "type": "uint256", - "name": "fee" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37872 - }, - { - "name": "setManagementFee", - "outputs": [], - "inputs": [ - { - "type": "uint256", - "name": "fee" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37902 - }, - { - "name": "setGuardian", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "guardian" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 39146 - }, - { - "name": "setEmergencyShutdown", - "outputs": [], - "inputs": [ - { - "type": "bool", - "name": "active" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 39217 - }, - { - "name": "setWithdrawalQueue", - "outputs": [], - "inputs": [ - { - "type": "address[20]", - "name": "queue" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 763893 - }, - { - "name": "transfer", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "receiver" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 76733 - }, - { - "name": "transferFrom", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "sender" - }, - { - "type": "address", - "name": "receiver" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 116496 - }, - { - "name": "approve", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "spender" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 38244 - }, - { - "name": "increaseAllowance", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "spender" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 40285 - }, - { - "name": "decreaseAllowance", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "spender" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 40309 - }, - { - "name": "permit", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "owner" - }, - { - "type": "address", - "name": "spender" - }, - { - "type": "uint256", - "name": "amount" - }, - { - "type": "uint256", - "name": "expiry" - }, - { - "type": "bytes", - "name": "signature" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 81237 - }, - { - "name": "totalAssets", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 4123 - }, - { - "name": "deposit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "deposit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "_amount" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "deposit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "_amount" - }, - { - "type": "address", - "name": "recipient" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "maxAvailableShares", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 370303 - }, - { - "name": "withdraw", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "withdraw", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "maxShares" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "withdraw", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "maxShares" - }, - { - "type": "address", - "name": "recipient" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "withdraw", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "maxShares" - }, - { - "type": "address", - "name": "recipient" - }, - { - "type": "uint256", - "name": "maxLoss" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "pricePerShare", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 12704 - }, - { - "name": "addStrategy", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - }, - { - "type": "uint256", - "name": "debtRatio" - }, - { - "type": "uint256", - "name": "rateLimit" - }, - { - "type": "uint256", - "name": "performanceFee" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 1450351 - }, - { - "name": "updateStrategyDebtRatio", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - }, - { - "type": "uint256", - "name": "debtRatio" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 115316 - }, - { - "name": "updateStrategyRateLimit", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - }, - { - "type": "uint256", - "name": "rateLimit" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 41467 - }, - { - "name": "updateStrategyPerformanceFee", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - }, - { - "type": "uint256", - "name": "performanceFee" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 41344 - }, - { - "name": "migrateStrategy", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "oldVersion" - }, - { - "type": "address", - "name": "newVersion" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 1105809 - }, - { - "name": "revokeStrategy", - "outputs": [], - "inputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "revokeStrategy", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "addStrategyToQueue", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 1196920 - }, - { - "name": "removeStrategyFromQueue", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 23091666 - }, - { - "name": "debtOutstanding", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function" - }, - { - "name": "debtOutstanding", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "name": "creditAvailable", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function" - }, - { - "name": "creditAvailable", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "name": "availableDepositLimit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 9808 - }, - { - "name": "expectedReturn", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function" - }, - { - "name": "expectedReturn", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "name": "report", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "gain" - }, - { - "type": "uint256", - "name": "loss" - }, - { - "type": "uint256", - "name": "_debtPayment" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 932578 - }, - { - "name": "sweep", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "token" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "sweep", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "token" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "name", - "outputs": [ - { - "type": "string", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 9053 - }, - { - "name": "symbol", - "outputs": [ - { - "type": "string", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 8106 - }, - { - "name": "decimals", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2711 - }, - { - "name": "balanceOf", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "arg0" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 2956 - }, - { - "name": "allowance", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "arg0" - }, - { - "type": "address", - "name": "arg1" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 3201 - }, - { - "name": "totalSupply", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2801 - }, - { - "name": "token", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2831 - }, - { - "name": "governance", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2861 - }, - { - "name": "management", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2891 - }, - { - "name": "guardian", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2921 - }, - { - "name": "guestList", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2951 - }, - { - "name": "strategies", - "outputs": [ - { - "type": "uint256", - "name": "performanceFee" - }, - { - "type": "uint256", - "name": "activation" - }, - { - "type": "uint256", - "name": "debtRatio" - }, - { - "type": "uint256", - "name": "rateLimit" - }, - { - "type": "uint256", - "name": "lastReport" - }, - { - "type": "uint256", - "name": "totalDebt" - }, - { - "type": "uint256", - "name": "totalGain" - }, - { - "type": "uint256", - "name": "totalLoss" - } - ], - "inputs": [ - { - "type": "address", - "name": "arg0" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 10322 - }, - { - "name": "withdrawalQueue", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "arg0" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 3120 - }, - { - "name": "emergencyShutdown", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3041 - }, - { - "name": "depositLimit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3071 - }, - { - "name": "debtRatio", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3101 - }, - { - "name": "totalDebt", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3131 - }, - { - "name": "lastReport", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3161 - }, - { - "name": "activation", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3191 - }, - { - "name": "rewards", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3221 - }, - { - "name": "managementFee", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3251 - }, - { - "name": "performanceFee", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3281 - }, - { - "name": "nonces", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "arg0" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 3526 - }, - { - "name": "DOMAIN_SEPARATOR", - "outputs": [ - { - "type": "bytes32", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3341 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xcd68c3fc3e94c5acc10366556b836855d96bfa93.abi.json b/tests/networks/ethereum/stakekit/abis/0xcd68c3fc3e94c5acc10366556b836855d96bfa93.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xcd68c3fc3e94c5acc10366556b836855d96bfa93.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xce71767158421482c39e72f209a7a8ef3a0c669d.abi.json b/tests/networks/ethereum/stakekit/abis/0xce71767158421482c39e72f209a7a8ef3a0c669d.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xce71767158421482c39e72f209a7a8ef3a0c669d.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xd347e7a3ddf5ce4c42e19a4f30eeaa761795c72b.abi.json b/tests/networks/ethereum/stakekit/abis/0xd347e7a3ddf5ce4c42e19a4f30eeaa761795c72b.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xd347e7a3ddf5ce4c42e19a4f30eeaa761795c72b.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xd6627f7de81eb517a32f0f81537ea2636b27b8cc.abi.json b/tests/networks/ethereum/stakekit/abis/0xd6627f7de81eb517a32f0f81537ea2636b27b8cc.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xd6627f7de81eb517a32f0f81537ea2636b27b8cc.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xd6a4180c819324a9e432ca07c689ecbf00088cd6.abi.json b/tests/networks/ethereum/stakekit/abis/0xd6a4180c819324a9e432ca07c689ecbf00088cd6.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xd6a4180c819324a9e432ca07c689ecbf00088cd6.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xd6a528faad34fe51c6f181acf43c1e20db4f84ac.abi.json b/tests/networks/ethereum/stakekit/abis/0xd6a528faad34fe51c6f181acf43c1e20db4f84ac.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xd6a528faad34fe51c6f181acf43c1e20db4f84ac.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xd6b2f4f0586bcfc9b1bf5cd8e22546add7b81a64.abi.json b/tests/networks/ethereum/stakekit/abis/0xd6b2f4f0586bcfc9b1bf5cd8e22546add7b81a64.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xd6b2f4f0586bcfc9b1bf5cd8e22546add7b81a64.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xd6ea40597be05c201845c0bfd2e96a60bacde267.abi.json b/tests/networks/ethereum/stakekit/abis/0xd6ea40597be05c201845c0bfd2e96a60bacde267.abi.json deleted file mode 100644 index a3f716d..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xd6ea40597be05c201845c0bfd2e96a60bacde267.abi.json +++ /dev/null @@ -1,1658 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 4546 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 107044 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 71894 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 36365 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 37637 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 37775 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address" - } - ], - "outputs": [], - "gas": 37805 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 37835 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegration", - "inputs": [ - { - "name": "degration", - "type": "uint256" - } - ], - "outputs": [], - "gas": 36519 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37795 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37929 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37959 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 39203 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 39274 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 763950 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 76768 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 116531 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38271 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40312 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40336 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 81264 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 383839 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 18195 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1485796 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 115193 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42441 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42471 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 41251 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1141468 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1199804 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23088703 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 9551 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1015170 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 8750 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 7803 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2408 - }, - { - "stateMutability": "view", - "type": "function", - "name": "precisionFactor", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2438 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2683 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2928 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2528 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2558 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2588 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2618 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2648 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guestList", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 11031 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2847 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 2768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2918 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2948 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegration", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3313 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 3128 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xd8c620991b8e626c099eaab29b1e3eea279763bb.abi.json b/tests/networks/ethereum/stakekit/abis/0xd8c620991b8e626c099eaab29b1e3eea279763bb.abi.json deleted file mode 100644 index a26af95..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xd8c620991b8e626c099eaab29b1e3eea279763bb.abi.json +++ /dev/null @@ -1,1643 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 5946 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 108344 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 73194 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 37665 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 38937 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 39075 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 39626 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37789 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39065 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39199 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39229 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 41773 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 41844 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 1090134 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 79308 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 121671 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38241 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42882 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42906 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 91494 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 8698 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1576655 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 77734 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1523989 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 124263 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47611 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47641 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42854 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1190208 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1255644 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23636673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 21381 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1239256 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 13920 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 11673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3923 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4168 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 22641 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4057 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 3978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4128 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4158 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4188 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4218 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4248 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4278 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4523 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 4338 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xd9788f3931ede4d5018184e198699dc6d66c1915.abi.json b/tests/networks/ethereum/stakekit/abis/0xd9788f3931ede4d5018184e198699dc6d66c1915.abi.json deleted file mode 100644 index a26af95..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xd9788f3931ede4d5018184e198699dc6d66c1915.abi.json +++ /dev/null @@ -1,1643 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 5946 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 108344 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 73194 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 37665 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 38937 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 39075 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 39626 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37789 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39065 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39199 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39229 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 41773 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 41844 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 1090134 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 79308 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 121671 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38241 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42882 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42906 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 91494 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 8698 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1576655 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 77734 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1523989 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 124263 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47611 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47641 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42854 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1190208 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1255644 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23636673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 21381 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1239256 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 13920 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 11673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3923 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4168 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 22641 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4057 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 3978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4128 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4158 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4188 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4218 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4248 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4278 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4523 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 4338 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xda816459f1ab5631232fe5e97a05bbbb94970c95.abi.json b/tests/networks/ethereum/stakekit/abis/0xda816459f1ab5631232fe5e97a05bbbb94970c95.abi.json deleted file mode 100644 index a26af95..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xda816459f1ab5631232fe5e97a05bbbb94970c95.abi.json +++ /dev/null @@ -1,1643 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 5946 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 108344 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 73194 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 37665 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 38937 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 39075 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 39626 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37789 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39065 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39199 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39229 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 41773 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 41844 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 1090134 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 79308 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 121671 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38241 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42882 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42906 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 91494 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 8698 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1576655 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 77734 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1523989 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 124263 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47611 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47641 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42854 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1190208 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1255644 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23636673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 21381 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1239256 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 13920 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 11673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3923 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4168 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 22641 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4057 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 3978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4128 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4158 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4188 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4218 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4248 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4278 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4523 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 4338 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xdadbb5472474e612a6fa9d82d3395dea5829a52a.abi.json b/tests/networks/ethereum/stakekit/abis/0xdadbb5472474e612a6fa9d82d3395dea5829a52a.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xdadbb5472474e612a6fa9d82d3395dea5829a52a.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xdb25ca703181e7484a155dd612b06f57e12be5f0.abi.json b/tests/networks/ethereum/stakekit/abis/0xdb25ca703181e7484a155dd612b06f57e12be5f0.abi.json deleted file mode 100644 index a26af95..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xdb25ca703181e7484a155dd612b06f57e12be5f0.abi.json +++ /dev/null @@ -1,1643 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 5946 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 108344 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 73194 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 37665 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 38937 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 39075 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 39626 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37789 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39065 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39199 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39229 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 41773 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 41844 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 1090134 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 79308 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 121671 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38241 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42882 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42906 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 91494 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 8698 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1576655 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 77734 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1523989 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 124263 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47611 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47641 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42854 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1190208 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1255644 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23636673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 21381 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1239256 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 13920 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 11673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3923 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4168 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 22641 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4057 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 3978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4128 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4158 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4188 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4218 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4248 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4278 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4523 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 4338 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xdb26d8815eda864dfa43306766f2f8ca50c03f9e.abi.json b/tests/networks/ethereum/stakekit/abis/0xdb26d8815eda864dfa43306766f2f8ca50c03f9e.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xdb26d8815eda864dfa43306766f2f8ca50c03f9e.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xdcd90c7f6324cfa40d7169ef80b12031770b4325.abi.json b/tests/networks/ethereum/stakekit/abis/0xdcd90c7f6324cfa40d7169ef80b12031770b4325.abi.json deleted file mode 100644 index d95bc34..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xdcd90c7f6324cfa40d7169ef80b12031770b4325.abi.json +++ /dev/null @@ -1,1554 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "type": "address", - "name": "sender", - "indexed": true - }, - { - "type": "address", - "name": "receiver", - "indexed": true - }, - { - "type": "uint256", - "name": "value", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "type": "address", - "name": "owner", - "indexed": true - }, - { - "type": "address", - "name": "spender", - "indexed": true - }, - { - "type": "uint256", - "name": "value", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "debtRatio", - "indexed": false - }, - { - "type": "uint256", - "name": "rateLimit", - "indexed": false - }, - { - "type": "uint256", - "name": "performanceFee", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "gain", - "indexed": false - }, - { - "type": "uint256", - "name": "loss", - "indexed": false - }, - { - "type": "uint256", - "name": "totalGain", - "indexed": false - }, - { - "type": "uint256", - "name": "totalLoss", - "indexed": false - }, - { - "type": "uint256", - "name": "totalDebt", - "indexed": false - }, - { - "type": "uint256", - "name": "debtAdded", - "indexed": false - }, - { - "type": "uint256", - "name": "debtRatio", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "type": "address", - "name": "governance", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "type": "address", - "name": "management", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuestList", - "inputs": [ - { - "type": "address", - "name": "guestList", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "type": "address", - "name": "rewards", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "type": "uint256", - "name": "depositLimit", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "type": "uint256", - "name": "performanceFee", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "type": "uint256", - "name": "managementFee", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "type": "address", - "name": "guardian", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "type": "bool", - "name": "active", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "type": "address[20]", - "name": "queue", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "debtRatio", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateRateLimit", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "rateLimit", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "performanceFee", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "type": "address", - "name": "oldVersion", - "indexed": true - }, - { - "type": "address", - "name": "newVersion", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "initialize", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "token" - }, - { - "type": "address", - "name": "governance" - }, - { - "type": "address", - "name": "rewards" - }, - { - "type": "string", - "name": "nameOverride" - }, - { - "type": "string", - "name": "symbolOverride" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "initialize", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "token" - }, - { - "type": "address", - "name": "governance" - }, - { - "type": "address", - "name": "rewards" - }, - { - "type": "string", - "name": "nameOverride" - }, - { - "type": "string", - "name": "symbolOverride" - }, - { - "type": "address", - "name": "guardian" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "apiVersion", - "outputs": [ - { - "type": "string", - "name": "" - } - ], - "inputs": [], - "stateMutability": "pure", - "type": "function", - "gas": 4519 - }, - { - "name": "setName", - "outputs": [], - "inputs": [ - { - "type": "string", - "name": "name" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 107017 - }, - { - "name": "setSymbol", - "outputs": [], - "inputs": [ - { - "type": "string", - "name": "symbol" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 71867 - }, - { - "name": "setGovernance", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "governance" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 36338 - }, - { - "name": "acceptGovernance", - "outputs": [], - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37610 - }, - { - "name": "setManagement", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "management" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37748 - }, - { - "name": "setGuestList", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "guestList" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37778 - }, - { - "name": "setRewards", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "rewards" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37808 - }, - { - "name": "setDepositLimit", - "outputs": [], - "inputs": [ - { - "type": "uint256", - "name": "limit" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37738 - }, - { - "name": "setPerformanceFee", - "outputs": [], - "inputs": [ - { - "type": "uint256", - "name": "fee" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37872 - }, - { - "name": "setManagementFee", - "outputs": [], - "inputs": [ - { - "type": "uint256", - "name": "fee" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37902 - }, - { - "name": "setGuardian", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "guardian" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 39146 - }, - { - "name": "setEmergencyShutdown", - "outputs": [], - "inputs": [ - { - "type": "bool", - "name": "active" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 39217 - }, - { - "name": "setWithdrawalQueue", - "outputs": [], - "inputs": [ - { - "type": "address[20]", - "name": "queue" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 763893 - }, - { - "name": "transfer", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "receiver" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 76733 - }, - { - "name": "transferFrom", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "sender" - }, - { - "type": "address", - "name": "receiver" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 116496 - }, - { - "name": "approve", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "spender" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 38244 - }, - { - "name": "increaseAllowance", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "spender" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 40285 - }, - { - "name": "decreaseAllowance", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "spender" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 40309 - }, - { - "name": "permit", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "owner" - }, - { - "type": "address", - "name": "spender" - }, - { - "type": "uint256", - "name": "amount" - }, - { - "type": "uint256", - "name": "expiry" - }, - { - "type": "bytes", - "name": "signature" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 81237 - }, - { - "name": "totalAssets", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 4123 - }, - { - "name": "deposit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "deposit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "_amount" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "deposit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "_amount" - }, - { - "type": "address", - "name": "recipient" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "maxAvailableShares", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 364171 - }, - { - "name": "withdraw", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "withdraw", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "maxShares" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "withdraw", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "maxShares" - }, - { - "type": "address", - "name": "recipient" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "withdraw", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "maxShares" - }, - { - "type": "address", - "name": "recipient" - }, - { - "type": "uint256", - "name": "maxLoss" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "pricePerShare", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 12412 - }, - { - "name": "addStrategy", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - }, - { - "type": "uint256", - "name": "debtRatio" - }, - { - "type": "uint256", - "name": "rateLimit" - }, - { - "type": "uint256", - "name": "performanceFee" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 1450351 - }, - { - "name": "updateStrategyDebtRatio", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - }, - { - "type": "uint256", - "name": "debtRatio" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 115316 - }, - { - "name": "updateStrategyRateLimit", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - }, - { - "type": "uint256", - "name": "rateLimit" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 41467 - }, - { - "name": "updateStrategyPerformanceFee", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - }, - { - "type": "uint256", - "name": "performanceFee" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 41344 - }, - { - "name": "migrateStrategy", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "oldVersion" - }, - { - "type": "address", - "name": "newVersion" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 1105801 - }, - { - "name": "revokeStrategy", - "outputs": [], - "inputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "revokeStrategy", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "addStrategyToQueue", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 1196920 - }, - { - "name": "removeStrategyFromQueue", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 23091666 - }, - { - "name": "debtOutstanding", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function" - }, - { - "name": "debtOutstanding", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "name": "creditAvailable", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function" - }, - { - "name": "creditAvailable", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "name": "availableDepositLimit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 9808 - }, - { - "name": "expectedReturn", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function" - }, - { - "name": "expectedReturn", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "name": "report", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "gain" - }, - { - "type": "uint256", - "name": "loss" - }, - { - "type": "uint256", - "name": "_debtPayment" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 937520 - }, - { - "name": "sweep", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "token" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "sweep", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "token" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "name", - "outputs": [ - { - "type": "string", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 9053 - }, - { - "name": "symbol", - "outputs": [ - { - "type": "string", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 8106 - }, - { - "name": "decimals", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2711 - }, - { - "name": "balanceOf", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "arg0" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 2956 - }, - { - "name": "allowance", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "arg0" - }, - { - "type": "address", - "name": "arg1" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 3201 - }, - { - "name": "totalSupply", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2801 - }, - { - "name": "token", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2831 - }, - { - "name": "governance", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2861 - }, - { - "name": "management", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2891 - }, - { - "name": "guardian", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2921 - }, - { - "name": "guestList", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2951 - }, - { - "name": "strategies", - "outputs": [ - { - "type": "uint256", - "name": "performanceFee" - }, - { - "type": "uint256", - "name": "activation" - }, - { - "type": "uint256", - "name": "debtRatio" - }, - { - "type": "uint256", - "name": "rateLimit" - }, - { - "type": "uint256", - "name": "lastReport" - }, - { - "type": "uint256", - "name": "totalDebt" - }, - { - "type": "uint256", - "name": "totalGain" - }, - { - "type": "uint256", - "name": "totalLoss" - } - ], - "inputs": [ - { - "type": "address", - "name": "arg0" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 10322 - }, - { - "name": "withdrawalQueue", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "arg0" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 3120 - }, - { - "name": "emergencyShutdown", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3041 - }, - { - "name": "depositLimit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3071 - }, - { - "name": "debtRatio", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3101 - }, - { - "name": "totalDebt", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3131 - }, - { - "name": "lastReport", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3161 - }, - { - "name": "activation", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3191 - }, - { - "name": "rewards", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3221 - }, - { - "name": "managementFee", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3251 - }, - { - "name": "performanceFee", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3281 - }, - { - "name": "nonces", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "arg0" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 3526 - }, - { - "name": "DOMAIN_SEPARATOR", - "outputs": [ - { - "type": "bytes32", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3341 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xe11ba472f74869176652c35d30db89854b5ae84d.abi.json b/tests/networks/ethereum/stakekit/abis/0xe11ba472f74869176652c35d30db89854b5ae84d.abi.json deleted file mode 100644 index d95bc34..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xe11ba472f74869176652c35d30db89854b5ae84d.abi.json +++ /dev/null @@ -1,1554 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "type": "address", - "name": "sender", - "indexed": true - }, - { - "type": "address", - "name": "receiver", - "indexed": true - }, - { - "type": "uint256", - "name": "value", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "type": "address", - "name": "owner", - "indexed": true - }, - { - "type": "address", - "name": "spender", - "indexed": true - }, - { - "type": "uint256", - "name": "value", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "debtRatio", - "indexed": false - }, - { - "type": "uint256", - "name": "rateLimit", - "indexed": false - }, - { - "type": "uint256", - "name": "performanceFee", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "gain", - "indexed": false - }, - { - "type": "uint256", - "name": "loss", - "indexed": false - }, - { - "type": "uint256", - "name": "totalGain", - "indexed": false - }, - { - "type": "uint256", - "name": "totalLoss", - "indexed": false - }, - { - "type": "uint256", - "name": "totalDebt", - "indexed": false - }, - { - "type": "uint256", - "name": "debtAdded", - "indexed": false - }, - { - "type": "uint256", - "name": "debtRatio", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "type": "address", - "name": "governance", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "type": "address", - "name": "management", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuestList", - "inputs": [ - { - "type": "address", - "name": "guestList", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "type": "address", - "name": "rewards", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "type": "uint256", - "name": "depositLimit", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "type": "uint256", - "name": "performanceFee", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "type": "uint256", - "name": "managementFee", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "type": "address", - "name": "guardian", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "type": "bool", - "name": "active", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "type": "address[20]", - "name": "queue", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "debtRatio", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateRateLimit", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "rateLimit", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "performanceFee", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "type": "address", - "name": "oldVersion", - "indexed": true - }, - { - "type": "address", - "name": "newVersion", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "initialize", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "token" - }, - { - "type": "address", - "name": "governance" - }, - { - "type": "address", - "name": "rewards" - }, - { - "type": "string", - "name": "nameOverride" - }, - { - "type": "string", - "name": "symbolOverride" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "initialize", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "token" - }, - { - "type": "address", - "name": "governance" - }, - { - "type": "address", - "name": "rewards" - }, - { - "type": "string", - "name": "nameOverride" - }, - { - "type": "string", - "name": "symbolOverride" - }, - { - "type": "address", - "name": "guardian" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "apiVersion", - "outputs": [ - { - "type": "string", - "name": "" - } - ], - "inputs": [], - "stateMutability": "pure", - "type": "function", - "gas": 4519 - }, - { - "name": "setName", - "outputs": [], - "inputs": [ - { - "type": "string", - "name": "name" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 107017 - }, - { - "name": "setSymbol", - "outputs": [], - "inputs": [ - { - "type": "string", - "name": "symbol" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 71867 - }, - { - "name": "setGovernance", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "governance" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 36338 - }, - { - "name": "acceptGovernance", - "outputs": [], - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37610 - }, - { - "name": "setManagement", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "management" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37748 - }, - { - "name": "setGuestList", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "guestList" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37778 - }, - { - "name": "setRewards", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "rewards" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37808 - }, - { - "name": "setDepositLimit", - "outputs": [], - "inputs": [ - { - "type": "uint256", - "name": "limit" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37738 - }, - { - "name": "setPerformanceFee", - "outputs": [], - "inputs": [ - { - "type": "uint256", - "name": "fee" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37872 - }, - { - "name": "setManagementFee", - "outputs": [], - "inputs": [ - { - "type": "uint256", - "name": "fee" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37902 - }, - { - "name": "setGuardian", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "guardian" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 39146 - }, - { - "name": "setEmergencyShutdown", - "outputs": [], - "inputs": [ - { - "type": "bool", - "name": "active" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 39217 - }, - { - "name": "setWithdrawalQueue", - "outputs": [], - "inputs": [ - { - "type": "address[20]", - "name": "queue" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 763893 - }, - { - "name": "transfer", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "receiver" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 76733 - }, - { - "name": "transferFrom", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "sender" - }, - { - "type": "address", - "name": "receiver" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 116496 - }, - { - "name": "approve", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "spender" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 38244 - }, - { - "name": "increaseAllowance", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "spender" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 40285 - }, - { - "name": "decreaseAllowance", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "spender" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 40309 - }, - { - "name": "permit", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "owner" - }, - { - "type": "address", - "name": "spender" - }, - { - "type": "uint256", - "name": "amount" - }, - { - "type": "uint256", - "name": "expiry" - }, - { - "type": "bytes", - "name": "signature" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 81237 - }, - { - "name": "totalAssets", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 4123 - }, - { - "name": "deposit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "deposit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "_amount" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "deposit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "_amount" - }, - { - "type": "address", - "name": "recipient" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "maxAvailableShares", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 364171 - }, - { - "name": "withdraw", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "withdraw", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "maxShares" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "withdraw", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "maxShares" - }, - { - "type": "address", - "name": "recipient" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "withdraw", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "maxShares" - }, - { - "type": "address", - "name": "recipient" - }, - { - "type": "uint256", - "name": "maxLoss" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "pricePerShare", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 12412 - }, - { - "name": "addStrategy", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - }, - { - "type": "uint256", - "name": "debtRatio" - }, - { - "type": "uint256", - "name": "rateLimit" - }, - { - "type": "uint256", - "name": "performanceFee" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 1450351 - }, - { - "name": "updateStrategyDebtRatio", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - }, - { - "type": "uint256", - "name": "debtRatio" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 115316 - }, - { - "name": "updateStrategyRateLimit", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - }, - { - "type": "uint256", - "name": "rateLimit" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 41467 - }, - { - "name": "updateStrategyPerformanceFee", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - }, - { - "type": "uint256", - "name": "performanceFee" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 41344 - }, - { - "name": "migrateStrategy", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "oldVersion" - }, - { - "type": "address", - "name": "newVersion" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 1105801 - }, - { - "name": "revokeStrategy", - "outputs": [], - "inputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "revokeStrategy", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "addStrategyToQueue", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 1196920 - }, - { - "name": "removeStrategyFromQueue", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 23091666 - }, - { - "name": "debtOutstanding", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function" - }, - { - "name": "debtOutstanding", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "name": "creditAvailable", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function" - }, - { - "name": "creditAvailable", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "name": "availableDepositLimit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 9808 - }, - { - "name": "expectedReturn", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function" - }, - { - "name": "expectedReturn", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "name": "report", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "gain" - }, - { - "type": "uint256", - "name": "loss" - }, - { - "type": "uint256", - "name": "_debtPayment" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 937520 - }, - { - "name": "sweep", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "token" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "sweep", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "token" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "name", - "outputs": [ - { - "type": "string", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 9053 - }, - { - "name": "symbol", - "outputs": [ - { - "type": "string", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 8106 - }, - { - "name": "decimals", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2711 - }, - { - "name": "balanceOf", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "arg0" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 2956 - }, - { - "name": "allowance", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "arg0" - }, - { - "type": "address", - "name": "arg1" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 3201 - }, - { - "name": "totalSupply", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2801 - }, - { - "name": "token", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2831 - }, - { - "name": "governance", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2861 - }, - { - "name": "management", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2891 - }, - { - "name": "guardian", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2921 - }, - { - "name": "guestList", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2951 - }, - { - "name": "strategies", - "outputs": [ - { - "type": "uint256", - "name": "performanceFee" - }, - { - "type": "uint256", - "name": "activation" - }, - { - "type": "uint256", - "name": "debtRatio" - }, - { - "type": "uint256", - "name": "rateLimit" - }, - { - "type": "uint256", - "name": "lastReport" - }, - { - "type": "uint256", - "name": "totalDebt" - }, - { - "type": "uint256", - "name": "totalGain" - }, - { - "type": "uint256", - "name": "totalLoss" - } - ], - "inputs": [ - { - "type": "address", - "name": "arg0" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 10322 - }, - { - "name": "withdrawalQueue", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "arg0" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 3120 - }, - { - "name": "emergencyShutdown", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3041 - }, - { - "name": "depositLimit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3071 - }, - { - "name": "debtRatio", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3101 - }, - { - "name": "totalDebt", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3131 - }, - { - "name": "lastReport", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3161 - }, - { - "name": "activation", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3191 - }, - { - "name": "rewards", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3221 - }, - { - "name": "managementFee", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3251 - }, - { - "name": "performanceFee", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3281 - }, - { - "name": "nonces", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "arg0" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 3526 - }, - { - "name": "DOMAIN_SEPARATOR", - "outputs": [ - { - "type": "bytes32", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3341 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xe14d13d8b3b85af791b2aadd661cdbd5e6097db1.abi.json b/tests/networks/ethereum/stakekit/abis/0xe14d13d8b3b85af791b2aadd661cdbd5e6097db1.abi.json deleted file mode 100644 index 32764a2..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xe14d13d8b3b85af791b2aadd661cdbd5e6097db1.abi.json +++ /dev/null @@ -1,1645 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "type": "address", - "name": "sender", - "indexed": true - }, - { - "type": "address", - "name": "receiver", - "indexed": true - }, - { - "type": "uint256", - "name": "value", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "type": "address", - "name": "owner", - "indexed": true - }, - { - "type": "address", - "name": "spender", - "indexed": true - }, - { - "type": "uint256", - "name": "value", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "debtRatio", - "indexed": false - }, - { - "type": "uint256", - "name": "minDebtPerHarvest", - "indexed": false - }, - { - "type": "uint256", - "name": "maxDebtPerHarvest", - "indexed": false - }, - { - "type": "uint256", - "name": "performanceFee", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "gain", - "indexed": false - }, - { - "type": "uint256", - "name": "loss", - "indexed": false - }, - { - "type": "uint256", - "name": "debtPaid", - "indexed": false - }, - { - "type": "uint256", - "name": "totalGain", - "indexed": false - }, - { - "type": "uint256", - "name": "totalLoss", - "indexed": false - }, - { - "type": "uint256", - "name": "totalDebt", - "indexed": false - }, - { - "type": "uint256", - "name": "debtAdded", - "indexed": false - }, - { - "type": "uint256", - "name": "debtRatio", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "type": "address", - "name": "governance", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "type": "address", - "name": "management", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuestList", - "inputs": [ - { - "type": "address", - "name": "guestList", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "type": "address", - "name": "rewards", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "type": "uint256", - "name": "depositLimit", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "type": "uint256", - "name": "performanceFee", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "type": "uint256", - "name": "managementFee", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "type": "address", - "name": "guardian", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "type": "bool", - "name": "active", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "type": "address[20]", - "name": "queue", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "debtRatio", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "minDebtPerHarvest", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "maxDebtPerHarvest", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "performanceFee", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "type": "address", - "name": "oldVersion", - "indexed": true - }, - { - "type": "address", - "name": "newVersion", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "initialize", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "token" - }, - { - "type": "address", - "name": "governance" - }, - { - "type": "address", - "name": "rewards" - }, - { - "type": "string", - "name": "nameOverride" - }, - { - "type": "string", - "name": "symbolOverride" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "initialize", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "token" - }, - { - "type": "address", - "name": "governance" - }, - { - "type": "address", - "name": "rewards" - }, - { - "type": "string", - "name": "nameOverride" - }, - { - "type": "string", - "name": "symbolOverride" - }, - { - "type": "address", - "name": "guardian" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "apiVersion", - "outputs": [ - { - "type": "string", - "name": "" - } - ], - "inputs": [], - "stateMutability": "pure", - "type": "function", - "gas": 4519 - }, - { - "name": "setName", - "outputs": [], - "inputs": [ - { - "type": "string", - "name": "name" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 107017 - }, - { - "name": "setSymbol", - "outputs": [], - "inputs": [ - { - "type": "string", - "name": "symbol" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 71867 - }, - { - "name": "setGovernance", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "governance" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 36338 - }, - { - "name": "acceptGovernance", - "outputs": [], - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37610 - }, - { - "name": "setManagement", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "management" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37748 - }, - { - "name": "setGuestList", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "guestList" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37778 - }, - { - "name": "setRewards", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "rewards" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37808 - }, - { - "name": "setLockedProfitDegration", - "outputs": [], - "inputs": [ - { - "type": "uint256", - "name": "degration" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 36516 - }, - { - "name": "setDepositLimit", - "outputs": [], - "inputs": [ - { - "type": "uint256", - "name": "limit" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37768 - }, - { - "name": "setPerformanceFee", - "outputs": [], - "inputs": [ - { - "type": "uint256", - "name": "fee" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37902 - }, - { - "name": "setManagementFee", - "outputs": [], - "inputs": [ - { - "type": "uint256", - "name": "fee" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37932 - }, - { - "name": "setGuardian", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "guardian" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 39176 - }, - { - "name": "setEmergencyShutdown", - "outputs": [], - "inputs": [ - { - "type": "bool", - "name": "active" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 39247 - }, - { - "name": "setWithdrawalQueue", - "outputs": [], - "inputs": [ - { - "type": "address[20]", - "name": "queue" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 763923 - }, - { - "name": "transfer", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "receiver" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 76913 - }, - { - "name": "transferFrom", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "sender" - }, - { - "type": "address", - "name": "receiver" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 116676 - }, - { - "name": "approve", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "spender" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 38334 - }, - { - "name": "increaseAllowance", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "spender" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 40375 - }, - { - "name": "decreaseAllowance", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "spender" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 40399 - }, - { - "name": "permit", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "owner" - }, - { - "type": "address", - "name": "spender" - }, - { - "type": "uint256", - "name": "amount" - }, - { - "type": "uint256", - "name": "expiry" - }, - { - "type": "bytes", - "name": "signature" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 81327 - }, - { - "name": "totalAssets", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 4303 - }, - { - "name": "deposit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "deposit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "_amount" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "deposit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "_amount" - }, - { - "type": "address", - "name": "recipient" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "maxAvailableShares", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 379843 - }, - { - "name": "withdraw", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "withdraw", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "maxShares" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "withdraw", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "maxShares" - }, - { - "type": "address", - "name": "recipient" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "withdraw", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "maxShares" - }, - { - "type": "address", - "name": "recipient" - }, - { - "type": "uint256", - "name": "maxLoss" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "pricePerShare", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 17509 - }, - { - "name": "addStrategy", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - }, - { - "type": "uint256", - "name": "debtRatio" - }, - { - "type": "uint256", - "name": "minDebtPerHarvest" - }, - { - "type": "uint256", - "name": "maxDebtPerHarvest" - }, - { - "type": "uint256", - "name": "performanceFee" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 1486241 - }, - { - "name": "updateStrategyDebtRatio", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - }, - { - "type": "uint256", - "name": "debtRatio" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 115406 - }, - { - "name": "updateStrategyMinDebtPerHarvest", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - }, - { - "type": "uint256", - "name": "minDebtPerHarvest" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 42654 - }, - { - "name": "updateStrategyMaxDebtPerHarvest", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - }, - { - "type": "uint256", - "name": "maxDebtPerHarvest" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 42684 - }, - { - "name": "updateStrategyPerformanceFee", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - }, - { - "type": "uint256", - "name": "performanceFee" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 41464 - }, - { - "name": "migrateStrategy", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "oldVersion" - }, - { - "type": "address", - "name": "newVersion" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 1141973 - }, - { - "name": "revokeStrategy", - "outputs": [], - "inputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "revokeStrategy", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "addStrategyToQueue", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 1197130 - }, - { - "name": "removeStrategyFromQueue", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 23093586 - }, - { - "name": "debtOutstanding", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function" - }, - { - "name": "debtOutstanding", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "name": "creditAvailable", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function" - }, - { - "name": "creditAvailable", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "name": "availableDepositLimit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 10108 - }, - { - "name": "expectedReturn", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function" - }, - { - "name": "expectedReturn", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "strategy" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "name": "report", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "gain" - }, - { - "type": "uint256", - "name": "loss" - }, - { - "type": "uint256", - "name": "_debtPayment" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 1009335 - }, - { - "name": "sweep", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "token" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "sweep", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "token" - }, - { - "type": "uint256", - "name": "amount" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "name", - "outputs": [ - { - "type": "string", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 9143 - }, - { - "name": "symbol", - "outputs": [ - { - "type": "string", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 8196 - }, - { - "name": "decimals", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2801 - }, - { - "name": "balanceOf", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "arg0" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 3046 - }, - { - "name": "allowance", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "arg0" - }, - { - "type": "address", - "name": "arg1" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 3291 - }, - { - "name": "totalSupply", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2891 - }, - { - "name": "token", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2921 - }, - { - "name": "governance", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2951 - }, - { - "name": "management", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2981 - }, - { - "name": "guardian", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3011 - }, - { - "name": "guestList", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3041 - }, - { - "name": "strategies", - "outputs": [ - { - "type": "uint256", - "name": "performanceFee" - }, - { - "type": "uint256", - "name": "activation" - }, - { - "type": "uint256", - "name": "debtRatio" - }, - { - "type": "uint256", - "name": "minDebtPerHarvest" - }, - { - "type": "uint256", - "name": "maxDebtPerHarvest" - }, - { - "type": "uint256", - "name": "lastReport" - }, - { - "type": "uint256", - "name": "totalDebt" - }, - { - "type": "uint256", - "name": "totalGain" - }, - { - "type": "uint256", - "name": "totalLoss" - } - ], - "inputs": [ - { - "type": "address", - "name": "arg0" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 11394 - }, - { - "name": "withdrawalQueue", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "arg0" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 3210 - }, - { - "name": "emergencyShutdown", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3131 - }, - { - "name": "depositLimit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3161 - }, - { - "name": "debtRatio", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3191 - }, - { - "name": "totalDebt", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3221 - }, - { - "name": "lastReport", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3251 - }, - { - "name": "activation", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3281 - }, - { - "name": "lockedProfit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3311 - }, - { - "name": "lockedProfitDegration", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3341 - }, - { - "name": "rewards", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3371 - }, - { - "name": "managementFee", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3401 - }, - { - "name": "performanceFee", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3431 - }, - { - "name": "nonces", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "arg0" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 3676 - }, - { - "name": "DOMAIN_SEPARATOR", - "outputs": [ - { - "type": "bytes32", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3491 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xe1747f4d30479d7a2dcfea5af69fb86b8f71ccec.abi.json b/tests/networks/ethereum/stakekit/abis/0xe1747f4d30479d7a2dcfea5af69fb86b8f71ccec.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xe1747f4d30479d7a2dcfea5af69fb86b8f71ccec.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xe2cad35cfd1a9b5acd557558f44b096ef8340c1b.abi.json b/tests/networks/ethereum/stakekit/abis/0xe2cad35cfd1a9b5acd557558f44b096ef8340c1b.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xe2cad35cfd1a9b5acd557558f44b096ef8340c1b.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xe2f6b9773bf3a015e2aa70741bde1498bdb9425b.abi.json b/tests/networks/ethereum/stakekit/abis/0xe2f6b9773bf3a015e2aa70741bde1498bdb9425b.abi.json deleted file mode 100644 index cac2db2..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xe2f6b9773bf3a015e2aa70741bde1498bdb9425b.abi.json +++ /dev/null @@ -1,1282 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "type": "address", - "name": "sender", - "indexed": true - }, - { - "type": "address", - "name": "receiver", - "indexed": true - }, - { - "type": "uint256", - "name": "value", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "type": "address", - "name": "owner", - "indexed": true - }, - { - "type": "address", - "name": "spender", - "indexed": true - }, - { - "type": "uint256", - "name": "value", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "debtLimit", - "indexed": false - }, - { - "type": "uint256", - "name": "rateLimit", - "indexed": false - }, - { - "type": "uint256", - "name": "performanceFee", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "type": "address", - "name": "strategy", - "indexed": true - }, - { - "type": "uint256", - "name": "gain", - "indexed": false - }, - { - "type": "uint256", - "name": "loss", - "indexed": false - }, - { - "type": "uint256", - "name": "totalGain", - "indexed": false - }, - { - "type": "uint256", - "name": "totalLoss", - "indexed": false - }, - { - "type": "uint256", - "name": "totalDebt", - "indexed": false - }, - { - "type": "uint256", - "name": "debtAdded", - "indexed": false - }, - { - "type": "uint256", - "name": "debtLimit", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "_token" - }, - { - "type": "address", - "name": "_governance" - }, - { - "type": "address", - "name": "_rewards" - }, - { - "type": "string", - "name": "_nameOverride" - }, - { - "type": "string", - "name": "_symbolOverride" - } - ], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "name": "apiVersion", - "outputs": [ - { - "type": "string", - "name": "" - } - ], - "inputs": [], - "stateMutability": "pure", - "type": "function", - "gas": 4489 - }, - { - "name": "setName", - "outputs": [], - "inputs": [ - { - "type": "string", - "name": "_name" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 106987 - }, - { - "name": "setSymbol", - "outputs": [], - "inputs": [ - { - "type": "string", - "name": "_symbol" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 71837 - }, - { - "name": "setGovernance", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "_governance" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 36308 - }, - { - "name": "acceptGovernance", - "outputs": [], - "inputs": [], - "stateMutability": "nonpayable", - "type": "function", - "gas": 36234 - }, - { - "name": "setGuestList", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "_guestList" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 36368 - }, - { - "name": "setRewards", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "_rewards" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 36398 - }, - { - "name": "setDepositLimit", - "outputs": [], - "inputs": [ - { - "type": "uint256", - "name": "_limit" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 36328 - }, - { - "name": "setPerformanceFee", - "outputs": [], - "inputs": [ - { - "type": "uint256", - "name": "_fee" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 36358 - }, - { - "name": "setManagementFee", - "outputs": [], - "inputs": [ - { - "type": "uint256", - "name": "_fee" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 36388 - }, - { - "name": "setGuardian", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "_guardian" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37745 - }, - { - "name": "setEmergencyShutdown", - "outputs": [], - "inputs": [ - { - "type": "bool", - "name": "_active" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 37775 - }, - { - "name": "setWithdrawalQueue", - "outputs": [], - "inputs": [ - { - "type": "address[20]", - "name": "_queue" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 750044 - }, - { - "name": "transfer", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "_to" - }, - { - "type": "uint256", - "name": "_value" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 76619 - }, - { - "name": "transferFrom", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "_from" - }, - { - "type": "address", - "name": "_to" - }, - { - "type": "uint256", - "name": "_value" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 116382 - }, - { - "name": "approve", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "_spender" - }, - { - "type": "uint256", - "name": "_value" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 38184 - }, - { - "name": "increaseAllowance", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "_spender" - }, - { - "type": "uint256", - "name": "_value" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 40225 - }, - { - "name": "decreaseAllowance", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "_spender" - }, - { - "type": "uint256", - "name": "_value" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 40249 - }, - { - "name": "permit", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "owner" - }, - { - "type": "address", - "name": "spender" - }, - { - "type": "uint256", - "name": "amount" - }, - { - "type": "uint256", - "name": "expiry" - }, - { - "type": "bytes", - "name": "signature" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 81177 - }, - { - "name": "totalAssets", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 4003 - }, - { - "name": "balanceSheetOfStrategy", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "_strategy" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 2508 - }, - { - "name": "totalBalanceSheet", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address[40]", - "name": "_strategies" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 77066 - }, - { - "name": "deposit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "deposit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "_amount" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "deposit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "_amount" - }, - { - "type": "address", - "name": "_recipient" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "maxAvailableShares", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 359791 - }, - { - "name": "withdraw", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "withdraw", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "_shares" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "withdraw", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "_shares" - }, - { - "type": "address", - "name": "_recipient" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "pricePerShare", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 12352 - }, - { - "name": "addStrategy", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "_strategy" - }, - { - "type": "uint256", - "name": "_debtLimit" - }, - { - "type": "uint256", - "name": "_rateLimit" - }, - { - "type": "uint256", - "name": "_performanceFee" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 1445752 - }, - { - "name": "updateStrategyDebtLimit", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "_strategy" - }, - { - "type": "uint256", - "name": "_debtLimit" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 111496 - }, - { - "name": "updateStrategyRateLimit", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "_strategy" - }, - { - "type": "uint256", - "name": "_rateLimit" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 38548 - }, - { - "name": "updateStrategyPerformanceFee", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "_strategy" - }, - { - "type": "uint256", - "name": "_performanceFee" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 38572 - }, - { - "name": "migrateStrategy", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "_oldVersion" - }, - { - "type": "address", - "name": "_newVersion" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 1178418 - }, - { - "name": "revokeStrategy", - "outputs": [], - "inputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "revokeStrategy", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "_strategy" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "addStrategyToQueue", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "_strategy" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 1194595 - }, - { - "name": "removeStrategyFromQueue", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "_strategy" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 23068248 - }, - { - "name": "debtOutstanding", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function" - }, - { - "name": "debtOutstanding", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "_strategy" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "name": "creditAvailable", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function" - }, - { - "name": "creditAvailable", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "_strategy" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "name": "availableDepositLimit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 9688 - }, - { - "name": "expectedReturn", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function" - }, - { - "name": "expectedReturn", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "_strategy" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "name": "report", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "_gain" - }, - { - "type": "uint256", - "name": "_loss" - }, - { - "type": "uint256", - "name": "_debtPayment" - } - ], - "stateMutability": "nonpayable", - "type": "function", - "gas": 919553 - }, - { - "name": "sweep", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "_token" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "sweep", - "outputs": [], - "inputs": [ - { - "type": "address", - "name": "_token" - }, - { - "type": "uint256", - "name": "_value" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "name": "name", - "outputs": [ - { - "type": "string", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 9053 - }, - { - "name": "symbol", - "outputs": [ - { - "type": "string", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 8106 - }, - { - "name": "decimals", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2711 - }, - { - "name": "balanceOf", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "arg0" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 2956 - }, - { - "name": "allowance", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "arg0" - }, - { - "type": "address", - "name": "arg1" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 3201 - }, - { - "name": "totalSupply", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2801 - }, - { - "name": "token", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2831 - }, - { - "name": "governance", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2861 - }, - { - "name": "guardian", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2891 - }, - { - "name": "guestList", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 2921 - }, - { - "name": "strategies", - "outputs": [ - { - "type": "uint256", - "name": "performanceFee" - }, - { - "type": "uint256", - "name": "activation" - }, - { - "type": "uint256", - "name": "debtLimit" - }, - { - "type": "uint256", - "name": "rateLimit" - }, - { - "type": "uint256", - "name": "lastReport" - }, - { - "type": "uint256", - "name": "totalDebt" - }, - { - "type": "uint256", - "name": "totalGain" - }, - { - "type": "uint256", - "name": "totalLoss" - } - ], - "inputs": [ - { - "type": "address", - "name": "arg0" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 10292 - }, - { - "name": "withdrawalQueue", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [ - { - "type": "uint256", - "name": "arg0" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 3090 - }, - { - "name": "emergencyShutdown", - "outputs": [ - { - "type": "bool", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3011 - }, - { - "name": "depositLimit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3041 - }, - { - "name": "debtLimit", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3071 - }, - { - "name": "totalDebt", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3101 - }, - { - "name": "lastReport", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3131 - }, - { - "name": "activation", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3161 - }, - { - "name": "rewards", - "outputs": [ - { - "type": "address", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3191 - }, - { - "name": "managementFee", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3221 - }, - { - "name": "performanceFee", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3251 - }, - { - "name": "nonces", - "outputs": [ - { - "type": "uint256", - "name": "" - } - ], - "inputs": [ - { - "type": "address", - "name": "arg0" - } - ], - "stateMutability": "view", - "type": "function", - "gas": 3496 - }, - { - "name": "DOMAIN_SEPARATOR", - "outputs": [ - { - "type": "bytes32", - "name": "" - } - ], - "inputs": [], - "stateMutability": "view", - "type": "function", - "gas": 3311 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xe510e87d0ef7d987ed1baf8e1d7aaef5b9e3db42.abi.json b/tests/networks/ethereum/stakekit/abis/0xe510e87d0ef7d987ed1baf8e1d7aaef5b9e3db42.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xe510e87d0ef7d987ed1baf8e1d7aaef5b9e3db42.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xe537b5cc158eb71037d4125bdd7538421981e6aa.abi.json b/tests/networks/ethereum/stakekit/abis/0xe537b5cc158eb71037d4125bdd7538421981e6aa.abi.json deleted file mode 100644 index a26af95..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xe537b5cc158eb71037d4125bdd7538421981e6aa.abi.json +++ /dev/null @@ -1,1643 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 5946 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 108344 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 73194 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 37665 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 38937 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 39075 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 39626 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37789 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39065 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39199 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39229 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 41773 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 41844 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 1090134 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 79308 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 121671 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38241 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42882 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42906 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 91494 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 8698 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1576655 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 77734 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1523989 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 124263 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47611 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47641 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42854 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1190208 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1255644 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23636673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 21381 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1239256 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 13920 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 11673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3923 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4168 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 22641 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4057 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 3978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4128 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4158 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4188 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4218 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4248 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4278 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4523 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 4338 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xe5edce53e39cbc6d819e2c340bcf295e0084ff7c.abi.json b/tests/networks/ethereum/stakekit/abis/0xe5edce53e39cbc6d819e2c340bcf295e0084ff7c.abi.json deleted file mode 100644 index a26af95..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xe5edce53e39cbc6d819e2c340bcf295e0084ff7c.abi.json +++ /dev/null @@ -1,1643 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 5946 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 108344 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 73194 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 37665 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 38937 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 39075 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 39626 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37789 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39065 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39199 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39229 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 41773 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 41844 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 1090134 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 79308 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 121671 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38241 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42882 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42906 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 91494 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 8698 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1576655 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 77734 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1523989 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 124263 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47611 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47641 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42854 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1190208 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1255644 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23636673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 21381 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1239256 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 13920 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 11673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3923 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4168 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 22641 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4057 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 3978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4128 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4158 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4188 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4218 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4248 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4278 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4523 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 4338 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xe5f625e8f4d2a038ae9583da254945285e5a77a4.abi.json b/tests/networks/ethereum/stakekit/abis/0xe5f625e8f4d2a038ae9583da254945285e5a77a4.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xe5f625e8f4d2a038ae9583da254945285e5a77a4.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xe6570a24ce63dd588195b98aad9f91b121d5f3d7.abi.json b/tests/networks/ethereum/stakekit/abis/0xe6570a24ce63dd588195b98aad9f91b121d5f3d7.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xe6570a24ce63dd588195b98aad9f91b121d5f3d7.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xe80cc7b2b69f32999766c1a0035ab77e8fb5b99c.abi.json b/tests/networks/ethereum/stakekit/abis/0xe80cc7b2b69f32999766c1a0035ab77e8fb5b99c.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xe80cc7b2b69f32999766c1a0035ab77e8fb5b99c.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xe8b96c38a0b370eafb11d9b8df4131415423577a.abi.json b/tests/networks/ethereum/stakekit/abis/0xe8b96c38a0b370eafb11d9b8df4131415423577a.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xe8b96c38a0b370eafb11d9b8df4131415423577a.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xe9dc63083c464d6edccff23444ff3cfc6886f6fb.abi.json b/tests/networks/ethereum/stakekit/abis/0xe9dc63083c464d6edccff23444ff3cfc6886f6fb.abi.json deleted file mode 100644 index a3f716d..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xe9dc63083c464d6edccff23444ff3cfc6886f6fb.abi.json +++ /dev/null @@ -1,1658 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 4546 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 107044 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 71894 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 36365 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 37637 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 37775 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address" - } - ], - "outputs": [], - "gas": 37805 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 37835 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegration", - "inputs": [ - { - "name": "degration", - "type": "uint256" - } - ], - "outputs": [], - "gas": 36519 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37795 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37929 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37959 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 39203 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 39274 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 763950 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 76768 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 116531 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38271 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40312 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40336 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 81264 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 383839 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 18195 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1485796 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 115193 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42441 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42471 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 41251 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1141468 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1199804 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23088703 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 9551 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1015170 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 8750 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 7803 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2408 - }, - { - "stateMutability": "view", - "type": "function", - "name": "precisionFactor", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2438 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2683 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2928 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2528 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2558 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2588 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2618 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2648 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guestList", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 11031 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2847 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 2768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2918 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2948 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegration", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3313 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 3128 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xf29ae508698bdef169b89834f76704c3b205aedf.abi.json b/tests/networks/ethereum/stakekit/abis/0xf29ae508698bdef169b89834f76704c3b205aedf.abi.json deleted file mode 100644 index a3f716d..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xf29ae508698bdef169b89834f76704c3b205aedf.abi.json +++ /dev/null @@ -1,1658 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 4546 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 107044 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 71894 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 36365 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 37637 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 37775 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address" - } - ], - "outputs": [], - "gas": 37805 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 37835 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegration", - "inputs": [ - { - "name": "degration", - "type": "uint256" - } - ], - "outputs": [], - "gas": 36519 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37795 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37929 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37959 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 39203 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 39274 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 763950 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 76768 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 116531 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38271 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40312 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40336 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 81264 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 383839 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 18195 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1485796 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 115193 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42441 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42471 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 41251 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1141468 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1199804 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23088703 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 9551 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1015170 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 8750 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 7803 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2408 - }, - { - "stateMutability": "view", - "type": "function", - "name": "precisionFactor", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2438 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2683 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2928 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2528 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2558 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2588 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2618 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2648 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guestList", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 11031 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2847 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 2768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2918 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2948 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegration", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3313 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 3128 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xf2db9a7c0acd427a680d640f02d90f6186e71725.abi.json b/tests/networks/ethereum/stakekit/abis/0xf2db9a7c0acd427a680d640f02d90f6186e71725.abi.json deleted file mode 100644 index a3f716d..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xf2db9a7c0acd427a680d640f02d90f6186e71725.abi.json +++ /dev/null @@ -1,1658 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 4546 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 107044 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 71894 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 36365 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 37637 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 37775 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address" - } - ], - "outputs": [], - "gas": 37805 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 37835 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegration", - "inputs": [ - { - "name": "degration", - "type": "uint256" - } - ], - "outputs": [], - "gas": 36519 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37795 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37929 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37959 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 39203 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 39274 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 763950 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 76768 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 116531 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38271 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40312 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40336 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 81264 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 383839 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 18195 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1485796 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 115193 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42441 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42471 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 41251 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1141468 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1199804 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23088703 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 9551 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1015170 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 8750 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 7803 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2408 - }, - { - "stateMutability": "view", - "type": "function", - "name": "precisionFactor", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2438 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2683 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2928 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2528 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2558 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2588 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2618 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2648 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guestList", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 11031 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2847 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 2768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2918 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2948 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegration", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3313 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 3128 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xf56fb6cc29f0666bdd1662feaae2a3c935ee3469.abi.json b/tests/networks/ethereum/stakekit/abis/0xf56fb6cc29f0666bdd1662feaae2a3c935ee3469.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xf56fb6cc29f0666bdd1662feaae2a3c935ee3469.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xf59d66c1d593fb10e2f8c2a6fd2c958792434b9c.abi.json b/tests/networks/ethereum/stakekit/abis/0xf59d66c1d593fb10e2f8c2a6fd2c958792434b9c.abi.json deleted file mode 100644 index a26af95..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xf59d66c1d593fb10e2f8c2a6fd2c958792434b9c.abi.json +++ /dev/null @@ -1,1643 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 5946 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 108344 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 73194 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 37665 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 38937 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 39075 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 39626 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37789 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39065 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39199 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39229 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 41773 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 41844 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 1090134 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 79308 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 121671 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38241 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42882 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42906 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 91494 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 8698 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1576655 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 77734 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1523989 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 124263 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47611 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47641 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42854 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1190208 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1255644 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23636673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 21381 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1239256 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 13920 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 11673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3923 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4168 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 22641 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4057 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 3978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4128 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4158 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4188 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4218 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4248 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4278 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4523 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 4338 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xf5f33812c93c5f2ae2f28c041eeb393212439502.abi.json b/tests/networks/ethereum/stakekit/abis/0xf5f33812c93c5f2ae2f28c041eeb393212439502.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xf5f33812c93c5f2ae2f28c041eeb393212439502.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xf614d3864ef53510909a94c618a5ec1ff75103bf.abi.json b/tests/networks/ethereum/stakekit/abis/0xf614d3864ef53510909a94c618a5ec1ff75103bf.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xf614d3864ef53510909a94c618a5ec1ff75103bf.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xf6b9dfe6bc42ed2eab44d6b829017f7b78b29f88.abi.json b/tests/networks/ethereum/stakekit/abis/0xf6b9dfe6bc42ed2eab44d6b829017f7b78b29f88.abi.json deleted file mode 100644 index a26af95..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xf6b9dfe6bc42ed2eab44d6b829017f7b78b29f88.abi.json +++ /dev/null @@ -1,1643 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 5946 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 108344 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 73194 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 37665 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 38937 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 39075 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 39626 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37789 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39065 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39199 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39229 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 41773 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 41844 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 1090134 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 79308 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 121671 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38241 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42882 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42906 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 91494 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 8698 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1576655 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 77734 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1523989 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 124263 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47611 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47641 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42854 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1190208 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1255644 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23636673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 21381 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1239256 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 13920 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 11673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3923 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4168 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 22641 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4057 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 3978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4128 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4158 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4188 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4218 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4248 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4278 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4523 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 4338 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xf8768814b88281de4f532a3beefa5b85b69b9324.abi.json b/tests/networks/ethereum/stakekit/abis/0xf8768814b88281de4f532a3beefa5b85b69b9324.abi.json deleted file mode 100644 index a3f716d..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xf8768814b88281de4f532a3beefa5b85b69b9324.abi.json +++ /dev/null @@ -1,1658 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 4546 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 107044 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 71894 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 36365 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 37637 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 37775 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address" - } - ], - "outputs": [], - "gas": 37805 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 37835 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegration", - "inputs": [ - { - "name": "degration", - "type": "uint256" - } - ], - "outputs": [], - "gas": 36519 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37795 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37929 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37959 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 39203 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 39274 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 763950 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 76768 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 116531 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38271 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40312 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40336 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 81264 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 383839 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 18195 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1485796 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 115193 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42441 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42471 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 41251 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1141468 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1199804 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23088703 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 9551 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1015170 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 8750 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 7803 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2408 - }, - { - "stateMutability": "view", - "type": "function", - "name": "precisionFactor", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2438 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2683 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2928 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2528 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2558 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2588 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2618 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2648 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guestList", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 11031 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2847 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 2768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2918 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2948 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegration", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3313 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 3128 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xfb5137aa9e079db4b7c2929229caf503d0f6da96.abi.json b/tests/networks/ethereum/stakekit/abis/0xfb5137aa9e079db4b7c2929229caf503d0f6da96.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xfb5137aa9e079db4b7c2929229caf503d0f6da96.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xfb9a680825f29972629b2295e050f74cb2f4992b.abi.json b/tests/networks/ethereum/stakekit/abis/0xfb9a680825f29972629b2295e050f74cb2f4992b.abi.json deleted file mode 100644 index a4fbc02..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xfb9a680825f29972629b2295e050f74cb2f4992b.abi.json +++ /dev/null @@ -1,1737 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Deposit", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Withdraw", - "inputs": [ - { - "name": "recipient", - "type": "address", - "indexed": true - }, - { - "name": "shares", - "type": "uint256", - "indexed": false - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Sweep", - "inputs": [ - { - "name": "token", - "type": "address", - "indexed": true - }, - { - "name": "amount", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "LockedProfitDegradationUpdated", - "inputs": [ - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "FeeReport", - "inputs": [ - { - "name": "management_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "performance_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "strategist_fee", - "type": "uint256", - "indexed": false - }, - { - "name": "duration", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "WithdrawFromStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "NewPendingGovernance", - "inputs": [ - { - "name": "pendingGovernance", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "tuple", - "components": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ] - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalIdle", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xfbeb78a723b8087fd2ea7ef1afec93d35e8bed42.abi.json b/tests/networks/ethereum/stakekit/abis/0xfbeb78a723b8087fd2ea7ef1afec93d35e8bed42.abi.json deleted file mode 100644 index a3f716d..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xfbeb78a723b8087fd2ea7ef1afec93d35e8bed42.abi.json +++ /dev/null @@ -1,1658 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 4546 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 107044 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 71894 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 36365 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 37637 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 37775 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuestList", - "inputs": [ - { - "name": "guestList", - "type": "address" - } - ], - "outputs": [], - "gas": 37805 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 37835 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegration", - "inputs": [ - { - "name": "degration", - "type": "uint256" - } - ], - "outputs": [], - "gas": 36519 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37795 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37929 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37959 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 39203 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 39274 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 763950 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 76768 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 116531 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38271 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40312 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 40336 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 81264 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 383839 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 18195 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1485796 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 115193 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42441 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42471 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 41251 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1141468 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1199804 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23088703 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 9551 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1015170 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 8750 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 7803 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2408 - }, - { - "stateMutability": "view", - "type": "function", - "name": "precisionFactor", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2438 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2683 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2928 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2528 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2558 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2588 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2618 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2648 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guestList", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 11031 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 2847 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 2768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2918 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2948 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegration", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 2978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3313 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 3128 - } -] \ No newline at end of file diff --git a/tests/networks/ethereum/stakekit/abis/0xfd0877d9095789caf24c98f7cce092fa8e120775.abi.json b/tests/networks/ethereum/stakekit/abis/0xfd0877d9095789caf24c98f7cce092fa8e120775.abi.json deleted file mode 100644 index a26af95..0000000 --- a/tests/networks/ethereum/stakekit/abis/0xfd0877d9095789caf24c98f7cce092fa8e120775.abi.json +++ /dev/null @@ -1,1643 +0,0 @@ -[ - { - "name": "Transfer", - "inputs": [ - { - "name": "sender", - "type": "address", - "indexed": true - }, - { - "name": "receiver", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "Approval", - "inputs": [ - { - "name": "owner", - "type": "address", - "indexed": true - }, - { - "name": "spender", - "type": "address", - "indexed": true - }, - { - "name": "value", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAdded", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyReported", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "gain", - "type": "uint256", - "indexed": false - }, - { - "name": "loss", - "type": "uint256", - "indexed": false - }, - { - "name": "debtPaid", - "type": "uint256", - "indexed": false - }, - { - "name": "totalGain", - "type": "uint256", - "indexed": false - }, - { - "name": "totalLoss", - "type": "uint256", - "indexed": false - }, - { - "name": "totalDebt", - "type": "uint256", - "indexed": false - }, - { - "name": "debtAdded", - "type": "uint256", - "indexed": false - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGovernance", - "inputs": [ - { - "name": "governance", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagement", - "inputs": [ - { - "name": "management", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateRewards", - "inputs": [ - { - "name": "rewards", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateDepositLimit", - "inputs": [ - { - "name": "depositLimit", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdatePerformanceFee", - "inputs": [ - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateManagementFee", - "inputs": [ - { - "name": "managementFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "EmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "UpdateWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "debtRatio", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "minDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdateMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyUpdatePerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - }, - { - "name": "performanceFee", - "type": "uint256", - "indexed": false - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyMigrated", - "inputs": [ - { - "name": "oldVersion", - "type": "address", - "indexed": true - }, - { - "name": "newVersion", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRevoked", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyRemovedFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "name": "StrategyAddedToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address", - "indexed": true - } - ], - "anonymous": false, - "type": "event" - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "governance", - "type": "address" - }, - { - "name": "rewards", - "type": "address" - }, - { - "name": "nameOverride", - "type": "string" - }, - { - "name": "symbolOverride", - "type": "string" - }, - { - "name": "guardian", - "type": "address" - }, - { - "name": "management", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "pure", - "type": "function", - "name": "apiVersion", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 5946 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setName", - "inputs": [ - { - "name": "name", - "type": "string" - } - ], - "outputs": [], - "gas": 108344 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setSymbol", - "inputs": [ - { - "name": "symbol", - "type": "string" - } - ], - "outputs": [], - "gas": 73194 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGovernance", - "inputs": [ - { - "name": "governance", - "type": "address" - } - ], - "outputs": [], - "gas": 37665 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "acceptGovernance", - "inputs": [], - "outputs": [], - "gas": 38937 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagement", - "inputs": [ - { - "name": "management", - "type": "address" - } - ], - "outputs": [], - "gas": 39075 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setRewards", - "inputs": [ - { - "name": "rewards", - "type": "address" - } - ], - "outputs": [], - "gas": 39626 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setLockedProfitDegradation", - "inputs": [ - { - "name": "degradation", - "type": "uint256" - } - ], - "outputs": [], - "gas": 37789 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setDepositLimit", - "inputs": [ - { - "name": "limit", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39065 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setPerformanceFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39199 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setManagementFee", - "inputs": [ - { - "name": "fee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 39229 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setGuardian", - "inputs": [ - { - "name": "guardian", - "type": "address" - } - ], - "outputs": [], - "gas": 41773 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setEmergencyShutdown", - "inputs": [ - { - "name": "active", - "type": "bool" - } - ], - "outputs": [], - "gas": 41844 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "setWithdrawalQueue", - "inputs": [ - { - "name": "queue", - "type": "address[20]" - } - ], - "outputs": [], - "gas": 1090134 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transfer", - "inputs": [ - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 79308 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "transferFrom", - "inputs": [ - { - "name": "sender", - "type": "address" - }, - { - "name": "receiver", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 121671 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "approve", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 38241 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "increaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42882 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "decreaseAllowance", - "inputs": [ - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 42906 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "permit", - "inputs": [ - { - "name": "owner", - "type": "address" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - }, - { - "name": "expiry", - "type": "uint256" - }, - { - "name": "signature", - "type": "bytes" - } - ], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 91494 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalAssets", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 8698 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "deposit", - "inputs": [ - { - "name": "_amount", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "maxAvailableShares", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1576655 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "withdraw", - "inputs": [ - { - "name": "maxShares", - "type": "uint256" - }, - { - "name": "recipient", - "type": "address" - }, - { - "name": "maxLoss", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "pricePerShare", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 77734 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 1523989 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyDebtRatio", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "debtRatio", - "type": "uint256" - } - ], - "outputs": [], - "gas": 124263 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMinDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47611 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyMaxDebtPerHarvest", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - } - ], - "outputs": [], - "gas": 47641 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "updateStrategyPerformanceFee", - "inputs": [ - { - "name": "strategy", - "type": "address" - }, - { - "name": "performanceFee", - "type": "uint256" - } - ], - "outputs": [], - "gas": 42854 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "migrateStrategy", - "inputs": [ - { - "name": "oldVersion", - "type": "address" - }, - { - "name": "newVersion", - "type": "address" - } - ], - "outputs": [], - "gas": 1190208 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "revokeStrategy", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "addStrategyToQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 1255644 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "removeStrategyFromQueue", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [], - "gas": 23636673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtOutstanding", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "creditAvailable", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "availableDepositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 21381 - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "view", - "type": "function", - "name": "expectedReturn", - "inputs": [ - { - "name": "strategy", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "report", - "inputs": [ - { - "name": "gain", - "type": "uint256" - }, - { - "name": "loss", - "type": "uint256" - }, - { - "name": "_debtPayment", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 1239256 - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - } - ], - "outputs": [] - }, - { - "stateMutability": "nonpayable", - "type": "function", - "name": "sweep", - "inputs": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint256" - } - ], - "outputs": [] - }, - { - "stateMutability": "view", - "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 13920 - }, - { - "stateMutability": "view", - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string" - } - ], - "gas": 11673 - }, - { - "stateMutability": "view", - "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3678 - }, - { - "stateMutability": "view", - "type": "function", - "name": "balanceOf", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3923 - }, - { - "stateMutability": "view", - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "arg0", - "type": "address" - }, - { - "name": "arg1", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4168 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalSupply", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 3768 - }, - { - "stateMutability": "view", - "type": "function", - "name": "token", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3798 - }, - { - "stateMutability": "view", - "type": "function", - "name": "governance", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3828 - }, - { - "stateMutability": "view", - "type": "function", - "name": "management", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3858 - }, - { - "stateMutability": "view", - "type": "function", - "name": "guardian", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 3888 - }, - { - "stateMutability": "view", - "type": "function", - "name": "strategies", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "performanceFee", - "type": "uint256" - }, - { - "name": "activation", - "type": "uint256" - }, - { - "name": "debtRatio", - "type": "uint256" - }, - { - "name": "minDebtPerHarvest", - "type": "uint256" - }, - { - "name": "maxDebtPerHarvest", - "type": "uint256" - }, - { - "name": "lastReport", - "type": "uint256" - }, - { - "name": "totalDebt", - "type": "uint256" - }, - { - "name": "totalGain", - "type": "uint256" - }, - { - "name": "totalLoss", - "type": "uint256" - } - ], - "gas": 22641 - }, - { - "stateMutability": "view", - "type": "function", - "name": "withdrawalQueue", - "inputs": [ - { - "name": "arg0", - "type": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4057 - }, - { - "stateMutability": "view", - "type": "function", - "name": "emergencyShutdown", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool" - } - ], - "gas": 3978 - }, - { - "stateMutability": "view", - "type": "function", - "name": "depositLimit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4008 - }, - { - "stateMutability": "view", - "type": "function", - "name": "debtRatio", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4038 - }, - { - "stateMutability": "view", - "type": "function", - "name": "totalDebt", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4068 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lastReport", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4098 - }, - { - "stateMutability": "view", - "type": "function", - "name": "activation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4128 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfit", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4158 - }, - { - "stateMutability": "view", - "type": "function", - "name": "lockedProfitDegradation", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4188 - }, - { - "stateMutability": "view", - "type": "function", - "name": "rewards", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address" - } - ], - "gas": 4218 - }, - { - "stateMutability": "view", - "type": "function", - "name": "managementFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4248 - }, - { - "stateMutability": "view", - "type": "function", - "name": "performanceFee", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4278 - }, - { - "stateMutability": "view", - "type": "function", - "name": "nonces", - "inputs": [ - { - "name": "arg0", - "type": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256" - } - ], - "gas": 4523 - }, - { - "stateMutability": "view", - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32" - } - ], - "gas": 4338 - } -] \ No newline at end of file