📑Biswap Smart Contracts

BSW token contract

0x965F527D9159dCe6288a2219DB51fc6Eef120dD1

A token contract is simply a smart contract. A BEP-20 token contract is defined by the contract’s address and the total supply of tokens available to it but has several optional items that are usually provided as well to provide more detail to users. These are the token’s name, its symbol, and the number of decimals. BEP-20: the most widespread token standard for crypto assets on BNB Chain.

Factory contract

0x858E3312ed3A876947EA49d572A7C42DE08af7EE

The factory design pattern is a pretty common pattern used in programming. The idea is simple, instead of creating objects directly, you have the Factory that creates objects for you. In the case of a Factory smart contract, an object is a smart contract, so a factory will deploy new contracts for you.

Router contract

0x3a6d8cA21D1CF76F653A67577FA0D27453350dD8

The easiest way to securely exchange tokens is to interact with the router, which provides many methods to securely exchange "to" and "from" different assets. It is essential to understand that the router performs both the exchange of token A to token B, as well as the exchange of token A + token B to AB LP tokens and vice versa. Since routers are stateless and do not store token balances, they can be safely replaced if necessary. This can happen if more efficient smart contract models are discovered or if additional functionality is needed.

Masterchef contract

0xDbc1A13490deeF9c3C12b44FE77b503c1B061739

The Masterchef contract is the core of the functionality that is provided by the project. It controls emission rates, minting, pools, deposit fees, etc. If you stake your BSW to BSW-BSW Launchpools or your LP tokens to the farm, they will be sent to the Masterchef address. The Masterchef is owned by the timelock, meaning that all significant changes to the Masterchef must go through the timelock first.

Timelock contract

0xf5D6fed0f4735Ff2036cE4be535bD32e77dAE9fe

A timelock is a smart contract that delays function calls of another smart contract after a predetermined amount of time has passed. Timelocks are primarily used in the context of governance to add a delay in administrative actions and are generally considered a strong indicator that a project is legitimate and demonstrates a commitment to the project by project owners.

Here are the reasons for implementing a timelock:

  • Project owners give up control to provide more guarantees to the community

  • Timelocks allow investors to exit the protocol in time if necessary

  • Project admins are required to be transparent with holders/investors

Dev address

0x0453365D79caa442e50DbeD2Ce2AEA02AE337183

With this address, every user can track our team's transactions. 9% of tokens from each block are sent to this address, according to our Tokenomics.

Last updated