[x] Refactor getCurrentPaymentChallenge into different functions for checking the challenge statuses. These functions will wrap the contract functions of proposalNonce, proposalExpirationTime, hasProposalExpired, proposalStageAmount, proposalStatus
[x] Refactor depositTokens to use receiveTokens which has an added argument balanceType
Refactor based on the data structure changes in https://github.com/hubiinetwork/nahmii-contracts/releases/tag/v1.0-ropsten.6
getCurrentPaymentChallenge
into different functions for checking the challenge statuses. These functions will wrap the contract functions ofproposalNonce
,proposalExpirationTime
,hasProposalExpired
,proposalStageAmount
,proposalStatus
depositTokens
to usereceiveTokens
which has an added argumentbalanceType