Commit Graph

48 Commits

Author SHA1 Message Date
A5 Pickle 74e11b17ba
evm: revert #42 (#45)
* Revert "Adds VAA self signing logic and updates implementation addresses (#42)"

This reverts commit 105ad59bad.

* evm: clean ts/src/ethers-contracts

---------

Co-authored-by: A5 Pickle <a5-pickle@users.noreply.github.com>
2023-12-05 10:08:14 -06:00
A5 Pickle b36833e2ac
evm: fix .gitignore; fix testing.env; fix echo (#44)
Co-authored-by: A5 Pickle <a5-pickle@users.noreply.github.com>
2023-12-05 09:46:08 -06:00
scnale 105ad59bad
Adds VAA self signing logic and updates implementation addresses (#42)
* evm: remove obsolete packages.

* evm: fixes shebang for shell scripts.

* evm: forward arguments in deploy shell scripts.

* evm: adjustments in `tsconfig.json`

* evm: adds script to self sign testnet upgrade.

* evm: yarn.lock update

* evm: Adds registrations to circle integration initializer temporarily.

* evm: fixes env var for RPC URLs

* evm: rename environment files.

* evm: adds RPC URLs for arbitrum and eth testnets

* evm: updates the CircleIntegration implementation addresses.

* evm: switches to ESM.

* evm: yarn.lock update

* evm: reverts testnet hardcoded cross registrations.

* evm: removes `ts-node` in favour of `tsx`

* minor fixes to submit_testnet_registraion script

* adds base deployment configuration

* fix env variable on base mainnet deployment

* base mainnet configuration

---------

Co-authored-by: solanoe <solanoepalacio@gmail.com>
2023-10-27 11:26:55 -03:00
Reptile 2e0831c6c1
evm: update registration to accept VAAs with target chain zero (#38)
* evm: update registration to accept VAAs with target chain zero

* evm: optimize target chain comparison

---------

Co-authored-by: gator-boi <gator-boi@users.noreply.github.com>
2023-09-26 10:05:15 -05:00
scnale 4ca1afdce6
evm: adds Optimism mainnet env and addresses. (#41) 2023-09-05 09:34:01 -04:00
scnale b6239569ae
Optimism testnet deployment (#40)
* evm: Adds testnet optimism .env with deployed addresses.

* evm: Renames env variable for proxy contract address.

* evm: sets evm version to `paris` in foundry config.

* evm: clarifies name of circle contract in readme.

* evm: adds addresses for all contracts in testnets.

* evm: fixes read governance variables script.
2023-08-23 16:27:30 -05:00
scnale 6b649274ee
Evm/arbitrum mainnet deployment (#37)
* evm: Adds addresses for Arbitrum's `CircleIntegration` deployment.

* evm: Simplifies verification scripts.
2023-06-22 10:51:03 -05:00
Reptile cc0a7c7692
evm: add arbitrum mainnet env (#36)
Co-authored-by: gator-boi <gator-boi@users.noreply.github.com>
2023-06-21 12:19:33 -05:00
Reptile 9680a97c38
evm: add shell scripts to verify proxy contract (#34)
Co-authored-by: gator-boi <gator-boi@users.noreply.github.com>
2023-06-05 12:19:01 -05:00
Reptile 8709781a0a
evm: update testnet env files and add registration script (#35)
Co-authored-by: gator-boi <gator-boi@users.noreply.github.com>
2023-06-05 12:18:49 -05:00
Reptile 7ce47b2d54
evm: update state variable documentation and add gas optimization (#33)
Co-authored-by: gator-boi <gator-boi@users.noreply.github.com>
2023-04-20 09:59:37 -05:00
Reptile 1bf992dbcb
evm: upgrade compiler (#32)
Co-authored-by: gator-boi <gator-boi@users.noreply.github.com>
2023-04-20 08:56:04 -05:00
njk-64 28a86fabeb
adding a security.md (#26)
* adding a security.md

* Update SECURITY.md

* Update SECURITY.md

* Updated 3rd party audit timeline

---------

Co-authored-by: gator-boi <gator-boi@users.noreply.github.com>
2023-04-17 16:08:06 -05:00
Reptile 20ccd2f94b
Add github action (#29)
* evm: add ci

* add forge test to CI

* add foundry install script

---------

Co-authored-by: gator-boi <gator-boi@users.noreply.github.com>
2023-03-30 09:15:15 -05:00
Reptile 9572867afc
evm: clean up deployment script (#24)
Co-authored-by: gator-boi <gator-boi@users.noreply.github.com>
2023-02-21 13:51:12 -06:00
Reptile 565d4abdfa
evm: token registration changes (#21)
* evm: add sanity check to token registration process

* evm: fetch target token address from circle TokenMinter contract

* evm: remove token registration process

---------

Co-authored-by: gator-boi <gator-boi@users.noreply.github.com>
2023-02-15 16:05:10 -05:00
Reptile 5af729041b
evm: fix integration test (#19)
Co-authored-by: gator-boi <gator-boi@users.noreply.github.com>
2023-01-30 14:56:44 -06:00
A5 Pickle 1a7667bad7
evm: add deploy and upgrade scripts (#17)
* evm: add ts-node dependency

* evm: add implementation deployment script

* evm: split testing scripts

* evm: add upgrade script and test

* evm: fix interfaces

* evm: fix circle bridge addresses

Co-authored-by: A5 Pickle <a5-pickle@users.noreply.github.com>
2022-12-28 11:12:40 -06:00
Reptile d272320984
Add Redeem event (#15)
Co-authored-by: gator-boi <gator-boi@users.noreply.github.com>
2022-12-01 12:33:52 -06:00
Reptile 199523afad
Add root and evm README.md (#10)
* Add root README.md

* Add evm README.md

* Update README.md

Co-authored-by: gator-boi <gator-boi@users.noreply.github.com>
Co-authored-by: A5 Pickle <5342825+a5-pickle@users.noreply.github.com>
2022-11-22 10:27:05 -06:00
Reptile 75d5ed428f
Update evm smart contract documentation (#8)
* Update CircleIntegration.sol documentation

* Document state variables

* Document CircleIntegrationGetters.sol

* Document CircleIntegrationMessages.sol

* Document CircleIntegrationGovernance.sol

* Remove USDC reference from comments

Co-authored-by: gator-boi <gator-boi@users.noreply.github.com>
2022-11-22 10:24:31 -06:00
Reptile dbc7d7d10f
Add evm integration tests (#9)
* evm: rename 00_environment.ts

* evm: add IUSDC.sol

* evm: add two anvil procs

* evm: add eth to avax test

* evm: add test failure cases

* evm: add mock contract to test redemptions

* evm: test clean up

* Add testnet governance upgrade script

* Remove typo in deploy_mock_contracts.sol

* evm: fix foundry.toml

* Remove null check in test

Co-authored-by: A5 Pickle <a5-pickle@users.noreply.github.com>
Co-authored-by: gator-boi <gator-boi@users.noreply.github.com>
2022-11-22 10:15:45 -06:00
Reptile 5c6479d370
Write design document rough draft (#12)
Co-authored-by: gator-boi <gator-boi@users.noreply.github.com>
2022-11-21 09:02:59 -06:00
A5 Pickle d738903adc
evm: fix compile error (#7)
Co-authored-by: A5 Pickle <a5-pickle@users.noreply.github.com>
2022-11-11 09:31:19 -06:00
A5 Pickle 4a87626cbb
evm: add forge tests (#6)
* evm: add forge and integration tests

* evm: add guardian governance for register target chain token; add tests

* evm: add guardian governance for upgrade contract; remove owner

* evm: clean up

* evm: fix shell scripts

* evm: remove TODO

* evm: remove CircleIntegrationSimulator

* evm: add evmChain

* evm: fix struct

Co-authored-by: A5 Pickle <a5-pickle@users.noreply.github.com>
2022-11-10 17:21:32 -06:00
Reptile d0540b0b63
Add batchId to TransferParameters struct (#5)
Co-authored-by: gator-boi <gator-boi@users.noreply.github.com>
2022-11-09 16:44:48 -06:00
Reptile 8e1355ec9b
Add fromAddress to WormholeDepositWithPayload message (#4)
* Add fromAddress to payload

* Update interface

* Add domain to chainId mapping

* Fix argument type in getChainIdFromDomain

Co-authored-by: gator-boi <gator-boi@users.noreply.github.com>
2022-11-08 16:17:06 -06:00
Reptile dff7a01ee4
Add target token registration process (#3)
Co-authored-by: gator-boi <gator-boi@users.noreply.github.com>
2022-11-07 12:43:22 -06:00
Reptile 8d0aac3896
Evm/interface (#2)
* Add EVM interface

* Update README.md

Co-authored-by: gator-boi <gator-boi@users.noreply.github.com>
2022-11-02 15:00:13 -05:00
Reptile 7d6d170e0e
Update contracts to remove transferTokens (#1)
* Update contracts to remove transferTokens

* Update contract names

Co-authored-by: gator-boi <gator-boi@users.noreply.github.com>
2022-11-02 14:13:59 -05:00
gator-boi d7dc3e7ec7
Fix typos 2022-10-19 13:41:44 +00:00
gator-boi 0192919d6d
Add deployed contract addresses to README 2022-10-18 21:33:11 +00:00
gator-boi 4dca6b5f51
Document contracts 2022-10-18 21:00:53 +00:00
gator-boi a91f548ca5
Add README.md 2022-10-18 20:24:17 +00:00
gator-boi a6f678fa13
Clean up testnet integration test and deployment 2022-10-18 16:14:33 +00:00
gator-boi a447befb3d
Add LICENSE 2022-10-18 16:04:37 +00:00
gator-boi e3d1610ced
Clean up 2022-10-18 16:01:32 +00:00
gator-boi d9586db9dc
Add testnet integration skeleton
Add transfer with payload methods

Add token and amount to WormholeDeposit payload

Return payload in redeemTokensWithPayload

Remove environment file
2022-10-18 15:08:01 +00:00
gator-boi a9f8141666
Deploy proxy in forge-test 2022-10-15 19:18:59 +00:00
A5 Pickle 67b470bc0f
evm: add env; fix Makefile, deploy and test scripts 2022-10-14 21:28:07 +00:00
A5 Pickle cff0a2f017
evm: fix deploy_contracts.sol; add envs 2022-10-14 20:37:04 +00:00
gator-boi 05f7411d81
Add RedeemParameters interface 2022-10-14 20:34:33 +00:00
gator-boi 4eb22a7736
Add redeemTokens method 2022-10-14 20:04:40 +00:00
gator-boi c697a27255
Set up CrossChainUSDC contracts and implemenet transferTokens method 2022-10-14 19:01:18 +00:00
gator-boi 45c11abf85
Add depositForBurn call 2022-10-14 16:33:50 +00:00
gator-boi 0123f17739
Add test to mint USDC 2022-10-14 16:00:26 +00:00
A5 Pickle 8b17cdc1c5
evm: scaffold 2022-10-14 15:12:30 +00:00
A5 Pickle cf109ecfb2
Initial commit 2022-10-14 08:58:34 -05:00