forked from subsquid-labs/giant-squid-main
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add pallet_staking support #29
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Anton Rusev <anton.rusev@limechain.tech>
…e into corresponding files, add kusama main.ts file, implement balances.transfer, identity_setIdentity pallets.
Remove chainApiConfig. Implement dynamic loading of a chain from its config file. Implement decoders for each pallet event and call in each chain. Delete unused index.ts files Rename api folder to decoders in each chain Clean up code.
moved code from chain.ts to main.ts moved chain gateway to be initialized in createIndexer, NOT in each chain moved type-bundles polkadex and zeitgeist.json into their corresponding chainFolders deleted unnecessary calls folder in each chain (balances transfer calls code) as its unused updated commands.json updated folder structure of each chain updated templates folder added README.md
Signed-off-by: Anton Rusev <anton.rusev@limechain.tech>
Updated each chain main.ts file to match current design Removed unused calls from each chain metadata.json Re-ran sqd typegen so the types are up to date with metadata.json Cleanup code
Signed-off-by: Anton Rusev <anton.rusev@limechain.tech>
Signed-off-by: Anton Rusev <anton.rusev@limechain.tech>
… identity Killed events and calls)
Rename corresponding ones to match chainName
Signed-off-by: Anton Rusev <anton.rusev@limechain.tech>
Signed-off-by: Anton Rusev <anton.rusev@limechain.tech>
Signed-off-by: Anton Rusev <anton.rusev@limechain.tech>
Signed-off-by: Anton Rusev <anton.rusev@limechain.tech>
Signed-off-by: Anton Rusev <anton.rusev@limechain.tech>
Signed-off-by: Anton Rusev <anton.rusev@limechain.tech>
Signed-off-by: Anton Rusev <anton.rusev@limechain.tech>
Signed-off-by: Anton Rusev <anton.rusev@limechain.tech>
…er call in polkadot
…to staker entity Signed-off-by: Anton Rusev <anton.rusev@limechain.tech>
Closed
4 tasks
vikinatora
reviewed
Jul 16, 2024
georg-getz
reviewed
Jul 16, 2024
georg-getz
reviewed
Jul 16, 2024
georg-getz
reviewed
Jul 16, 2024
georg-getz
reviewed
Jul 16, 2024
georg-getz
approved these changes
Jul 16, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Implement pallet_staking calls and events which includes:
Events:
Staking.Reward
Staking.Rewarded
Staking.Bonded
Staking.Unbonded
Staking.Withdrawn
Staking.Slash
Staking.Slashed
Calls:
Staking.bond
Staking.bond_extra
Staking.rebond
Staking.unbond
Staking.set_payee
Staking.set_controller
Implement stakers entity which contains data for a given staker with relevant information for it.
Add full support for polkadot and kusama