Supported Criteria
Last updated
Last updated
On this page, you can find all the criteria supported by the Armory Policy Engine. These will be used to build policy conditions.
Have a use-case not supported? Additional criteria can be created to model nearly any scenario.
args |
---|
This criterion applies an AND between each argument in the array
Intent amount by currency is not supported yet.
Gas fee by currency is not supported yet.
Only Native Transfers and ERC20 Transfers are supported. So this criterion can only be combined with checkIntentType({"transferNative"}) OR checkIntentType({"transferErc20"})
Spending limit by currency is not supported yet.
Each timeWindow property is optional.
fixed
time windows take a period
, and rolling
time windows take a value
Each filters property is optional
Only Native Transfers and Erc20 Transfers are supported. So this criterion can only be combined with checkIntentType({"transferNative"}) OR
checkIntentType({"transferERC20"})
args |
---|
args |
---|
args |
---|
args |
---|
args |
---|
args |
---|
args |
---|
args |
---|
currency (*optional) |
---|
operator | description |
---|---|
operator |
---|
args | description |
---|---|
operator | description |
---|---|
operator | description |
---|---|
currency (*optional) |
---|
operator | description |
---|---|
approvalEntityType |
---|
operator | description |
---|---|
currency (*optional) |
---|
timeWindow | values | description |
---|---|---|
filters | values | description |
---|---|---|
args |
---|
args |
---|
args | values |
---|---|
signTransaction
signRaw
signMessage
signUserOperation
signTypedData
grantPermission
wallet:import
wallet:create
wallet:read
root
admin
member
manager
eoa
4337
eoa
4337
internal
external
counterparty
managed
eoa
4337
internal
external
counterparty
managed
transferNative
transferErc20
transferErc721
transferErc1155
approveTokenAllowance
permit
permit2
callContract
cancelTransaction
deployContract
signTypedData
userOperation
fiat:usd
fiat:eur
gt
greater than
gte
greater than or equal
lt
lower than
lte
lower than or equal
eq
equal
ne
not equal
eq
contains
ES256K
secp256k1 - an Ethereum EOA
ES256
secp256r1 - ecdsa but not ethereum
RS256
gt
greater than
gte
greater than or equal
lt
lower than
lte
lower than or equal
eq
equal
ne
not equal
gt
greater than
gte
greater than or equal
lt
lower than
lte
lower than or equal
eq
equal
ne
not equal
fiat:usd
fiat:eur
gt
greater than
gte
greater than or equal
lt
lower than
lte
lower than or equal
eq
equal
ne
not equal
Narval::User
Narval::UserRole
Narval::UserGroup
gt
greater than
gte
greater than or equal
lt
lower than
lte
lower than or equal
eq
equal
ne
not equal
fiat:usd
fiat:eur
type
rolling, fixed
period
1d, 1m, 1y
this can be combined only with fixed type window
value
number
time window length in seconds
startDate
number
timestamp in ms
endDate
number
timestamp in ms
perPrincipal
boolean
filter spendings by principal id
tokens
filter spendings by asset ids
users
filter spendings by user ids
resources
filter spendings by resource ids
destinations
CAIP-10
filter spendings by destination ids
chains
filter spendings by chain ids
userGroups
filter spendings by user group ids
accountGroups
filter spendings by account group ids
eoa
4337
internal
external
counterparty
managed
type
contract
token
spender
chainId
hexSignature
algorithm
source
id: checkSourceId address: checkSourceAddress accountType: checkSourceAccountType classification: checkSourceClassification
destination
id: checkDestinationId address: checkDestinationAddress accountType: checkDestinationAccountType classification: checkDestinationClassification
transfers
tokens: checkErc1155TokenId amounts: checkErc1155Transfers
amount
message
payload
domain
deadline