1
0
Fork 0
mirror of https://github.com/eosswedenorg/thalos-docs synced 2026-06-16 04:34:55 +02:00

docs/configuration.md: document wildcard for contract names

This commit is contained in:
Henrik Hautakoski 2024-12-21 05:01:39 +01:00
parent 3f69cd0cb2
commit f6062c54eb

View file

@ -184,6 +184,8 @@ Keys (contracts) are of type [`string`](#string) and values are an array of [`st
Action array can hold a special string `*` that matches any action. Action array can hold a special string `*` that matches any action.
The special contract `"*"` matches all contracts.
**example**: **example**:
```yaml ```yaml
@ -195,4 +197,7 @@ mycontract:
# To target all actions on a contract: # To target all actions on a contract:
mycontract: [ "*" ] mycontract: [ "*" ]
# Matches the transfer and refund actions for all contracts
"*": [ transfer, refund ]
``` ```