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:
parent
3f69cd0cb2
commit
f6062c54eb
1 changed files with 5 additions and 0 deletions
|
|
@ -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.
|
||||
|
||||
The special contract `"*"` matches all contracts.
|
||||
|
||||
**example**:
|
||||
|
||||
```yaml
|
||||
|
|
@ -195,4 +197,7 @@ mycontract:
|
|||
|
||||
# To target all actions on a contract:
|
||||
mycontract: [ "*" ]
|
||||
|
||||
# Matches the transfer and refund actions for all contracts
|
||||
"*": [ transfer, refund ]
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue