Skip to content

Commit

Permalink
Chainx v5.1.0 (#660)
Browse files Browse the repository at this point in the history
* Add assets_bridge::swap_btc_to_xbtc

* Add assets_bridge::withdraw_pcx_from_evm

* Add PCX contract codes

* Bump version to v5.1.0

* Fix assets_bridge::withdraw_pcx_from_evm

* Fix assets_bridge::swap_btc_to_xbtc

* Run `make format`

* Add uniswap-v2 contracts

* Add BitcoinAssetsErc20.sol

* Update BitcoinAssetsErc20.sol

* Remove outdated migration

* Update init_code_hash

* Add ChainXBridge.sol

* Update ChainXBridge.sol

* Add a flag whether to reward pcx while issuing

* Refactor ChainXBridge by precompile contracts

* Bump runtime_version to 31

* Run `make benchmarks`

* Add XAssetsBridge migration

---------

Co-authored-by: icodezjb <[email protected]>
  • Loading branch information
icodezjb and icodezjb authored Jun 19, 2023
1 parent 688cf46 commit 6e0b823
Show file tree
Hide file tree
Showing 126 changed files with 15,815 additions and 201 deletions.
102 changes: 51 additions & 51 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "chainx"
version = "5.0.0"
version = "5.1.0"
authors = ["The ChainX Authors"]
edition = "2021"
description = "Fully Decentralized Interchain Crypto Asset Management on Polkadot"
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ Currency symbol: BTC
Block explorer URL (Optional): https://evm.chainx.org/
```

PCX(ERC20): `0xf3607524cAB05762cB5F0cAb17e4cA3A0F0b4E87`

## License

[GPL v3](LICENSE)
2 changes: 1 addition & 1 deletion cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "chainx-cli"
version = "5.0.0"
version = "5.1.0"
authors = ["The ChainX Authors"]
description = "Implementation of protocol https://chainx.org in Rust based on the Substrate framework."
edition = "2021"
Expand Down
Loading

0 comments on commit 6e0b823

Please sign in to comment.