You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simplifies StakingLens by removing unused fields, fallback APY logic, and redundant comments. Updates validator and APY query functions to use the full validator set by default. Adds unit tests for StakingLens in test/monad/StakingLens.t.sol and updates documentation and justfile for Monad lens testing.
Copy file name to clipboardExpand all lines: README.md
+14-33Lines changed: 14 additions & 33 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,46 +1,27 @@
1
1
# Smart Contracts
2
2
3
-
A collection of smart contracts for Gem Wallet.
3
+
Gem Wallet deployment helpers and read lenses.
4
4
5
-
-[src/hub_reader](src/hub_reader): A contract that simplify interacting with BSC Staking Hub
6
-
-[src/stargate](src/stargate): A contract that allow to do onchain calls on destination chain after Stargate Bridge
5
+
-`src/hub_reader`: BSC staking hub reader.
6
+
-`src/stargate`: post-bridge call handler for Stargate V2.
7
+
-`src/monad`: staking lens for Monad (precompile reader).
7
8
8
9
## Development
9
10
10
-
1. Install [Foundry](https://book.getfoundry.sh/) and you're good to go.
11
-
2. Configure`.env` using`.env.example` rpcs (if needed) and etherscan values, if you need to deploy the contract, you need to set `PRIVATE_KEY`as well.
0 commit comments