SeniorPool

Verified contract

Implementation

Active on Ethereum with 2 txns
Deployed by via 0x8cddc79b at 13096872
Slot
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

No balances found for "SeniorPool"

0x819bf73a2f087a0f5ca8685e9b64c3f2c018f1fe6c79b8777667b43c714e3b78
0xc5e8b1ed89010b2f026595d07fa64bb4bf35b332db858d1fd6346571d382d872

Functions
Getter at block 21312110
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
OWNER_ROLE(view returns (bytes32)
0xb19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e
PAUSER_ROLE(view returns (bytes32)
0x65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a
 
assets(view returns (uint256)
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 tokenIdview returns (uint256)
estimateInvestment(address poolview returns (uint256)
getNumShares(uint256 amountview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
writedowns(addressview returns (uint256)
State-modifying
__BaseUpgradeablePausable__init(address owner
__PauserPausable__init(
deposit(uint256 amountreturns (uint256 depositShares)
depositWithPermit(uint256 amountuint256 deadlineuint8 vbytes32 rbytes32 sreturns (uint256 depositShares)
grantRole(bytes32 roleaddress account
initialize(address owneraddress _config
invest(address pool
investJunior(address pooluint256 amount
pause(
redeem(uint256 tokenId
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
sweepFromCompound(
sweepToCompound(
unpause(
updateGoldfinchConfig(
withdraw(uint256 usdcAmountreturns (uint256 amount)
withdrawInFidu(uint256 fiduAmountreturns (uint256 amount)
writedown(uint256 tokenId
Events
DepositMade(address indexed capitalProvideruint256 amountuint256 shares
InterestCollected(address indexed payeruint256 amount
InvestmentMadeInJunior(address indexed tranchedPooluint256 amount
InvestmentMadeInSenior(address indexed tranchedPooluint256 amount
Paused(address account
PrincipalCollected(address indexed payeruint256 amount
PrincipalWrittenDown(address indexed tranchedPoolint256 amount
ReserveFundsCollected(address indexed useruint256 amount
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Unpaused(address account
WithdrawalMade(address indexed capitalProvideruint256 userAmountuint256 reserveAmount
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.