WRK, the native token of the WorkOfficially platform, empowers both freelancers and clients within its ecosystem. Here's a detailed look at its technical specifications:
uint256 releaseTime = 2524608000;
createVesting(msg.sender, lockedAmount, releaseTime);
// Declares a variable releaseTime of type uint256 (unsigned 256-bit integer).
// Sets the release time for the locked tokens to January 1, 2050, 00:00:00 GMT.
// Calls the function to create a vesting schedule for the contract creator.
Key Functionalities:
Standard BEP-20: Implements core functions for token transfers, approvals, and allowances.
Reentrancy Guard: Protects against reentrancy attacks.
Ownership Control: Utilizes OpenZeppelin's Ownable contract for transparent ownership management.
Pausable: Contract owner can pause transfers for security or maintenance.
Token Burning: Users can burn their tokens to reduce total supply.
Vesting: Supports vesting schedules for defined token release times.
Snapshot Capabilities: Captures token balances at specific times for historical tracking.
Disabled Mint Function: No new WRK tokens can be created, ensuring fixed supply.
Events: Emitted events for various actions like transfers, approvals, burning, vesting, and snapshots.
Security Features:
Reentrancy Guard: Protects against reentrancy attacks.