Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ function _collectPriceOnClaim(
│ │ ├── when msg.value does not equal totalPrice
│ │ │ └── it should revert ✅
│ │ └── when msg.value does equal totalPrice
│ │ ├── platformFees (totalPrice * platformFeeBps / MAX_BPS) should be transfered to platformFeeRecipient ✅
│ │ └── totalPrice - platformFees should be transfered to primarySaleRecipient() ✅
│ │ ├── platformFees (totalPrice * platformFeeBps / MAX_BPS) should be transferred to platformFeeRecipient ✅
│ │ └── totalPrice - platformFees should be transferred to primarySaleRecipient() ✅
│ └── when currency is not native token
│ ├── when msg.value is not equal to zero
│ │ └── it should revert ✅
│ └── when msg.value is equal to zero
│ ├── platformFees (totalPrice * platformFeeBps / MAX_BPS) should be transfered to platformFeeRecipient ✅
│ └── totalPrice - platformFees should be transfered to primarySaleRecipient() ✅
│ ├── platformFees (totalPrice * platformFeeBps / MAX_BPS) should be transferred to platformFeeRecipient ✅
│ └── totalPrice - platformFees should be transferred to primarySaleRecipient() ✅
└── when _primarySaleRecipient is not equal to address(0)
├── when totalPrice is equal to zero
│ └── it should revert ✅
Expand All @@ -34,11 +34,11 @@ function _collectPriceOnClaim(
│ ├── when msg.value does not equal totalPrice
│ │ └── it should revert ✅
│ └── when msg.value does equal totalPrice
│ ├── platformFees (totalPrice * platformFeeBps / MAX_BPS) should be transfered to platformFeeRecipient ✅
│ └── totalPrice - platformFees should be transfered to _primarySaleRecipient ✅
│ ├── platformFees (totalPrice * platformFeeBps / MAX_BPS) should be transferred to platformFeeRecipient ✅
│ └── totalPrice - platformFees should be transferred to _primarySaleRecipient ✅
└── when currency is not native token
├── when msg.value is not equal to zero
│ └── it should revert ✅
└── when msg.value is equal to zero
├── platformFees (totalPrice * platformFeeBps / MAX_BPS) should be transfered to platformFeeRecipient ✅
└── totalPrice - platformFees should be transfered to _primarySaleRecipient ✅
├── platformFees (totalPrice * platformFeeBps / MAX_BPS) should be transferred to platformFeeRecipient ✅
└── totalPrice - platformFees should be transferred to _primarySaleRecipient ✅