issues
search
BoostryJP
/
ibet-Wallet-API
A powerful API suite for seamlessly building ibet blockchain wallet systems 🛠
https://ibet.jp/ibet-for-fin
Apache License 2.0
9
stars
0
forks
source link
[FEATURE] Additional features for locking and unlocking
#1286
Closed
purplesmoke05
closed
1 year ago
purplesmoke05
commented
1 year ago
Is your feature request related to a problem? Please describe.
There is a request to reference data for locking and unlocking account assets.
Describe the solution you'd like
1. Storing data of locked balances
1293
1300
New TBL
locked_position
lock
unlock
Fix indexer batch
indexer_Position_Bond.py
indexer_Position_Share.py
2. Add locked balances to the return item of Position API
1300
Balances held by account address
GET: /Position/{account_address}/Share/
GET: /Position/{account_address}/StraightBond/
GET: /Position/{account_address}/Share/{token_address}
GET: /Position/{account_address}/StraightBond/{token_address}
List and individual references of token holders
GET: /Token/{token_address}/Holders/Collection/{list_id}
1293
List and individual references of token holders
GET: /Token/{token_address}/Holders
Change of conditions for calculation of number of holders
GET: /Token/{token_address}/Holders/Count
3. Add transfer indexing and holders collection creation process to watch for unlock events
1300
Add transfer history when unlock event occurs
indexer_Transfer.py
Reflecting the holder change when the lock/unlock event occurs in the data of the holder collection
indexer_Token_Holders.py
4. List all account's locked positions and events
1300
[NEW] GET: /Position/{account_address}/Share/Lock
[NEW] GET: /Position/{account_address}/StraightBond/Lock
[NEW] GET: /Position/{account_address}/Share/Lock/Event
[NEW] GET: /Position/{account_address}/StraightBond/Lock/Event
Is your feature request related to a problem? Please describe.
Describe the solution you'd like
1. Storing data of locked balances
1293
1300
locked_position
lock
unlock
2. Add locked balances to the return item of Position API
1300
1293
3. Add transfer indexing and holders collection creation process to watch for unlock events
1300
4. List all account's locked positions and events
1300