CyanPaymentPlanV2
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
7
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
Balances ($0.00)
No balances found for "CyanPaymentPlanV2"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "CyanPaymentPlanV2"
ABI
ABI objects
Getter at block 21296705
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
Read-only
claimableServiceFee(address) view returns (uint256)
getCurrencyAddressByPlanId(uint256 planId) view returns (address)
getPaymentInfoByPlanId(uint256 planId, bool isEarlyPayment) view returns (uint256, uint256, uint256, uint256, uint256)
getPlanStatus(uint256 planId) view returns (uint8)
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
items(uint256) view returns (uint256 amount, uint256 tokenId, address contractAddress, address cyanVaultAddress, uint8 itemType)
paymentPlan(uint256) view returns (struct Plan plan, uint256 createdDate, address cyanWalletAddress, uint8 status)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events activateBNPL(uint256[] planIds)
claimServiceFee(address currencyAddress)
createBNPL(struct Item item, struct Plan plan, uint256 planId, uint256 signedBlockNum, bytes signature) payable
createPawn(struct Item item, struct Plan plan, uint256 planId, uint256 signedBlockNum, bytes signature)
createPawnByRefinance(struct Item item, struct Plan plan, uint256 planId, uint256 existingPlanId, uint256 signedBlockNum, bytes signature) payable
createPawnFromBendDao(struct Item item, struct Plan plan, uint256 planId, uint256 signedBlockNum, bytes signature)
earlyUnwindCyan(uint256 planId, uint256[2] apePlanIds, uint256 sellPrice, address cyanBuyerAddress, uint256 signatureExpiryDate, bytes signature)
earlyUnwindOpensea(uint256 planId, uint256[2] apePlanIds, uint256 sellPrice, bytes offer, uint256 signatureExpiryDate, bytes signature)
fundBNPL(uint256[] planIds)
grantRole(bytes32 role, address account)
initialize(address _cyanSigner, address _cyanSuperAdmin, address _walletFactory)
liquidate(uint256 planId, uint256[2] apePlanIds, uint256 estimatedValue)
pay(uint256 planId, bool isEarlyPayment) payable
rejectBNPL(uint256 planId) payable
renounceRole(bytes32 role, address account)
revive(uint256 planId, uint256 penaltyAmount, uint256 signatureExpiryDate, bytes signature) payable
revokeRole(bytes32 role, address account)
setAutoRepayStatus(uint256 planId, uint8 autoRepayStatus)
triggerAutoRepay(uint256 planId)
updateCyanSignerAddress(address _cyanSigner)
updateWalletFactoryAddress(address factory)
ClaimedServiceFee(address indexed currency, uint256 indexed amount)
Completed(uint256 indexed planId)
CompletedByRevival(uint256 indexed planId, uint256 penaltyAmount)
CompletedEarly(uint256 indexed planId, uint8 indexed paidNumOfPayment)
CreatedBNPL(uint256 indexed planId)
CreatedPawn(uint256 indexed planId, uint8 createType)
EarlyUnwind(uint256 indexed planId)
Initialized(uint8 version)
LiquidatedPaymentPlan(uint256 indexed planId, uint256 indexed estimatedPrice, uint256 indexed unpaidAmount)
Paid(uint256 indexed planId)
Revived(uint256 indexed planId, uint256 penaltyAmount)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
SetAutoRepayStatus(uint256 indexed planId, uint8 indexed autoRepayStatus)
UpdatedBNPL(uint256 indexed planId, uint8 indexed planStatus)
UpdatedCyanSigner(address indexed signer)
UpdatedWalletFactory(address indexed factory)
constructor()
receive()
EthTransferFailed()
InvalidAddress()
InvalidAmount()
InvalidAutoRepaymentDate()
InvalidAutoRepaymentStatus()
InvalidCurrency()
InvalidCyanBuyer()
InvalidItem()
InvalidPaidCount()
InvalidReviveDate()
InvalidSender()
InvalidSignature()
InvalidStage()
PaymentPlanAlreadyExists()
PaymentPlanNotFound()