248 Commits

Author SHA1 Message Date
RcleydsonR
ec6e8b84f7 Add exclude paths to vitest coverage 2023-02-06 14:10:30 -03:00
RcleydsonR
600510c719 Improve test cases from components and utils 2023-02-06 14:01:03 -03:00
brunoedcf
c5b16559ff Fixing release method to V2. 2023-02-02 21:28:21 -03:00
RcleydsonR
980c0cab76 Fix test cases impacted by new changes on v2 blockchain 2023-02-01 23:53:39 -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
Ronyell Henrique
d665376eb4
Merge pull request #21 from liftlearning/setup-tests
Setup tests with vitest + sonarcloud
2023-01-28 11:49:49 -03:00
brunoedcf
d504f9fa1b Merge branch 'setup-tests-blockchain' into setup-tests 2023-01-27 21:10:47 -03:00
brunoedcf
16aa47061e fixing lint 2023-01-27 21:08:32 -03:00
RcleydsonR
361b476d15 Change CI pipeline trigger and remove jest dependencies from package json, also add sonarcloud badges on readme 2023-01-27 20:08:39 -03:00
RcleydsonR
807bceac26 Fix sonar, lint and bug issues 2023-01-27 19:47:52 -03:00
RcleydsonR
db2d15b318 Merge branch 'develop' into setup-tests 2023-01-27 19:12:32 -03:00
brunoedcf
588b513a0b addresses.ts function testing 2023-01-27 14:23:45 -03:00
RcleydsonR
5b2ca86129 Add CI pipeline to test and upload coverage 2023-01-26 18:31:32 -03:00
brunoedcf
d5553823bc first blockchain functions tests - addresses.ts type testing 2023-01-26 12:23:06 -03:00
RcleydsonR
7efb10bfde Fix sonar issues 2023-01-25 23:28:32 -03:00
Esio Freitas
f3aaf5fc14
Merge pull request #20 from liftlearning/faq
add faq
2023-01-25 17:36:08 -03:00
EsioFreitas
80e3296131 Merge branch 'develop' of https://github.com/liftlearning/P2Pix-Front-End into faq 2023-01-25 17:35:31 -03:00
EsioFreitas
6793684c49 add faq 2023-01-25 17:33:57 -03:00
RcleydsonR
f67fade5ee Add package-lock json that is necessary for vite build 2023-01-24 22:31:39 -03:00
RcleydsonR
e10e8f89fc Fix lint issues 2023-01-24 22:28:24 -03:00
RcleydsonR
49834745a9 Improve and fix Buy Confirmed Component test 2023-01-24 22:28:02 -03:00
RcleydsonR
8fa16a22c0 Improve and fix ListingComponent test and add mocks for event and valid deposit 2023-01-24 22:26:38 -03:00
RcleydsonR
4b08b6df4b Improve Listing Component and import with alias in other components 2023-01-24 22:25:38 -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
65fc11a64f Merge branch 'develop' into setup-tests 2023-01-24 17:13:00 -03:00
Ronyell Henrique
7dc8d587e2
Merge pull request #18 from liftlearning/alchemy
Alchemy Integration and change folder structure
2023-01-22 08:54:09 -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
59538d23d0 Catch list deposit wallet address error to set empty array to wallet transactions 2023-01-20 17:56:32 -03:00
Bruno Esteves
358659efca
Update README.md 2023-01-20 16:56:43 -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
2b61625e1e Remove div that show user balance on top bar
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-19 19:28:53 -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
2a0c069674 Add watch to network when user is on manage bids or transaction history
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-19 18:43:15 -03:00
RcleydsonR
bb6be691af Add correct etherscan url
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-19 18:12:41 -03:00
brunoedcf
3c4a629ed7 implemented lock and release in buyer's flow 2023-01-19 18:00:35 -03:00
brunoedcf
ff9c7f83b5 fixing button enable/disable at search component 2023-01-19 10:37:02 -03:00
RcleydsonR
6ba113ba86 Add connect wallet button on seller view when wallet is not connected 2023-01-18 23:53:46 -03:00
RcleydsonR
51cf33d22b Only show connected network when the user is logged with metamask provider 2023-01-18 23:43:38 -03:00
RcleydsonR
98f6a30f35 Remove localhost network implementation and only use goerli and mumbai networks
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-18 23:40:52 -03:00
RcleydsonR
be90ff746b Refactor decimalCount method and add it on a file to be used in many components 2023-01-18 23:38:00 -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
8338064dcd Clean up app strucutre deleting blockchain file and add methods on blockchain folder
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-17 19:31:25 -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
2cbf475e09 Add verify network liquidity method
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-17 19:25:22 -03:00