Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update readme #32

Merged
merged 3 commits into from
Jun 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright [yyyy] [name of copyright owner]
Copyright 2024 Onchain Foundation

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
24 changes: 14 additions & 10 deletions PLUGIN_SPECIFICATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@

Smart contracts covered by this plugin are:

| Network | Version | Smart Contract | Address |
| -------------------- | ------- | -------------- | ------------------------------------------------ |
| Lisk Sepolia Testnet | - | TokenClaim | `0x3D4190b08E3E30183f5AdE3A116f2534Ee3a4f94` |
| Lisk Sepolia Testnet | - | Reward | `0xFd322B4724C497E59D48fff8f79c16b4D48837f5` |
| Lisk Sepolia Testnet | - | Airdrop | `0x9fA3CA453EbfB7a6d1085153D83a2988eE822BD0` |
| Lisk Sepolia Testnet | - | Governor | `0xf9181aaD773d423A2cc0155Cb4263E563D51B467` |
| Lisk Mainnet | - | TokenClaim | `0xD7BE2Fd98BfD64c1dfCf6c013fC593eF09219994` |
| Lisk Mainnet | - | Reward | `0xD35ca9577a9DADa7624a35EC10C2F55031f0Ab1f` |
| Lisk Mainnet | - | Airdrop | `TODO` |
| Network | Version | Smart Contract | Address |
| -------------------- | ------- | -------------- | -------------------------------------------- |
| Lisk Sepolia Testnet | - | TokenClaim | `0x3D4190b08E3E30183f5AdE3A116f2534Ee3a4f94` |
| Lisk Sepolia Testnet | - | Reward | `0xFd322B4724C497E59D48fff8f79c16b4D48837f5` |
| Lisk Sepolia Testnet | - | Airdrop | `0x9fA3CA453EbfB7a6d1085153D83a2988eE822BD0` |
| Lisk Sepolia Testnet | - | Governor | `0xf9181aaD773d423A2cc0155Cb4263E563D51B467` |
| Lisk Mainnet | - | TokenClaim | `0xD7BE2Fd98BfD64c1dfCf6c013fC593eF09219994` |
| Lisk Mainnet | - | Reward | `0xD35ca9577a9DADa7624a35EC10C2F55031f0Ab1f` |
| Lisk Mainnet | - | Airdrop | `0xC7315f4FaaB2F700fc6b4704BB801c46ff6327AC` |
| Lisk Mainnet | - | Governor | `0x58a61b1807a7bDA541855DaAEAEe89b1DDA48568` |


Expand All @@ -37,4 +37,8 @@ Following functions are covered by this plugins:
| Airdrop | claimAirdrop | `0x0c1646b7` | <table> <tbody> <tr><td><code>uint256 claimAmount</code></td></tr> <tr><td><code>bytes liskAddress</code></td></tr> </tbody> </table> |
| Governor | propose | `0x7d5e81e2` | <table> <tbody> <tr><td><code>address[] targets</code></td></tr> <tr><td><code>uint256[] values</code></td></tr> </tbody> </table> |
| Governor | castVote | `0x56781388` | <table> <tbody> <tr><td><code>uint256 proposalId</code></td></tr> <tr><td><code>uint256 support</code></td></tr> </tbody> </table> |
| Governor | castVoteWithReason | `0x7b3c71d3` | <table> <tbody> <tr><td><code>uint256 proposalId</code></td></tr> <tr><td><code>uint256 support</code></td></tr> <tr><td><code>string reason</code></td></tr> </tbody> </table> |
| Governor | castVoteWithReason | `0x7b3c71d3` | <table> <tbody> <tr><td><code>uint256 proposalId</code></td></tr> <tr><td><code>uint256 support</code></td></tr> <tr><td><code>string reason</code></td></tr> </tbody> </table> |

> **Note**: Due to memory limitation, plugin
> <br>can only verify transactions with 4 entries maximum for initiateFastUnlock, claimRewards, pauseUnlocking, resumeUnlockingCountdown and deletePositions.
> <br>can only verify transactions with 2 entries maximum for increaseLockingAmount, extendDuration and propose.
Binary file modified tests/snapshots/flex/test_add_unused_rewards/00000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_add_unused_rewards/00001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_add_unused_rewards/00002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_add_unused_rewards/00004.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_claim_airdrop/00000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_claim_airdrop/00001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_claim_airdrop/00002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_claim_airdrop/00004.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_claim_multisig_account/00000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_claim_multisig_account/00001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_claim_multisig_account/00002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_claim_multisig_account/00003.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_claim_multisig_account/00005.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_claim_regular_account/00000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_claim_regular_account/00001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_claim_regular_account/00002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_claim_regular_account/00003.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_claim_regular_account/00005.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_claim_rewards/00000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_claim_rewards/00001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_claim_rewards/00002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_claim_rewards/00003.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_claim_rewards/00005.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_create_position/00000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_create_position/00001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/snapshots/flex/test_create_position/00002.png
Binary file modified tests/snapshots/flex/test_create_position/00004.png
Binary file modified tests/snapshots/flex/test_delete_positions/00000.png
Binary file modified tests/snapshots/flex/test_delete_positions/00001.png
Binary file modified tests/snapshots/flex/test_delete_positions/00002.png
Binary file modified tests/snapshots/flex/test_delete_positions/00003.png
Binary file modified tests/snapshots/flex/test_delete_positions/00005.png
Binary file modified tests/snapshots/flex/test_extend_duration/00000.png
Binary file modified tests/snapshots/flex/test_extend_duration/00001.png
Binary file modified tests/snapshots/flex/test_extend_duration/00002.png
Binary file modified tests/snapshots/flex/test_extend_duration/00003.png
Binary file modified tests/snapshots/flex/test_extend_duration/00005.png
Binary file modified tests/snapshots/flex/test_fund_staking_rewards/00000.png
Binary file modified tests/snapshots/flex/test_fund_staking_rewards/00001.png
Binary file modified tests/snapshots/flex/test_fund_staking_rewards/00002.png
Binary file modified tests/snapshots/flex/test_fund_staking_rewards/00004.png
Binary file modified tests/snapshots/flex/test_governor_cast_vote/00000.png
Binary file modified tests/snapshots/flex/test_governor_cast_vote/00001.png
Binary file modified tests/snapshots/flex/test_governor_cast_vote/00002.png
Binary file modified tests/snapshots/flex/test_governor_cast_vote/00004.png
Binary file modified tests/snapshots/flex/test_governor_propose_one_element/00000.png
Binary file modified tests/snapshots/flex/test_governor_propose_one_element/00002.png
Binary file modified tests/snapshots/flex/test_governor_propose_two_elements/00003.png
Binary file modified tests/snapshots/flex/test_increase_locking_amount/00000.png
Binary file modified tests/snapshots/flex/test_increase_locking_amount/00001.png
Binary file modified tests/snapshots/flex/test_increase_locking_amount/00002.png
Binary file modified tests/snapshots/flex/test_increase_locking_amount/00003.png
Binary file modified tests/snapshots/flex/test_increase_locking_amount/00005.png
Binary file modified tests/snapshots/flex/test_initiate_fast_unlock/00000.png
Binary file modified tests/snapshots/flex/test_initiate_fast_unlock/00001.png
Binary file modified tests/snapshots/flex/test_initiate_fast_unlock/00002.png
Binary file modified tests/snapshots/flex/test_initiate_fast_unlock/00003.png
Binary file modified tests/snapshots/flex/test_initiate_fast_unlock/00005.png
Binary file modified tests/snapshots/flex/test_pause_unlocking/00000.png
Binary file modified tests/snapshots/flex/test_pause_unlocking/00001.png
Binary file modified tests/snapshots/flex/test_pause_unlocking/00002.png
Binary file modified tests/snapshots/flex/test_pause_unlocking/00003.png
Binary file modified tests/snapshots/flex/test_pause_unlocking/00005.png
Binary file modified tests/snapshots/flex/test_resume_unlocking/00000.png
Binary file modified tests/snapshots/flex/test_resume_unlocking/00001.png
Binary file modified tests/snapshots/flex/test_resume_unlocking/00002.png
Binary file modified tests/snapshots/flex/test_resume_unlocking/00003.png
Binary file modified tests/snapshots/flex/test_resume_unlocking/00005.png
Loading