Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FNS subaccount implementation #2059

Merged
merged 45 commits into from
Aug 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
bda8ec4
first
dydxwill Jul 30, 2024
af1eb90
test
dydxwill Jul 30, 2024
2c10c1d
test
dydxwill Aug 2, 2024
20e627f
revert
dydxwill Aug 2, 2024
0dd93fd
merge
dydxwill Aug 2, 2024
cd6572a
update proto
dydxwill Aug 2, 2024
dc2bc8e
lint
dydxwill Aug 2, 2024
3c7a63b
rm global cache
dydxwill Aug 5, 2024
af79f20
dev5
dydxwill Aug 5, 2024
96cb022
add branch
dydxwill Aug 5, 2024
57e54fa
dev2
dydxwill Aug 6, 2024
ce15619
lint
dydxwill Aug 6, 2024
e6fcbf5
revert ghwf
dydxwill Aug 6, 2024
1357239
fix
dydxwill Aug 6, 2024
2816d5f
merge
dydxwill Aug 6, 2024
7d08ac2
add indexer proto
dydxwill Aug 6, 2024
8d333b8
address cmts
dydxwill Aug 6, 2024
390b118
add cmts
dydxwill Aug 6, 2024
fd7abb0
Merge branch 'wl/sa_updates' of https://github.com/dydxprotocol/v4-ch…
dydxwill Aug 6, 2024
318e9ac
t
dydxwill Aug 6, 2024
71c0f08
latest
dydxwill Aug 6, 2024
f03735d
merge
dydxwill Aug 6, 2024
1ab0669
add su update
dydxwill Aug 6, 2024
079ffd5
add snapshotting logic
dydxwill Aug 6, 2024
3d5db4e
updates
dydxwill Aug 6, 2024
ee5e8f7
set Snapshot to true
dydxwill Aug 6, 2024
71cbe99
merge
dydxwill Aug 7, 2024
0a6bd3a
add back todo
dydxwill Aug 7, 2024
cd7472c
add gh wf
dydxwill Aug 7, 2024
ef9a0ec
add logs
dydxwill Aug 7, 2024
e4f254b
latest
dydxwill Aug 7, 2024
3c024b0
add log
dydxwill Aug 7, 2024
10e4512
fix
dydxwill Aug 7, 2024
d555b9d
rm logs
dydxwill Aug 7, 2024
49a8dcc
fix cmt
dydxwill Aug 7, 2024
8d97bda
fix event
dydxwill Aug 7, 2024
e6a5be0
Merge branch 'main' of https://github.com/dydxprotocol/v4-chain into …
dydxwill Aug 8, 2024
898074b
gh wf
dydxwill Aug 8, 2024
b9fbbeb
tmp merge
dydxwill Aug 9, 2024
1fba8ca
merge fix
dydxwill Aug 9, 2024
84b2f05
add back cmt
dydxwill Aug 9, 2024
53bb1be
address cmts
dydxwill Aug 12, 2024
320b3b0
address cmts
dydxwill Aug 12, 2024
edd63c7
Merge branch 'main' of https://github.com/dydxprotocol/v4-chain into …
dydxwill Aug 12, 2024
65b28cc
gh wf
dydxwill Aug 12, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
248 changes: 125 additions & 123 deletions indexer/packages/v4-protos/src/codegen/dydxprotocol/bundle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,71 +98,72 @@ import * as _101 from "./subaccounts/asset_position";
import * as _102 from "./subaccounts/genesis";
import * as _103 from "./subaccounts/perpetual_position";
import * as _104 from "./subaccounts/query";
import * as _105 from "./subaccounts/subaccount";
import * as _106 from "./vault/genesis";
import * as _107 from "./vault/params";
import * as _108 from "./vault/query";
import * as _109 from "./vault/share";
import * as _110 from "./vault/tx";
import * as _111 from "./vault/vault";
import * as _112 from "./vest/genesis";
import * as _113 from "./vest/query";
import * as _114 from "./vest/tx";
import * as _115 from "./vest/vest_entry";
import * as _123 from "./assets/query.lcd";
import * as _124 from "./blocktime/query.lcd";
import * as _125 from "./bridge/query.lcd";
import * as _126 from "./clob/query.lcd";
import * as _127 from "./delaymsg/query.lcd";
import * as _128 from "./epochs/query.lcd";
import * as _129 from "./feetiers/query.lcd";
import * as _130 from "./perpetuals/query.lcd";
import * as _131 from "./prices/query.lcd";
import * as _132 from "./ratelimit/query.lcd";
import * as _133 from "./revshare/query.lcd";
import * as _134 from "./rewards/query.lcd";
import * as _135 from "./stats/query.lcd";
import * as _136 from "./subaccounts/query.lcd";
import * as _137 from "./vault/query.lcd";
import * as _138 from "./vest/query.lcd";
import * as _139 from "./assets/query.rpc.Query";
import * as _140 from "./blocktime/query.rpc.Query";
import * as _141 from "./bridge/query.rpc.Query";
import * as _142 from "./clob/query.rpc.Query";
import * as _143 from "./delaymsg/query.rpc.Query";
import * as _144 from "./epochs/query.rpc.Query";
import * as _145 from "./feetiers/query.rpc.Query";
import * as _146 from "./govplus/query.rpc.Query";
import * as _147 from "./listing/query.rpc.Query";
import * as _148 from "./perpetuals/query.rpc.Query";
import * as _149 from "./prices/query.rpc.Query";
import * as _150 from "./ratelimit/query.rpc.Query";
import * as _151 from "./revshare/query.rpc.Query";
import * as _152 from "./rewards/query.rpc.Query";
import * as _153 from "./sending/query.rpc.Query";
import * as _154 from "./stats/query.rpc.Query";
import * as _155 from "./subaccounts/query.rpc.Query";
import * as _156 from "./vault/query.rpc.Query";
import * as _157 from "./vest/query.rpc.Query";
import * as _158 from "./blocktime/tx.rpc.msg";
import * as _159 from "./bridge/tx.rpc.msg";
import * as _160 from "./clob/tx.rpc.msg";
import * as _161 from "./delaymsg/tx.rpc.msg";
import * as _162 from "./feetiers/tx.rpc.msg";
import * as _163 from "./govplus/tx.rpc.msg";
import * as _164 from "./listing/tx.rpc.msg";
import * as _165 from "./perpetuals/tx.rpc.msg";
import * as _166 from "./prices/tx.rpc.msg";
import * as _167 from "./ratelimit/tx.rpc.msg";
import * as _168 from "./revshare/tx.rpc.msg";
import * as _169 from "./rewards/tx.rpc.msg";
import * as _170 from "./sending/tx.rpc.msg";
import * as _171 from "./stats/tx.rpc.msg";
import * as _172 from "./vault/tx.rpc.msg";
import * as _173 from "./vest/tx.rpc.msg";
import * as _174 from "./lcd";
import * as _175 from "./rpc.query";
import * as _176 from "./rpc.tx";
import * as _105 from "./subaccounts/streaming";
import * as _106 from "./subaccounts/subaccount";
import * as _107 from "./vault/genesis";
import * as _108 from "./vault/params";
import * as _109 from "./vault/query";
import * as _110 from "./vault/share";
import * as _111 from "./vault/tx";
import * as _112 from "./vault/vault";
import * as _113 from "./vest/genesis";
import * as _114 from "./vest/query";
import * as _115 from "./vest/tx";
import * as _116 from "./vest/vest_entry";
import * as _124 from "./assets/query.lcd";
import * as _125 from "./blocktime/query.lcd";
import * as _126 from "./bridge/query.lcd";
import * as _127 from "./clob/query.lcd";
import * as _128 from "./delaymsg/query.lcd";
import * as _129 from "./epochs/query.lcd";
import * as _130 from "./feetiers/query.lcd";
import * as _131 from "./perpetuals/query.lcd";
import * as _132 from "./prices/query.lcd";
import * as _133 from "./ratelimit/query.lcd";
import * as _134 from "./revshare/query.lcd";
import * as _135 from "./rewards/query.lcd";
import * as _136 from "./stats/query.lcd";
import * as _137 from "./subaccounts/query.lcd";
import * as _138 from "./vault/query.lcd";
import * as _139 from "./vest/query.lcd";
import * as _140 from "./assets/query.rpc.Query";
import * as _141 from "./blocktime/query.rpc.Query";
import * as _142 from "./bridge/query.rpc.Query";
import * as _143 from "./clob/query.rpc.Query";
import * as _144 from "./delaymsg/query.rpc.Query";
import * as _145 from "./epochs/query.rpc.Query";
import * as _146 from "./feetiers/query.rpc.Query";
import * as _147 from "./govplus/query.rpc.Query";
import * as _148 from "./listing/query.rpc.Query";
import * as _149 from "./perpetuals/query.rpc.Query";
import * as _150 from "./prices/query.rpc.Query";
import * as _151 from "./ratelimit/query.rpc.Query";
import * as _152 from "./revshare/query.rpc.Query";
import * as _153 from "./rewards/query.rpc.Query";
import * as _154 from "./sending/query.rpc.Query";
import * as _155 from "./stats/query.rpc.Query";
import * as _156 from "./subaccounts/query.rpc.Query";
import * as _157 from "./vault/query.rpc.Query";
import * as _158 from "./vest/query.rpc.Query";
import * as _159 from "./blocktime/tx.rpc.msg";
import * as _160 from "./bridge/tx.rpc.msg";
import * as _161 from "./clob/tx.rpc.msg";
import * as _162 from "./delaymsg/tx.rpc.msg";
import * as _163 from "./feetiers/tx.rpc.msg";
import * as _164 from "./govplus/tx.rpc.msg";
import * as _165 from "./listing/tx.rpc.msg";
import * as _166 from "./perpetuals/tx.rpc.msg";
import * as _167 from "./prices/tx.rpc.msg";
import * as _168 from "./ratelimit/tx.rpc.msg";
import * as _169 from "./revshare/tx.rpc.msg";
import * as _170 from "./rewards/tx.rpc.msg";
import * as _171 from "./sending/tx.rpc.msg";
import * as _172 from "./stats/tx.rpc.msg";
import * as _173 from "./vault/tx.rpc.msg";
import * as _174 from "./vest/tx.rpc.msg";
import * as _175 from "./lcd";
import * as _176 from "./rpc.query";
import * as _177 from "./rpc.tx";
export namespace dydxprotocol {
export const accountplus = { ..._5,
..._6
Expand All @@ -171,27 +172,27 @@ export namespace dydxprotocol {
..._8,
..._9,
..._10,
..._123,
..._139
..._124,
..._140
};
export const blocktime = { ..._11,
..._12,
..._13,
..._14,
..._15,
..._124,
..._140,
..._158
..._125,
..._141,
..._159
};
export const bridge = { ..._16,
..._17,
..._18,
..._19,
..._20,
..._21,
..._125,
..._141,
..._159
..._126,
..._142,
..._160
};
export const clob = { ..._22,
..._23,
Expand All @@ -207,9 +208,9 @@ export namespace dydxprotocol {
..._33,
..._34,
..._35,
..._126,
..._142,
..._160
..._127,
..._143,
..._161
};
export namespace daemons {
export const bridge = { ..._36
Expand All @@ -224,29 +225,29 @@ export namespace dydxprotocol {
..._41,
..._42,
..._43,
..._127,
..._143,
..._161
..._128,
..._144,
..._162
};
export const epochs = { ..._44,
..._45,
..._46,
..._128,
..._144
..._129,
..._145
};
export const feetiers = { ..._47,
..._48,
..._49,
..._50,
..._129,
..._145,
..._162
..._130,
..._146,
..._163
};
export const govplus = { ..._51,
..._52,
..._53,
..._146,
..._163
..._147,
..._164
};
export namespace indexer {
export const events = { ..._54
Expand All @@ -271,99 +272,100 @@ export namespace dydxprotocol {
export const listing = { ..._63,
..._64,
..._65,
..._147,
..._164
..._148,
..._165
};
export const perpetuals = { ..._66,
..._67,
..._68,
..._69,
..._70,
..._130,
..._148,
..._165
..._131,
..._149,
..._166
};
export const prices = { ..._71,
..._72,
..._73,
..._74,
..._75,
..._131,
..._149,
..._166
..._132,
..._150,
..._167
};
export const ratelimit = { ..._76,
..._77,
..._78,
..._79,
..._80,
..._81,
..._132,
..._150,
..._167
..._133,
..._151,
..._168
};
export const revshare = { ..._82,
..._83,
..._84,
..._85,
..._86,
..._133,
..._151,
..._168
..._134,
..._152,
..._169
};
export const rewards = { ..._87,
..._88,
..._89,
..._90,
..._91,
..._134,
..._152,
..._169
..._135,
..._153,
..._170
};
export const sending = { ..._92,
..._93,
..._94,
..._95,
..._153,
..._170
..._154,
..._171
};
export const stats = { ..._96,
..._97,
..._98,
..._99,
..._100,
..._135,
..._154,
..._171
..._136,
..._155,
..._172
};
export const subaccounts = { ..._101,
..._102,
..._103,
..._104,
..._105,
..._136,
..._155
..._106,
..._137,
..._156
};
export const vault = { ..._106,
..._107,
export const vault = { ..._107,
..._108,
..._109,
..._110,
..._111,
..._137,
..._156,
..._172
};
export const vest = { ..._112,
..._113,
..._114,
..._115,
..._112,
..._138,
..._157,
..._173
};
export const ClientFactory = { ..._174,
..._175,
..._176
export const vest = { ..._113,
..._114,
..._115,
..._116,
..._139,
..._158,
..._174
};
export const ClientFactory = { ..._175,
..._176,
..._177
};
}
Loading
Loading