DealInterestDiscovery
Contract behaviors:
registerInterest(dealUuid,wallet,amount) (can be called multiple times to update previousvalue)getRegisteredAmount( string memory dealUuid, address wallet )dealsWalletsCount(dealUuid)
Contract properties:
mapping(string => mapping(address => uint256)) walletsDealsDepositsmapping(string => address[]) public dealsWallets //can be multiple times!mapping(string => uint256) dealsInterestmapping(string => uint256) dealsLastChangeAtlastChangeAt
Contract events:
event WalletRegistered(string dealUuid, address wallet, uint256 amount)
Roles:
-
Admin-only functions:
-
CA:
Last updated