TransparentUpgradeableProxy

Verified contract

Proxy

Active on Ethereum with 5,646 txns
Deployed by via 0xdde7fdf8 at 17081894
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
Native
Value $18,920.06
ERC-20
Value $13,744.28
 (#797)
ERC-721
--
0x522edbd115bd13bb9922a85df552f0e5687d2cbcf5aff4ab027c23c4fbfe3ebc
0x701b6e5e76b0ec5ece1624f11b4deb21c7d6e6df4b4e7eb5dcd92d234f7864a4
0x60180244095c0697533ad3839deb20ea22e336da659f26b6b95a28b81dbabdf5
0xa44b81b417cf72d98d09d0f74acd812ddc92754fa82736e306aaa066f2f559b8
0xb4bd4f15efa7d60fa82f86f0ed308d2d2ffde9146663dbb2d7aafe43eb9fff0f
0x77b1a1e1e64de96965b69b00902ce40ee597bc44d94ca3a73bb03657d40a8f7e
0x146f5b7f622fb61228ece6236c7529d5a434881381cb31261656344b82c142f2
0x59b5839e9b0a3c227d3e58980ff492eeff74c9d2e9ae65322207302bce93605d
0xf67bf9a8e28ebff7d99e0db3d031651b40599353c10c6444876c41eebdb02617
0xf6b9c854003aa8369e9078ee9e43413eb35d782b2e99ae133943c4e6a995e988

Functions
Getter at block 21157468
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
Read-only
claimableServiceFee(addressview returns (uint256)
getCurrencyAddressByPlanId(uint256 planIdview returns (address)
getPaymentInfoByPlanId(uint256 planIdbool isEarlyPaymentview returns (uint256uint256uint256uint256uint256)
getPlanStatus(uint256 planIdview returns (uint8)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
items(uint256view returns (uint256 amountuint256 tokenIdaddress contractAddressaddress cyanVaultAddressuint8 itemType)
paymentPlan(uint256view returns (struct Plan planuint256 createdDateaddress cyanWalletAddressuint8 status)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
admin(returns (address admin_)
changeAdmin(address newAdmin
implementation(returns (address implementation_)
upgradeTo(address newImplementation
upgradeToAndCall(address newImplementationbytes datapayable 
activateBNPL(uint256[] planIds
claimServiceFee(address currencyAddress
createBNPL(struct Item itemstruct Plan planuint256 planIduint256 signedBlockNumbytes signaturepayable 
createPawn(struct Item itemstruct Plan planuint256 planIduint256 signedBlockNumbytes signature
createPawnByRefinance(struct Item itemstruct Plan planuint256 planIduint256 existingPlanIduint256 signedBlockNumbytes signaturepayable 
createPawnFromBendDao(struct Item itemstruct Plan planuint256 planIduint256 signedBlockNumbytes signature
earlyUnwindCyan(uint256 planIduint256[2] apePlanIdsuint256 sellPriceaddress cyanBuyerAddressuint256 signatureExpiryDatebytes signature
earlyUnwindOpensea(uint256 planIduint256[2] apePlanIdsuint256 sellPricebytes offeruint256 signatureExpiryDatebytes signature
fundBNPL(uint256[] planIds
grantRole(bytes32 roleaddress account
initialize(address _cyanSigneraddress _cyanSuperAdminaddress _walletFactory
liquidate(uint256 planIduint256[2] apePlanIdsuint256 estimatedValue
pay(uint256 planIdbool isEarlyPaymentpayable 
rejectBNPL(uint256 planIdpayable 
renounceRole(bytes32 roleaddress account
revive(uint256 planIduint256 penaltyAmountuint256 signatureExpiryDatebytes signaturepayable 
revokeRole(bytes32 roleaddress account
setAutoRepayStatus(uint256 planIduint8 autoRepayStatus
triggerAutoRepay(uint256 planId
updateCyanSignerAddress(address _cyanSigner
updateWalletFactoryAddress(address factory
Events
AdminChanged(address previousAdminaddress newAdmin
BeaconUpgraded(address indexed beacon
Upgraded(address indexed implementation
ClaimedServiceFee(address indexed currencyuint256 indexed amount
Completed(uint256 indexed planId
CompletedByRevival(uint256 indexed planIduint256 penaltyAmount
CompletedEarly(uint256 indexed planIduint8 indexed paidNumOfPayment
CreatedBNPL(uint256 indexed planId
CreatedPawn(uint256 indexed planIduint8 createType
EarlyUnwind(uint256 indexed planId
Initialized(uint8 version
LiquidatedPaymentPlan(uint256 indexed planIduint256 indexed estimatedPriceuint256 indexed unpaidAmount
Paid(uint256 indexed planId
Revived(uint256 indexed planIduint256 penaltyAmount
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
SetAutoRepayStatus(uint256 indexed planIduint8 indexed autoRepayStatus
UpdatedBNPL(uint256 indexed planIduint8 indexed planStatus
UpdatedCyanSigner(address indexed signer
UpdatedWalletFactory(address indexed factory
Constructor
constructor(address _logicaddress admin_bytes _data
Fallback and receive
fallback(
receive(
receive(
Errors
EthTransferFailed(
InvalidAddress(
InvalidAmount(
InvalidAutoRepaymentDate(
InvalidAutoRepaymentStatus(
InvalidCurrency(
InvalidCyanBuyer(
InvalidItem(
InvalidPaidCount(
InvalidReviveDate(
InvalidSender(
InvalidSignature(
InvalidStage(
PaymentPlanAlreadyExists(
PaymentPlanNotFound(