Commit ee21688
feat(target_chains/ethereum): add arbirum stylus sdk (#2041)
* chore: init stylus project
* chore: added scripts
* chore: created workspace
* chore: docs setup
* chore: pyth contracts init
* chore: docs command setup
* mock: example project
* chore : created test workspace
* chore: changed toml version
* chore: created mock pyth workspace
* chore: renamed project sdk
* chore: refactored files
* chore : helpers functions
* refacor : refactord code
* chore: removed struct type , implemented abstract_pyth
* chore: created storage price and storage price feed
* chore: integrating storage price and storage price feed
* chore: fixed error created by storage type
* chore: config changes
* chore: forge init
* forge install: forge-std
v1.9.3
* mock pyth : created mock solidity pyth contract
* chore: Renamed MockPyth Scripts
* chore: started testing
* chore: removed projects
* feture :completed unit test and stylus contracts
* added initializtion for mock
* examples setup
* chore:fixed imports
* chore:fixed types
* completed contract
* External call and fution call sample
* chore: Changed motsu
* chore: Created Proxy call example
* feture: Example for both type of call
* chore: Added beches
* Lib Changes
* chore:Scripts modifications
* chore : fuction call and proxy call
* chore: added workflow
* chore: doc pages docs
* chore: doc changes
* smaller chages
* chore: benches and toml changes
* chore: added foundry to e2e workflow
* chore:set up benchmark
* Added Benches
* chore:added setup mock pyth script to bench and e2e and logs
* changes
* feture: Added Proxy call to bench
* chore: Removed sol file
* Added deploy scripts
* chore: proxy calls
* chore: removed file
* changes
* chore:added constructor file and worked on bench
* chore: moved Ipyth to pyth-contract file
* chore: added variable to bash scripts
* chore:decode and encode helper
* chore: fixed mock pyth deploy script
* chore: removed dotenv crates
* chore: completed benches functions
* chore: examples and proxy call fixes
* changes
* chore: added create functions
* chore: completed get data benchmarks
* chore:contract changes
* chore:function calls
* chore: Ignore all broadcast
* chore: completed get benches
* chore:changes
* chore: Added Type Test
* chore: tests
* env and examples
* Update README.md
* Update README.md
* Update README.md
* chore: worked on bench and e2e test
* removed log
* chore: completed e2e test for function call example
* chore : changed pyth script
* chore:completed e2e test
* chore:benches
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* chore: removed docs
* Update README.md
* Update README.md
* Update CODEOWNERS
* Delete target_chains/ethereum/sdk/stylus/SECURITY.md
* Delete target_chains/ethereum/sdk/stylus/lib/crypto directory
* Delete target_chains/ethereum/sdk/stylus/.linkspector.yml
* Delete target_chains/ethereum/sdk/stylus/netlify.toml
* Update Cargo.toml removed openzepline crypto
* Update README.md
* Delete target_chains/ethereum/sdk/stylus/pyth-solidity/.env.example
* Update gas-bench.yml
* chore:removed a bunch of openzeplin files
* chore: removed workflow
* chore:Added Guidlines
* chore: motsu changes
* Create Test.md
* Update Test.md
* Rename Test.md to TEST.md
* Update README.md
* Update README.md
* Update README.md
* Delete target_chains/ethereum/sdk/stylus/TEST.md
* chore: removed mostu
* chore: changed Fixedbytes<32> to B256
* chore: removed local e2e testing library
* chore: changes
* forge install: forge-std
v1.9.4
* forge install: openzeppelin-foundry-upgrades
v0.3.6
* forge install: openzeppelin-contracts
v4.9.6
* chore: formated code
* chore: fixed scripts
* Update target_chains/ethereum/sdk/stylus/README.md
Co-authored-by: Pavel Strakhov <[email protected]>
* Update target_chains/ethereum/sdk/stylus/README.md
Co-authored-by: Pavel Strakhov <[email protected]>
* chore: rustfmt changes
* chore: changed solidity licenses to Apache 2
* chore: deleted codeowner file and link
* chore: removed comments
* solidity changes
* chore: removed folder
* chore: removed = for version
* forge install: forge-std
v1.9.4
* forge install: openzeppelin-foundry-upgrades
v0.3.6
* forge install: openzeppelin-contracts-upgradeable
v4.9.6
* chore: Remove MIT license
* chore: script changes
* chore: removed dependices
* forge install: forge-std
v1.9.4
* forge install: openzeppelin-foundry-upgrades
v0.3.6
* chore:added description to script
* Update target_chains/ethereum/sdk/stylus/README.md
Co-authored-by: Pavel Strakhov <[email protected]>
* Update target_chains/ethereum/sdk/stylus/README.md
Co-authored-by: Pavel Strakhov <[email protected]>
* Update target_chains/ethereum/sdk/stylus/contracts/src/pyth/mod.rs
Co-authored-by: Pavel Strakhov <[email protected]>
* Update target_chains/ethereum/sdk/stylus/contracts/src/pyth/errors.rs
Co-authored-by: Pavel Strakhov <[email protected]>
* chore: changed // to /// and remove licenses because of root licenese
* chore: Apache-2.0 license
* chore: renamed file name pyth-solidity to pyth-mock-solidity
* chore: removed commented code
* chore: foundry test workflow
* chore: workflows
* chore: changed readme to rust
* chore: fixed description mock solidity
* chore: fixed zero case
* chore: change all use case of gt and lt to > and <
* chore: workflow
* chore: replaced the file with the link
* chore: refactor and removed unused code
* chore: renamed function for test
* chore: added some sort of path filters
* chore: add cargo fmt and cargo clippy for stylus sdk
* chore: package-json.lock moved depencies to pnpm-workspace.yaml
* chore:test attribute
* chore: git workflows
* chore: removed functions example
* chore: switch for item in update_data
* chore: fixed example
* chore: refactor examples
* cargo changes
* chore: pyth example , and function call example
* chore: added other example
* chore: install
* chore:installations
* chore: mock pyth
* chore: benches and test
* smaller changes
* chore: mock
* chore: bench format
* chore: code format
* chore: code format
* chore: removed workflow
* chore: pnpm install
* chore: removed package-lock.json
* chore: fixed commented out job
* chore: ran pre-commit run --all
* chore: pre-commit run --all
* chore:removed space
* Update .github/workflows/cli-foundry-test.yml
Co-authored-by: Pavel Strakhov <[email protected]>
* chore:removed space
chore: vec changes
* chore: data changes
* Update .github/workflows/cli-stylus-nostd.yml
Co-authored-by: Pavel Strakhov <[email protected]>
* Update .github/workflows/cli-stylus-gas-bench.yml
Co-authored-by: Pavel Strakhov <[email protected]>
* Update .github/workflows/cli-stylus-e2e-tests.yml
Co-authored-by: Pavel Strakhov <[email protected]>
* Update .github/workflows/cli-stylus-check.yml
Co-authored-by: Pavel Strakhov <[email protected]>
* Update .github/workflows/cli-stylus-check-wasm.yml
Co-authored-by: Pavel Strakhov <[email protected]>
* Update .github/workflows/cli-foundry-test.yml
Co-authored-by: Pavel Strakhov <[email protected]>
* Update .github/workflows/cli-stylus-e2e-tests.yml
Co-authored-by: Pavel Strakhov <[email protected]>
* Update .github/workflows/cli-stylus-check-wasm.yml
Co-authored-by: Pavel Strakhov <[email protected]>
* Update .github/workflows/cli-stylus-check.yml
Co-authored-by: Pavel Strakhov <[email protected]>
* Update .github/workflows/cli-stylus-nostd.yml
Co-authored-by: Pavel Strakhov <[email protected]>
* Update .github/workflows/cli-stylus-gas-bench.yml
Co-authored-by: Pavel Strakhov <[email protected]>
* chore: added back existing submodule
* chore: data changes
* cl fixes
* cli fixes
* chore: toolchain: nightly-2024-01-01
* chore: version changes
* toolchain
* removed typo workflow
* fixed rust issue
* changed rust version
* added foundry
* chore: changes
* chore:bench fixes
* chore: changed cli workflow
* chore: format
* ci changes
* chore: added space
* precommit fixes
* added new line
* removed
* removed line
* chore: ci changes
* chore : changes
* changed ci script
* removed if statements for test
* chore: changes
* chore:fixes
* chore: fixes
* chore: fixes
* added evm file
* chore: checking key
* testing keys
* remove comand
* precommit fixes
* chore: removed workflow
* cl changes
* fmt
* fixed verion issue
---------
Co-authored-by: Pavel Strakhov <[email protected]>1 parent 032f98f commit ee21688
File tree
64 files changed
+7851
-0
lines changed- .github/workflows
- lib
- target_chains/ethereum/sdk/stylus
- .cargo
- benches
- src
- contracts
- src
- pyth
- utils
- examples
- extend-pyth-example
- src
- tests
- abi
- function-example
- src
- pyth-example
- src
- pyth-mock-solidity
- lib
- script
- src
- test
- scripts
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
64 files changed
+7851
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
Submodule openzeppelin-foundry-upgrades added at 16e0ae2
0 commit comments