Skip to content

Commit c74614f

Browse files
1021 Asset type refactor (#1202)
* Asset type refactor * UTXO providers refactored with new Asset type * UTXO types with new Asset type * BTC Client refactored with updated UTXO types * TxTo and TxFrom types exported * BCH Client refactored with updated UTXO types * DASH Client refactored witn updated UTXO types * DOGE Client refactored with updated UTXO types * LTC Client refactored with updated UTXO types * EVM providers refactored with new Asset type * EVM Client refactored with updated EVM types * ETH asset refactored * BSC asset refactored * AVAX asset refactored * ARB asset refactored * Cosmos-sdk refactored with new asset type * Cosmos Client with updated Cosmos-sdk types * Kujira Client with updated Cosmos-sdk types * MAYA Client with updated Cosmos-sdk types * THORChain Client with updated Cosmos-sdk types * BNB Client refactored with new asset type * Radix client refactored with new asset type * Changeset version files * yarn.lock * 1201 Asset type protocol refactor (#1203) * Wallet reafactored with new Asset type * MAYA protocol with new Asset type and CryptoAmount class * Thorchain protocol with new Asset type and CryptoAmount class * Aggregator with new Asset type and CryptoAmount class * Missing changes * Clean Cryptoamount * 1205 aggregator affiliates (#1206) * Affiliate bug fix in doSwap * Changeset version file * Version Packages (#1210) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * 1207 Estimate MAYAName (#1211) * getMAYANameDetails response standardise with Thorchain * Estimate MAYAName * Tests * Changeset version file * 1196 Mayachain AMM docs (#1197) * Get MAYANames by address * Changeset version file * MAYAChainAMM docs * Readme links * Dependencies removed * Changeset version files removed * 1212 Register and Update Thorname and MAYAName (#1214) * getMAYANameDetails response standardise with Thorchain * Estimate MAYAName * Tests * Changeset version file * MAYAName feature * Tests * Register and Update THORName * Error bug fix * Tests * Changeset version files * Version Packages (#1215) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * 1208 Update THORChain client apis (#1216) * Thornode v1.133.0 * Midgard v2.32.2 * Changeset version files * Action TxType parameter * Tests * Changeset version file * 1208 Update MAYAChain client apis (#1217) * MAYANode v1.110.0 * Streaming swap parameters for quote swap * MAYAChainAMM tests * Midgard v2.10.0 * Changeset version files * Version Packages (#1220) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * 1223 MAYAChain streaming swaps (#1222) * Streaming and missing parameters for QuoteSwap type * Tests * Changeset version files * e2e tests * Changeset version files * 1201 Examples and tests with new Asset type and CryptoAmount refactor (#1204) * Examples and tests with new Asset type and CryptoAmount refactor * Example bug fix --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 1e18d0f commit c74614f

File tree

185 files changed

+1836
-959
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

185 files changed

+1836
-959
lines changed

.changeset/afraid-cars-heal.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@xchainjs/xchain-util': major
3+
---
4+
5+
Asset type refactor. `synth` property removed and `type` property added to distinguish the type of the asset.

.changeset/eleven-houses-impress.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@xchainjs/xchain-util': major
3+
---
4+
5+
New types `AnyAsset` and `AssetType`, `AssetCryptoAmount`, `TokenAssetCryptoAmount` and `SynthAssetCryptoAmount`.

.changeset/fluffy-poems-search.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@xchainjs/xchain-util': major
3+
---
4+
5+
`Asset` type represents native assets.

.changeset/great-poets-develop.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@xchainjs/xchain-util': major
3+
---
4+
5+
`SynthAsset` represents synthetic assets that lives in networks like THORChain and MAYAChain.

.changeset/green-bugs-explode.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@xchainjs/xchain-evm-providers': major
3+
---
4+
5+
`EvmOnlineDataProvider` and `EvmOnlineDataProviders` interfaces with EVM chain based properties.

.changeset/large-hounds-cough.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@xchainjs/xchain-wallet': major
3+
---
4+
5+
New type `CosmosTxParams` for Cosmos transfers.

.changeset/olive-islands-impress.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@xchainjs/xchain-client': major
3+
---
4+
5+
Types and interfaces updated with `AnyAsset`.

.changeset/quick-pets-argue.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
'@xchainjs/xchain-bitcoincash': major
3+
'@xchainjs/xchain-mayachain': major
4+
'@xchainjs/xchain-thorchain': major
5+
'@xchainjs/xchain-arbitrum': major
6+
'@xchainjs/xchain-ethereum': major
7+
'@xchainjs/xchain-litecoin': major
8+
'@xchainjs/xchain-binance': major
9+
'@xchainjs/xchain-bitcoin': major
10+
'@xchainjs/xchain-cosmos': major
11+
'@xchainjs/xchain-kujira': major
12+
'@xchainjs/xchain-radix': major
13+
'@xchainjs/xchain-avax': major
14+
'@xchainjs/xchain-dash': major
15+
'@xchainjs/xchain-doge': major
16+
'@xchainjs/xchain-bsc': major
17+
---
18+
19+
Asset type refactor

.changeset/seven-ducks-begin.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@xchainjs/xchain-mayachain-amm': patch
3+
---
4+
5+
Streaming swap parameters for `estimateSwap`, `validateSwap` and `doSwap` method.

.changeset/shy-penguins-whisper.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@xchainjs/xchain-mayachain-query': patch
3+
---
4+
5+
`QuoteSwap` type updated. `Fees` type with `liquidityFee` and `totalFee` parameters.

0 commit comments

Comments
 (0)