Skip to content

Commit

Permalink
EVM: Add support for token split via DST20 v2 contract (#2903)
Browse files Browse the repository at this point in the history
* DST20 v2

* Clippy fix

* Get contract address depending on fork height

* Remove unused fn

* Fix test

WARNING: df23 height should not be set before feature/evm activation or it will
conflict with contract deployment.

* fmt-rs

* Rename occurences of token split by upgradeToken

* Add test at highest split level

* fmt-rs

---------

Co-authored-by: Prasanna Loganathar <[email protected]>
  • Loading branch information
Jouzo and prasannavl authored Apr 29, 2024
1 parent 0d8695b commit d163c54
Show file tree
Hide file tree
Showing 17 changed files with 1,302 additions and 739 deletions.
2 changes: 1 addition & 1 deletion lib/ain-contracts/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ fn main() -> Result<()> {
("dfi_reserved", "DFIReserved"),
("dfi_intrinsics_registry", "DFIIntrinsicsRegistry"),
("dfi_intrinsics_v1", "DFIIntrinsicsV1"),
("dfi_intrinsics_v2", "DFIIntrinsicsV2"),
("transfer_domain", "TransferDomain"),
("transfer_domain_v1", "TransferDomainV1"),
("dst20", "DST20"),
("dst20_v1", "DST20V1"),
("dst20_v2", "DST20V2"),
];

for (sol_project_name, contract_name) in contracts {
Expand Down
58 changes: 0 additions & 58 deletions lib/ain-contracts/dfi_intrinsics_v2/DFIIntrinsicsV2.sol

This file was deleted.

11 changes: 0 additions & 11 deletions lib/ain-contracts/dfi_intrinsics_v2/IDFIIntrinsicsV2.sol

This file was deleted.

Loading

0 comments on commit d163c54

Please sign in to comment.