SeniorPool
Verified contract
Implementation
Active on
Ethereum with 2 txns
Storage
Map
Table
Raw
Constants and immutables
3
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
Balances ($0.00)
No balances found for "SeniorPool"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 13239669 | 3 years ago | | | 0 | 0.0054704973 | |
| 13239615 | 3 years ago | | | 0 | 0.022130288 |
ABI
ABI objects
Getter at block 21312110 assets() view returns (uint256)
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
OWNER_ROLE() view returns (bytes32)
0xb19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e
PAUSER_ROLE() view returns (bytes32)
0x65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a
compoundBalance() view returns (uint256)
0
config() view returns (address)
0x0000000000000000000000000000000000000000
isAdmin() view returns (bool)
false
paused() view returns (bool)
false
sharePrice() view returns (uint256)
0
totalLoansOutstanding() view returns (uint256)
0
totalWritedowns() view returns (uint256)
0
Read-only
calculateWritedown(uint256 tokenId) view returns (uint256)
estimateInvestment(address pool) view returns (uint256)
getNumShares(uint256 amount) view returns (uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
getRoleMember(bytes32 role, uint256 index) view returns (address)
getRoleMemberCount(bytes32 role) view returns (uint256)
hasRole(bytes32 role, address account) view returns (bool)
writedowns(address) view returns (uint256)
State-modifying
Events __BaseUpgradeablePausable__init(address owner)
__PauserPausable__init()
deposit(uint256 amount) returns (uint256 depositShares)
depositWithPermit(uint256 amount, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns (uint256 depositShares)
grantRole(bytes32 role, address account)
initialize(address owner, address _config)
invest(address pool)
investJunior(address pool, uint256 amount)
pause()
redeem(uint256 tokenId)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
sweepFromCompound()
sweepToCompound()
unpause()
updateGoldfinchConfig()
withdraw(uint256 usdcAmount) returns (uint256 amount)
withdrawInFidu(uint256 fiduAmount) returns (uint256 amount)
writedown(uint256 tokenId)
DepositMade(address indexed capitalProvider, uint256 amount, uint256 shares)
InterestCollected(address indexed payer, uint256 amount)
InvestmentMadeInJunior(address indexed tranchedPool, uint256 amount)
InvestmentMadeInSenior(address indexed tranchedPool, uint256 amount)
Paused(address account)
PrincipalCollected(address indexed payer, uint256 amount)
PrincipalWrittenDown(address indexed tranchedPool, int256 amount)
ReserveFundsCollected(address indexed user, uint256 amount)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
Unpaused(address account)
WithdrawalMade(address indexed capitalProvider, uint256 userAmount, uint256 reserveAmount)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.