Hi team, I have an idea for solving the RGB asset freeze problem when issuing the IFA asset(Issue the USDT).
First, I will describe my idea based on my finished work, then you can check if it is possible.
New variables:
OS_BLACK_OWNER: the utxo whose rgb asset is frozen.
OS_BLACK_RIGHTS: When we issue the ifa genesis contact, we can add the new black rights assignments. (It's like a black list manager).
TS_BLACK: New add black transition used to add black list and spend black list manager utxo.
Logic:
- Add new variables to the IFA schema
- Issue a new IFA genesis contract with black right assignment.
- Build the add black transition,
3.1 Select the black manager utxo, the specific amount we want to freeze, and the black owner utxo as the input. First, we check the freeze amount whether or not it is larger than the black owner balance.
3.2 If not, then we add the black owner's utxo with the specific amount to the black owner fungible assignment
3.3 Add the black list manager utxo to the input(I mean spent it)
3.4 Add a new black list manager utxo to the black manager rights assignment.(wait for next add black transition to spend)
3.5 Complete the add black transition
- When we want to build a transfer transition, first we should check whether or not the sender's utxo is in the black list. If it is, then we can check if all his RGB balances are frozen(or just freeze some of them).
The above description is my new idea; you can check if it is possible. We can discuss here. :)
Hi team, I have an idea for solving the RGB asset freeze problem when issuing the IFA asset(Issue the USDT).
First, I will describe my idea based on my finished work, then you can check if it is possible.
New variables:
OS_BLACK_OWNER: the utxo whose rgb asset is frozen.
OS_BLACK_RIGHTS: When we issue the ifa genesis contact, we can add the new black rights assignments. (It's like a black list manager).
TS_BLACK: New add black transition used to add black list and spend black list manager utxo.
Logic:
3.1 Select the black manager utxo, the specific amount we want to freeze, and the black owner utxo as the input. First, we check the freeze amount whether or not it is larger than the black owner balance.
3.2 If not, then we add the black owner's utxo with the specific amount to the
black ownerfungible assignment3.3 Add the black list manager utxo to the input(I mean spent it)
3.4 Add a new black list manager utxo to the
black managerrights assignment.(wait for next add black transition to spend)3.5 Complete the
add blacktransitionThe above description is my new idea; you can check if it is possible. We can discuss here. :)