VORJ Smart Contracts
Secure and battle tested smart contracts from OpenZeppelin on VeChain, through VORJ.
VORJ offers a range of fungible and non-fungible (NFT) smart contract templates. VORJ implements and offers the secure and battle tested OpenZeppelin smart contracts.
The beta release of the VORJ frontend currently only offers the fungible ERC-20 and the non-fungible ERC-721 smart contracts standards through a user friendly interface. More smart contract standards will be added to the frontend over time. However, from the backend application programmable interface (API) a user has access to a wider selection of smart contract standards, ERC-20, ERC-721, UUPS, ERC-1155 and ERC-4626.
Fungible Tokens
A fungible token is a form of digital asset that can be easily interchanged with other tokens of the same type because each token has the same value and properties. In other words, every token is identical to every other token, and they can be exchanged or traded without any difference in value or functionality.
For example, if you have two $1 dollar bills, they have the same value and can be used interchangeably. Similarly, if you have two fungible tokens, such as ERC-20 tokens they have the same value and can be used interchangeably.
Fungible tokens are often used as a form of currency or as a way to represent other digital property such as stocks, bonds or commodities on a blockchain. They are also commonly used a a means of exchange in decentralized applications and smart contracts, where they can represent anything from voting rights to loyalty points.
Supported Fungible Token Standards: ERC-20
As of Friday 5th May 2023 VORJ implements the ERC20Capped contract instead of the ERC20 base contract.
Non-Fungible Tokens (NFTs)
A non-fungible token (NFT) is a unique digital asset that is not interchangeable with any other asset because it has unique characteristics and properties that make it different from all other assets. The most common NFT standard in use within the blockchain ecosystem is the ERC-721 standard.
Unlike fungible tokens, which have identical values and can be traded interchangeably, NFTs are unique and often represent one of a kind items such as digital art, collectibles, music, videos and other forms of media. Each NFT has a unique identifier, tokenID
, that distinguishes it from all other tokens and represents its unique value and properties.
For example, image you have a digital painting. While you could create multiple copies of the file, each copy would be identical and thus not unique. However, if you create an NFT of the digital painting, it becomes a unique asset that is represented by a specific token on a blockchain. This token can be bought, sold or traded just like a physical painting.
Supported Non-Fungible Token Standards: ERC-721 and UUPS.
Semi-Fungible Tokens (SFTs)
A semi-fungible token is a type of digital asset that has some fungibility, but also contains unique properties that differentiate it from other tokens of the same type. The most common SFT standard in use within the blockchain ecosystem is the ERC-1155 standard.
Like fungible tokens, SFTs can be exchanged on a one to one basis because they have identical values, but they may also contain unique attributes that affect their value.
For example, imagine a game token that represents a specific character in a game. While multiple copies of the token may exist, each token may have unique attributes such as different power levels or abilities, making them non-interchangeable with other tokens of the same type.
SFTs are often used in gaming, collectibles, and other applications where a balance between fungibility and uniqueness is required.
Supported Semi-Fungible Token Standards: ERC-1155.
Tokenized Vault Standard
The tokenized vault standard is a type of smart contract that enables the creation of secure and flexible single-asset vaults, of ERC-20 tokens, and gives shares to the user that deposits assets. A leading tokenized vault standard is the ERC-4626 standard. The ERC-4626 standard is built on top of the ERC-20 standard.
Tokenized vaults are the foundation for lending markets, aggregators and yield bearing tokens in decentralized finance (DeFi). The tokenized vault standard defines a way to deposit an asset and in return get share tokens representing the amount you deposit. While these assets are deposited you can earn more underlying tokens due to yield strategies that accrue interest on the pool of assets staked. The shares can then be redeemed for your original asset and any yield earned.
Supported Tokenized Vault Standard: ERC-4626.
Decentralized Autonomous Organization (DAO) Contracts
A DAO is a collectively owned, blockchain-governed organization working towards a shared mission. DAOs allow communities of members to work together without having to trust a leader to manage the funds or operations. Instead of a leader there are blockchain based rules that define how the organization works and everything happens transparently on-chain.
The core aspect of a DAO is the smart contract, which defines the rules of the organization and holds the organizations treasury. Once the smart contract is deployed on the blockchain it cannot be changed expect through a vote. The group makes decisions collectively, and payments are automatically authorized when votes pass.
Supported DAO Contracts: Governor
Have a suggestion for a smart contract standard that we should implement as part of VORJ? Contract us at support@vorj.app.
Smart Contract ABIs
As we update and improve VORJ the ABIs are subject to change as such the document below may become outdated.
For realtime access to the VORJ ABIs you can use the endpoint GET/main/v2/blockchain/contracts/abi/endpoint.
The file below provides all of the VORJ ABIs as of the 28th November 2023.
Last updated