BarnBridge junior cDAI

Verified contract

Active on Ethereum with 100 txns
Deployed by via 0x9dc28f67 at 12191456
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 4 additional slots

No balances found for "BarnBridge junior cDAI"

0x505ba96044c0a4d37e675676a64a907cc1de4417833aa7037b4601992b425d84
0x78512cdb90a3aaed82600c36669dc5ea6e976a08e762dcdfc7c3ed09194a0973
0x6a2bae895cdfba4731e31823b27ddaad172c2139d6d8e6d05dc064e19814a998
0x49594ca121a876ed81276aae7dddcb7a7683274e4a50fff0554a59743b2eeb75
0x35a92c1f03346720eabab27069cbbeee9da4fc52221d2cedd637a7e9f31f741f
0x55b974e7b2de05e2bac7fd8aacf4ba1e12b41da01ce1593a1047aa29e87515d2
0xd9fdc45858df281d1c5dd4f5d56423e07e18a17030b1b2beead3881976269cbb
0xe762b94adb60aa2d6c89ba9834e6959bb3b4a7d654db50e251721f2ef5675281
0xfb41962a0cc4dabbe37a86f76d8d1bbe69d39ca9a2a08fcdcc2cfc34867fa209
0xf4d9a14c926417d50552d45af780ef46eaaeb19e5d23e2ec1b012dd9cda7e51f

Functions
Getter at block 21307242
EXP_SCALE(view returns (uint256)
1000000000000000000
MAX_UINT256(view returns (uint256)
115792089237316195423570985008687907853269984665640564039457584007913129639935
_setup(view returns (bool)
true
abond(view returns (uint256 principaluint256 gainuint256 issuedAtuint256 maturesAtbool liquidated)
(principal=5850000000000000000, gain=11156593781895321, issuedAt=1630824358301936126983903175, maturesAt=1646723969000000000000000000, liquidated=false)
abondDebt(view returns (uint256)
0
abondGain(view returns (uint256)
11156593781895321
abondPaid(view returns (uint256)
11156593781895321
controller(view returns (address)
0xaa963524e65c671ef7a5485adf9e342c401a46ff
decimals(view returns (uint8)
18
juniorBond(view returns (address)
0x7f46e3ca055d3fe08cc5c1bfb9c4995e7de36fa3
juniorBondId(view returns (uint256)
2
juniorBondsMaturitiesPrev(view returns (uint256)
1
name(view returns (string)
BarnBridge junior cDAI
pool(view returns (address)
0xe6c1a8e7a879d7febb8144276a62f9a6b381bd37
seniorBond(view returns (address)
0x7785d69512296ec83634c283c923719e2306d133
seniorBondId(view returns (uint256)
6
symbol(view returns (string)
bb_cDAI
tokensInJuniorBonds(view returns (uint256)
0
totalSupply(view returns (uint256)
1420749290480760663251
underlyingLiquidatedJuniors(view returns (uint256)
0
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
juniorBonds(uint256view returns (uint256 tokensuint256 maturesAt)
juniorBondsMaturingAt(uint256view returns (uint256 tokensuint256 price)
juniorBondsMaturities(uint256view returns (uint256)
seniorBonds(uint256view returns (uint256 principaluint256 gainuint256 issuedAtuint256 maturesAtbool liquidated)
State-modifying
approve(address spenderuint256 amountreturns (bool)
bondGain(uint256 principalAmount_uint16 forDays_returns (uint256)
buyBond(uint256 principalAmount_uint256 minGain_uint256 deadline_uint16 forDays_returns (uint256)
buyJuniorBond(uint256 tokenAmount_uint256 maxMaturesAt_uint256 deadline_
buyTokens(uint256 underlyingAmount_uint256 minTokens_uint256 deadline_
decreaseAllowance(address spenderuint256 subtractedValuereturns (bool)
increaseAllowance(address spenderuint256 addedValuereturns (bool)
liquidateJuniorBonds(uint256 upUntilTimestamp_
maxBondDailyRate(returns (uint256)
price(returns (uint256)
redeemBond(uint256 bondId_
redeemJuniorBond(uint256 jBondId_
sellTokens(uint256 tokenAmount_uint256 minUnderlying_uint256 deadline_
setController(address newController_
setup(address controller_address pool_address seniorBond_address juniorBond_
transfer(address recipientuint256 amountreturns (bool)
transferFrom(address senderaddress recipientuint256 amountreturns (bool)
unaccountBonds(uint256[] bondIds_
underlyingJuniors(returns (uint256)
underlyingLoanable(returns (uint256)
underlyingTotal(returns (uint256)
Events
Approval(address indexed owneraddress indexed spenderuint256 value
BuyJuniorBond(address indexed buyeruint256 indexed juniorBondIduint256 tokensInuint256 maturesAt
BuySeniorBond(address indexed buyeruint256 indexed seniorBondIduint256 underlyingInuint256 gainuint256 forDays
BuyTokens(address indexed buyeruint256 underlyingInuint256 tokensOutuint256 fee
RedeemJuniorBond(address indexed owneruint256 indexed juniorBondIduint256 underlyingOut
RedeemSeniorBond(address indexed owneruint256 indexed seniorBondIduint256 fee
SellTokens(address indexed selleruint256 tokensInuint256 underlyingOutuint256 forfeits
Transfer(address indexed fromaddress indexed touint256 value
Constructor
constructor(string name_string symbol_uint8 decimals_
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.