info_tfgrid/collections/projectinca/inca_reward.md

53 lines
1.7 KiB
Markdown
Raw Permalink Normal View History

2024-04-05 05:43:18 +00:00
# Inca Reward Certificate
Owning such a Certificate allows the owner to receive INCA over time and has the optional possibility to attach other conditions to it like price.
INCA Reward Certificates (INCA-RC) are transferable, and can be used to redeem INCA by the owner.
An INCA-RC is using metadata to describe how the INCA-RC can be exchanged to INCA, as INCA released for the benefit of the current owner of an INCA-RC the metadata will be updated in the INCA-RC to reflect the state of the rewards (future INCA to be released)
Is implemented on Solana and accompagning smart contract system.
## Technical info about Inca Reward Certificate
all prices are expressed in milligram which is 0.001 gram of gold, at current price of $70k per kg, its 0.07 USD per milligram
```go
struct INCAReward {
unique_id string // Unique Identifier
amount f32 //amount of INCA remaining
releases []Release // Array of Releases
}
struct Release {
month u8
amount i32
min_price f32 //in Gold milligram (=0.001gram)
}
reward := INCAReward{
amount_inca = 210000
unique_id: "..."
releases: [
Release{
month: 0
amount: 10000 // 1,000 USD if INCA is at value of 0.1 USD
min_price: 1.4 //about 0.1 USD (milligram gold to USD)
},
Release{
month: 12
amount: 200000 // +- 20,000 USD if INCA is at value of 0.1 USD
min_price: 2.8 // about 0.2 USD
},
]
}
```
**Alternative more simple implementation could be based on:**
- vesting contracts on Solana [https://docs.streamflow.finance/](https://docs.streamflow.finance/)