UsdcStrategyCompound

Verified contract

Active on Ethereum
Deployed by via 0xab6743f6 at 17344253
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $0.08
0x12ce0d74f7d1b777997c8fae2f25a1ef19e1e1910be127a04bf78801d586df20

Functions
Getter at block 21322814
COMP(view returns (address)
0xc00e94cb662c3520282e6f5717214004a7f26888
MINIMUM_BUFFER(view returns (uint256)
20000000000000000
admin(view returns (address)
0xf4e2007bb865b78bc0eac0cc242e974efd49c06d
asset(view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
buffer(view returns (uint256)
1000000000000000000
cToken(view returns (address)
0x39aa39c021dfbae8fac545936693ac917d5e7563
comptroller(view returns (address)
0x3d9819210a31b4961b30ef54be2aed79b9c9cd3b
fee(view returns (uint16)
1000
nominatedOwner(view returns (address)
0xe2ceda90aa1e43647ef306810a903b32c9a3aa94
owner(view returns (address)
0x0a1f3a2c20a7e8e4470ffa52c01646e1ff4c759a
slip(view returns (uint16)
9900
swap(view returns (address)
0xf4d67ed2133c4ef73ca87d0dc7d0fc0d6f97bf04
 
totalAssets(view returns (uint256)
treasury(view returns (address)
0x1c064ea662365c09c8e87242791dacbb90002605
vault(view returns (address)
0x09dab27cc3758040eea0f7b51df2aee14bc003d6
Read-only
authorized(addressview returns (bool)
State-modifying
acceptOwnership(
addAuthorized(address _authorized
changeSwap(address _swap
getHealth(returns (uint256 supplieduint256 borroweduint256 marketColuint256 safeColuint256 collateralRatio)
harvest(returns (uint256 received)
invest(
nominateOwnership(address _newOwner
rebalance(
removeAuthorized(address _authorized
setAdmin(address _newAdmin
setBuffer(uint256 _buffer
setBufferAndRebalance(uint256 _buffer
setFee(uint16 _fee
setSlip(uint16 _slip
setTreasury(address _treasury
sweep(address _tokenaddress _recipient
withdraw(uint256 _assetsreturns (uint256 receiveduint256 slippageuint256 bonus)
Events
AuthAdded(address indexed newAuth
AuthRemoved(address indexed oldAuth
FeeChanged(uint16 newFee
OwnerChanged(address indexed previousOwneraddress indexed newOwner
SlipChanged(uint16 newSlip
TreasuryChanged(address indexed newTreasury
Constructor
constructor(address _vaultaddress _treasuryaddress _nominatedOwneraddress _adminaddress[] _authorizedaddress _swap
Fallback and receive

This contract contains no fallback and receive objects.

Errors
AlreadyRole(
AlreadyValue(
CompoundErrorCode(uint256 errorCode
InvalidValue(
NotRole(
NotVault(
NothingToInvest(
SomethingWentWrong(
Unauthorized(
Zero(