proxy.hpp 505 字节
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
   struct PACKED( config ) {
      config( account_name o = account_name() ):owner(o){}
18 19
      const uint64_t     key = N(config);
      account_name        owner;
20 21
   };

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

24
} /// namespace proxy