* feat: initial setup * feat: implemented getCapabilities and getTokens * chore: adjusted getPoolIds * feat: Initial implementation of getLimits() * feat: implemented getLimits, getTokens and internal functions for amounts * feat: implemented price * feat: implemented swap function * fix and test: fixed minor issues on adapter and setup test * debugging price function * fix: debugged price function and fixed getPriceAt function * test: testOneIncreasingPriceFoundFraxV3SFrax * fix: debugging and fixing buy function * fix: fixed getPriceAt * test: testing post trade price * fix: Fixed getPriceAt * fix: Fixed getLimits * fix: Fixed prices and improved readability * fix: Fixed price and transfers in swap * feat: Finished tests * chore: Changed approve to safeIncreaseAllowance * feat: created substream for staked frax * feat: remove useless files * feat: fixed dependencies in cargo.toml * feat: rename folder * feat: updated cargo.lock * feat: changed lib.rs, added modules.rs * feat: update modules.rs with corrects addresses * feat: rename folder in ethereum-sfrax * feat: remove useless comments, change locked asset address, rename * feat: undo changes on mod.rs in ethereum-balancer * feat: rename variable * feat: update substreams/cargo.toml * feat: modify ristfmt.toml * feat: performed code formatting * feat: modify src/abi * feat: performed formatting with nightly * feat: fix addition opeation * feat: adjust code with for i, f * feat: performed fmt inside ethereum-sfrax folder * feat: performed clippy * feat: fix with clippy warning suggests * feat: undo any change in ethereum-balancer * feat: change stakedfrax_contract.rs * fix: stakedfrax_contract.rs * feat: add blank line * feat: add #[allow(clippy::all)] on ethereum-sfrax/src/abi/mod.rs * feat: update comments on pool_factories.rs * feat: update cargo.toml and substreams.yaml * feat: add tycho evm in pb folder * feat: add params to take contracts' addresses * feat: add logic to map rewards_cycle * feat: performed fmt and fix versioning * feat: remove useless functions * feat: add logic to track rewards_to_distribute * feat: passing CI * fix: substreams.yaml * feat: fixed params in manifest Co-authored-by: mrBovo <bovo.ignazio@proton.me> * feat: fixed error in map_relative_balances function * feat: passing CI checks * fix: 🐛 hex-binary address encoding + refactoring vault-> underlying map * style: 💄 fix formatting * feat: Implemented testPoolBehaviour * alignment with propeller main * Update forge-std submodule reference to include ds-test * files update to match propeller/main * creating integration_test fir sfrax * fixed FraxV3SFraxAdapter.sol import paths * updated with correct addresses FraxV3SFraxAdapter manifest.yaml * updated sfrax manifest.yaml * updated to support sdk * integration_test sfrax updated * fix: 🐛 add reward processing * chore: ♻️ minor cleanups * fix: Fixed adapter limits * fix: fix adapter and substream sdk tests * fix: Fixed CI errors * chore: fmt * chore: Removed unused line * fix: Fixed clippy warnings * chore: formatted with rustup * chore: Removed unused line * chore: post-build formatting * chore: Formatting using different toolchain vesion * chore: 💄 format * chore: 💄 format 2 * chore: Using static address for frax * feat: Added second constructor param for sfrax * fix: Fixed limits on frax sell * chore: Fixed merge conflict with sfraxeth * chore: Remove sfraxeth_contract changes * chore: Fixed EOFs * fix: Fixed fmt on stakedfrax contract --------- Co-authored-by: mp-web3 <mp.web3.t@gmail.com> Co-authored-by: gabrir99 <gabri.ruini@gmail.com> Co-authored-by: mrBovo <bovo.ignazio@proton.me> Co-authored-by: Ignazio Bovo <ignazio@jsgenesis.com> Co-authored-by: mrBovo <bovoignazio.dev@gmail.com> Co-authored-by: Mattia <mp.web3@gmail.com>
72 lines
1.6 KiB
YAML
72 lines
1.6 KiB
YAML
specVersion: v0.1.0
|
|
package:
|
|
name: "ethereum_sfrax"
|
|
version: v0.1.0
|
|
|
|
protobuf:
|
|
files:
|
|
- tycho/evm/v1/vm.proto
|
|
- tycho/evm/v1/common.proto
|
|
- tycho/evm/v1/utils.proto
|
|
importPaths:
|
|
- ../../proto
|
|
- ./proto
|
|
|
|
binaries:
|
|
default:
|
|
type: wasm/rust-v1
|
|
file: ../target/wasm32-unknown-unknown/release/ethereum_sfrax.wasm
|
|
|
|
modules:
|
|
- name: map_components
|
|
kind: map
|
|
initialBlock: 18378085
|
|
inputs:
|
|
- params: string
|
|
- source: sf.ethereum.type.v2.Block
|
|
output:
|
|
type: proto:tycho.evm.v1.BlockTransactionProtocolComponents
|
|
doc: |
|
|
param is the address without the 0x prefix of the sfrax vault you want to track
|
|
|
|
- name: store_components
|
|
kind: store
|
|
initialBlock: 18378085
|
|
updatePolicy: add
|
|
valueType: int64
|
|
inputs:
|
|
- map: map_components
|
|
|
|
- name: store_balances
|
|
kind: store
|
|
initialBlock: 18378085
|
|
updatePolicy: add
|
|
valueType: bigint
|
|
inputs:
|
|
- map: map_relative_balances
|
|
|
|
- name: map_relative_balances
|
|
kind: map
|
|
initialBlock: 18378085
|
|
inputs:
|
|
- source: sf.ethereum.type.v2.Block
|
|
- store: store_components
|
|
output:
|
|
type: proto:tycho.evm.v1.BlockBalanceDeltas
|
|
|
|
- name: map_protocol_changes
|
|
kind: map
|
|
initialBlock: 18378085
|
|
inputs:
|
|
- source: sf.ethereum.type.v2.Block
|
|
- map: map_components
|
|
- map: map_relative_balances
|
|
- store: store_components
|
|
- store: store_balances
|
|
mode: deltas
|
|
output:
|
|
type: proto:tycho.evm.v1.BlockChanges
|
|
|
|
params:
|
|
map_components: "A663B02CF0a4b149d2aD41910CB81e23e1c41c32"
|