-
Notifications
You must be signed in to change notification settings - Fork 252
add getProxies in precompile #2207
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
Open
open-junius
wants to merge
12
commits into
devnet-ready
Choose a base branch
from
get_proxies_in_precompile
base: devnet-ready
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+344
−20
Open
Changes from 3 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
758020c
add getProxies in precompile
open-junius d397207
test all
open-junius d15137f
bump version
open-junius eddd9a8
update result struct
open-junius 077a8d5
fix test
open-junius 77a8082
cargo fix
open-junius f86204d
Revert "cargo fix"
open-junius d9a79d7
rebase PR
open-junius 22a812a
bump version
open-junius 59acb8e
remove contract tests folder
open-junius 6ff5082
remove redundant await
open-junius f2ac464
Merge branch 'devnet-ready' into get_proxies_in_precompile
open-junius File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,160 @@ | ||
| [ | ||
| { | ||
| "type": "function", | ||
| "name": "createPureProxy", | ||
| "inputs": [ | ||
| { | ||
| "name": "proxy_type", | ||
| "type": "uint8", | ||
| "internalType": "uint8" | ||
| }, | ||
| { | ||
| "name": "delay", | ||
| "type": "uint32", | ||
| "internalType": "uint32" | ||
| }, | ||
| { | ||
| "name": "index", | ||
| "type": "uint16", | ||
| "internalType": "uint16" | ||
| } | ||
| ], | ||
| "outputs": [], | ||
| "stateMutability": "nonpayable" | ||
| }, | ||
| { | ||
| "type": "function", | ||
| "name": "proxyCall", | ||
| "inputs": [ | ||
| { | ||
| "name": "real", | ||
| "type": "bytes32", | ||
| "internalType": "bytes32" | ||
| }, | ||
| { | ||
| "name": "force_proxy_type", | ||
| "type": "uint8[]", | ||
| "internalType": "uint8[]" | ||
| }, | ||
| { | ||
| "name": "call", | ||
| "type": "bytes", | ||
| "internalType": "bytes" | ||
| } | ||
| ], | ||
| "outputs": [], | ||
| "stateMutability": "nonpayable" | ||
| }, | ||
| { | ||
| "type": "function", | ||
| "name": "killPureProxy", | ||
| "inputs": [ | ||
| { | ||
| "name": "spawner", | ||
| "type": "bytes32", | ||
| "internalType": "bytes32" | ||
| }, | ||
| { | ||
| "name": "proxy_type", | ||
| "type": "uint8", | ||
| "internalType": "uint8" | ||
| }, | ||
| { | ||
| "name": "index", | ||
| "type": "uint16", | ||
| "internalType": "uint16" | ||
| }, | ||
| { | ||
| "name": "height", | ||
| "type": "uint16", | ||
| "internalType": "uint16" | ||
| }, | ||
| { | ||
| "name": "ext_index", | ||
| "type": "uint32", | ||
| "internalType": "uint32" | ||
| } | ||
| ], | ||
| "outputs": [], | ||
| "stateMutability": "nonpayable" | ||
| }, | ||
| { | ||
| "type": "function", | ||
| "name": "addProxy", | ||
| "inputs": [ | ||
| { | ||
| "name": "delegate", | ||
| "type": "bytes32", | ||
| "internalType": "bytes32" | ||
| }, | ||
| { | ||
| "name": "proxy_type", | ||
| "type": "uint8", | ||
| "internalType": "uint8" | ||
| }, | ||
| { | ||
| "name": "delay", | ||
| "type": "uint32", | ||
| "internalType": "uint32" | ||
| } | ||
| ], | ||
| "outputs": [], | ||
| "stateMutability": "nonpayable" | ||
| }, | ||
| { | ||
| "type": "function", | ||
| "name": "removeProxy", | ||
| "inputs": [ | ||
| { | ||
| "name": "delegate", | ||
| "type": "bytes32", | ||
| "internalType": "bytes32" | ||
| }, | ||
| { | ||
| "name": "proxy_type", | ||
| "type": "uint8", | ||
| "internalType": "uint8" | ||
| }, | ||
| { | ||
| "name": "delay", | ||
| "type": "uint32", | ||
| "internalType": "uint32" | ||
| } | ||
| ], | ||
| "outputs": [], | ||
| "stateMutability": "nonpayable" | ||
| }, | ||
| { | ||
| "type": "function", | ||
| "name": "removeProxies", | ||
| "inputs": [], | ||
| "outputs": [], | ||
| "stateMutability": "nonpayable" | ||
| }, | ||
| { | ||
| "type": "function", | ||
| "name": "pokeDeposit", | ||
| "inputs": [], | ||
| "outputs": [], | ||
| "stateMutability": "nonpayable" | ||
| }, | ||
| { | ||
| "type": "function", | ||
| "name": "getProxies", | ||
| "inputs": [ | ||
| { | ||
| "name": "account", | ||
| "type": "bytes32", | ||
| "internalType": "bytes32" | ||
| } | ||
| ], | ||
| "outputs": [ | ||
| { | ||
| "name": "", | ||
| "type": "bytes32[]", | ||
| "internalType": "bytes32[]" | ||
| } | ||
| ], | ||
| "stateMutability": "view" | ||
| } | ||
| ] |
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add the proxytype and the delay here
Returning a struct would be nice