Hedron is a collection of Ethereum / PulseChain smart contracts that build upon the HEX smart contract to provide additional functionality. For more information visit https://hedron.pro
Hedron is deployed at the following Ethereum / PulseChain addresses.
Hedron.sol -> 0x3819f64f282bf135d62168C1e513280dAF905e06
HEXStakeInstance.sol -> 0x64De999CE2FCbCf4f37AB16341de78DDF8722aD2
HEXStakeInstanceManager.sol -> 0x8BD3d1472A656e312E94fB1BbdD599B8C51D18e3
The following smart contracts are UNLICENSED, All rights are reserved.
./contracts/Hedron.sol
./contracts/references/HEX.sol
./contracts/auxiliary/HEXStakeInstance.sol
./contracts/auxiliary/HEXStakeInstanceManager.sol
The following smart contracts are MIT Licensed.
./contracts/interfaces/HEX.sol
./contracts/interfaces/Hedron.sol
./contracts/declarations/Internal.sol
./contracts/declarations/External.sol
./contracts/interfaces/HEXStakeInstance.sol
./contracts/interfaces/HEXStakeInstanceManager.sol
./contracts/rarible/royalties/contracts/LibPart.sol
./contracts/rarible/royalties/contracts/RoyaltiesV2.sol
./contracts/rarible/royalties/contracts/LibRoyaltiesV2.sol
./contracts/rarible/royalties/contracts/impl/RoyaltiesV2Impl.sol
./contracts/rarible/royalties/contracts/impl/AbstractRoyalties.sol
This repository provided for auditing, research, and interfacing purposes only. Copying any UNLICENSED smart contract is strictly prohibited.
Hedron.sol - ERC20 contract responsible for minting and loaning HDRN tokens against Native and Instanced HEX stakes.
HEXStakeInstanceManager.sol ERC721 contract used for managing Instanced HEX stakes as well as issuing NFT tokens which correspond to said stakes.
HEXStakeInstance.sol Single use contract used to wrap a single HEX stake.
Documentation and ABI can be generated automatically by cloning this repository, installing all required HardHat dependencies, and compiling the contracts.
git clone https://https://github.com/SeminaTempus/Hedron.git
cd Hedron
npm install
npx hardhat compile
Documentation and ABI can be found in the ./docs
and ./abi
directories respectively after a successful compilation.
Tests can be run by executing...
npx hardhat test