# Smart Contracts

The Bustad protocol consists of several smart contracts deployed on the Ethereum mainnet. The contracts are written in Solidity, and most of the contracts are derived from Openzeppelin's template contracts to ensure that we follow best practices for smart contract development.

<table><thead><tr><th width="219">Name</th><th width="241">mainnet address</th><th>Description</th></tr></thead><tbody><tr><td><a href="https://etherscan.io/address/0xeE31e8597D972Cfd136042719BDbC8b24020f0D0">BustadToken</a></td><td><em>0xeE31e8597D972Cfd136042719BDbC8b24020f0D0</em></td><td>The ERC20 contract that makes up the Bustad coin (BUSC)</td></tr><tr><td><a href="https://etherscan.io/address/0x3505Aa51FE556c6E7eda81aA8F300e34969b79D4">GovernanceToken</a></td><td><em>0x3505Aa51FE556c6E7eda81aA8F300e34969b79D4</em></td><td>The ERC20 contract that makes up the Eigar token (EIG)</td></tr><tr><td><a href="https://etherscan.io/address/0xD2771916039CB99C548Ef5ff6Be20302df750535">Crowdsale</a></td><td><em>0xD2771916039CB99C548Ef5ff6Be20302df750535</em></td><td>Here is where the minting logic runs. This contract is responsible for exchanging ETH/DAI/USDC with minted BUSC.</td></tr><tr><td><a href="https://etherscan.io/address/0x1b02D5386527110542DbA906CD6a107eF9789D9B">GovernanceDistributor</a></td><td><em>0x1b02D5386527110542DbA906CD6a107eF9789D9B</em></td><td>This contract is responsible for distributing EIG when an address mints new BUSCs.</td></tr></tbody></table>

### Pausable

All of our smart contracts are pausable, meaning we have the possibility to pause critical functionalities when necessary. This will only be invoked in cases of major issues like a cyberattack or any unexpected events that may lead to a loss of funds for our token holders.

### Ownership / Admin

The ownership and admin rights for our smart contracts have been granted to a multisignature contract. Only this multisignature contract has the ability to make changes and invoke protected functionalities in the smart contract. The multisignature contract is set up with a 3-5 principle. [Click here to read more.](/bustad/technical-resources/smart-contracts/multisig-wallet.md)

### Audit

The smart contracts have been audited by an external blockchain security company. Follow this link if you want to read the full audit report:\
<https://www.rdauditors.com/wp-content/uploads/2022/06/Bustad-Smart-Contract-Security-Report.pdf>

### Source Code - Github

<https://github.com/Bustad-io>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://bustad.gitbook.io/bustad/technical-resources/smart-contracts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
