Skip to content

Commit

Permalink
Feat/tron contracts (#2)
Browse files Browse the repository at this point in the history
* feat: DeployFraxOnTron

* feat: FraxFerry

* refactor: DeployFrax{'' => 'Assets'}OnTron

* fix(build): fraxtal-contracts package

* refactor: ERC20WithMinters

* feat: DeployTronFerriesOnFraxtal

* fix: Frax{'F' => 'f'}erry

* chore: flatten

* docs: deployed addrs

* ops: deploy Ferry on fraxtal

* feat(test): BaseTest deployment

* test: embark

* add: code examples of tron calls

* chore(build): fix

* docs: e2e code ferry on tron
  • Loading branch information
pegahcarter committed Aug 6, 2024
1 parent 086a4b0 commit 93b3fac
Show file tree
Hide file tree
Showing 20 changed files with 6,092 additions and 1,426 deletions.
25 changes: 24 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,27 @@
# Frax Template
# Frax Tron

## Resources
- https://tronscan.org
- https://www.btcschools.net/tron/tron_tool_base58check_hex.php
- Ignore the "41" at the start when decoding Base58

## Addresses
### Solana
- Deployer / Authorized Minter
- `TLNe6KF1dUSYBcZ4fzTstoKB8bkzQewz42`
- `0x721fC501D1Fe305065dc88DA0cf90406A79dFD69`
- FRAX Mintable ERC20 (test)
- `TQZTkTMbkC9923LtVHZcSrdqcW5rVhkZHP`
- `0xA00C37011018b4B11CFFbBF0305A771D9d4066cf`
- FRAX Ferry
- `TGxtcNUY9q19FATX3tFxzkmBhQigVDTFJs`
- `0x4Cb9873f50f69f7a3e4dCd5D2Fe94C531623a298`

### Fraxtal
- Deployer / Ferry owner
- `0xb0E1650A9760e0f383174af042091fc544b8356f`
- FRAX Ferry
- `0xa5677a5bF6e8759D3C904d2da85D1318E398cf3A`

## Optional Setup
Add:
Expand Down
104 changes: 104 additions & 0 deletions broadcast/DeployTronFerriesOnFraxtal.sol/252/run-1721935198.json

Large diffs are not rendered by default.

104 changes: 104 additions & 0 deletions broadcast/DeployTronFerriesOnFraxtal.sol/252/run-latest.json

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,13 @@
"typescript": "^5.3.3"
},
"dependencies": {
"@noble/secp256k1": "1.7.1",
"@uniswap/v3-periphery": "^1.4.4",
"ds-test": "github:dapphub/ds-test",
"ethers": "^6.13.2",
"forge-std": "github:foundry-rs/forge-std#e8a047e3f40f13fa37af6fe14e6e06283d9a060e",
"frax-standard-solidity": "github:FraxFinance/frax-standard-solidity",
"solidity-bytes-utils": "github:GNSPS/solidity-bytes-utils"
"solidity-bytes-utils": "github:GNSPS/solidity-bytes-utils",
"tronweb": "^5.3.2"
}
}
Loading

0 comments on commit 93b3fac

Please sign in to comment.