ODCinterfacesdataManagersfractionalizers
IFraction
NotPrimaryChain
NotOwnerOfWrappedNFT
NftUnlocked
PercentageWrappedAssetsUnlocked
WrappedAssetsUnlocked
Executed
forceUnlockNft
Can be used by contract owner to receive Wrapped NFT
Parameters
| Name | Type | Description |
|---|---|---|
| receiver | address | who should receive NFT |
forceFullyUnlockWrappedAssets
Can be used by contract owner to receive wrapped assets (this includes burning the Wrapped NFT)
Parameters
| Name | Type | Description |
|---|---|---|
| receiver | address | who should receive wrapped assets |
fullyUnlockWrappedAssets
Can be used by fractions owner to recieve wrapped assets in exchange to all fractions All fractions will be burned.
Parameters
| Name | Type | Description |
|---|---|---|
| beneficiary | address | who should receive wrapped assets |
execute
Allows contract owner to send messages (execute calls) on wrapped assets
Parameters
| Name | Type | Description |
|---|---|---|
| token | address | Asset contract to send message to |
| input | bytes | Message to send (abi-encoded call payload with method selector and arguments) |
burnFromOwnerUnwrapToAccount
Allows contract owner to burn amount from himself/herself and unwrap assets to a specific account Burn id should be genesis ids (only for erc1155)
Parameters
| Name | Type | Description |
|---|---|---|
| amountOfFractions | uint256 | The amount of fractions to burn. |
| burnId | uint256 | The id from which amountOfFractions will be burnt (only for erc1155) |
| account | address | The address which will received the unwrapped assets. |
| tokens | address[] | The array of token addresses to be unwrapped |
| ids | uint256[] | The array of ids to be unwrapped |
| values | uint256[] | The array of values to be unwrapped |
burn
Burn value tokens from from (of id in ERC1155)
Parameters
| Name | Type | Description |
|---|---|---|
| from | address | Address to burn tokens from |
| id | uint256 | The tokenId to burn (only for erc1155) |
| value | uint256 | Amount to burn |

