proxy.hpp 510 字节
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 11 12 13 14 15
   
   //@abi proxy action
   struct PACKED( set_owner ) {
      account_name owner;	
   };

   //@abi proxy 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 = table<N(proxy),N(proxy),N(configs),config,uint64_t>;
23

24
} /// namespace proxy