Obelisk Contract
The main protocol contract. Handles LODE minting, staking, burning, fee distribution, and payout claims.Constructor
| Parameter | Description |
|---|---|
initialOwner | Contract owner (can be multisig, distinct from deployer) |
genesisAddress | Genesis wallet: receives 3% fees + 8% mint rewards |
buyAndBurnAddress | BuyAndBurn contract: receives 62% fees |
Mining Functions
startMint
checkReferralLock, nonReentrant, dailyUpdate
batchMint
claimMint
batchClaimMint
Staking Functions
startStake
endStake
endStakeForOthers
Distribution Functions
distributeETH
triggerPayouts
Claim Functions
claimUserAvailableETHPayouts
claimUserAvailableETHBurnPool
Burn Functions
userBurnTokens
userBurnStake
userBurnMint
burnTokens (Project)
IObeliskOnBurn interface.
burnStake / burnMint (Project)
Approval Functions
approveBurnMints / approveBurnStakes
Admin Functions
| Function | Access | Description |
|---|---|---|
setBuyAndBurnContractAddress(address) | Owner | Change BuyAndBurn contract |
enableBurnPoolReward() | Owner | Enable burn pool (one-way) |
setReferralLocked(bool) | Owner | Toggle referral lock |
renounceOwnership() | Owner | Remove owner permanently |
transferOwnership(address) | Owner | Transfer owner role |
setNewGenesisAddress(address) | Genesis | Transfer genesis role |
mintReserve(address, uint256) | Genesis | One-shot mint to fund redeemer |
Key View Functions
| Function | Returns |
|---|---|
getCurrentContractDay() | Current protocol day |
getCurrentMintCost() | Current ETH cost per mint power unit |
getCurrentMintableLode() | Current daily LODE supply |
getCurrentShareRate() | Current share rate |
getGlobalActiveShares() | Total active shares |
getUserETHClaimableTotal(address) | User’s total claimable staker ETH |
getUserBurnPoolETHClaimableTotal(address) | User’s claimable burn pool ETH |
getUserBurnAmplifierBonus(address) | Burn amp bonus (0-8%, 18 decimals) |
getUserMints(address) | All mint info for a user |
getUserStakes(address) | All stake info for a user |
getUndistributedETH() | Accumulated undistributed fees |