Setting-Up CRE
Setup Steps
Enzyme Team deploys
LimitedAccessLimitedCallForwarderfor the Shares contract.Enzyme Team deploys
CreWorkflowConsumerfor the Shares contract.Client sends an on-chain transaction setting the
LimitedAccessLimitedCallForwarderaddress as the Vault Admin.This can be done via the Enzyme Admin UI.
Client sends an on-chain transaction to the
LimitedAccessLimitedCallForwardercontract callingaddUserwith:user:CreWorkflowConsumeraddressThis should be executed via Etherscan.
Client sends an on-chain transaction to the
LimitedAccessLimitedCallForwardercontract callingaddCallwith:_target:ValuationHandlercontract address_selector:0x189ee485(selector forupdateShareValue)This should be executed via Etherscan.
Enzyme Team deploys the automation workflow script to Chainlink and provides the resulting workflow ID to the client.
Client sends an on-chain transaction to the
CreWorkflowConsumercontract callingsetAllowedWorkflowIdwith:workflowId: value provided in the previous step.This should be executed via Etherscan.
Last updated
Was this helpful?