Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0xe0cc…38f5
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
ALTA | ERC-20 | 0.01 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 16076852 | 2 years ago | | | 0 | 0.0053943147 | |
| 14763137 | 3 years ago | | | 0 | 0.012427972 | |
| 14763136 | 3 years ago | | | 0 | 0.0025297966 | |
| 14763134 | 3 years ago | | | 0 | 0.0024363939 | |
| 14639401 | 3 years ago | | | 0 | 0.0011700171 | |
| 14639400 | 3 years ago | | | 0 | 0.0010345805 | |
| 14639399 | 3 years ago | | | 0 | 0.00094595293 | |
| 14639398 | 3 years ago | | | 0 | 0.00084772687 | |
| 14639397 | 3 years ago | | | 0 | 0.0036126414 | |
| 14617470 | 3 years ago | | | 0 | 0.0072480801 |
ABI
ABI objects
Getter at block 21206100 getAllEarnContracts() view returns (struct EarnEarnContract[]) getAllEarnTerms() view returns (struct EarnEarnTerm[]) getAllOpenEarnTerms() view returns (struct EarnEarnTerm[])
ALTA() view returns (address)
0xe0cca86b254005889ac3a81e737f56a14f4a38f5
USDC() view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
altaBonusMultiplier() view returns (uint256)
200
baseBonusMultiplier() view returns (uint256)
150
getAllBids() view returns (struct EarnBid[])
[]
highTier() view returns (uint256)
150000000000
lowTier() view returns (uint256)
5000000000
medTier() view returns (uint256)
25000000000
owner() view returns (address)
0x087183a411770a645a96cf2e31fa69ab89e22f5e
paused() view returns (bool)
false
transferFee() view returns (uint256)
0
Read-only
bids(uint256) view returns (address bidder, address to, uint256 earnContractId, uint256 amount, bool accepted)
calculateInterest(uint256 _earnContractId) view returns (uint256 usdcInterestAmount, uint256 altaAmount)
calculateInterestReserves(uint256 _usdcPrincipal, uint256 _usdcRate) view returns (uint256 usdcInterestAmount)
checkTokenWhitelist(address _token, uint256 _earnTermsId) view returns (bool)
earnContractBidCount(uint256) view returns (uint256)
earnContractToOwner(uint256) view returns (address)
earnContracts(uint256) view returns (address owner, uint256 startTime, uint256 contractLength, address tokenAddress, uint256 tokenAmount, uint256 usdcPrincipal, uint256 usdcRate, uint256 usdcInterestPaid, uint256 altaAmount, uint256 usdcBonusRate, uint256 altaBonusAmount, uint8 status)
earnTerms(uint256) view returns (uint256 time, uint16 usdcRate, uint64 altaHighAmount, uint64 altaMedAmount, uint64 altaLowAmount, bool otherTokens, bool whitelist, uint256 usdcMax, uint256 usdcAccepted, bool open)
getBidsByContract(uint256 _earnContractId) view returns (uint256[])
getContractsByOwner(address _owner) view returns (uint256[])
getCurrentUsdcValueByOwner(address _owner) view returns (uint256)
getRedemptionUsdcValueByOwner(address _owner) view returns (uint256)
ownerEarnContractCount(address) view returns (uint256)
State-modifying
Events acceptBid(uint256 _bidId)
addTerm(uint256 _time, uint16 _usdcRate, uint64 _altaHighAmount, uint64 _altaMedAmount, uint64 _altaLowAmount, bool _otherTokens, bool _whitelist, address[] _tokensAccepted, uint256 _usdcMax)
closeContract(uint256 _earnContractId)
closeTerm(uint256 _earnTermsId)
makeBid(uint256 _earnContractId, uint256 _amount)
openContractTokenSwapToUSDC(uint256 _earnTermsId, address _tokenAddress, uint256 _amount, address _swapTarget, bytes _swapCallData)
openContractUsdc(uint256 _earnTermsId, uint256 _amount)
openTerm(uint256 _earnTermsId)
pause()
putSale(uint256 _earnContractId)
redeemInterestUSDC(uint256 _earnContractId)
removeBid(uint256 _bidId)
removeContractFromMarket(uint256 _earnContractId)
renounceOwnership()
setAltaAddress(address _ALTA)
setAltaBonusMultiplier(uint256 _altaBonusMultiplier)
setAltaContractTiers(uint256 _highTier, uint256 _medTier, uint256 _lowTier)
setBaseBonusMultiplier(uint256 _baseBonusMultiplier)
setFeeAddress(address _feeAddress)
setLoanAddress(address _loanAddress)
setReserveDays(uint256 _reserveDays)
setTransferFee(uint256 _transferFee)
transfer(address _to, uint256 _amount)
transferOwnership(address newOwner)
unpause()
updateTerm(uint256 _earnTermsId, uint256 _time, uint16 _usdcRate, uint64 _altaHighAmount, uint64 _altaMedAmount, uint64 _altaLowAmount, bool _otherTokens, bool _whitelist, address[] _tokensAccepted, uint256 _usdcMax, uint256 _usdcAccepted, bool _open)
withdraw(address _addr)
withdrawUSDC(address _addr)
BidMade(address indexed bidder, uint256 bidId)
ContractClosed(address indexed owner, uint256 earnContractId)
ContractForSale(uint256 earnContractId)
ContractOffMarket(uint256 earnContractId)
ContractOpened(address indexed owner, uint256 earnContractId)
EarnContractOwnershipTransferred(address indexed previousOwner, address indexed newOwner, uint256 earnContractId)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Paused(address account)
Unpaused(address account)
constructor(address _USDC, address _ALTA, address _loanAddress, address _feeAddress, struct EarnEarnContract[] migratedContracts)
This contract contains no fallback and receive objects.
This contract contains no error objects.