- The
Employees
,DiscussionBoard
andDiscusstion
smart contracts contain functions which execute theXABER
andBadges
smart contracts to transact the ERC20 and ERC1155 tokens
- Most smart contracts in this project inherit from one or more smart contracts from
OpenZeppelin
smart contract library. Besides, due to the uses of GSN, some smart contracts also inherit fromOpenGSN
library
- The
XABER
andBadges
smart contracts extendAccesscontrol
fromOpenZeppelin
library to control the permission formint
andburnFrom
functions. Besides, theDiscussion
smart contract also adopt theOwnable
from the library to control the access ofapproveReply
function.