Smart Contract Overview

The AgriBrikToken contract is built on Solidity 0.8.20 and adheres to the ERC20 standard. It is deployed on the Binance Smart Chain (BSC). Key features include:

Initialization:

  • Constructor initializes the token with its name, symbol, and decimals.

  • Owner receives an initial supply of 5 million tokens.

Minting Functionality:

  • The owner can mint additional tokens within the maximum supply cap.

Fee Mechanism:

  • A total fee of 3% is applied to each transaction.

  • Fees are split between treasury (2%) and operational funds (1%).

Security and Upgradability:

  • Built using OpenZeppelin’s upgradable contracts for flexibility.

  • ReentrancyGuard is incorporated to prevent reentrancy attacks.

Last updated