Closed juliangruber closed 7 months ago
For pull payments
POST /withdraw
{ from, signature, to, amount }
check(signature, from, to, amount)
from
contract.balances(from)
balance > 0.1 FIL
contract.transferFor(from, signature, to, amount)
amount - 0.1FIL
to
0.1FIL
For pull payments
POST /withdraw
{ from, signature, to, amount }
check(signature, from, to, amount)
from
addresscontract.balances(from)
to verifybalance > 0.1 FIL
contract.transferFor(from, signature, to, amount)
amount - 0.1FIL
toto
0.1FIL
back, to pay for gasfrom
address