14 Commits

Author SHA1 Message Date
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
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
f40db935d3 Add getP2PixAddress implementation
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-13 19:33:54 -03:00
brunoedcf
4ef5308f36 Adding request to user change network in wallet 2023-01-13 14:12:11 -03:00
RcleydsonR
a5d5c0dde3 fix connect provider call and lint
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-12 19:47:11 -03:00
RcleydsonR
f8e1b888ba get alchemy provider api url from env and use it to get provider
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-12 19:43:02 -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
RcleydsonR
8b0a212b78 Add listener to listen chain change and update store network name state, also start refactor with getProvider function
Co-authored-by: brunoedcf <brest.dallacosta@outlook.com>
2023-01-12 18:08:08 -03:00