Skip to content

Latest commit

 

History

History
49 lines (41 loc) · 2.03 KB

smart-contract.mdx

File metadata and controls

49 lines (41 loc) · 2.03 KB

import { Cards } from "../../components/cards.tsx"; import { Icons } from "../../components/icons";

SECOREP Contract Structure

SECOREP is a special type of token used in the SecureSECO DAO system. Like other tokens, it follows a specific standard known as ERC-20. This standard defines a common list of rules that all Ethereum tokens must follow.

One unique aspect of SECOREP is its non-transferable nature. Unlike many tokens, it can't be freely sent and received.

Additionally, SECOREP has functions to create (mint) and destroy (burn) tokens. However, only special accounts with "auth permissions" can perform these actions. In our case, currently only the Diamond Governance Plugin has these permissions, so only the DAO community can decide to mint and burn tokens using proposals.

Being part of the diamond system allows for greater flexibility. For instance, if the DAO community agrees, SECOREP could be upgraded to a more complex token standard, ERC-1155.

Further reading

To learn more about the ERC-20 standard and the IERC20Metadata interface specification, visit these links: Ethereum token standard and IERC20Metadata interface specification.

<Cards cardData={[ { external: true, href: "https://github.com/SecureSECODAO/dao-documentation", name: "View on Github", icon: Icons.gitHub, pattern: { y: 16, squares: [ [0, 1], [1, 3], [5, 2], ], }, }, { external: true, href: "https://github.com/SecureSECODAO/dao-documentation/blob/main/README.md", name: "Open README", icon: Icons.readme, pattern: { y: -6, squares: [ [-1, 2], [4, 3], [3, 1], ], }, }, ]} />