@gelato:dedicatedMsgSender
The dedicated msg.sender Gelato assigns an account on this chain: the proxy that Web3 Function and --dedicated tasks call targets from, and the operator a VRF consumer is deployed with. Deterministic, so it resolves before the proxy is deployed.
⚗️ Experimental — available at next.evmcrispr.com.
Returns: address
Syntax
Section titled “Syntax”@gelato:dedicatedMsgSender(account?)Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
[account] | address | Task creator (defaults to the connected account) |
Examples
Section titled “Examples”# The address your tasks call from — whitelist it in contracts that restrict callersset $executor @gelato:dedicatedMsgSender()- Deterministic (CREATE2 through the OpsProxyFactory), so it resolves before the proxy exists; Automate deploys it with your first task.
- Use it as the
operatorwhen deploying aGelatoVRFConsumerBasecontract with thecontractsmodule, and whitelist it in contracts your tasks call.