Seilor
Last updated
Last updated
Kryptonite is an open-source Decentralized Autonomous Organization (DAO) project. It is governed by individuals worldwide who hold its governance token, SEILOR. Through a governance system that includes Executive Voting and Governance Polling, SEILOR holders can influence the protocol's direction. The SEILOR token is the native token of the kryptonite Protocol, providing essential functionalities such as staking, governance, minting, and liquidator rewards. SEILOR is an ERC-20 governance token with a maximum supply of 100,000,000. SEILOR holders manage the kryptonite Protocol and oversee the financial risks associated with kUSD to ensure stability, transparency, and efficiency. The voting weight of SEILOR is proportional to the amount staked by a voter in the voting contract. In other words, the more SEILOR tokens locked in the contract, the greater the voter's decision-making power.
Key | Type | Description |
---|---|---|
* = optional
* = optional
Updates the configuration of the contract. Can only be issued by the owner.
Only with the "mintable" extension. If authorized, creates amount new tokens and adds to the recipient balance.
Burn is a base message to destroy tokens forever
Transfer is a base message to move tokens to another account without triggering actions
Send is a base message to transfer tokens to a contract and trigger an action on the receiving contract.
Only with "approval" extension. Allows spender to access an additional amount tokens from the owner's (env.sender) account. If expires is Some(), overwrites current allowance expiration with this one.
* = optional
Only with "approval" extension. Lowers the spender's access of tokens from the owner's (env.sender) account by amount. If expires is Some(), overwrites current allowance expiration with this one.
* = optional
Only with "approval" extension. Transfers amount tokens from owner -> recipient if env.sender has sufficient pre-approval.
Only with "approval" extension. Sends amount tokens from owner -> contract if env.sender has sufficient pre-approval.
Only with "approval" extension. Destroys tokens forever.
Only with the "mintable" extension. The current minter may set a new minter. Setting the minter to None will remove the token's minter forever.
* = optional
Only with the "marketing" extension. If authorized, updates marketing metadata. Setting None/null for any of these will leave it unchanged. Setting Some("") will clear this field on the contract storage
* = optional
If set as the "marketing" role on the contract, upload a new URL, SVG, or PNG for the token
Gets the SEILOR contract configuration.
Returns the current balance of the given address, 0 if unset. Return type: BalanceResponse.
Returns metadata on the contract - name, decimals, supply, etc. Return type: TokenInfoResponse
Only with "allowance" extension. Returns how much spender can use from owner account, 0 if unset. Return type: AllowanceResponse.
Only with "mintable" extension. Returns who can mint and the hard cap on maximum tokens after minting. Return type: MinterResponse.
* = optional
Only with "marketing" extension Returns more metadata on the contract to display in the client:
description, logo, project url, etc. Return type: MarketingInfoResponse.
Only with "marketing" extension Downloads the embedded logo data (if stored on chain). Errors if no logo data stored for this contract. Return type: DownloadLogoResponse.
When we download an embedded logo, we get this response type. We expect a SPA to be able to accept this info and display it.
Only with "enumerable" extension (and "allowances") Returns all allowances this owner has approved. Supports pagination. Return type: AllAllowancesResponse.
Only with "enumerable" extension Returns all accounts that have balances. Supports pagination. Return type: AllAccountsResponse.
* = optional
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
Key | Valu | Description |
---|---|---|
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
max_supply
u128
SEILOR token max supply
fund
Addr
The address of fund
gov
Addr
The address of the governance contract
distribute
Addr
The address of distribute
new_gov*
Addr
The address of the new governance contract
cross_chain_swap_contract*
Addr
The address of the cross chain swap contract
cw20_init_msg
Cw20InstantiateMsg
The cw20 initialization message structure based on the cw20_base library
max_supply
u128
SEILOR token max supply
gov*
Addr
The address of the governance contract
seilor_fund*
Addr
The address of fund
gov*
Addr
The address of the new governance contract
seilor_distribute*
Addr
The address of distribute
recipient
String
Recipient's address
amount
Uint128
Amount to be minted
amount
Uint128
Amount to be burned
recipient
String
Recipient's address
amount
Uint128
Amount to be transfered
contract
String
The contract to be trigger on action
amount
Uint128
Amount to be transfered
msg
Binary
Message to be sent
spender
String
The spender's address
amount
Uint128
Amount to increase for allowance
expires*
Expiration
Expiration time
spender
The spender's address
amount
Amount to decrease for allowance
expires*
Expiration time
owner
String
The owner's address
recipient
String
The address of recipient
amount
Uint128
Amount to be transfered
owner
String
The owner's address
contract
String
The contract to be trigger on action
amount
Uint128
Amount to be sent
msg
Binary
Message to be sent
owner
String
The owner's address
amount
Uint128
Amount to be burned
minter*
String
The new miner's address
project*
String
Project name
description*
String
Project description
marketing*
String
Marketing URL
logo
String
Logo URL
max_supply
u128
SEILOR token max supply
fund
Addr
The address of fund
distribute
Addr
The address of distribute
gov
Addr
The address of the governance contract
address
String
The user's address
balance
Uint128
The balance of SEILOR tokens for the queried user's address.
name
String
Name
symbol
String
Symbol
decimals
u8
Decimals
total_supply
Uint128
Total supply
owner
String
The owner's address
spender
String
The spender's address
allowance
Uint128
The amount allowed to be spent by spender
expires
Expiration
Expiration time
at_height
u64
AtHeight will expire when env.block.height
>= height
at_time
Timestamp
AtTime will expire when env.block.time
>= time
never
Never will never expire. Used to express the empty variant
minter
Addr
the minter's address
cap*
Uint128
cap is a hard cap on total supply that can be achieved by minting. Note that this refers to total_supply. If None, there is unlimited cap.
project*
String
A URL pointing to the project behind this token.
description*
String
A longer description of the token and it's utility. Designed for tooltips or such
logo*
String
A link to the logo, or a comment there is an on-chain logo stored
marketing*
Addr
The address (if any) who can update this data structure
mime_type
String
The mime type of the image
data
Binary
The raw bytes of the image
owner
String
The owner of the allowances
start_after*
String
The address to start after, used for pagination
limit*
u32
The number of allowances to limit the query to
allowances
Vec<AllowanceInfo>
The list of allowances
spender
Addr
The address of the spender
allowance
Uint128
The amount of tokens the spender is allowed to spend
expires
Expiration
When the allowance expires
start_after*
String
The address to start after, used for pagination
limit*
u32
The number of accounts to limit the query to