proxy.hpp 497 字节
Newer Older
1 2 3 4
/**
 *  @file
 *  @copyright defined in eos/LICENSE.txt
 */
5 6 7 8
#include <eoslib/eos.hpp>
#include <eoslib/db.hpp>

namespace proxy {
9
   
10
   //@abi action
11 12 13 14
   struct PACKED( set_owner ) {
      account_name owner;	
   };

15
   //@abi table
16 17 18 19 20
   struct config {
      config(){}
      const uint64_t      key = N(config);
      account_name        owner = 0;
      uint32_t            next_id = 0;
21 22
   };

23
   using configs = eosio::table<N(proxy),N(proxy),N(configs),config,uint64_t>;
24

25
} /// namespace proxy