-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Now that there are drafts for real application contracts for Threshold, I just realized we never standardized some application-specific stuff like events for authorization operations. As an example, see the parallel evolution of AuthorizationIncreased
in the PRE and tBTC app contracts, respectively:
event AuthorizationIncreased(address indexed stakingProvider, uint96 fromAmount, uint96 toAmount);
vs.
event AuthorizationIncreased(address indexed stakingProvider, address indexed operator, uint96 fromAmount, uint96 toAmount);
(https://github.com/keep-network/keep-core/blob/main/solidity/ecdsa/contracts/WalletRegistry.sol#L184)
This can be problematic from interoperability and integrations point of view, particularly for the Threshold dashboard (cc @Battenfield ). As a solution, we need to find what's common on both implementations (considering also potential future application contracts), and add these events to the IApplication
interface.
Metadata
Metadata
Assignees
Labels
No labels