24 Commits

Author SHA1 Message Date
RcleydsonR
dc0c28f685 Add spinner component to be reusable and add loading on network liquidity 2023-02-22 13:13:27 -03:00
RcleydsonR
c0f388f46e Add loading for listing component and add validation to show withdraw box only when a wallet has atleast one deposit 2023-02-22 13:13:27 -03:00
RcleydsonR
2968b6f7ee Update imports with alias @ that references src folder 2023-02-15 15:26:11 -03:00
RcleydsonR
b181d380eb Add correct implementation to check unreleased lock using getLocksStatus abi function 2023-02-15 15:14:47 -03:00
brunoedcf
c8982edb35 hotfix pix key argument name at wantSellComponent.vue. New addresses from updated smart contract deploy at the testnets 2023-02-15 13:16:49 -03:00
RcleydsonR
3340155a3d Adjust withdraw function and listing valid deposits by wallet address, also remove cancel deposit option and use a fixed amount to withdraw while there isn't a input to inform it 2023-02-01 23:49:13 -03:00
RcleydsonR
11499661ea Improve return from valid deposits to consider multiple deposit reduced in one for same account and consider changing of network and account to verify liquidity on Search Component
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-31 18:33:24 -03:00
brunoedcf
d569294648 Contracts addresses, getLiquidity function and blockchain (deposit, lock, release) methods corrected 2023-01-31 14:38:34 -03:00
RcleydsonR
7efb10bfde Fix sonar issues 2023-01-25 23:28:32 -03:00
RcleydsonR
e10e8f89fc Fix lint issues 2023-01-24 22:28:24 -03:00
RcleydsonR
6b8bbc9e6a Add vitest as test framework and remove jest and its dependencies 2023-01-24 22:23:15 -03:00
RcleydsonR
8b5ba69267 Add environment plugin to change from import meta env to process env 2023-01-24 18:48:13 -03:00
RcleydsonR
242d28f0e3 Fix listing transaction by getting alchemy provider
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-20 19:16:52 -03:00
RcleydsonR
d7723ebf07 Clean up ether store
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-19 19:42:57 -03:00
RcleydsonR
7a080209b3 Fix unexpected behavior from listing transactions and approve tokens
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-19 19:24:28 -03:00
RcleydsonR
4999f3d145 Add typing on components layer
Co-authored-by: geovanne97 <geovannessaraiva97@gmail.com>
2023-01-18 23:35:08 -03:00
RcleydsonR
846fa82f04 Add typing on views layer
Co-authored-by: geovanne97 <geovannessaraiva97@gmail.com>
2023-01-18 23:12:40 -03:00
RcleydsonR
f87434debe Add valid Deposit model and return types of blockchain methods
Co-authored-by: geovanne97 <geovannessaraiva97@gmail.com>
2023-01-18 23:02:02 -03:00
RcleydsonR
c8a3fd12b2 Improve code quality by fixing lint issues
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-17 19:32:29 -03:00
RcleydsonR
d78f7f1fdf Adjust search component and home view to new approaching using alchemy
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-17 19:27:00 -03:00
RcleydsonR
e0b4c81b77 Change getValidDeposits to receive a contract in param and use it on getNetworksLiquidity 2023-01-17 14:53:47 -03:00
brunoedcf
80a70a5240 getting liquidity from both networks and saving it at store. splitting methods.ts into 2 different files: buyerMethods.ts and sellerMethods.ts 2023-01-17 01:55:46 -03:00
RcleydsonR
6fd2120b63 Refactor methods from blockchain to use new code structure
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-13 19:35:17 -03:00
RcleydsonR
86131b5641 Refactor of wallet and provider methods
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-12 19:41:04 -03:00