2) Client check if user has balanceOf that tokens(from blockchain in terminus address). And cache that information.
3) Client request drops/terminus/claims?blockchain=&terminus_pool_id=&terminus_address= endpoint and for each of combinations cache it and render to user all drops wich return thth endpoint.
After refactor:
contracts:
1) Get contracts endpoint play/contracts?blockchain=&contract_interface=Dropper it's return:
extend option: if is_admin=True in query parameters then return only contracts to which user has admin access.
drops:
1) Whenever get admin/drops?blockchain=&contract=&claimNumber= and that return all drops wich user can edit in that dropper contract.
2) admin/drops/{dropper_claim_id}/claimants
Current state:
1) Client request all terminus address and admin_pool_id wich exists in blockchain.
https://dropper.moonstream.to/drops/terminus?blockchain=polygon
2) Client check if user has balanceOf that tokens(from blockchain in terminus address). And cache that information. 3) Client request
drops/terminus/claims?blockchain=&terminus_pool_id=&terminus_address=
endpoint and for each of combinations cache it and render to user all drops wich return thth endpoint.After refactor:
contracts: 1) Get contracts endpoint
play/contracts?blockchain=&contract_interface=Dropper
it's return: extend option: ifis_admin=True
in query parameters then return only contracts to which user has admin access.drops: 1) Whenever get
admin/drops?blockchain=&contract=&claimNumber=
and that return all drops wich user can edit in that dropper contract. 2)admin/drops/{dropper_claim_id}/claimants