IFrictionlessDigitalSecurityToken
Inherits: IBasicFrictionlessToken
Author: DEFYCA Labs S.à.r.l
Copyright © 2023 DEFYCA Labs S.à.r.l Permission is hereby granted, free of charge, to any person obtaining a copy of the Frictionless protocol smart contracts (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice (including the next paragraph) shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL DEFYCA LABS S.à.r.l BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
This is the permissioned & transferable digital security which represents the future cash flow from the FrictionlessOnChainAssetToken
and is purchased by the Investor using FrictionlessFundDepositTokens
. These digital securities are permissioned and transferable between permissioned Investors in a permissioned secondary market. This token is linked to the FrictionlessOnChainAssetToken
and denominated in a FIAT currency at a future date for settlement.
Functions
setInitData
Sets the immutable data for the FrictionlessDigitalSecurityToken
Parameters
Name | Type | Description |
---|---|---|
|
| the immutable data for the |
setUpdateData
Sets the updatable data for the FrictionlessDigitalSecurityToken
Parameters
Name | Type | Description |
---|---|---|
|
| the updatable data for the |
getCurrency
Get the baseCurrency is the FIAT denomination of the digital security, this is the currency the FrictionlessOnChainAssetToken
is issued in.
Returns
Name | Type | Description |
---|---|---|
|
| the baseCurrency is the FIAT denomination of the digital security, this is the currency the |
getTokenType
Get the type of the token as defined in the enum FrictionlessDigitalSecurityTokenType
.
Returns
Name | Type | Description |
---|---|---|
|
| the type of the token as defined in the enum. |
getOnChainAssetAddress
Get the onChainAssetAddress the address of the FrictionlessOnChainAssetToken
for which this token is a future cash distribution.
Returns
Name | Type | Description |
---|---|---|
|
| onChainAssetAddress the address of the |
getMaturesOn
Get the maturity date of the digital security.
Returns
Name | Type | Description |
---|---|---|
|
| the maturity date of the digital security. |
Errors
FrictionlessDigitalSecurityTokenInitDataHasAlreadyBeenSet
error throw if there is an attempt to modify the immutable data.
Structs
FDSImmutableData
Struct which represents the immutable data in the Token. Once set it cannot be modified.
FDSMutableData
Struct which represents the updatable data in the Token. This data can be modified by the Agent only.