BoostryJP / ibet-SmartContract

Tokens and DEX contracts available in the ibet DeFi network 🔗
https://ibet.jp/ibet-for-fin
Apache License 2.0
18 stars 3 forks source link

[FEATURE] Reconsideration the timing of transfer approval for escrow contract #372

Closed kyken closed 2 years ago

kyken commented 2 years ago

Is your feature request related to a problem? Please describe.

Currently, the flow of transfer application to acceptance in escrow contracts is as follows.

  1. application for transfer
  2. transfer approval
  3. escrow confirm (settlement completion) and execute transfer

Legal requirements may define the action of transfer acceptance (process 2. in the flow) as transfer completion, and we would like to change the behavior.

Describe the solution you'd like

Change the behavior as follows

  1. escrow confirm (settlement completion)
  2. application for transfer
  3. transfer approval and execute transfer