# MEGA

The MEGA smart contract is Megaton Finance's governance token that complies with the Jetton standard.

## Code

Github Link: (Will be updated)

## Address

* Mainnet : (Will be updated after official launch)

## Read-Only Functions

{% tabs %}
{% tab title="MEGA Minter" %}
**get\_jetton\_data**

```
(int, int, slice, cell, cell) get_jetton_data() method_id
```

* int totalSupply
* int mintable
* slice admin\_address
* cell mega\_content
* cell mega\_wallet\_code

**get\_jetton\_extra\_data**

```
(slice) get_jetton_extra_data() method_id
```

* slice minter\_address

**get\_wallet\_address**

```
slice get_wallet_address(slice owner_address) method_id
```

* slice user\_wallet\_address
  {% endtab %}

{% tab title="MEGA Wallet" %}
**get\_wallet\_data**

```
(int, slice, slice, cell) get_wallet_data() method_id
```

* int balance
* slice owner
* slice mega\_minter\_address
* cell mega\_wallet\_code
  {% endtab %}
  {% endtabs %}

#### Reference

* Jettons standard description : [TEP74](https://github.com/ton-blockchain/TEPs/blob/master/text/0074-jettons-standard.md) & [TEP89](https://github.com/ton-blockchain/TEPs/blob/master/text/0089-jetton-wallet-discovery.md)
