safeMint
, transferFrom
, and safeTransferFrom
operations, both before and after execution.
Functions
checksPoliciesERC1155MintBefore
Modifier for checking policies before executing thesafeMint
function.
Calls the _checkPoliciesERC1155SafeMint
function to evaluate policies.
Name | Type | Description |
---|---|---|
to | address | The receiving address. |
tokenId | uint256 | The token identifier. |
value | uint256 | The value of tokenId being transfered. |
data | bytes | Generic data to pass along with the transfer. |
checksPoliciesERC1155MintAfter
Modifier for checking policies after executing thesafeMint
function.
Calls the _checkPoliciesERC1155SafeMint
function to evaluate policies.
Name | Type | Description |
---|---|---|
to | address | The receiving address. |
tokenId | uint256 | The token identifier. |
value | uint256 | The value of tokenId being transfered. |
data | bytes | Generic data to pass along with the transfer. |
checksPoliciesERC1155BatchMintBefore
Modifier for checking policies before executing thesafeMint
function.
Calls the _checkPoliciesERC1155SafeMint
function to evaluate policies.
Name | Type | Description |
---|---|---|
to | address | The receiving address. |
tokenIds | uint256[] | The token identifiers. |
values | uint256[] | The values of tokenIds being transfered. |
data | bytes | Generic data to pass along with the transfer. |
checksPoliciesERC1155BatchMintAfter
Modifier for checking policies after executing thesafeMint
function.
Calls the _checkPoliciesERC1155SafeMint
function to evaluate policies.
Name | Type | Description |
---|---|---|
to | address | The receiving address. |
tokenIds | uint256[] | The token identifiers. |
values | uint256[] | The values of tokenIds being transfered. |
data | bytes | Generic data to pass along with the transfer. |
checksPoliciesERC1155SafeTransferFromBefore
Modifier for checking policies before executing thesafeTransferFrom
function.
Calls the _checkPoliciesERC1155SafeTransferFrom
function to evaluate policies.
Name | Type | Description |
---|---|---|
from | address | The sending address. |
to | address | The receiving address. |
tokenId | uint256 | The token identifier. |
value | uint256 | The value of tokenId being transfered. |
data | bytes | Generic data to pass along with the transfer. |
checksPoliciesERC1155SafeTransferFromAfter
Modifier for checking policies after executing thesafeTransferFrom
function.
Calls the _checkPoliciesERC1155SafeTransferFrom
function to evaluate policies.
Name | Type | Description |
---|---|---|
from | address | The sending address. |
to | address | The receiving address. |
tokenId | uint256 | The token identifier. |
value | uint256 | The value of tokenId being transfered. |
data | bytes | Generic data to pass along with the transfer. |
checksPoliciesERC1155SafeBatchTransferFromBefore
Modifier for checking policies before executing thetransferFrom
function.
Calls the _checkPoliciesERC1155TransferFrom
function to evaluate policies.
Name | Type | Description |
---|---|---|
from | address | The sending address. |
to | address | The receiving address. |
tokenIds | uint256[] | The token identifiers. |
values | uint256[] | The values of tokenIds being transfered. |
data | bytes |
checksPoliciesERC1155SafeBatchTransferFromAfter
Modifier for checking policies before executing thetransferFrom
function.
Calls the _checkPoliciesERC1155TransferFrom
function to evaluate policies.
Name | Type | Description |
---|---|---|
from | address | The sending address. |
to | address | The receiving address. |
tokenIds | uint256[] | The token identifiers. |
values | uint256[] | The values of tokenIds being transfered. |
data | bytes |
_checkPoliciesERC1155Mint
Calls the Rules Engine to evaluate policies for an ERC1155Mint
operation.
Encodes the parameters and invokes the _invokeRulesEngine
function.
Name | Type | Description |
---|---|---|
_to | address | The receiving address. |
_tokenId | uint256 | The token identifier. |
_value | uint256 | The value of tokenId being transfered. |
_data | bytes | Generic data to pass along with the transfer. |
_checkPoliciesERC1155MintBatch
Calls the Rules Engine to evaluate policies for an ERC1155MintBatch
operation.
Encodes the parameters and invokes the _invokeRulesEngine
function.
Name | Type | Description |
---|---|---|
_to | address | The receiving address. |
_tokenIds | uint256[] | The token identifiers. |
_values | uint256[] | The values of tokenIds being transfered. |
_data | bytes | Generic data to pass along with the transfer. |
_checkPoliciesERC1155SafeTransferFrom
Calls the Rules Engine to evaluate policies for an ERC1155safeTransferFrom
operation.
Encodes the parameters and invokes the _invokeRulesEngine
function.
Name | Type | Description |
---|---|---|
_from | address | The sending address. |
_to | address | The receiving address. |
_tokenId | uint256 | The token identifier. |
_value | uint256 | The value of tokenId being transfered. |
_data | bytes | Generic data to pass along with the transfer. |
_checkPoliciesERC1155SafeBatchTransferFrom
Calls the Rules Engine to evaluate policies for an ERC1155safeTransferFrom
operation.
Encodes the parameters and invokes the _invokeRulesEngine
function.
Name | Type | Description |
---|---|---|
_from | address | The sending address. |
_to | address | The receiving address. |
_tokenIds | uint256[] | The token identifiers. |
_values | uint256[] | The values of tokenIds being transfered. |
_data | bytes | Generic data to pass along with the transfer. |
_checkPoliciesERC1155TransferFrom
Calls the Rules Engine to evaluate policies for an ERC1155transferFrom
operation.
Encodes the parameters and invokes the _invokeRulesEngine
function.
Name | Type | Description |
---|---|---|
_from | address | The sending address. |
_to | address | The receiving address. |
_tokenId | uint256 | The token identifier. |