Skip to content

Commit

Permalink
refactor: moved currency to api-client (#371)
Browse files Browse the repository at this point in the history
Co-authored-by: Nick Papirniy <[email protected]>
  • Loading branch information
npwork and Nick Papirniy authored Feb 10, 2022
1 parent 80194db commit 8d6eff4
Show file tree
Hide file tree
Showing 62 changed files with 76 additions and 79 deletions.
2 changes: 1 addition & 1 deletion examples/bch-example/src/app/bch.ledger.example.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { TatumBchSDK } from '@tatumio/bch'
import { REPLACE_ME_WITH_TATUM_API_KEY } from '@tatumio/shared-testing-common'
import { Currency } from '@tatumio/shared-core'
import { Currency } from '@tatumio/api-client'

const bchSDK = TatumBchSDK({ apiKey: REPLACE_ME_WITH_TATUM_API_KEY })

Expand Down
2 changes: 1 addition & 1 deletion examples/bch-example/src/app/bch.root.example.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Fiat } from '@tatumio/shared-core'
import { Fiat } from '@tatumio/api-client'
import { TatumBchSDK } from '@tatumio/bch'
import { REPLACE_ME_WITH_TATUM_API_KEY } from '@tatumio/shared-testing-common'

Expand Down
2 changes: 1 addition & 1 deletion examples/bsc-example/src/app/bsc.ledger.example.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { CreateTrade, VirtualCurrency } from '@tatumio/api-client'
import { TatumBscSDK } from '@tatumio/bsc'
import { Currency } from '@tatumio/shared-core'
import { Currency } from '@tatumio/api-client'
import { REPLACE_ME_WITH_TATUM_API_KEY } from '@tatumio/shared-testing-common'

const bscSDK = TatumBscSDK({ apiKey: REPLACE_ME_WITH_TATUM_API_KEY })
Expand Down
2 changes: 1 addition & 1 deletion examples/bsc-example/src/app/bsc.nft.example.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { TatumBscSDK } from '@tatumio/bsc'
import { Currency } from '@tatumio/shared-core'
import { Currency } from '@tatumio/api-client'
import { REPLACE_ME_WITH_TATUM_API_KEY } from '@tatumio/shared-testing-common'

const bscSDK = TatumBscSDK({ apiKey: REPLACE_ME_WITH_TATUM_API_KEY })
Expand Down
2 changes: 1 addition & 1 deletion examples/bsc-example/src/app/bsc.root.example.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Fiat } from '@tatumio/shared-core'
import { Fiat } from '@tatumio/api-client'
import { REPLACE_ME_WITH_TATUM_API_KEY } from '@tatumio/shared-testing-common'
import { TatumBscSDK } from '@tatumio/bsc'

Expand Down
3 changes: 1 addition & 2 deletions examples/btc-example/src/app/btc.ledger.example.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { TatumBtcSDK } from '@tatumio/btc'
import { REPLACE_ME_WITH_TATUM_API_KEY } from '@tatumio/shared-testing-common'
import { Currency } from '@tatumio/shared-core'
import { CreateTrade, VirtualCurrency } from '@tatumio/api-client'
import { Currency } from '@tatumio/api-client'

const btcSDK = TatumBtcSDK({ apiKey: REPLACE_ME_WITH_TATUM_API_KEY })

Expand Down
2 changes: 1 addition & 1 deletion examples/btc-example/src/app/btc.root.example.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Fiat } from '@tatumio/shared-core'
import { Fiat } from '@tatumio/api-client'
import { TatumBtcSDK } from '@tatumio/btc'
import { REPLACE_ME_WITH_TATUM_API_KEY } from '@tatumio/shared-testing-common'

Expand Down
2 changes: 0 additions & 2 deletions examples/celo-example/src/app/celo.api.example.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import { TransferCeloBlockchain } from '@tatumio/api-client'
import { TatumCeloSDK } from '@tatumio/celo'
import { Currency } from '@tatumio/shared-core'
import { REPLACE_ME_WITH_TATUM_API_KEY } from '@tatumio/shared-testing-common'

const celoSDK = TatumCeloSDK({ apiKey: REPLACE_ME_WITH_TATUM_API_KEY })
Expand Down
3 changes: 1 addition & 2 deletions examples/celo-example/src/app/celo.ledger.example.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { CreateTrade, VirtualCurrency } from '@tatumio/api-client'
import { Currency } from '@tatumio/api-client'
import { TatumCeloSDK } from '@tatumio/celo'
import { Currency } from '@tatumio/shared-core'
import { REPLACE_ME_WITH_TATUM_API_KEY } from '@tatumio/shared-testing-common'

const celoSDK = TatumCeloSDK({ apiKey: REPLACE_ME_WITH_TATUM_API_KEY })
Expand Down
2 changes: 1 addition & 1 deletion examples/celo-example/src/app/celo.nft.example.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { TatumCeloSDK } from '@tatumio/celo'
import { Currency } from '@tatumio/shared-core'
import { Currency } from '@tatumio/api-client'
import { REPLACE_ME_WITH_TATUM_API_KEY } from '@tatumio/shared-testing-common'

const celoSDK = TatumCeloSDK({ apiKey: REPLACE_ME_WITH_TATUM_API_KEY })
Expand Down
2 changes: 1 addition & 1 deletion examples/celo-example/src/app/celo.root.example.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Fiat } from '@tatumio/shared-core'
import { Fiat } from '@tatumio/api-client'
import { REPLACE_ME_WITH_TATUM_API_KEY } from '@tatumio/shared-testing-common'
import { TatumCeloSDK } from '@tatumio/celo'

Expand Down
3 changes: 1 addition & 2 deletions examples/doge-example/src/app/doge.ledger.example.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { TatumDogeSDK } from '@tatumio/doge'
import { REPLACE_ME_WITH_TATUM_API_KEY } from '@tatumio/shared-testing-common'
import { Currency } from '@tatumio/shared-core'
import { CreateTrade, VirtualCurrency } from '@tatumio/api-client'
import { Currency } from '@tatumio/api-client'

const dogeSDK = TatumDogeSDK({ apiKey: REPLACE_ME_WITH_TATUM_API_KEY })

Expand Down
2 changes: 1 addition & 1 deletion examples/doge-example/src/app/doge.root.example.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Currency, Fiat } from '@tatumio/shared-core'
import { Fiat } from '@tatumio/api-client'
import { TatumDogeSDK } from '@tatumio/doge'
import { REPLACE_ME_WITH_TATUM_API_KEY } from '@tatumio/shared-testing-common'

Expand Down
3 changes: 1 addition & 2 deletions examples/eth-example/src/app/eth.ledger.example.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { CreateTrade, VirtualCurrency } from '@tatumio/api-client'
import { TatumEthSDK } from '@tatumio/eth'
import { Currency } from '@tatumio/shared-core'
import { Currency } from '@tatumio/api-client'
import { REPLACE_ME_WITH_TATUM_API_KEY } from '@tatumio/shared-testing-common'

const ethSDK = TatumEthSDK({ apiKey: REPLACE_ME_WITH_TATUM_API_KEY })
Expand Down
2 changes: 1 addition & 1 deletion examples/eth-example/src/app/eth.nft.example.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { TatumEthSDK } from '@tatumio/eth'
import { Currency } from '@tatumio/shared-core'
import { Currency } from '@tatumio/api-client'
import { REPLACE_ME_WITH_TATUM_API_KEY } from '@tatumio/shared-testing-common'

const ethSDK = TatumEthSDK({ apiKey: REPLACE_ME_WITH_TATUM_API_KEY })
Expand Down
2 changes: 1 addition & 1 deletion examples/eth-example/src/app/eth.root.example.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Fiat } from '@tatumio/shared-core'
import { Fiat } from '@tatumio/api-client'
import { REPLACE_ME_WITH_TATUM_API_KEY } from '@tatumio/shared-testing-common'
import { TatumEthSDK } from '@tatumio/eth'

Expand Down
3 changes: 1 addition & 2 deletions examples/kcs-example/src/app/kcs.ledger.example.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { CreateTrade } from '@tatumio/api-client'
import { TatumKcsSDK } from '@tatumio/kcs'
import { Currency } from '@tatumio/shared-core'
import { Currency } from '@tatumio/api-client'
import { REPLACE_ME_WITH_TATUM_API_KEY } from '@tatumio/shared-testing-common'

const kcsSDK = TatumKcsSDK({ apiKey: REPLACE_ME_WITH_TATUM_API_KEY })
Expand Down
2 changes: 1 addition & 1 deletion examples/kcs-example/src/app/kcs.nft.example.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { TatumKcsSDK } from '@tatumio/kcs'
import { Currency } from '@tatumio/shared-core'
import { Currency } from '@tatumio/api-client'
import { REPLACE_ME_WITH_TATUM_API_KEY } from '@tatumio/shared-testing-common'

const kcsSDK = TatumKcsSDK({ apiKey: REPLACE_ME_WITH_TATUM_API_KEY })
Expand Down
2 changes: 1 addition & 1 deletion examples/kcs-example/src/app/kcs.root.example.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Fiat } from '@tatumio/shared-core'
import { Fiat } from '@tatumio/api-client'
import { REPLACE_ME_WITH_TATUM_API_KEY } from '@tatumio/shared-testing-common'
import { TatumKcsSDK } from '@tatumio/kcs'

Expand Down
3 changes: 1 addition & 2 deletions examples/ltc-example/src/app/ltc.ledger.example.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { TatumLtcSDK } from '@tatumio/ltc'
import { REPLACE_ME_WITH_TATUM_API_KEY } from '@tatumio/shared-testing-common'
import { Currency } from '@tatumio/shared-core'
import { CreateTrade, VirtualCurrency } from '@tatumio/api-client'
import { Currency } from '@tatumio/api-client'

const ltcSDK = TatumLtcSDK({ apiKey: REPLACE_ME_WITH_TATUM_API_KEY })

Expand Down
2 changes: 1 addition & 1 deletion examples/ltc-example/src/app/ltc.root.example.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Fiat } from '@tatumio/shared-core'
import { Fiat } from '@tatumio/api-client'
import { TatumLtcSDK } from '@tatumio/ltc'
import { REPLACE_ME_WITH_TATUM_API_KEY } from '@tatumio/shared-testing-common'

Expand Down
3 changes: 1 addition & 2 deletions examples/one-example/src/app/one.ledger.example.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { CreateTrade } from '@tatumio/api-client'
import { TatumOneSDK } from '@tatumio/one'
import { Currency } from '@tatumio/shared-core'
import { Currency } from '@tatumio/api-client'
import { REPLACE_ME_WITH_TATUM_API_KEY } from '@tatumio/shared-testing-common'

const oneSDK = TatumOneSDK({ apiKey: REPLACE_ME_WITH_TATUM_API_KEY })
Expand Down
2 changes: 1 addition & 1 deletion examples/one-example/src/app/one.nft.example.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { TatumOneSDK } from '@tatumio/one'
import { Currency } from '@tatumio/shared-core'
import { Currency } from '@tatumio/api-client'
import { REPLACE_ME_WITH_TATUM_API_KEY } from '@tatumio/shared-testing-common'

const oneSDK = TatumOneSDK({ apiKey: REPLACE_ME_WITH_TATUM_API_KEY })
Expand Down
2 changes: 1 addition & 1 deletion examples/one-example/src/app/one.root.example.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Fiat } from '@tatumio/shared-core'
import { Fiat } from '@tatumio/api-client'
import { REPLACE_ME_WITH_TATUM_API_KEY } from '@tatumio/shared-testing-common'
import { TatumOneSDK } from '@tatumio/one'

Expand Down
2 changes: 0 additions & 2 deletions examples/polygon-example/src/app/polygon.api.example.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import { TransferPolygonBlockchain } from '@tatumio/api-client'
import { TatumPolygonSDK } from '@tatumio/polygon'
import { Currency } from '@tatumio/shared-core'
import { REPLACE_ME_WITH_TATUM_API_KEY } from '@tatumio/shared-testing-common'

const polygonSDK = TatumPolygonSDK({ apiKey: REPLACE_ME_WITH_TATUM_API_KEY })
Expand Down
3 changes: 1 addition & 2 deletions examples/polygon-example/src/app/polygon.ledger.example.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { CreateTrade, VirtualCurrency } from '@tatumio/api-client'
import { TatumPolygonSDK } from '@tatumio/polygon'
import { Currency } from '@tatumio/shared-core'
import { Currency } from '@tatumio/api-client'
import { REPLACE_ME_WITH_TATUM_API_KEY } from '@tatumio/shared-testing-common'

const polygonSDK = TatumPolygonSDK({ apiKey: REPLACE_ME_WITH_TATUM_API_KEY })
Expand Down
2 changes: 1 addition & 1 deletion examples/polygon-example/src/app/polygon.nft.example.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { TatumPolygonSDK } from '@tatumio/polygon'
import { Currency } from '@tatumio/shared-core'
import { Currency } from '@tatumio/api-client'
import { REPLACE_ME_WITH_TATUM_API_KEY } from '@tatumio/shared-testing-common'

const polygonSDK = TatumPolygonSDK({ apiKey: REPLACE_ME_WITH_TATUM_API_KEY })
Expand Down
2 changes: 1 addition & 1 deletion examples/polygon-example/src/app/polygon.root.example.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Fiat } from '@tatumio/shared-core'
import { Fiat } from '@tatumio/api-client'
import { REPLACE_ME_WITH_TATUM_API_KEY } from '@tatumio/shared-testing-common'
import { TatumPolygonSDK } from '@tatumio/polygon'

Expand Down
3 changes: 1 addition & 2 deletions examples/sdk-example/src/app/sdk.ledger.example.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { TatumSDK } from '@tatumio/sdk'
import { REPLACE_ME_WITH_TATUM_API_KEY } from '@tatumio/shared-testing-common'
import { Currency } from '@tatumio/shared-core'
import { CreateTrade, VirtualCurrency } from '@tatumio/api-client'
import { Currency } from '@tatumio/api-client'

const tatumSDK = TatumSDK({ apiKey: REPLACE_ME_WITH_TATUM_API_KEY })

Expand Down
2 changes: 1 addition & 1 deletion examples/sdk-example/src/app/sdk.log.example.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { TatumSDK } from '@tatumio/sdk'
import { REPLACE_ME_WITH_TATUM_API_KEY } from '@tatumio/shared-testing-common'
import { Currency } from '@tatumio/shared-core'
import { Currency } from '@tatumio/api-client'

const tatumSDK = TatumSDK({ apiKey: REPLACE_ME_WITH_TATUM_API_KEY })

Expand Down
2 changes: 1 addition & 1 deletion examples/sdk-example/src/app/sdk.multitoken.example.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { TatumSDK } from '@tatumio/sdk'
import { REPLACE_ME_WITH_TATUM_API_KEY } from '@tatumio/shared-testing-common'
import { Currency } from '@tatumio/shared-core'
import { Currency } from '@tatumio/api-client'

const tatumSDK = TatumSDK({ apiKey: REPLACE_ME_WITH_TATUM_API_KEY })

Expand Down
2 changes: 1 addition & 1 deletion examples/sdk-example/src/app/sdk.nft.example.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { TatumSDK } from '@tatumio/sdk'
import { REPLACE_ME_WITH_TATUM_API_KEY } from '@tatumio/shared-testing-common'
import { Currency } from '@tatumio/shared-core'
import { Currency } from '@tatumio/api-client'

const tatumSDK = TatumSDK({ apiKey: REPLACE_ME_WITH_TATUM_API_KEY })

Expand Down
2 changes: 1 addition & 1 deletion examples/sdk-example/src/app/sdk.offchain.example.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { TatumSDK } from '@tatumio/sdk'
import { REPLACE_ME_WITH_TATUM_API_KEY } from '@tatumio/shared-testing-common'
import { Currency } from '@tatumio/shared-core'
import { Currency } from '@tatumio/api-client'

const tatumSDK = TatumSDK({ apiKey: REPLACE_ME_WITH_TATUM_API_KEY })

Expand Down
2 changes: 1 addition & 1 deletion examples/sdk-example/src/app/sdk.root.example.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { TatumSDK } from '@tatumio/sdk'
import { REPLACE_ME_WITH_TATUM_API_KEY } from '@tatumio/shared-testing-common'
import { Currency } from '@tatumio/shared-core'
import { Currency } from '@tatumio/api-client'

const tatumSDK = TatumSDK({ apiKey: REPLACE_ME_WITH_TATUM_API_KEY })

Expand Down
2 changes: 1 addition & 1 deletion examples/sdk-example/src/app/sdk.wallet.example.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { TatumSDK } from '@tatumio/sdk'
import { Currency } from '@tatumio/shared-core'
import { Currency } from '@tatumio/api-client'
import { REPLACE_ME_WITH_TATUM_API_KEY, TEST_DATA } from '@tatumio/shared-testing-common'

const tatumSDK = TatumSDK({ apiKey: REPLACE_ME_WITH_TATUM_API_KEY })
Expand Down
2 changes: 1 addition & 1 deletion examples/tron-example/src/app/tron.ledger.example.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { TatumTronSDK } from '@tatumio/tron'
import { Currency } from '@tatumio/shared-core'
import { Currency } from '@tatumio/api-client'
import { REPLACE_ME_WITH_TATUM_API_KEY } from '@tatumio/shared-testing-common'

const tronSDK = TatumTronSDK({ apiKey: REPLACE_ME_WITH_TATUM_API_KEY })
Expand Down
2 changes: 1 addition & 1 deletion examples/tron-example/src/app/tron.nft.example.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { TatumTronSDK } from '@tatumio/tron'
import { Currency } from '@tatumio/shared-core'
import { Currency } from '@tatumio/api-client'
import { REPLACE_ME_WITH_TATUM_API_KEY } from '@tatumio/shared-testing-common'

const tronSDK = TatumTronSDK({ apiKey: REPLACE_ME_WITH_TATUM_API_KEY })
Expand Down
2 changes: 1 addition & 1 deletion examples/tron-example/src/app/tron.root.example.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Fiat } from '@tatumio/shared-core'
import { Fiat } from '@tatumio/api-client'
import { REPLACE_ME_WITH_TATUM_API_KEY } from '@tatumio/shared-testing-common'
import { TatumTronSDK } from '@tatumio/tron'

Expand Down
3 changes: 1 addition & 2 deletions examples/xlm-example/src/app/xlm.ledger.example.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { REPLACE_ME_WITH_TATUM_API_KEY } from '@tatumio/shared-testing-common'
import { TatumXlmSDK } from '@tatumio/xlm'
import { Currency } from '@tatumio/shared-core'
import { CreateTrade, VirtualCurrency } from '@tatumio/api-client'
import { Currency } from '@tatumio/api-client'

const xlmSDK = TatumXlmSDK({ apiKey: REPLACE_ME_WITH_TATUM_API_KEY })

Expand Down
2 changes: 1 addition & 1 deletion examples/xlm-example/src/app/xlm.root.example.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Fiat } from '@tatumio/shared-core'
import { Fiat } from '@tatumio/api-client'
import { REPLACE_ME_WITH_TATUM_API_KEY } from '@tatumio/shared-testing-common'
import { TatumXlmSDK } from '@tatumio/xlm'

Expand Down
3 changes: 1 addition & 2 deletions examples/xrp-example/src/app/xrp.ledger.example.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { REPLACE_ME_WITH_TATUM_API_KEY } from '@tatumio/shared-testing-common'
import { TatumXrpSDK } from '@tatumio/xrp'
import { Currency } from '@tatumio/shared-core'
import { CreateTrade, VirtualCurrency } from '@tatumio/api-client'
import { Currency } from '@tatumio/api-client'

const xrpSDK = TatumXrpSDK({ apiKey: REPLACE_ME_WITH_TATUM_API_KEY })

Expand Down
2 changes: 1 addition & 1 deletion examples/xrp-example/src/app/xrp.root.example.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Fiat } from '@tatumio/shared-core'
import { Fiat } from '@tatumio/api-client'
import { REPLACE_ME_WITH_TATUM_API_KEY } from '@tatumio/shared-testing-common'
import { TatumXrpSDK } from '@tatumio/xrp'

Expand Down
2 changes: 2 additions & 0 deletions packages/api-client/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ export * from './generated/core/OpenAPI'
export * from './generated/core/ApiError'
export * from './generated'
export * from './lib/api-client'
export * from './lib/models/Currency'
export * from './lib/models/Fiat'
3 changes: 2 additions & 1 deletion packages/blockchain/bsc/src/lib/__tests__/bsc.tx.spec.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
import { REPLACE_ME_WITH_TATUM_API_KEY, TEST_DATA } from '@tatumio/shared-testing-common'
import { TatumBscSDK } from '../bsc.sdk'
import { Blockchain, Currency } from '@tatumio/shared-core'
import { Blockchain } from '@tatumio/shared-core'
import { bscTxService } from '../services/bsc.tx'
import {
erc20TestFactory,
ganacheHelper,
erc721TestFactory,
multiTokenTestFactory,
} from '@tatumio/shared-testing-evm-based'
import { Currency } from '@tatumio/api-client'

describe('BscSDK - tx', () => {
const sdk = TatumBscSDK({ apiKey: REPLACE_ME_WITH_TATUM_API_KEY })
Expand Down
9 changes: 4 additions & 5 deletions packages/blockchain/celo/src/lib/transactions/erc721/index.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import { Currency, EvmBasedBlockchain } from '@tatumio/shared-core'
import { EvmBasedBlockchain } from '@tatumio/shared-core'
import { MintNftCelo } from '@tatumio/api-client'
import BigNumber from 'bignumber.js'
import { MintNftCelo, TATUM_API_CONSTANTS } from '@tatumio/api-client'
import { Erc721Token, Erc721_Provenance } from '@tatumio/shared-blockchain-evm-based'
import { Erc721_Provenance, Erc721Token } from '@tatumio/shared-blockchain-evm-based'
import { BroadcastFunction } from '@tatumio/shared-blockchain-abstract'
import { BigNumber as BN } from '@ethersproject/bignumber'
import { CeloProvider, CeloWallet } from '@celo-tools/celo-ethers-wrapper'
import { CeloWallet } from '@celo-tools/celo-ethers-wrapper'
import {
CeloTransactionConfig,
celoUtils,
Expand Down
2 changes: 1 addition & 1 deletion packages/blockchain/celo/src/lib/utils/celo.utils.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Currency } from '@tatumio/shared-core'
import { Currency } from '@tatumio/api-client'
import { FromPrivateKeyOrSignatureId } from '@tatumio/shared-blockchain-abstract'
import {
BurnMultiTokenBatchCelo,
Expand Down
3 changes: 2 additions & 1 deletion packages/blockchain/eth/src/lib/__tests__/eth.tx.spec.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
import { REPLACE_ME_WITH_TATUM_API_KEY, TEST_DATA } from '@tatumio/shared-testing-common'
import { TatumEthSDK } from '../eth.sdk'
import { ethTx } from '../services/eth.tx'
import { Blockchain, Currency } from '@tatumio/shared-core'
import { Blockchain } from '@tatumio/shared-core'
import {
erc20TestFactory,
ganacheHelper,
erc721TestFactory,
multiTokenTestFactory,
} from '@tatumio/shared-testing-evm-based'
import { Currency } from '@tatumio/api-client'

const blockchain = Blockchain.ETH

Expand Down
3 changes: 2 additions & 1 deletion packages/blockchain/kcs/src/lib/__tests__/kcs.tx.spec.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
import { REPLACE_ME_WITH_TATUM_API_KEY, TEST_DATA } from '@tatumio/shared-testing-common'
import { TatumKcsSDK } from '../kcs.sdk'
import { Blockchain, Currency } from '@tatumio/shared-core'
import { Blockchain } from '@tatumio/shared-core'
import { kcsTxService } from '../services/kcs.tx'
import {
erc20TestFactory,
ganacheHelper,
erc721TestFactory,
multiTokenTestFactory,
} from '@tatumio/shared-testing-evm-based'
import { Currency } from '@tatumio/api-client'
const blockchain = Blockchain.KCS

describe('KcsSDK - tx', () => {
Expand Down
3 changes: 2 additions & 1 deletion packages/blockchain/one/src/lib/__tests__/one.tx.spec.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
import { REPLACE_ME_WITH_TATUM_API_KEY, TEST_DATA } from '@tatumio/shared-testing-common'
import { TatumOneSDK } from '../one.sdk'
import { Blockchain, Currency } from '@tatumio/shared-core'
import { Blockchain } from '@tatumio/shared-core'
import { oneTxService } from '../services/one.tx'
import {
erc20TestFactory,
ganacheHelper,
erc721TestFactory,
multiTokenTestFactory,
} from '@tatumio/shared-testing-evm-based'
import { Currency } from '@tatumio/api-client'

const blockchain = Blockchain.HARMONY

Expand Down
Loading

0 comments on commit 8d6eff4

Please sign in to comment.