BarnBridge junior cUSDC

Verified contract

Active on Ethereum with 1,953 txns
Deployed by via 0x96c4385d at 12024576
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 cUSDC"

0xba2ac0590a066727788960542642189b420742188332907c3f24894a6a4a1947
0xc065b00e71da0705752d1efafb3d016b97fecde1d7f666c12bbfa56b17e1f38c
0xf3d7b762095b365b59bfc6663bdd132b47424b1d9f9537298e9f56f2fb90c305
0x36bcc5f27b1eeed2e099117cbe75c4208ae7470b47de152346e4ae41cb5c8e7f
0xbf35361897995c8479088e21fb9a01c41d7e2ce518bcb90be5e2d57affc2a03d
0x2a326717706432817a6e9e48d5446872069150f018f4d4553d8af94c5e7983ba
0x30402d1c2a64e1cbc4a3193292e9016372db49d10b034c3f6b9bb932f41577eb
0x88984f07bcb612a08a5702eb821f2f873f06551df8a317130e3dd617dba602bf
0x0f31fddf3febba8f87790daa83941c6afb07382264eeab07545a1a0555cc5f84
0x84123e4b782001ee04fcc3c2f3d4e0fdbbca985af51508820ec5bbe274130289

Functions
Getter at block 21256180
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=1529780689, gain=8211003, issuedAt=1649856060766760462370147040, maturesAt=1668145019000000000000000000, liquidated=false)
abondDebt(view returns (uint256)
0
abondGain(view returns (uint256)
8211003
abondPaid(view returns (uint256)
8211003
controller(view returns (address)
0x41ab25709e0c3edf027f6099963fe9ad3ebab3a3
decimals(view returns (uint8)
6
juniorBond(view returns (address)
0x6fbfa597575e152c683af7d8d6349904bb4a8d3d
juniorBondId(view returns (uint256)
8
juniorBondsMaturitiesPrev(view returns (uint256)
3
name(view returns (string)
BarnBridge junior cUSDC
pool(view returns (address)
0xdaa037f99d168b552c0c61b7fb64cf7819d78310
seniorBond(view returns (address)
0xa7382ebcca0602df60833b612476b20d631555de
seniorBondId(view returns (uint256)
42
symbol(view returns (string)
bb_cUSDC
tokensInJuniorBonds(view returns (uint256)
0
totalSupply(view returns (uint256)
155041648430
underlyingLiquidatedJuniors(view returns (uint256)
57747081
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.