Depository

Verified contract

Active on Ethereum with 652 txns
Deployed by via 0xff3f7b89 at 17777168
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $5,993,805.81
0x514456c76937158b439b311fcd0f9bfde32d8bddd26b5bfc92a672e66dc59160
0x3db790057a689d5db9222bb59e5dbc81cfb9e66d61fa1565df6cff04f19173c2
0x5a63387aa6bd48586f80a4e444248aea04a568ea6b51f1cd9902477658b0c6a8
0x1f7494430f370dca7cae7b11b4a5c2e4c7e8da9e20dd60a9435ba2c75ae69931
0x97631ea34caaefa1faaf0920a90710bfef0a24183ba88beba5cb50585652b367
0x888d719ebd2454e4b751350b75e210a6fb773708875d480578993443d806a3e5
0x6cd02065208ef4be2fb098afb71ca1419b0f43ed36716a11e5f92d94e848d257
0xea366a52925327e9aaafe38236383b2a33929178a7c9d9c36e4de4b12e1040f9
0x90127636d0af731f457ccb145ccff767a7e0801ce7339f9759d22a33a5cacdf4
0x39100c86adc2a64ca1649fe55a98750712c9bf92d65aca35f611f857c7eb70cc

Functions
Getter at block 21208854
MIN_VESTING(view returns (uint256)
86400
VERSION(view returns (string)
1.0.1
bondCalculator(view returns (address)
0x1521918961bdbc9ed4c67a7103d5999e4130e6cb
bondCounter(view returns (uint32)
444
olas(view returns (address)
0x0001a500a6b18995b03f44bb040a5ffc28e45cb0
owner(view returns (address)
0x3c1ff68f5aa342d296d4dee4bb1cacca912d95fe
productCounter(view returns (uint32)
261
tokenomics(view returns (address)
0xc096362fa6f4a4b1a9ea68b1043416f3381ce300
treasury(view returns (address)
0xa0da53447c0f6c4987964d8463da7e6628b30f82
Read-only
getBondStatus(uint256 bondIdview returns (uint256 payoutbool matured)
getBonds(address accountbool maturedview returns (uint256[] bondIdsuint256 payout)
getCurrentPriceLP(address tokenview returns (uint256 priceLP)
getProducts(bool activeview returns (uint256[] productIds)
isActiveProduct(uint256 productIdview returns (bool status)
mapBondProducts(uint256view returns (uint160 priceLPuint32 vestingaddress tokenuint96 supply)
mapUserBonds(uint256view returns (address accountuint96 payoutuint32 maturityuint32 productId)
State-modifying
changeBondCalculator(address _bondCalculator
changeManagers(address _tokenomicsaddress _treasury
changeOwner(address newOwner
close(uint256[] productIdsreturns (uint256[] closedProductIds)
create(address tokenuint256 priceLPuint256 supplyuint256 vestingreturns (uint256 productId)
deposit(uint256 productIduint256 tokenAmountreturns (uint256 payoutuint256 maturityuint256 bondId)
redeem(uint256[] bondIdsreturns (uint256 payout)
Events
BondCalculatorUpdated(address indexed bondCalculator
CloseProduct(address indexed tokenuint256 indexed productIduint256 supply
CreateBond(address indexed tokenuint256 indexed productIdaddress indexed owneruint256 bondIduint256 amountOLASuint256 tokenAmountuint256 maturity
CreateProduct(address indexed tokenuint256 indexed productIduint256 supplyuint256 priceLPuint256 vesting
OwnerUpdated(address indexed owner
RedeemBond(uint256 indexed productIdaddress indexed owneruint256 bondId
TokenomicsUpdated(address indexed tokenomics
TreasuryUpdated(address indexed treasury
Constructor
constructor(address _olasaddress _tokenomicsaddress _treasuryaddress _bondCalculator
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AlreadyInitialized(
BondNotRedeemable(uint256 bondId
ClaimIncentivesFailed(address accountuint256 rewarduint256 topUp
DelegatecallOnly(
DonatorBlacklisted(address account
InsufficientAllowance(uint256 provideduint256 expected
LowerThan(uint256 provideduint256 expected
ManagerOnly(address senderaddress manager
NonZeroValue(
Overflow(uint256 provideduint256 max
OwnerOnly(address senderaddress owner
Paused(
ProductClosed(uint256 productId
ProductExpired(address tokenAddressuint256 productIduint256 deadlineuint256 curTime
ProductSupplyLow(address tokenAddressuint256 productIduint256 requesteduint256 actual
ReentrancyGuard(
SameBlockNumberViolation(
ServiceDoesNotExist(uint256 serviceId
ServiceNeverDeployed(uint256 serviceId
TransferFailed(address tokenaddress fromaddress touint256 amount
TreasuryRebalanceFailed(uint256 epochNumber
UnauthorizedToken(address tokenAddress
WrongAmount(uint256 provideduint256 expected
WrongArrayLength(uint256 numValues1uint256 numValues2
WrongTokenAddress(address providedaddress expected
WrongUnitId(uint256 unitIduint256 unitType
ZeroAddress(
ZeroValue(