Kiln
Allowlist Interface (v1)
This interface exposes methods to handle the list of allowed recipients.
Sets the allowlisting status for one or more accounts
The permission value is overridden and not updated
Name | Type | Description |
---|---|---|
Retrieves the allower address
This method retrieves the raw permission value
This method returns true if the user has the expected permission ignoring any deny list membership
Initializes the allowlist
This method returns true if the user has the expected permission and is not in the deny list
This method returns true if the user is in the deny list
This method should be used as a modifier and is expected to revert if the user hasn't got the required permission or if the user is in the deny list.
Changes the allower address
The stored allower address has been changed
The permissions of several accounts have changed
The account is denied access
The provided accounts list is empty
The provided accounts and permissions list have different lengths
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
_accounts
address[]
Accounts with statuses to edit
_permissions
uint256[]
Allowlist permissions for each account, in the same order as _accounts
_0
address
The address of the allower
_account
address
Recipient to verify
_0
uint256
The raw permissions value of the account
_account
address
Recipient to verify
_mask
uint256
Combination of permissions to verify
_0
bool
True if mask is respected
_admin
address
Address of the Allowlist administrator
_allower
address
Address of the allower
_account
address
Recipient to verify
_mask
uint256
Combination of permissions to verify
_0
bool
True if mask is respected and user is allowed
_account
address
Recipient to verify
_0
bool
True if user is denied access
_account
address
Recipient to verify
_mask
uint256
Combination of permissions to verify
_newAllowerAddress
address
New address allowed to edit the allowlist
allower indexed
address
The new allower address
accounts
address[]
List of accounts
permissions
uint256[]
New permissions for each account at the same index
_account
address
The denied account