ERC1967Proxy

Verified contract

Proxy

Active on Ethereum with 2,808 txns
Deployed by via 0x62f59ff0 at 15041013
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 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
2 additional variables
ERC-20
--
 (#301)
ERC-1555
--
 (#2)
ERC-1555
--
0x9b4ee799b2d8b39272e5237b9b0147c5569ec256f21f5a7b477ae71dfb62ac93
0xd2054c3077529562a9b1a5742b0000667202e9b29d5cc89dc103f6a1438dab03
0x1bb545b202cdd243e8eb26ba945c138d756d52c450935e5d24975d10a14739fb
0x27ba4ca9e3d4843ad38de1ec10032e6da297e64e1a428e9fc6b425605936708f
0xb496f0aa1c874a8dd70efefdb124132155de87fc945da9ffd603b2da57ef8257
0x14089e6402c17ec843cb3bb905dcf092a8c69b3f322ace8afd680b019a6e03db
0x796eb8aa7d3fcd1f9baf5e6e6a89e3f7253e2d4045954b6e55578a09666a41e2
0xce818e6019e7119e14a630d5eab979abd3d3f4039300588c8f424ab0981e4b0c
0x7f31066ae34bf1eca5d0fbe3cad71be6c862b14b1ac76fc44fbcc9612d888e8d
0x20770147e4d1866fc6816ab6c08196498e6062ea3758d665e2c5662cc4c893d3

Functions
Getter at block 21284139
ADMIN_ROLE(view returns (bytes32)
0xa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c21775
BASIS_POINTS_DENOMINATOR(view returns (uint256)
10000
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
INSTALLMENT_PERIOD_MULTIPLIER(view returns (uint256)
1000000
INTEREST_RATE_DENOMINATOR(view returns (uint256)
1000000000000000000
LATE_FEE(view returns (uint256)
50
loanCore(view returns (address)
0x81b2f8fc75bab64a6b144aa6d2faa127b4fa7fd9
 
proxiableUUID(view returns (bytes32)
Read-only
allowedVerifiers(addressview returns (bool)
getFullInterestAmount(uint256 principaluint256 interestRatepure returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
hasRole(bytes32 roleaddress accountview returns (bool)
isAllowedVerifier(address verifierview returns (bool)
isApproved(address owneraddress signerview returns (bool)
isApprovedForContract(address targetstruct IOriginationControllerSignature sigbytes32 sighashview returns (bool)
isSelfOrApproved(address targetaddress signerview returns (bool)
recoverItemsSignature(struct LoanLibraryLoanTerms loanTermsstruct IOriginationControllerSignature siguint160 nonceuint8 sidebytes32 itemsHashview returns (bytes32 sighashaddress signer)
recoverTokenSignature(struct LoanLibraryLoanTerms loanTermsstruct IOriginationControllerSignature siguint160 nonceuint8 sideview returns (bytes32 sighashaddress signer)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
approve(address signerbool approved
grantRole(bytes32 roleaddress account
initialize(address _loanCore
initializeLoan(struct LoanLibraryLoanTerms loanTermsaddress borroweraddress lenderstruct IOriginationControllerSignature siguint160 noncereturns (uint256 loanId)
initializeLoanWithCollateralPermit(struct LoanLibraryLoanTerms loanTermsaddress borroweraddress lenderstruct IOriginationControllerSignature siguint160 noncestruct IOriginationControllerSignature collateralSiguint256 permitDeadlinereturns (uint256 loanId)
initializeLoanWithCollateralPermitAndItems(struct LoanLibraryLoanTerms loanTermsaddress borroweraddress lenderstruct IOriginationControllerSignature siguint160 noncestruct IOriginationControllerSignature collateralSiguint256 permitDeadlinestruct LoanLibraryPredicate[] itemPredicatesreturns (uint256 loanId)
initializeLoanWithItems(struct LoanLibraryLoanTerms loanTermsaddress borroweraddress lenderstruct IOriginationControllerSignature siguint160 noncestruct LoanLibraryPredicate[] itemPredicatesreturns (uint256 loanId)
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
rolloverLoan(uint256 oldLoanIdstruct LoanLibraryLoanTerms loanTermsaddress lenderstruct IOriginationControllerSignature siguint160 noncereturns (uint256 newLoanId)
rolloverLoanWithItems(uint256 oldLoanIdstruct LoanLibraryLoanTerms loanTermsaddress lenderstruct IOriginationControllerSignature siguint160 noncestruct LoanLibraryPredicate[] itemPredicatesreturns (uint256 newLoanId)
setAllowedVerifier(address verifierbool isAllowed
setAllowedVerifierBatch(address[] verifiersbool[] isAllowed
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
Events
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
Upgraded(address indexed implementation
AdminChanged(address previousAdminaddress newAdmin
Approval(address indexed owneraddress indexed signerbool isApproved
BeaconUpgraded(address indexed beacon
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
SetAllowedVerifier(address indexed verifierbool isAllowed
Upgraded(address indexed implementation
Constructor
constructor(address _logicbytes _data
Fallback and receive
fallback(
receive(
Errors
FIAC_InterestRate(uint256 interestRate
OC_ApprovedOwnLoan(address caller
OC_BatchLengthMismatch(
OC_CallerNotParticipant(address caller
OC_InterestRate(uint256 interestRate
OC_InvalidSignature(address targetaddress signer
OC_InvalidState(uint8 state
OC_InvalidVerifier(address verifier
OC_LoanDuration(uint256 durationSecs
OC_NumberInstallments(uint256 numInstallments
OC_PredicateFailed(address verifierbytes dataaddress vault
OC_PredicatesArrayEmpty(
OC_PrincipalTooLow(uint256 principal
OC_RolloverCollateralMismatch(address oldCollateralAddressuint256 oldCollateralIdaddress newCollateralAddressuint256 newCollateralId
OC_RolloverCurrencyMismatch(address oldCurrencyaddress newCurrency
OC_SelfApprove(address caller
OC_SignatureIsExpired(uint256 deadline
OC_ZeroAddress(