Smart Contract Function Variables
AuthorizedConsumerSet
Triggered when a consumer's authorization status is set.
| Parameter Name | Parameter Type | Description |
|---|---|---|
consumer | address | The address of the consumer. |
isAuthorized | bool | The new authorization status. |
TimeBasedDiscountSet
Triggered when the time-based discount is set.
| Parameter Name | Parameter Type | Description |
|---|---|---|
oldMin | uint256 | The old minimum time-based discount. |
oldMax | uint256 | The old maximum time-based discount. |
min | uint256 | The new minimum time-based discount. |
max | uint256 | The new maximum time-based discount. |
AmountBasedDiscountSet
Triggered when the amount-based discount is set.
| Parameter Name | Parameter Type | Description |
|---|---|---|
oldMin | uint256 | The old minimum amount-based discount. |
oldMax | uint256 | The old maximum amount-based discount. |
min | uint256 | The new minimum amount-based discount. |
max | uint256 | The new maximum amount-based discount. |
DiscountNFTSet
Triggered when the discount NFT is set.
| Parameter Name | Parameter Type | Description |
|---|---|---|
oldAddress | address |
