Skip to content

Commit

Permalink
[TRA-414] Add x/revshare module skeleton (#1719)
Browse files Browse the repository at this point in the history
Signed-off-by: Shrenuj Bansal <shrenuj@dydx.exchange>
  • Loading branch information
shrenujb authored and adamfraser committed Jun 24, 2024
1 parent 473e615 commit 707cd90
Show file tree
Hide file tree
Showing 38 changed files with 1,076 additions and 164 deletions.
301 changes: 155 additions & 146 deletions indexer/packages/v4-protos/src/codegen/dydxprotocol/bundle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,111 +73,115 @@ import * as _76 from "./ratelimit/limit_params";
import * as _77 from "./ratelimit/pending_send_packet";
import * as _78 from "./ratelimit/query";
import * as _79 from "./ratelimit/tx";
import * as _80 from "./rewards/genesis";
import * as _81 from "./rewards/params";
import * as _82 from "./rewards/query";
import * as _83 from "./rewards/reward_share";
import * as _84 from "./rewards/tx";
import * as _85 from "./sending/genesis";
import * as _86 from "./sending/query";
import * as _87 from "./sending/transfer";
import * as _88 from "./sending/tx";
import * as _89 from "./stats/genesis";
import * as _90 from "./stats/params";
import * as _91 from "./stats/query";
import * as _92 from "./stats/stats";
import * as _93 from "./stats/tx";
import * as _94 from "./subaccounts/asset_position";
import * as _95 from "./subaccounts/genesis";
import * as _96 from "./subaccounts/perpetual_position";
import * as _97 from "./subaccounts/query";
import * as _98 from "./subaccounts/subaccount";
import * as _99 from "./vault/genesis";
import * as _100 from "./vault/params";
import * as _101 from "./vault/query";
import * as _102 from "./vault/tx";
import * as _103 from "./vault/vault";
import * as _104 from "./vest/genesis";
import * as _105 from "./vest/query";
import * as _106 from "./vest/tx";
import * as _107 from "./vest/vest_entry";
import * as _115 from "./assets/query.lcd";
import * as _116 from "./blocktime/query.lcd";
import * as _117 from "./bridge/query.lcd";
import * as _118 from "./clob/query.lcd";
import * as _119 from "./delaymsg/query.lcd";
import * as _120 from "./epochs/query.lcd";
import * as _121 from "./feetiers/query.lcd";
import * as _122 from "./perpetuals/query.lcd";
import * as _123 from "./prices/query.lcd";
import * as _124 from "./ratelimit/query.lcd";
import * as _125 from "./rewards/query.lcd";
import * as _126 from "./stats/query.lcd";
import * as _127 from "./subaccounts/query.lcd";
import * as _128 from "./vault/query.lcd";
import * as _129 from "./vest/query.lcd";
import * as _130 from "./assets/query.rpc.Query";
import * as _131 from "./blocktime/query.rpc.Query";
import * as _132 from "./bridge/query.rpc.Query";
import * as _133 from "./clob/query.rpc.Query";
import * as _134 from "./delaymsg/query.rpc.Query";
import * as _135 from "./epochs/query.rpc.Query";
import * as _136 from "./feetiers/query.rpc.Query";
import * as _137 from "./govplus/query.rpc.Query";
import * as _138 from "./listing/query.rpc.Query";
import * as _139 from "./perpetuals/query.rpc.Query";
import * as _140 from "./prices/query.rpc.Query";
import * as _141 from "./ratelimit/query.rpc.Query";
import * as _142 from "./rewards/query.rpc.Query";
import * as _143 from "./sending/query.rpc.Query";
import * as _144 from "./stats/query.rpc.Query";
import * as _145 from "./subaccounts/query.rpc.Query";
import * as _146 from "./vault/query.rpc.Query";
import * as _147 from "./vest/query.rpc.Query";
import * as _148 from "./blocktime/tx.rpc.msg";
import * as _149 from "./bridge/tx.rpc.msg";
import * as _150 from "./clob/tx.rpc.msg";
import * as _151 from "./delaymsg/tx.rpc.msg";
import * as _152 from "./feetiers/tx.rpc.msg";
import * as _153 from "./govplus/tx.rpc.msg";
import * as _154 from "./listing/tx.rpc.msg";
import * as _155 from "./perpetuals/tx.rpc.msg";
import * as _156 from "./prices/tx.rpc.msg";
import * as _157 from "./ratelimit/tx.rpc.msg";
import * as _158 from "./rewards/tx.rpc.msg";
import * as _159 from "./sending/tx.rpc.msg";
import * as _160 from "./stats/tx.rpc.msg";
import * as _161 from "./vault/tx.rpc.msg";
import * as _162 from "./vest/tx.rpc.msg";
import * as _163 from "./lcd";
import * as _164 from "./rpc.query";
import * as _165 from "./rpc.tx";
import * as _80 from "./revshare/genesis";
import * as _81 from "./revshare/query";
import * as _82 from "./revshare/tx";
import * as _83 from "./rewards/genesis";
import * as _84 from "./rewards/params";
import * as _85 from "./rewards/query";
import * as _86 from "./rewards/reward_share";
import * as _87 from "./rewards/tx";
import * as _88 from "./sending/genesis";
import * as _89 from "./sending/query";
import * as _90 from "./sending/transfer";
import * as _91 from "./sending/tx";
import * as _92 from "./stats/genesis";
import * as _93 from "./stats/params";
import * as _94 from "./stats/query";
import * as _95 from "./stats/stats";
import * as _96 from "./stats/tx";
import * as _97 from "./subaccounts/asset_position";
import * as _98 from "./subaccounts/genesis";
import * as _99 from "./subaccounts/perpetual_position";
import * as _100 from "./subaccounts/query";
import * as _101 from "./subaccounts/subaccount";
import * as _102 from "./vault/genesis";
import * as _103 from "./vault/params";
import * as _104 from "./vault/query";
import * as _105 from "./vault/tx";
import * as _106 from "./vault/vault";
import * as _107 from "./vest/genesis";
import * as _108 from "./vest/query";
import * as _109 from "./vest/tx";
import * as _110 from "./vest/vest_entry";
import * as _118 from "./assets/query.lcd";
import * as _119 from "./blocktime/query.lcd";
import * as _120 from "./bridge/query.lcd";
import * as _121 from "./clob/query.lcd";
import * as _122 from "./delaymsg/query.lcd";
import * as _123 from "./epochs/query.lcd";
import * as _124 from "./feetiers/query.lcd";
import * as _125 from "./perpetuals/query.lcd";
import * as _126 from "./prices/query.lcd";
import * as _127 from "./ratelimit/query.lcd";
import * as _128 from "./rewards/query.lcd";
import * as _129 from "./stats/query.lcd";
import * as _130 from "./subaccounts/query.lcd";
import * as _131 from "./vault/query.lcd";
import * as _132 from "./vest/query.lcd";
import * as _133 from "./assets/query.rpc.Query";
import * as _134 from "./blocktime/query.rpc.Query";
import * as _135 from "./bridge/query.rpc.Query";
import * as _136 from "./clob/query.rpc.Query";
import * as _137 from "./delaymsg/query.rpc.Query";
import * as _138 from "./epochs/query.rpc.Query";
import * as _139 from "./feetiers/query.rpc.Query";
import * as _140 from "./govplus/query.rpc.Query";
import * as _141 from "./listing/query.rpc.Query";
import * as _142 from "./perpetuals/query.rpc.Query";
import * as _143 from "./prices/query.rpc.Query";
import * as _144 from "./ratelimit/query.rpc.Query";
import * as _145 from "./revshare/query.rpc.Query";
import * as _146 from "./rewards/query.rpc.Query";
import * as _147 from "./sending/query.rpc.Query";
import * as _148 from "./stats/query.rpc.Query";
import * as _149 from "./subaccounts/query.rpc.Query";
import * as _150 from "./vault/query.rpc.Query";
import * as _151 from "./vest/query.rpc.Query";
import * as _152 from "./blocktime/tx.rpc.msg";
import * as _153 from "./bridge/tx.rpc.msg";
import * as _154 from "./clob/tx.rpc.msg";
import * as _155 from "./delaymsg/tx.rpc.msg";
import * as _156 from "./feetiers/tx.rpc.msg";
import * as _157 from "./govplus/tx.rpc.msg";
import * as _158 from "./listing/tx.rpc.msg";
import * as _159 from "./perpetuals/tx.rpc.msg";
import * as _160 from "./prices/tx.rpc.msg";
import * as _161 from "./ratelimit/tx.rpc.msg";
import * as _162 from "./rewards/tx.rpc.msg";
import * as _163 from "./sending/tx.rpc.msg";
import * as _164 from "./stats/tx.rpc.msg";
import * as _165 from "./vault/tx.rpc.msg";
import * as _166 from "./vest/tx.rpc.msg";
import * as _167 from "./lcd";
import * as _168 from "./rpc.query";
import * as _169 from "./rpc.tx";
export namespace dydxprotocol {
export const assets = { ..._5,
..._6,
..._7,
..._8,
..._115,
..._130
..._118,
..._133
};
export const blocktime = { ..._9,
..._10,
..._11,
..._12,
..._13,
..._116,
..._131,
..._148
..._119,
..._134,
..._152
};
export const bridge = { ..._14,
..._15,
..._16,
..._17,
..._18,
..._19,
..._117,
..._132,
..._149
..._120,
..._135,
..._153
};
export const clob = { ..._20,
..._21,
Expand All @@ -193,9 +197,9 @@ export namespace dydxprotocol {
..._31,
..._32,
..._33,
..._118,
..._133,
..._150
..._121,
..._136,
..._154
};
export namespace daemons {
export const bridge = { ..._34
Expand All @@ -210,29 +214,29 @@ export namespace dydxprotocol {
..._39,
..._40,
..._41,
..._119,
..._134,
..._151
..._122,
..._137,
..._155
};
export const epochs = { ..._42,
..._43,
..._44,
..._120,
..._135
..._123,
..._138
};
export const feetiers = { ..._45,
..._46,
..._47,
..._48,
..._121,
..._136,
..._152
..._124,
..._139,
..._156
};
export const govplus = { ..._49,
..._50,
..._51,
..._137,
..._153
..._140,
..._157
};
export namespace indexer {
export const events = { ..._52
Expand All @@ -257,89 +261,94 @@ export namespace dydxprotocol {
export const listing = { ..._61,
..._62,
..._63,
..._138,
..._154
..._141,
..._158
};
export const perpetuals = { ..._64,
..._65,
..._66,
..._67,
..._68,
..._122,
..._139,
..._155
..._125,
..._142,
..._159
};
export const prices = { ..._69,
..._70,
..._71,
..._72,
..._73,
..._123,
..._140,
..._156
..._126,
..._143,
..._160
};
export const ratelimit = { ..._74,
..._75,
..._76,
..._77,
..._78,
..._79,
..._124,
..._141,
..._157
..._127,
..._144,
..._161
};
export const rewards = { ..._80,
export const revshare = { ..._80,
..._81,
..._82,
..._83,
..._84,
..._125,
..._142,
..._158
..._145
};
export const sending = { ..._85,
export const rewards = { ..._83,
..._84,
..._85,
..._86,
..._87,
..._88,
..._143,
..._159
..._128,
..._146,
..._162
};
export const stats = { ..._89,
export const sending = { ..._88,
..._89,
..._90,
..._91,
..._92,
..._93,
..._126,
..._144,
..._160
..._147,
..._163
};
export const subaccounts = { ..._94,
export const stats = { ..._92,
..._93,
..._94,
..._95,
..._96,
..._97,
..._98,
..._127,
..._145
..._129,
..._148,
..._164
};
export const vault = { ..._99,
export const subaccounts = { ..._97,
..._98,
..._99,
..._100,
..._101,
..._102,
..._103,
..._128,
..._146,
..._161
..._130,
..._149
};
export const vest = { ..._104,
export const vault = { ..._102,
..._103,
..._104,
..._105,
..._106,
..._107,
..._129,
..._147,
..._162
};
export const ClientFactory = { ..._163,
..._164,
..._131,
..._150,
..._165
};
export const vest = { ..._107,
..._108,
..._109,
..._110,
..._132,
..._151,
..._166
};
export const ClientFactory = { ..._167,
..._168,
..._169
};
}
Loading

0 comments on commit 707cd90

Please sign in to comment.