EngenCredits
Deployment Address
Mainnet: 0xb2F2BF932105A192566b56643BCa738eec06b3f1
Code: EngenCredits.sol
Basics
Phase-based Points System: Includes mechanisms to assign and calculate user points based on different phases of Engen.
Activity-Based User Minting: Users can mint credits based on their activities and points earned.
State functions
initialize
Initializes the EngenCredits contract.
No parameters.
mint (only callable by admin)
Mints Engen tokens to a specified address.
Parameter | Type | Explanation |
---|---|---|
|
| The address to mint tokens for. |
|
| The amount of tokens to mint. |
setTransfersEnabled (only callable by admin)
Enables or disables transfers of Engen tokens.
Parameter | Type | Explanation |
---|---|---|
|
|
|
setBurnsEnabled (only callable by admin)
Enables or disables burning of Engen tokens.
Parameter | Type | Explanation |
---|---|---|
|
|
|
setPhase1Override (only callable by admin)
Sets the phase 1 override points for specified wallets.
Parameter | Type | Explanation |
---|---|---|
|
| Array of wallet addresses. |
|
| Corresponding points for each wallet. |
mintCredits
Mints credits for the user based on their activity.
No parameters.
View functions
calculatePoints
Calculates the points for a user based on their engagement in different phases of Engen.
Parameter | Type | Explanation |
---|---|---|
|
| The wallet address to check. |
Last updated