Allow only known recipients
Use this when the wallet should only pay addresses you control or have vetted. The policy denies an ETH transfer on Base to any address outside the list.- Developer Portal
- JSON
- On your Development key, open Permissions, select the Guardrails tab, and select Add or New Guardrail.
- Enter a Guardrail Policy Name. In Networks, clear Ethereum (1), select Base (8453), and select Continue.
- Select Transfer ETH, then Add Condition. Keep Recipient address, choose is one of, and enter the addresses separated by commas.
- Select Review, then Save Draft, then Activate on the draft.
Test it on your Development key: sign a transfer to a listed address and one to an unlisted address. Only the second is denied.
Allow one function on one contract
Use this when the wallet should only ever call a single protocol function, such as a deposit. The policy denies contract calls on Base to any other contract, and decoded calls to any function other thandeposit on the listed contract.
- Developer Portal
- JSON
- On your Development key, open Permissions, select the Guardrails tab, and select Add or New Guardrail.
- Enter a Guardrail Policy Name. In Networks, clear Ethereum (1), select Base (8453), and select Continue.
- Select Call a contract. Enter the contract in Contract Address and
depositin Function Name. No condition is needed. - Select Review. The Review step warns that no conditions are set, but the contract and function still limit the rules, as the Normalized policy JSON shows. Select Save Draft, then Activate on the draft.
allowed-contractchecksrequest.target, the contract the transaction calls. Para reads it from every contract call, decoded or not, so a call to any other contract is denied.allowed-functionchecks the function on calls Para can decode with the contract’s ABI, and denies anything other thandeposit.
Test it on your Development key: sign a
deposit call on the listed contract, then a call to another function. Only the second is denied.Allow listed contracts and functions
Use this when the wallet works with several contracts or functions. The policy denies a call to any contract outside the list, and a decoded call to a function outside the list.- Developer Portal
- JSON
- On your Development key, open Permissions, select the Guardrails tab, and select Add or New Guardrail.
- Enter a Guardrail Policy Name. In Networks, clear Ethereum (1), select Base (8453), and select Continue.
- Select Call a contract. Enter the first contract in Contract Address and
depositin Function Name. - Select Add Action for each other contract and function pair, and choose Call a contract again. This template needs four actions:
depositandwithdrawon each of the two contracts. - Select Review, then Save Draft, then Activate on the draft.
listed-contracts-onlychecksrequest.target, the contract the transaction calls. Para reads it from every contract call, decoded or not, so a call to any unlisted contract is denied.listed-functions-onlychecks the function on calls Para can decode, and denies anything other thandepositorwithdraw.
request.target rule for all listed contracts, and one function rule for each contract. When several actions name the same contract and function, a call to that function passes the allowlist if it meets the condition of any one of them. An action with no condition allows every call to its function.
Test it on your Development key: sign a call to a listed contract, a call to an unlisted contract, and a call to another function on a listed contract. Only the first signs.
call_contract action. ERC-20 transfers and approvals, NFT transfers, Safe transactions and deployments are separate actions, so this policy does not limit them. On Solana, Cosmos, Stellar or Sui, the form’s Execution target action pins the program or contract a transaction calls. A Solana transaction that creates the recipient’s associated token account and then sends one TransferChecked to it is a transfer_tokens request, so this policy does not limit it either.