You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returns { totalDeposited, spenderLeaf }, where spenderLeaf will contain totalSpent and merkle proof (from AIP#61)
Accounting & NewState include spender Balances, from which the spenderLeaf will be taken.
spenderLeaf: (spender, balance) however the request already contains the spender address, this is why we only need totalSpent
merkle proof of the latestApproveState, this is so that we can validate that spenderLeaf(hash("spender", spender, totalSpent)) is present in latestApprovedState.stateRoot (todo: additional clarifications needed)
GET will return total spendable amount (from Spendable in the DB) and spender leaf (from AIP#61)
https://github.com/AdExNetwork/aips/issues/61
See the AIP#61 for up-to-date information.
Tasks
returns { totalDeposited, spenderLeaf }, where spenderLeaf will contain totalSpent and merkle proof
(from AIP#61)Accounting
&NewState
include spender Balances, from which thespenderLeaf
will be taken.spenderLeaf: (spender, balance)
however the request already contains the spender address, this is why we only needtotalSpent
merkle proof
of the latestApproveState
, this is so that we can validate thatspenderLeaf(hash("spender", spender, totalSpent))
is present inlatestApprovedState.stateRoot
(todo: additional clarifications needed)GET will return total spendable amount (from Spendable in the DB) and spender leaf
(from AIP#61)Update NewState & ApproveState with the new
Balances::<CheckedState>
once merged Changed NewState/Accounting to use Balances<CheckedState> #422 primitives - Balances & BalancesState #423Generate MerkleProof in theAIP #61: AdEx v5: significantly cheaper channels #377 (comment)SpenderLeaf
The text was updated successfully, but these errors were encountered: