NEKO Token Contract
ERC-20/BEP-20 Token Contract

Mint Operation

The NEKO token is a farming token that does not have a fixed cap. The generation of NEKO is subject to the claiming activities by the users on the core protocol.
The NEKO token balance that the users can claim is pre-minted in the farming contract periodically. For instance, because the emission rate is 72,000 NEKO per day before the first rate cutdown, every week the team must mint 504,000 NEKO to make sure the balance in the smart contract is sufficient for claiming.
The mint operation is protected by a series of timelock methods and a multi-sig mechanism.

Timelock

    Every mint operation takes 48 hours to be effective.
    The maximum amount of each mint is 504,000 NEKO.
    Every mint operation has a 72 hours cooldown period minimally.
    Changing the owner requires 24 hours to be effective.

Multi-Sig

Currently to permit any operation requires 2/3 signature from the designative accounts.
After ISO, at least one community leader will be nominated as the owner of one designative account.
NEKO BEP-20 contact address on BSC: 0xDedF440AD8bf07729EAD58F4fF52edaB20d2628d
The code of the smart contract is open-sourced here.

Methods

addPermitOwners()

addPermitOwners(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s)
This is to add a new owner address.
Parameter
Type
Description
owner
address
Current admin address
spender
address
New admin address
value
uint256
Default: 0
deadline
uint256
Default: T+1min
v
uint8
Signature parameter
r
bytes32
Signature parameter
s
bytes32
Signature parameter

removePermitOwners()

removePermitOwners(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s)
This is to remove an existing owner address.
Parameter
Type
Description
owner
address
Current admin address
spender
address
The admin address to remove
value
uint256
Default: 0
deadline
uint256
Default: T+1min
v
uint8
Signature parameter
r
bytes32
Signature parameter
s
bytes32
Signature parameter

lockMint()

lockMint(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s)
This is to import value to mint locked tokens.
Parameter
Type
Description
owner
address
Current admin address
spender
address
The address with a zero value
value
uint256
The amount to lockMint
deadline
uint256
Default: T+1min
v
uint8
Signature parameter
r
bytes32
Signature parameter
s
bytes32
Signature parameter

unlockMint()

unlockMint(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s)
This is to import value and spender in order to unlock the newly minted tokens.
Parameter
Type
Description
owner
address
Current admin address
spender
address
The address to receive the tokens
value
uint256
The amount to unlockMint
deadline
uint256
Default: T+1min
v
uint8
Signature parameter
r
bytes32
Signature parameter
s
bytes32
Signature parameter

recall()

recall(uint256 state, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s)
This is to import state in order to revoke.
Parameter
Type
Description
state
uint256
See the list below
owner
address
Current admin address
spender
address
The address with a zero value
value
uint256
Default: 0
deadline
uint256
Default: T+1min
v
uint8
Signature parameter
r
bytes32
Signature parameter
s
bytes32
Signature parameter
state:
Number
Description
0
Empty
1
LockMint
2
UnLockMint
3
AddOwner
4
RemoveOwner
5
ChangeOwner
6
Recall

changeOwner()

changeOwner(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s)
This is to change the owner address.
Parameter
Type
Description
owner
address
New owner address
spender
address
The address with a zero value
value
uint256
The address with a zero value
deadline
uint256
Default: T+1min
v
uint8
Signature parameter
r
bytes32
Signature parameter
s
bytes32
Signature parameter
Last modified 2mo ago