-
Notifications
You must be signed in to change notification settings - Fork 20
#291 Proxy refactoring #324
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
90a4e56
#291 extract transaction sender class
otselnik 143913b
#291 move perm accs to transaction sender
otselnik 16c9bff
#291 fix state
otselnik f2c0303
#291 fix errors
otselnik 57f3b53
Merge remote-tracking branch 'origin/develop' into 291_proxy_refactoring
otselnik 3369f67
#291 merge fixes
otselnik af721bb
#291 refactoring
otselnik e512bb8
#291 move EXTRA_GAS to environment
otselnik 8dc5e29
#291 capitalize CONFIRMATION_CHECK_DELAY
otselnik 8dce2a5
#291 sort imports
otselnik cef8f21
#291 relative paths
otselnik 1bf8383
#291 Should be fixed in #326
otselnik 9672438
#291 testing chnages
otselnik 2d42b73
fix storage account check
sinev-valentine ac2755c
Merge remote-tracking branch 'origin/develop' into 291_proxy_refactoring
otselnik 3519c61
Merge branch '371_add_FinalizedStorage_to_check' into 291_proxy_refac…
otselnik bf313a2
#291 rename `trx_with_create_and_airdrop` -> `make_trx_with_create_an…
otselnik 3093fcc
Merge remote-tracking branch 'origin/develop' into 291_proxy_refactoring
otselnik 4d685db
#291 pull request fixes
otselnik 6f63338
Merge remote-tracking branch 'origin/develop' into 291_proxy_refactoring
otselnik 5ebf76a
Merge remote-tracking branch 'origin/develop' into 291_proxy_refactoring
otselnik b464b1e
#291 merge fix
otselnik 75c8e9a
#291 rename operator and associated token accounts
otselnik 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
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 |
|---|---|---|
| @@ -1,21 +1,20 @@ | ||
| import eth_utils | ||
| import logging | ||
| import struct | ||
| import eth_utils | ||
| from construct import Bytes, Int8ul, Int64ul | ||
| from construct import Struct as cStruct | ||
|
|
||
| from sha3 import keccak_256 | ||
| from solana._layouts.system_instructions import SYSTEM_INSTRUCTIONS_LAYOUT, InstructionType | ||
| from solana.publickey import PublicKey | ||
| from solana.system_program import SYS_PROGRAM_ID | ||
| from solana.sysvar import SYSVAR_CLOCK_PUBKEY, SYSVAR_RENT_PUBKEY | ||
| from solana.transaction import AccountMeta, TransactionInstruction, Transaction | ||
| from spl.token.constants import ASSOCIATED_TOKEN_PROGRAM_ID, TOKEN_PROGRAM_ID | ||
| from spl.token.instructions import transfer2, Transfer2Params | ||
| from sha3 import keccak_256 | ||
|
|
||
| from proxy.environment import EVM_LOADER_ID, ETH_TOKEN_MINT_ID , COLLATERAL_POOL_BASE, NEW_USER_AIRDROP_AMOUNT | ||
| from proxy.common_neon.constants import SYSVAR_INSTRUCTION_PUBKEY, INCINERATOR_PUBKEY, KECCAK_PROGRAM, COLLATERALL_POOL_MAX | ||
| from proxy.common_neon.address import accountWithSeed, ether2program, getTokenAddr | ||
| from proxy.common_neon.constants import SYSVAR_INSTRUCTION_PUBKEY, INCINERATOR_PUBKEY, KECCAK_PROGRAM, COLLATERALL_POOL_MAX | ||
| from proxy.common_neon.layouts import CREATE_ACCOUNT_LAYOUT | ||
| from proxy.environment import EVM_LOADER_ID, ETH_TOKEN_MINT_ID , COLLATERAL_POOL_BASE, NEW_USER_AIRDROP_AMOUNT | ||
|
||
|
|
||
|
|
||
| logger = logging.getLogger(__name__) | ||
|
|
||
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.