---
# System prepended metadata

title: GORO - Authority Remunerations

---

## Basic cost calculations

Indonesia is [ranked 4 of 234 cheapest (average) per GB](https://www.cable.co.uk/mobiles/worldwide-data-pricing/2022/2022_global_mobile_data_price_comparison.xlsx), it costs about IDR
7,000 per GB for either inbound or outbound. Because we must (at least)
covers any network contributors activities, we must treat any transaction as
both inbound and outbound, therefore we consider it as 14,000 per GB.

Because we assume 1 GORO/KRIGAN equals to IDR 1,000, we calculated that each
byte costs about IDR 14,000 / 1,000,000,000. Resulting:
- 1 GB = 14 GORO/KRIGAN
- 1 MB = 14 milli GORO/KRIGAN
- 1 KB = 14 micro GORO/KRIGAN
- 1  B = 14 nano GORO/KRIGAN

Also, each transactions would incure CPU/RAM processing, so we must consider
an energy tax for giving attention to such modification request
(extrinsics). During this network phase, IDR 0.01 would suffice when the
system capacity is 1000 TPS. A maxed out capacity would costs:
- IDR 10 per second
- IDR 600 per minute
- IDR 36,000 per hour
- IDR 864,000 per day
- IDR 25,920,000 per month

By above calculations, we already incentivized enough if we also assumed
that network contributors uses highly energy efficient computational
resources.

```rust
pub const TOKEN_DIGIT: u32 = 9;
pub const TOKEN: Balance = 10_u128.pow(TOKEN_DIGIT);
pub const TOKEN_MILLIS: Balance = TOKEN / 1_000;
pub const TOKEN_MICROS: Balance = TOKEN_MILLIS / 1_000;
pub const TOKEN_NANOS: Balance = TOKEN_MICROS / 1_000;
pub const TOKEN_CENTS: Balance = TOKEN / 100;
pub const TOKEN_MILLICENTS: Balance = TOKEN_CENTS / 1_000;

pub const fn get_deposit(items_count: u32, bytes_length: u32) -> Balance {
    const TOKEN_PER_BYTE: Balance = 14 * TOKEN_NANOS;
    const TOKEN_PER_ITEM: Balance = TOKEN_CENTS;

    let items = items_count as Balance;
    let bytes = bytes_length as Balance;
    let item_cost = items * TOKEN_PER_ITEM;
    let byte_cost = bytes * TOKEN_PER_BYTE;

    item_cost + byte_cost
}
```