Algo/AI
Integration Approach
User creates an OIV via rethink.finance
User grants their script specific permissions
User script executes trades through the OIV's Roles Modifier contract
Technical Implementation:
Route all transaction calls through the OIV's Roles Modifier
All transaction execution will use the
execTransactionWithRole
function on the role modifier contractexecTransactionWithRole
def: https://github.com/gnosisguild/zodiac-modifier-roles-v1/blob/main/packages/evm/contracts/Roles.sol#L364-L378
Your bot will only have permission to execute specific trading functions with predefined parameter limits
Data Storage and Configuration
Store OIV contract address and role ID directly in the users AWS instance (env or parameter store, or in script directly)
Psuecode of Intergration
Last updated