Algo/AI
Integration Approach
User creates a vault via rethink.finance
User grants their script specific permissions
User script executes trades through the vaults Roles Modifier contract
Technical Implementation:
Route all transaction calls through the vault's Roles Modifier
All transaction execution will use the
execTransactionWithRolefunction on the role modifier contractexecTransactionWithRoledef: 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 vault contract address and role ID directly in the users AWS instance (env or parameter store, or in script directly)
Psuecode of Intergration
Last updated