metatx.adoc 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359
  1. :github-icon: pass:[<svg class="icon"><use href="#github-icon"/></svg>]
  2. :xref-ERC2771Context-constructor-address-: xref:metatx.adoc#ERC2771Context-constructor-address-
  3. :xref-ERC2771Context-trustedForwarder--: xref:metatx.adoc#ERC2771Context-trustedForwarder--
  4. :xref-ERC2771Context-isTrustedForwarder-address-: xref:metatx.adoc#ERC2771Context-isTrustedForwarder-address-
  5. :xref-ERC2771Context-_msgSender--: xref:metatx.adoc#ERC2771Context-_msgSender--
  6. :xref-ERC2771Context-_msgData--: xref:metatx.adoc#ERC2771Context-_msgData--
  7. :ERC2771Context: pass:normal[xref:metatx.adoc#ERC2771Context[`ERC2771Context`]]
  8. :xref-ERC2771Forwarder-constructor-string-: xref:metatx.adoc#ERC2771Forwarder-constructor-string-
  9. :xref-ERC2771Forwarder-verify-struct-ERC2771Forwarder-ForwardRequestData-: xref:metatx.adoc#ERC2771Forwarder-verify-struct-ERC2771Forwarder-ForwardRequestData-
  10. :xref-ERC2771Forwarder-execute-struct-ERC2771Forwarder-ForwardRequestData-: xref:metatx.adoc#ERC2771Forwarder-execute-struct-ERC2771Forwarder-ForwardRequestData-
  11. :xref-ERC2771Forwarder-executeBatch-struct-ERC2771Forwarder-ForwardRequestData---address-payable-: xref:metatx.adoc#ERC2771Forwarder-executeBatch-struct-ERC2771Forwarder-ForwardRequestData---address-payable-
  12. :xref-ERC2771Forwarder-_validate-struct-ERC2771Forwarder-ForwardRequestData-: xref:metatx.adoc#ERC2771Forwarder-_validate-struct-ERC2771Forwarder-ForwardRequestData-
  13. :xref-ERC2771Forwarder-_recoverForwardRequestSigner-struct-ERC2771Forwarder-ForwardRequestData-: xref:metatx.adoc#ERC2771Forwarder-_recoverForwardRequestSigner-struct-ERC2771Forwarder-ForwardRequestData-
  14. :xref-ERC2771Forwarder-_execute-struct-ERC2771Forwarder-ForwardRequestData-bool-: xref:metatx.adoc#ERC2771Forwarder-_execute-struct-ERC2771Forwarder-ForwardRequestData-bool-
  15. :xref-Nonces-nonces-address-: xref:utils.adoc#Nonces-nonces-address-
  16. :xref-Nonces-_useNonce-address-: xref:utils.adoc#Nonces-_useNonce-address-
  17. :xref-Nonces-_useCheckedNonce-address-uint256-: xref:utils.adoc#Nonces-_useCheckedNonce-address-uint256-
  18. :xref-EIP712-_domainSeparatorV4--: xref:utils.adoc#EIP712-_domainSeparatorV4--
  19. :xref-EIP712-_hashTypedDataV4-bytes32-: xref:utils.adoc#EIP712-_hashTypedDataV4-bytes32-
  20. :xref-EIP712-eip712Domain--: xref:utils.adoc#EIP712-eip712Domain--
  21. :xref-EIP712-_EIP712Name--: xref:utils.adoc#EIP712-_EIP712Name--
  22. :xref-EIP712-_EIP712Version--: xref:utils.adoc#EIP712-_EIP712Version--
  23. :xref-ERC2771Forwarder-ExecutedForwardRequest-address-uint256-bool-: xref:metatx.adoc#ERC2771Forwarder-ExecutedForwardRequest-address-uint256-bool-
  24. :xref-IERC5267-EIP712DomainChanged--: xref:interfaces.adoc#IERC5267-EIP712DomainChanged--
  25. :xref-ERC2771Forwarder-ERC2771ForwarderInvalidSigner-address-address-: xref:metatx.adoc#ERC2771Forwarder-ERC2771ForwarderInvalidSigner-address-address-
  26. :xref-ERC2771Forwarder-ERC2771ForwarderMismatchedValue-uint256-uint256-: xref:metatx.adoc#ERC2771Forwarder-ERC2771ForwarderMismatchedValue-uint256-uint256-
  27. :xref-ERC2771Forwarder-ERC2771ForwarderExpiredRequest-uint48-: xref:metatx.adoc#ERC2771Forwarder-ERC2771ForwarderExpiredRequest-uint48-
  28. :xref-ERC2771Forwarder-ERC2771UntrustfulTarget-address-address-: xref:metatx.adoc#ERC2771Forwarder-ERC2771UntrustfulTarget-address-address-
  29. :xref-Nonces-InvalidAccountNonce-address-uint256-: xref:utils.adoc#Nonces-InvalidAccountNonce-address-uint256-
  30. :EIP712-constructor: pass:normal[xref:utils.adoc#EIP712-constructor-string-string-[`EIP712.constructor`]]
  31. :ECDSA-tryRecover: pass:normal[xref:utils.adoc#ECDSA-tryRecover-bytes32-uint8-bytes32-bytes32-[`ECDSA.tryRecover`]]
  32. = Meta Transactions
  33. [.readme-notice]
  34. NOTE: This document is better viewed at https://docs.openzeppelin.com/contracts/api/metatx
  35. == Core
  36. :constructor: pass:normal[xref:#ERC2771Context-constructor-address-[`++constructor++`]]
  37. :trustedForwarder: pass:normal[xref:#ERC2771Context-trustedForwarder--[`++trustedForwarder++`]]
  38. :isTrustedForwarder: pass:normal[xref:#ERC2771Context-isTrustedForwarder-address-[`++isTrustedForwarder++`]]
  39. :_msgSender: pass:normal[xref:#ERC2771Context-_msgSender--[`++_msgSender++`]]
  40. :_msgData: pass:normal[xref:#ERC2771Context-_msgData--[`++_msgData++`]]
  41. [.contract]
  42. [[ERC2771Context]]
  43. === `++ERC2771Context++` link:https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v5.0.0/contracts/metatx/ERC2771Context.sol[{github-icon},role=heading-link]
  44. [.hljs-theme-light.nopadding]
  45. ```solidity
  46. import "@openzeppelin/contracts/metatx/ERC2771Context.sol";
  47. ```
  48. Context variant with ERC2771 support.
  49. WARNING: Avoid using this pattern in contracts that rely in a specific calldata length as they'll
  50. be affected by any forwarder whose `msg.data` is suffixed with the `from` address according to the ERC2771
  51. specification adding the address size in bytes (20) to the calldata size. An example of an unexpected
  52. behavior could be an unintended fallback (or another function) invocation while trying to invoke the `receive`
  53. function only accessible if `msg.data.length == 0`.
  54. [.contract-index]
  55. .Functions
  56. --
  57. * {xref-ERC2771Context-constructor-address-}[`++constructor(trustedForwarder_)++`]
  58. * {xref-ERC2771Context-trustedForwarder--}[`++trustedForwarder()++`]
  59. * {xref-ERC2771Context-isTrustedForwarder-address-}[`++isTrustedForwarder(forwarder)++`]
  60. * {xref-ERC2771Context-_msgSender--}[`++_msgSender()++`]
  61. * {xref-ERC2771Context-_msgData--}[`++_msgData()++`]
  62. --
  63. [.contract-item]
  64. [[ERC2771Context-constructor-address-]]
  65. ==== `[.contract-item-name]#++constructor++#++(address trustedForwarder_)++` [.item-kind]#internal#
  66. [.contract-item]
  67. [[ERC2771Context-trustedForwarder--]]
  68. ==== `[.contract-item-name]#++trustedForwarder++#++() → address++` [.item-kind]#public#
  69. Returns the address of the trusted forwarder.
  70. [.contract-item]
  71. [[ERC2771Context-isTrustedForwarder-address-]]
  72. ==== `[.contract-item-name]#++isTrustedForwarder++#++(address forwarder) → bool++` [.item-kind]#public#
  73. Indicates whether any particular address is the trusted forwarder.
  74. [.contract-item]
  75. [[ERC2771Context-_msgSender--]]
  76. ==== `[.contract-item-name]#++_msgSender++#++() → address sender++` [.item-kind]#internal#
  77. Override for `msg.sender`. Defaults to the original `msg.sender` whenever
  78. a call is not performed by the trusted forwarder or the calldata length is less than
  79. 20 bytes (an address length).
  80. [.contract-item]
  81. [[ERC2771Context-_msgData--]]
  82. ==== `[.contract-item-name]#++_msgData++#++() → bytes++` [.item-kind]#internal#
  83. Override for `msg.data`. Defaults to the original `msg.data` whenever
  84. a call is not performed by the trusted forwarder or the calldata length is less than
  85. 20 bytes (an address length).
  86. == Utils
  87. :ForwardRequestData: pass:normal[xref:#ERC2771Forwarder-ForwardRequestData[`++ForwardRequestData++`]]
  88. :_FORWARD_REQUEST_TYPEHASH: pass:normal[xref:#ERC2771Forwarder-_FORWARD_REQUEST_TYPEHASH-bytes32[`++_FORWARD_REQUEST_TYPEHASH++`]]
  89. :ExecutedForwardRequest: pass:normal[xref:#ERC2771Forwarder-ExecutedForwardRequest-address-uint256-bool-[`++ExecutedForwardRequest++`]]
  90. :ERC2771ForwarderInvalidSigner: pass:normal[xref:#ERC2771Forwarder-ERC2771ForwarderInvalidSigner-address-address-[`++ERC2771ForwarderInvalidSigner++`]]
  91. :ERC2771ForwarderMismatchedValue: pass:normal[xref:#ERC2771Forwarder-ERC2771ForwarderMismatchedValue-uint256-uint256-[`++ERC2771ForwarderMismatchedValue++`]]
  92. :ERC2771ForwarderExpiredRequest: pass:normal[xref:#ERC2771Forwarder-ERC2771ForwarderExpiredRequest-uint48-[`++ERC2771ForwarderExpiredRequest++`]]
  93. :ERC2771UntrustfulTarget: pass:normal[xref:#ERC2771Forwarder-ERC2771UntrustfulTarget-address-address-[`++ERC2771UntrustfulTarget++`]]
  94. :constructor: pass:normal[xref:#ERC2771Forwarder-constructor-string-[`++constructor++`]]
  95. :verify: pass:normal[xref:#ERC2771Forwarder-verify-struct-ERC2771Forwarder-ForwardRequestData-[`++verify++`]]
  96. :execute: pass:normal[xref:#ERC2771Forwarder-execute-struct-ERC2771Forwarder-ForwardRequestData-[`++execute++`]]
  97. :executeBatch: pass:normal[xref:#ERC2771Forwarder-executeBatch-struct-ERC2771Forwarder-ForwardRequestData---address-payable-[`++executeBatch++`]]
  98. :_validate: pass:normal[xref:#ERC2771Forwarder-_validate-struct-ERC2771Forwarder-ForwardRequestData-[`++_validate++`]]
  99. :_recoverForwardRequestSigner: pass:normal[xref:#ERC2771Forwarder-_recoverForwardRequestSigner-struct-ERC2771Forwarder-ForwardRequestData-[`++_recoverForwardRequestSigner++`]]
  100. :_execute: pass:normal[xref:#ERC2771Forwarder-_execute-struct-ERC2771Forwarder-ForwardRequestData-bool-[`++_execute++`]]
  101. [.contract]
  102. [[ERC2771Forwarder]]
  103. === `++ERC2771Forwarder++` link:https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v5.0.0/contracts/metatx/ERC2771Forwarder.sol[{github-icon},role=heading-link]
  104. [.hljs-theme-light.nopadding]
  105. ```solidity
  106. import "@openzeppelin/contracts/metatx/ERC2771Forwarder.sol";
  107. ```
  108. A forwarder compatible with ERC2771 contracts. See {ERC2771Context}.
  109. This forwarder operates on forward requests that include:
  110. * `from`: An address to operate on behalf of. It is required to be equal to the request signer.
  111. * `to`: The address that should be called.
  112. * `value`: The amount of native token to attach with the requested call.
  113. * `gas`: The amount of gas limit that will be forwarded with the requested call.
  114. * `nonce`: A unique transaction ordering identifier to avoid replayability and request invalidation.
  115. * `deadline`: A timestamp after which the request is not executable anymore.
  116. * `data`: Encoded `msg.data` to send with the requested call.
  117. Relayers are able to submit batches if they are processing a high volume of requests. With high
  118. throughput, relayers may run into limitations of the chain such as limits on the number of
  119. transactions in the mempool. In these cases the recommendation is to distribute the load among
  120. multiple accounts.
  121. NOTE: Batching requests includes an optional refund for unused `msg.value` that is achieved by
  122. performing a call with empty calldata. While this is within the bounds of ERC-2771 compliance,
  123. if the refund receiver happens to consider the forwarder a trusted forwarder, it MUST properly
  124. handle `msg.data.length == 0`. `ERC2771Context` in OpenZeppelin Contracts versions prior to 4.9.3
  125. do not handle this properly.
  126. ==== Security Considerations
  127. If a relayer submits a forward request, it should be willing to pay up to 100% of the gas amount
  128. specified in the request. This contract does not implement any kind of retribution for this gas,
  129. and it is assumed that there is an out of band incentive for relayers to pay for execution on
  130. behalf of signers. Often, the relayer is operated by a project that will consider it a user
  131. acquisition cost.
  132. By offering to pay for gas, relayers are at risk of having that gas used by an attacker toward
  133. some other purpose that is not aligned with the expected out of band incentives. If you operate a
  134. relayer, consider whitelisting target contracts and function selectors. When relaying ERC-721 or
  135. ERC-1155 transfers specifically, consider rejecting the use of the `data` field, since it can be
  136. used to execute arbitrary code.
  137. [.contract-index]
  138. .Functions
  139. --
  140. * {xref-ERC2771Forwarder-constructor-string-}[`++constructor(name)++`]
  141. * {xref-ERC2771Forwarder-verify-struct-ERC2771Forwarder-ForwardRequestData-}[`++verify(request)++`]
  142. * {xref-ERC2771Forwarder-execute-struct-ERC2771Forwarder-ForwardRequestData-}[`++execute(request)++`]
  143. * {xref-ERC2771Forwarder-executeBatch-struct-ERC2771Forwarder-ForwardRequestData---address-payable-}[`++executeBatch(requests, refundReceiver)++`]
  144. * {xref-ERC2771Forwarder-_validate-struct-ERC2771Forwarder-ForwardRequestData-}[`++_validate(request)++`]
  145. * {xref-ERC2771Forwarder-_recoverForwardRequestSigner-struct-ERC2771Forwarder-ForwardRequestData-}[`++_recoverForwardRequestSigner(request)++`]
  146. * {xref-ERC2771Forwarder-_execute-struct-ERC2771Forwarder-ForwardRequestData-bool-}[`++_execute(request, requireValidRequest)++`]
  147. [.contract-subindex-inherited]
  148. .Nonces
  149. * {xref-Nonces-nonces-address-}[`++nonces(owner)++`]
  150. * {xref-Nonces-_useNonce-address-}[`++_useNonce(owner)++`]
  151. * {xref-Nonces-_useCheckedNonce-address-uint256-}[`++_useCheckedNonce(owner, nonce)++`]
  152. [.contract-subindex-inherited]
  153. .EIP712
  154. * {xref-EIP712-_domainSeparatorV4--}[`++_domainSeparatorV4()++`]
  155. * {xref-EIP712-_hashTypedDataV4-bytes32-}[`++_hashTypedDataV4(structHash)++`]
  156. * {xref-EIP712-eip712Domain--}[`++eip712Domain()++`]
  157. * {xref-EIP712-_EIP712Name--}[`++_EIP712Name()++`]
  158. * {xref-EIP712-_EIP712Version--}[`++_EIP712Version()++`]
  159. [.contract-subindex-inherited]
  160. .IERC5267
  161. --
  162. [.contract-index]
  163. .Events
  164. --
  165. * {xref-ERC2771Forwarder-ExecutedForwardRequest-address-uint256-bool-}[`++ExecutedForwardRequest(signer, nonce, success)++`]
  166. [.contract-subindex-inherited]
  167. .Nonces
  168. [.contract-subindex-inherited]
  169. .EIP712
  170. [.contract-subindex-inherited]
  171. .IERC5267
  172. * {xref-IERC5267-EIP712DomainChanged--}[`++EIP712DomainChanged()++`]
  173. --
  174. [.contract-index]
  175. .Errors
  176. --
  177. * {xref-ERC2771Forwarder-ERC2771ForwarderInvalidSigner-address-address-}[`++ERC2771ForwarderInvalidSigner(signer, from)++`]
  178. * {xref-ERC2771Forwarder-ERC2771ForwarderMismatchedValue-uint256-uint256-}[`++ERC2771ForwarderMismatchedValue(requestedValue, msgValue)++`]
  179. * {xref-ERC2771Forwarder-ERC2771ForwarderExpiredRequest-uint48-}[`++ERC2771ForwarderExpiredRequest(deadline)++`]
  180. * {xref-ERC2771Forwarder-ERC2771UntrustfulTarget-address-address-}[`++ERC2771UntrustfulTarget(target, forwarder)++`]
  181. [.contract-subindex-inherited]
  182. .Nonces
  183. * {xref-Nonces-InvalidAccountNonce-address-uint256-}[`++InvalidAccountNonce(account, currentNonce)++`]
  184. [.contract-subindex-inherited]
  185. .EIP712
  186. [.contract-subindex-inherited]
  187. .IERC5267
  188. --
  189. [.contract-item]
  190. [[ERC2771Forwarder-constructor-string-]]
  191. ==== `[.contract-item-name]#++constructor++#++(string name)++` [.item-kind]#public#
  192. See {EIP712-constructor}.
  193. [.contract-item]
  194. [[ERC2771Forwarder-verify-struct-ERC2771Forwarder-ForwardRequestData-]]
  195. ==== `[.contract-item-name]#++verify++#++(struct ERC2771Forwarder.ForwardRequestData request) → bool++` [.item-kind]#public#
  196. Returns `true` if a request is valid for a provided `signature` at the current block timestamp.
  197. A transaction is considered valid when the target trusts this forwarder, the request hasn't expired
  198. (deadline is not met), and the signer matches the `from` parameter of the signed request.
  199. NOTE: A request may return false here but it won't cause {executeBatch} to revert if a refund
  200. receiver is provided.
  201. [.contract-item]
  202. [[ERC2771Forwarder-execute-struct-ERC2771Forwarder-ForwardRequestData-]]
  203. ==== `[.contract-item-name]#++execute++#++(struct ERC2771Forwarder.ForwardRequestData request)++` [.item-kind]#public#
  204. Executes a `request` on behalf of `signature`'s signer using the ERC-2771 protocol. The gas
  205. provided to the requested call may not be exactly the amount requested, but the call will not run
  206. out of gas. Will revert if the request is invalid or the call reverts, in this case the nonce is not consumed.
  207. Requirements:
  208. - The request value should be equal to the provided `msg.value`.
  209. - The request should be valid according to {verify}.
  210. [.contract-item]
  211. [[ERC2771Forwarder-executeBatch-struct-ERC2771Forwarder-ForwardRequestData---address-payable-]]
  212. ==== `[.contract-item-name]#++executeBatch++#++(struct ERC2771Forwarder.ForwardRequestData[] requests, address payable refundReceiver)++` [.item-kind]#public#
  213. Batch version of {execute} with optional refunding and atomic execution.
  214. In case a batch contains at least one invalid request (see {verify}), the
  215. request will be skipped and the `refundReceiver` parameter will receive back the
  216. unused requested value at the end of the execution. This is done to prevent reverting
  217. the entire batch when a request is invalid or has already been submitted.
  218. If the `refundReceiver` is the `address(0)`, this function will revert when at least
  219. one of the requests was not valid instead of skipping it. This could be useful if
  220. a batch is required to get executed atomically (at least at the top-level). For example,
  221. refunding (and thus atomicity) can be opt-out if the relayer is using a service that avoids
  222. including reverted transactions.
  223. Requirements:
  224. - The sum of the requests' values should be equal to the provided `msg.value`.
  225. - All of the requests should be valid (see {verify}) when `refundReceiver` is the zero address.
  226. NOTE: Setting a zero `refundReceiver` guarantees an all-or-nothing requests execution only for
  227. the first-level forwarded calls. In case a forwarded request calls to a contract with another
  228. subcall, the second-level call may revert without the top-level call reverting.
  229. [.contract-item]
  230. [[ERC2771Forwarder-_validate-struct-ERC2771Forwarder-ForwardRequestData-]]
  231. ==== `[.contract-item-name]#++_validate++#++(struct ERC2771Forwarder.ForwardRequestData request) → bool isTrustedForwarder, bool active, bool signerMatch, address signer++` [.item-kind]#internal#
  232. Validates if the provided request can be executed at current block timestamp with
  233. the given `request.signature` on behalf of `request.signer`.
  234. [.contract-item]
  235. [[ERC2771Forwarder-_recoverForwardRequestSigner-struct-ERC2771Forwarder-ForwardRequestData-]]
  236. ==== `[.contract-item-name]#++_recoverForwardRequestSigner++#++(struct ERC2771Forwarder.ForwardRequestData request) → bool, address++` [.item-kind]#internal#
  237. Returns a tuple with the recovered the signer of an EIP712 forward request message hash
  238. and a boolean indicating if the signature is valid.
  239. NOTE: The signature is considered valid if {ECDSA-tryRecover} indicates no recover error for it.
  240. [.contract-item]
  241. [[ERC2771Forwarder-_execute-struct-ERC2771Forwarder-ForwardRequestData-bool-]]
  242. ==== `[.contract-item-name]#++_execute++#++(struct ERC2771Forwarder.ForwardRequestData request, bool requireValidRequest) → bool success++` [.item-kind]#internal#
  243. Validates and executes a signed request returning the request call `success` value.
  244. Internal function without msg.value validation.
  245. Requirements:
  246. - The caller must have provided enough gas to forward with the call.
  247. - The request must be valid (see {verify}) if the `requireValidRequest` is true.
  248. Emits an {ExecutedForwardRequest} event.
  249. IMPORTANT: Using this function doesn't check that all the `msg.value` was sent, potentially
  250. leaving value stuck in the contract.
  251. [.contract-item]
  252. [[ERC2771Forwarder-ExecutedForwardRequest-address-uint256-bool-]]
  253. ==== `[.contract-item-name]#++ExecutedForwardRequest++#++(address indexed signer, uint256 nonce, bool success)++` [.item-kind]#event#
  254. Emitted when a `ForwardRequest` is executed.
  255. NOTE: An unsuccessful forward request could be due to an invalid signature, an expired deadline,
  256. or simply a revert in the requested call. The contract guarantees that the relayer is not able to force
  257. the requested call to run out of gas.
  258. [.contract-item]
  259. [[ERC2771Forwarder-ERC2771ForwarderInvalidSigner-address-address-]]
  260. ==== `[.contract-item-name]#++ERC2771ForwarderInvalidSigner++#++(address signer, address from)++` [.item-kind]#error#
  261. The request `from` doesn't match with the recovered `signer`.
  262. [.contract-item]
  263. [[ERC2771Forwarder-ERC2771ForwarderMismatchedValue-uint256-uint256-]]
  264. ==== `[.contract-item-name]#++ERC2771ForwarderMismatchedValue++#++(uint256 requestedValue, uint256 msgValue)++` [.item-kind]#error#
  265. The `requestedValue` doesn't match with the available `msgValue`.
  266. [.contract-item]
  267. [[ERC2771Forwarder-ERC2771ForwarderExpiredRequest-uint48-]]
  268. ==== `[.contract-item-name]#++ERC2771ForwarderExpiredRequest++#++(uint48 deadline)++` [.item-kind]#error#
  269. The request `deadline` has expired.
  270. [.contract-item]
  271. [[ERC2771Forwarder-ERC2771UntrustfulTarget-address-address-]]
  272. ==== `[.contract-item-name]#++ERC2771UntrustfulTarget++#++(address target, address forwarder)++` [.item-kind]#error#
  273. The request target doesn't trust the `forwarder`.