Module ethers_middleware::policy
source · Expand description
The Policy is used to ensure transactions comply with the rules configured in the
PolicyMiddleware
before sending them.
Structs§
- A policy that does not restrict anything.
- Middleware used to enforce certain policies for transactions.
- A policy that rejects all transactions.
Enums§
- Error thrown when the client interacts with the policy middleware.
Traits§
- Basic trait to ensure that transactions about to be sent follow certain rules.