Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hazae41/orbitum-polygon-contracts
Smart contracts for Orbitum on Polygon
https://github.com/hazae41/orbitum-polygon-contracts
ethereum harberger orbitum polygon solidity
Last synced: 29 days ago
JSON representation
Smart contracts for Orbitum on Polygon
- Host: GitHub
- URL: https://github.com/hazae41/orbitum-polygon-contracts
- Owner: hazae41
- Created: 2021-04-19T22:28:41.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-10-12T22:21:07.000Z (about 3 years ago)
- Last Synced: 2024-10-18T16:23:31.012Z (3 months ago)
- Topics: ethereum, harberger, orbitum, polygon, solidity
- Language: Solidity
- Homepage: https://orbitum.space
- Size: 232 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Orbitum Contracts
## Style guide
### Variable naming
Variables follow this simple naming convention
- `var` : public variable
- `$var` : private variable
- `_var` : scoped variable## Contracts
### Token (ORBTM)
An ERC20 with 1M supply.
### Donator
A simple address-to-address transfer that takes an extra URI parameter.
Off-chain dApps can follow the `Donate` event and grab the URI associated with each transaction.
### Factory
Factory is a string-to-contract mapping with unique names.
Names are NOT enforced on-chain but can be enforced off-chain by dApps.
### Property
Properties are ERC20 that are 1:1 mapped with ORBTM using `deposit` (mint) and `withdraw` (burn).
Thus, their total supply is the total amount of "staked" ORBTMs. As it is an ERC20, tokens can be transfered.
Properties can be bought by anyone at any moment, similarly to the [Harbeger taxation system](https://medium.com/@simondlr/what-is-harberger-tax-where-does-the-blockchain-fit-in-1329046922c6).
They can also be transfered to anyone by their owner, WITHOUT requiring a payment.
NO fees are set.