Audience: Ethena protocol team. Prepared for technical review of Triplora's tripUSD soulbound stablecoin design and implementation.
All system diagrams are inlined in Mermaid and render natively in GitHub's markdown viewer. The document is self-contained — no external references required.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function listQuarters(sDate, eDate) { | |
| var sQuarter = Math.floor(sDate.getMonth() / 3) + 1; | |
| var eQuarter = Math.floor(eDate.getMonth() / 3) + 1; | |
| var sYear = sDate.getFullYear(); | |
| var eYear = eDate.getFullYear(); | |
| var quarterNames = ["03", "06", "09", "12"]; | |
| var quarterList = []; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { useState, useEffect } from 'react'; | |
| import '../../../../styles/Filer/BiggestHoldingsTable.css'; | |
| // Issues: | |
| // Price is to be converted to whole number or it is to be displayed as decimal | |
| // Add border radius / make table border curved | |
| function BiggestHoldingsTable(props) { | |
| var cik = props.cik; | |
| var [oldCIK, setOldCIK] = useState(null); | |
| if (cik !== oldCIK) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pragma solidity ^0.4.24; | |
| contract MyContract { | |
| string value; | |
| constructor() public { | |
| value = "first_Value"; | |
| } | |
| function get() public view returns(string) { |