-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathBotanixMainModule.php
More file actions
29 lines (25 loc) · 1.05 KB
/
BotanixMainModule.php
File metadata and controls
29 lines (25 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php declare(strict_types = 1);
/* Idea (c) 2023 Nikita Zhavoronkov, nikzh@nikzh.com
* Copyright (c) 2023-2024 3xpl developers, 3@3xpl.com, see CONTRIBUTORS.md
* Distributed under the MIT software license, see LICENSE.md */
/* This is the main Botanix module. It requires either a geth node to run. */
final class BotanixMainModule extends EVMMainModule implements Module, BalanceSpecial, TransactionSpecials, AddressSpecials, BroadcastTransactionSpecial
{
function initialize()
{
// CoreModule
$this->blockchain = 'botanix';
$this->module = 'botanix-main';
$this->is_main = true;
$this->first_block_date = '2023-11-22';
$this->currency = 'botanix-bitcoin';
$this->currency_details = ['name' => 'Bitcoin', 'symbol' => 'BTC', 'decimals' => 18, 'description' => null];
// EVMMainModule
$this->evm_implementation = EVMImplementation::geth;
$this->extra_features = [];
$this->reward_function = function($block_id)
{
return '0';
};
}
}