BarnBridge junior cUSDC
Verified contract
Active on
Ethereum with 1,953 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 4 additional slots
Balances ($0.00)
No balances found for "BarnBridge junior cUSDC"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 19913799 | 6 months ago | | | 0 | 0.017560817 | |
| 19913770 | 6 months ago | | | 0 | 0.0052376704 | |
| 19913518 | 6 months ago | | | 0 | 0.0058916554 | |
| 19642325 | 7 months ago | | | 0 | 0.0075505100 | |
| 19642026 | 7 months ago | | | 0 | 0.0048176130 | |
| 19180861 | 10 months ago | | | 0 | 0.00072251356 | |
| 19079481 | 10 months ago | | | 0 | 0.00022176327 | |
| 19021696 | 10 months ago | | | 0 | 0.00076411991 | |
| 18963142 | a year ago | | | 0 | 0.00068298525 | |
| 18963136 | a year ago | | | 0 | 0.00068465019 |
ABI
ABI objects
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 principal, uint256 gain, uint256 issuedAt, uint256 maturesAt, bool 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 owner, address spender) view returns (uint256)
balanceOf(address account) view returns (uint256)
juniorBonds(uint256) view returns (uint256 tokens, uint256 maturesAt)
juniorBondsMaturingAt(uint256) view returns (uint256 tokens, uint256 price)
juniorBondsMaturities(uint256) view returns (uint256)
seniorBonds(uint256) view returns (uint256 principal, uint256 gain, uint256 issuedAt, uint256 maturesAt, bool liquidated)
State-modifying
Events approve(address spender, uint256 amount) returns (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 spender, uint256 subtractedValue) returns (bool)
increaseAllowance(address spender, uint256 addedValue) returns (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 recipient, uint256 amount) returns (bool)
transferFrom(address sender, address recipient, uint256 amount) returns (bool)
unaccountBonds(uint256[] bondIds_)
underlyingJuniors() returns (uint256)
underlyingLoanable() returns (uint256)
underlyingTotal() returns (uint256)
Approval(address indexed owner, address indexed spender, uint256 value)
BuyJuniorBond(address indexed buyer, uint256 indexed juniorBondId, uint256 tokensIn, uint256 maturesAt)
BuySeniorBond(address indexed buyer, uint256 indexed seniorBondId, uint256 underlyingIn, uint256 gain, uint256 forDays)
BuyTokens(address indexed buyer, uint256 underlyingIn, uint256 tokensOut, uint256 fee)
RedeemJuniorBond(address indexed owner, uint256 indexed juniorBondId, uint256 underlyingOut)
RedeemSeniorBond(address indexed owner, uint256 indexed seniorBondId, uint256 fee)
SellTokens(address indexed seller, uint256 tokensIn, uint256 underlyingOut, uint256 forfeits)
Transfer(address indexed from, address indexed to, uint256 value)
constructor(string name_, string symbol_, uint8 decimals_)
This contract contains no fallback and receive objects.
This contract contains no error objects.