Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
sysiosystem::name_bid Struct Reference

#include <sysio.system.hpp>

Collaboration diagram for sysiosystem::name_bid:

Public Member Functions

uint64_t primary_key () const
 
uint64_t by_high_bid () const
 

Public Attributes

name newname
 
name high_bidder
 
int64_t high_bid = 0
 negative high_bid == closed auction waiting to be claimed
 
time_point last_bid_time
 

Detailed Description

The sysio.system smart contract is provided by block.one as a sample system contract, and it defines the structures and actions needed for blockchain's core functionality.

Just like in the sysio.bios sample contract implementation, there are a few actions which are not implemented at the contract level (newaccount, updateauth, deleteauth, linkauth, unlinkauth, canceldelay, onerror, setabi, setcode), they are just declared in the contract so they will show in the contract's ABI and users will be able to push those actions to the chain via the account holding the sysio.system contract, but the implementation is at the EOSIO core level. They are referred to as EOSIO native actions.

  • Users can stake tokens for CPU and Network bandwidth, and then vote for producers or delegate their vote to a proxy.
  • Producers register in order to be voted for, and can claim per-block and per-vote rewards.
  • Users can buy and sell RAM at a market-determined price.
  • Users can bid on premium names.
  • A resource exchange system (REX) allows token holders to lend their tokens, and users to rent CPU and Network resources in return for a market-determined fee.

Definition at line 115 of file sysio.system.hpp.

Member Function Documentation

◆ by_high_bid()

uint64_t sysiosystem::name_bid::by_high_bid ( ) const
inline

Definition at line 122 of file sysio.system.hpp.

122{ return static_cast<uint64_t>(-high_bid); }
unsigned __int64 uint64_t
Definition stdint.h:136
int64_t high_bid
negative high_bid == closed auction waiting to be claimed

◆ primary_key()

uint64_t sysiosystem::name_bid::primary_key ( ) const
inline

Definition at line 121 of file sysio.system.hpp.

121{ return newname.value; }

Member Data Documentation

◆ high_bid

int64_t sysiosystem::name_bid::high_bid = 0

Definition at line 118 of file sysio.system.hpp.

◆ high_bidder

name sysiosystem::name_bid::high_bidder

Definition at line 117 of file sysio.system.hpp.

◆ last_bid_time

time_point sysiosystem::name_bid::last_bid_time

Definition at line 119 of file sysio.system.hpp.

◆ newname

name sysiosystem::name_bid::newname

Definition at line 116 of file sysio.system.hpp.


The documentation for this struct was generated from the following file: