Comment on page
💀
Soulbound Tokens
You can think of your Impact Identity as a climate passport, where your impact with Return will be tracked and represented as your on-chain carbon identity. The more you do, the more it evolves!
The Return Impact Identity is an ERC-721 token locked to a single address, corresponding to the climate impact of that address. Impact Identities are non-transferable, and evolve according to the impact of the owner's wallet.
function getTotalSBTOffset(uint sbtID) returns (uint totalOffset)
Parameter | Data Type | Description |
---|---|---|
sbtID | uint | ERC-721 ID of the Return Impact Identity to be queried |
totalOffset | uint | Return Value: Total offset of SBT across all sources |
getTotalSBTOffset queries the Return Pool Manager contract to find all associated NFT's and returns the sum of their offset amounts.
function calculateTier(uint sbtID) returns (uint tier)
Parameter | Data Type | Description |
---|---|---|
sbtID | uint | ERC-721 ID of Return Impact Identity to be queried |
tier | uint | Calculated tier of queried SBT from total offset amount |
Last modified 1yr ago