Internal Operations
To ensure a smooth multichain user experience, the SuperReturn team has automated a set of operational tasks that support the key SuperUSD features.
Bridge USDC
Enable cross-chain investment of assets
Invest USDC into a strategy
Maximize yield through an onchain strategy
Bridge SuperUSD
Support unstaking of sSuperUSD
To perform these operations, the team follows a secure procedure to ensure that each operation is performed correctly.
Standard procedure for each operation:
A Merkle root is uploaded to the smart contract ahead of time
This is generated using a pre-defined list of permitted onchain operations
A unique Merkle tree / root can be made for a related set of operations
When a strategist wants to perform an operation, it uploads the calculated Merkle tree including this operation
First the requested operation's hash is calculated
Then the hash of other approved operations is submitted together in a Merkle tree
The operation is approved if the strategist's Merkle root matches the Merkle root from Step 1
The verification algorithm is very efficient due to the logarithmic tree structure
Any non-permitted action will be rejected because the hash won't match the Merkle root stored onchain
Last updated