Skip to content

hazae41/orbitum-polygon-contracts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

They can also be transfered to anyone by their owner, WITHOUT requiring a payment.

NO fees are set.

Releases

No releases published

Packages

No packages published