From 4094e4a9e5181534f408e77602055a0bf76ad250 Mon Sep 17 00:00:00 2001 From: Geoff Taylor Date: Fri, 4 Mar 2022 15:21:58 +0000 Subject: [PATCH] Fixed problem spot health calculations. --- mango/account.py | 8 +- mango/openorders.py | 6 +- tests/data.py | 102 ++++++++++++++------- tests/test_healthcalculator.py | 37 ++++++++ tests/testdata/account10/account.json | 11 +++ tests/testdata/account10/cache.json | 11 +++ tests/testdata/account10/group.json | 11 +++ tests/testdata/account10/openorders0.json | 11 +++ tests/testdata/account10/openorders1.json | 11 +++ tests/testdata/account10/openorders10.json | 11 +++ tests/testdata/account10/openorders11.json | 11 +++ tests/testdata/account10/openorders12.json | 11 +++ tests/testdata/account10/openorders13.json | 11 +++ tests/testdata/account10/openorders3.json | 11 +++ tests/testdata/account10/openorders5.json | 11 +++ tests/testdata/account10/openorders6.json | 11 +++ tests/testdata/account10/openorders8.json | 11 +++ tests/testdata/account10/regenerate | 17 ++++ 18 files changed, 276 insertions(+), 37 deletions(-) create mode 100644 tests/testdata/account10/account.json create mode 100644 tests/testdata/account10/cache.json create mode 100644 tests/testdata/account10/group.json create mode 100644 tests/testdata/account10/openorders0.json create mode 100644 tests/testdata/account10/openorders1.json create mode 100644 tests/testdata/account10/openorders10.json create mode 100644 tests/testdata/account10/openorders11.json create mode 100644 tests/testdata/account10/openorders12.json create mode 100644 tests/testdata/account10/openorders13.json create mode 100644 tests/testdata/account10/openorders3.json create mode 100644 tests/testdata/account10/openorders5.json create mode 100644 tests/testdata/account10/openorders6.json create mode 100644 tests/testdata/account10/openorders8.json create mode 100755 tests/testdata/account10/regenerate diff --git a/mango/account.py b/mango/account.py index 48c663d..2f6b459 100644 --- a/mango/account.py +++ b/mango/account.py @@ -800,7 +800,7 @@ def to_dataframe( ) spot_open_orders: typing.Optional[OpenOrders] = None - spot_health_base: Decimal = Decimal(0) + spot_health_base: Decimal = slot.net_value.value spot_health_quote: Decimal = Decimal(0) spot_bids_base_net: Decimal = Decimal(0) spot_asks_base_net: Decimal = Decimal(0) @@ -1045,6 +1045,7 @@ def to_dataframe( "SpotOpenValue": base_open_total_value, "BaseUnsettled": base_open_unsettled, "BaseLocked": base_open_locked, + "BaseLockedValue": base_open_locked * price.value, "QuoteUnsettled": quote_open_unsettled, "QuoteLocked": quote_open_locked, "PerpPositionSize": perp_position, @@ -1094,7 +1095,7 @@ def weighted_assets( liabilities = quote spot_borrow_health = ( - non_quote["SpotBorrowValue"] + non_quote.loc[non_quote["SpotHealthBaseValue"] < 0, "SpotHealthBaseValue"] * non_quote[f"Spot{weighting_name}LiabilityWeight"] ).sum() @@ -1106,7 +1107,7 @@ def weighted_assets( liabilities += spot_borrow_health + perp_health_base_liability spot_deposit_health = ( - (non_quote["SpotDepositValue"] + non_quote["QuoteLocked"]) + (non_quote.loc[non_quote["SpotHealthBaseValue"] > 0, "SpotHealthBaseValue"]) * non_quote[f"Spot{weighting_name}AssetWeight"] ).sum() @@ -1140,6 +1141,7 @@ def unweighted_assets( assets += ( non_quote["SpotDepositValue"].sum() + + non_quote["BaseLockedValue"].sum() + non_quote["PerpAsset"].sum() + non_quote["QuoteUnsettled"].sum() + non_quote["QuoteLocked"].sum() diff --git a/mango/openorders.py b/mango/openorders.py index 0a416b4..0d6bfd2 100644 --- a/mango/openorders.py +++ b/mango/openorders.py @@ -232,13 +232,13 @@ def __parser(account_info: AccountInfo) -> OpenOrders: def __str__(self) -> str: placed_orders = "\n ".join(map(str, self.placed_orders)) or "None" - return f"""« OpenOrders [{self.address}]: + return f"""« OpenOrders {self.base.symbol}/{self.quote.symbol} [{self.address}]: Flags: {self.account_flags} Program ID: {self.program_address} Market: {self.market} Owner: {self.owner} - Base Token: {self.base_token_free:,.8f} of {self.base_token_total:,.8f} - Quote Token: {self.quote_token_free:,.8f} of {self.quote_token_total:,.8f} + Base Token [{self.base.decimals} decimals]: {self.base_token_free:,.8f} of {self.base_token_total:,.8f} + Quote Token [{self.quote.decimals} decimals]: {self.quote_token_free:,.8f} of {self.quote_token_total:,.8f} Referrer Rebate Accrued: {self.referrer_rebate_accrued:,.8f} Orders: {placed_orders} diff --git a/tests/data.py b/tests/data.py index f455ea9..3b1969d 100644 --- a/tests/data.py +++ b/tests/data.py @@ -1,38 +1,84 @@ import glob import mango +import os.path import typing -from decimal import Decimal -from .fakes import fake_seeded_public_key - - -def load_group(filename: str) -> mango.Group: - account_info: mango.AccountInfo = mango.AccountInfo.load_json(filename) +def instrument_lookup_mainnet() -> mango.InstrumentLookup: mainnet_token_lookup: mango.InstrumentLookup = mango.IdsJsonTokenLookup( "mainnet", "mainnet.1" ) + + mainnet_overrides_filename = os.path.join( + mango.DATA_PATH, "overrides.tokenlist.json" + ) + mainnet_overrides_token_lookup: mango.InstrumentLookup = mango.SPLTokenLookup.load( + mainnet_overrides_filename + ) + mainnet_non_spl_instrument_lookup: mango.InstrumentLookup = ( + mango.NonSPLInstrumentLookup.load( + mango.NonSPLInstrumentLookup.DefaultMainnetDataFilepath + ) + ) + + return mango.CompoundInstrumentLookup( + [ + mainnet_overrides_token_lookup, + mainnet_token_lookup, + mainnet_non_spl_instrument_lookup, + ] + ) + + +def instrument_lookup_devnet() -> mango.InstrumentLookup: devnet_token_lookup: mango.InstrumentLookup = mango.IdsJsonTokenLookup( "devnet", "devnet.2" ) + + devnet_overrides_filename = os.path.join( + mango.DATA_PATH, "overrides.tokenlist.devnet.json" + ) + devnet_overrides_token_lookup: mango.InstrumentLookup = mango.SPLTokenLookup.load( + devnet_overrides_filename + ) devnet_non_spl_instrument_lookup: mango.InstrumentLookup = ( mango.NonSPLInstrumentLookup.load( mango.NonSPLInstrumentLookup.DefaultDevnetDataFilepath ) ) - instrument_lookup: mango.InstrumentLookup = mango.CompoundInstrumentLookup( - [mainnet_token_lookup, devnet_token_lookup, devnet_non_spl_instrument_lookup] - ) - mainnet_market_lookup: mango.MarketLookup = mango.IdsJsonMarketLookup( - "mainnet", instrument_lookup - ) - devnet_market_lookup: mango.MarketLookup = mango.IdsJsonMarketLookup( - "devnet", instrument_lookup + + return mango.CompoundInstrumentLookup( + [ + devnet_overrides_token_lookup, + devnet_token_lookup, + devnet_non_spl_instrument_lookup, + ] ) - market_lookup: mango.MarketLookup = mango.CompoundMarketLookup( - [mainnet_market_lookup, devnet_market_lookup] + + +def instrument_lookup() -> mango.InstrumentLookup: + return mango.CompoundInstrumentLookup( + [instrument_lookup_mainnet(), instrument_lookup_devnet()] ) - return mango.Group.parse(account_info, "devnet.2", instrument_lookup, market_lookup) + + +def market_lookup_mainnet() -> mango.MarketLookup: + return mango.IdsJsonMarketLookup("mainnet", instrument_lookup_mainnet()) + + +def market_lookup_devnet() -> mango.MarketLookup: + return mango.IdsJsonMarketLookup("devnet", instrument_lookup_devnet()) + + +def market_lookup() -> mango.MarketLookup: + return mango.CompoundMarketLookup([market_lookup_mainnet(), market_lookup_devnet()]) + + +def load_group(filename: str) -> mango.Group: + account_info: mango.AccountInfo = mango.AccountInfo.load_json(filename) + instruments: mango.InstrumentLookup = instrument_lookup() + markets: mango.MarketLookup = market_lookup() + return mango.Group.parse(account_info, "devnet.2", instruments, markets) def load_account( @@ -44,21 +90,15 @@ def load_account( def load_openorders(filename: str) -> mango.OpenOrders: account_info: mango.AccountInfo = mango.AccountInfo.load_json(filename) - # Just hard-code the tokens for now. - base = mango.Token( - "FAKEBASE", - "Fake Base Token", - Decimal(6), - fake_seeded_public_key("fake base token"), + parsed = mango.layouts.OPEN_ORDERS.parse(account_info.data) + markets: mango.MarketLookup = market_lookup() + market = markets.find_by_address(parsed.market) + if market is None: + raise Exception(f"Could not find market metadata for {parsed.market}") + + return mango.OpenOrders.parse( + account_info, mango.Token.ensure(market.base), market.quote ) - quote = mango.Token( - "FAKEQUOTE", - "Fake Quote Token", - Decimal(6), - fake_seeded_public_key("fake quote token"), - ) - - return mango.OpenOrders.parse(account_info, base, quote) def load_cache(filename: str) -> mango.Cache: diff --git a/tests/test_healthcalculator.py b/tests/test_healthcalculator.py index 631963c..34df775 100644 --- a/tests/test_healthcalculator.py +++ b/tests/test_healthcalculator.py @@ -394,3 +394,40 @@ def test_account9() -> None: assert account.leverage(frame) == Decimal("3.91944232844987663175000830924077777") assert not account.is_liquidatable(frame) + + +def test_account10() -> None: + group, cache, account, open_orders = load_data_from_directory( + "tests/testdata/account10" + ) + frame = account.to_dataframe(group, open_orders, cache) + + # Typescript says: 835447528.00765534142685098118 + assert account.init_health(frame).value == Decimal( + "835.46645800765893486219036355771104" + ) + + # # Typescript says: 1104560586.65938873999447622509 + assert account.maint_health(frame).value == Decimal( + "1104.57951665938912571043538155175809" + ) + + # # Typescript says: 72.79490618339146124072 + assert account.init_health_ratio(frame) == Decimal( + "72.7965556078356442718192409419052420" + ) + + # # Typescript says: 103.85025532240703682874 + assert account.maint_health_ratio(frame) == Decimal( + "103.852035111906331055293099609661003" + ) + + # # Typescript says: 1373.66979736174514670211 + assert account.total_value(frame).value == Decimal( + "1373.69257531111931655868039954580515" + ) + + # # Typescript says: 2.22052732148808473767 + assert account.leverage(frame) == Decimal("2.22049050105379598429453331051484650") + + assert not account.is_liquidatable(frame) diff --git a/tests/testdata/account10/account.json b/tests/testdata/account10/account.json new file mode 100644 index 0000000..73e399d --- /dev/null +++ b/tests/testdata/account10/account.json @@ -0,0 +1,11 @@ +{ + "address": "F3TTrgxjrkAHdS9zEidtwU5VXyvMgr5poii4HYatZheH", + "executable": false, + "lamports": "30791040", + "owner": "mv3ekLzLbnVPNxjSKvqBpU3ZeZXPQdEC3bp5MDEBG68", + "rent_epoch": "284", + "data": [ + "AQABAAAAAAB43ogDQe0xql0u2Ff66cc9XSGzkyyZdqoGDHUXDByC3Q2W6spt39lEdvXdKQr5myTqQgK5/3n/aULxQNrf5xtRAQEAAAAAAAAAAAABAQEABW/AN366IwAAAAAAAAAAAAC8G2gBAAAAAAAAAAAAAAAA1WTMAQAAAAAAAAAAAAAAAPRM8ZJb/gkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAyl5YlTYKAAAAAAAAAAAAABeBWMboBAAAAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAbfgM6qY8L88CAAAAAAAAAG34DOqmPC/PAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD8yo+RL23Fec3/////////V8OLcnspuOX//////////1fDi3J7Kbjl//////////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA6AMAAAAAAAAAJgSdmRnc9oXI////////MXgDflYCKRgAAAAAAAAAADF4A35WAikYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAg5yQ/+vK+St7s////////8mlIaWJpah4AAAAAAAAAAPJpSGliaWoeAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////////////////////////////////////////////////////////////////////////////////////wEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "base64" + ] +} \ No newline at end of file diff --git a/tests/testdata/account10/cache.json b/tests/testdata/account10/cache.json new file mode 100644 index 0000000..b7a5a1a --- /dev/null +++ b/tests/testdata/account10/cache.json @@ -0,0 +1,11 @@ +{ + "address": "EBDRoayCDDUvDgCimta45ajQeXbexv7aKqJubruqpyvu", + "executable": false, + "lamports": "12082560", + "owner": "mv3ekLzLbnVPNxjSKvqBpU3ZeZXPQdEC3bp5MDEBG68", + "rent_epoch": "285", + "data": [ + "BwABAAAAAADarPpcbSkAAAAAAAAAAAAAsughYgAAAAAGgZVDi4xvogAAAAAAAAAAsughYgAAAACxLm6jAbyvCgAAAAAAAAAAsughYgAAAABcgt/ItBcAAAAAAAAAAAAAsughYgAAAABu6rCAEQABAAAAAAAAAAAAsughYgAAAABUCcM+CewBAAAAAAAAAAAAsughYgAAAADFec3l5ZoCAAAAAAAAAAAAsughYgAAAAC+nxov3UwAAAAAAAAAAAAAsughYgAAAACAJOzbSbwrAAAAAAAAAAAAs+ghYgAAAAAigha3duEAAAAAAAAAAAAAs+ghYgAAAACGnGtWhRgAAAAAAAAAAAAAs+ghYgAAAAAdJtAWxvgDAAAAAAAAAAAAs+ghYgAAAACGu5tsUcsAAAAAAAAAAAAAs+ghYgAAAAApV3iXi0RbAAAAAAAAAAAAs+ghYgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACXyIoaz7YXTw8AAAAAAAAAAp4CA2O8OWgPAAAAAAAAALLoIWIAAAAAYzZOWWts10YPAAAAAAAAALtg+2Ho6CRLDwAAAAAAAACy6CFiAAAAAHEOiyJz4ShGDwAAAAAAAADctV8KQ7UQTQ8AAAAAAAAAsughYgA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABbeQzobdzLawEAAAAAAAAAW3kM6G3cy2sBAAAAAAAAALLoIWIAAAAAsyWSYWYlIeT//////////7MlkmFmJSHk//////////+y6CFiAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADeqnPqeb+34v//////////3qpz6nm/t+L//////////7PoIWIAAAAAlfr+8u7N7vP//////////5X6/vLuze7z//////////+z6CFiAAAAAF4gVqPa18EYAAAAAAAAAABeIFaj2tfBGAAAAAAAAAAAs+ghYgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", + "base64" + ] +} \ No newline at end of file diff --git a/tests/testdata/account10/group.json b/tests/testdata/account10/group.json new file mode 100644 index 0000000..683b937 --- /dev/null +++ b/tests/testdata/account10/group.json @@ -0,0 +1,11 @@ +{ + "address": "98pjRuQjK3qA6gXts96PqZT4Ze5QmnCmt3QYjhbUSPue", + "executable": false, + "lamports": "42873600", + "owner": "mv3ekLzLbnVPNxjSKvqBpU3ZeZXPQdEC3bp5MDEBG68", + "rent_epoch": "285", + "data": [ + "AAABAAAAAAAOAAAAAAAAAAVF0e6YBXZOWLPvW8tUF3UX3+eYDm5E5npii9udKnvRbEsvs4eih1l1uqTsgaHr37Ut8KZZqbvHMZ71o8ORbo4GAAAAAAAAAIJo6amhREwrpcd6UZNoVrBy5D/vz/XksB6ZYjyOu3dJb2tOx/m8RjParsVWybByFhvfZHgYjF452eFTUtv0algGAAAAAAAAABKLy2R9i60eclDjuDS8+p/ZhvTUd9G7uQVOYCsR6+Bh00wOUEWYRsLYQgeesy+PmpmWYYOAV9dodC+o793wLI4GAAAAAAAAAAabiFf+q4GE+2h/Y0YYwDXaxDncGus7VZig8AAAAAABY/qf2ADDn28yECVZjfCj+9FPZRWkpdxXrSrhZd7UOI4JAAAAAAAAAM4BDmCv7bInF71jGS9UFFo/llozu4LSxwK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NCaA+n4R0Xjl1i15/7m1eRSV+opRMNaUB7rOLlpRVg8EBkT9IM5wLBsxF91NL0vICNWGE3dpTHAhTelkcPuGJC93dKnoIYBANkZAABkAAAAUAAAAADkC1QCAAAAAAAAAAAAAAA=", + "base64" + ] +} \ No newline at end of file diff --git a/tests/testdata/account10/openorders0.json b/tests/testdata/account10/openorders0.json new file mode 100644 index 0000000..8f1852e --- /dev/null +++ b/tests/testdata/account10/openorders0.json @@ -0,0 +1,11 @@ +{ + "address": "6jyVEZe4xsZFgAjvkjrvBzjkcMPFnSrA3VKbse7ZYU8Y", + "executable": false, + "lamports": "23357760", + "owner": "9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin", + "rent_epoch": "285", + "data": [ + "c2VydW0FAAAAAAAAACb0plpcwKJ3eZJ2c0O3pgX+Ug3i4Er31tTXc7NRcisNeY2n/jg2NxkLC0/JNpf78hews8HNSfgTIeB68Ak/M5MAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP////////////////////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAjiMAAAAAAABwYWRkaW5n", + "base64" + ] +} \ No newline at end of file diff --git a/tests/testdata/account10/openorders1.json b/tests/testdata/account10/openorders1.json new file mode 100644 index 0000000..1e23b43 --- /dev/null +++ b/tests/testdata/account10/openorders1.json @@ -0,0 +1,11 @@ +{ + "address": "5nGhxbggg9j48TmckwbK1KjPJBSejb3cAdfGUfbSDowq", + "executable": false, + "lamports": "23357760", + "owner": "9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin", + "rent_epoch": "285", + "data": [ + "c2VydW0FAAAAAAAAAIenlaEjYiCcj4Ffk0x2HrlRfQWOnvklhavq5QGsvhUGeY2n/jg2NxkLC0/JNpf78hews8HNSfgTIeB68Ak/M5MAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP////////////////////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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" + ] +} \ No newline at end of file diff --git a/tests/testdata/account10/openorders10.json b/tests/testdata/account10/openorders10.json new file mode 100644 index 0000000..28198a9 --- /dev/null +++ b/tests/testdata/account10/openorders10.json @@ -0,0 +1,11 @@ +{ + "address": "5DDwuvRvBR475fDcvH5hryFcf17AGhiUWDP1JEKjCfCA", + "executable": false, + "lamports": "23357760", + "owner": "9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin", + "rent_epoch": "285", + "data": [ + "c2VydW0FAAAAAAAAAFYlF/KKIiuSuNKd8OsRQRnvZHPk6SsWp2YNPMUNwmi8eY2n/jg2NxkLC0/JNpf78hews8HNSfgTIeB68Ak/M5MAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP////////////////////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwYWRkaW5n", + "base64" + ] +} \ No newline at end of file diff --git a/tests/testdata/account10/openorders11.json b/tests/testdata/account10/openorders11.json new file mode 100644 index 0000000..cd418a1 --- /dev/null +++ b/tests/testdata/account10/openorders11.json @@ -0,0 +1,11 @@ +{ + "address": "7s9xAvFtSPQCcfuaoJVtJwGMXAjCnGpoucLq3j8hvKrx", + "executable": false, + "lamports": "23357760", + "owner": "9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin", + "rent_epoch": "285", + "data": [ + "c2VydW0FAAAAAAAAACySdKpztkLIRVIk0PPRuRj4tOdyCp4guPcWZj7E+W7ieY2n/jg2NxkLC0/JNpf78hews8HNSfgTIeB68Ak/M5MAAAAAAAAAAADC6wsAAAAAAAAAAAAAAAAAUS4/AAAAAPn///////////////////8EAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHDuBwAAAAAAWD4PAAAAAACNEfj//////yA8AwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwYWRkaW5n", + "base64" + ] +} \ No newline at end of file diff --git a/tests/testdata/account10/openorders12.json b/tests/testdata/account10/openorders12.json new file mode 100644 index 0000000..9849502 --- /dev/null +++ b/tests/testdata/account10/openorders12.json @@ -0,0 +1,11 @@ +{ + "address": "4iJAGP8i5HfaukZr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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAob0AAAAAAABwYWRkaW5n", + "base64" + ] +} \ No newline at end of file diff --git a/tests/testdata/account10/openorders13.json b/tests/testdata/account10/openorders13.json new file mode 100644 index 0000000..1df3147 --- /dev/null +++ b/tests/testdata/account10/openorders13.json @@ -0,0 +1,11 @@ +{ + "address": "9tTRACa6BjNFbgxD8YZ7WZhoqyMWUBqnysb39xzVpB8n", + "executable": false, + "lamports": "23357760", + "owner": "9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin", + "rent_epoch": "285", + "data": [ + "c2VydW0FAAAAAAAAAPBpNqm3fPLzPnjWFmelZCy+99OD+j8s7npu2/l6HIvVeY2n/jg2NxkLC0/JNpf78hews8HNSfgTIeB68Ak/M5MAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP////////////////////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPt8BAAAAAABwYWRkaW5n", + "base64" + ] +} \ No newline at end of file diff --git a/tests/testdata/account10/openorders3.json b/tests/testdata/account10/openorders3.json new file mode 100644 index 0000000..efeee14 --- /dev/null +++ b/tests/testdata/account10/openorders3.json @@ -0,0 +1,11 @@ +{ + "address": "Bds3ekdYv9D3GPR7Gve1rTGBpA1zdqcaFdE2f1XBDAqx", + "executable": false, + "lamports": "23357760", + "owner": "9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin", + "rent_epoch": "285", + "data": [ + "c2VydW0FAAAAAAAAAITC+xiu1h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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwYWRkaW5n", + "base64" + ] +} \ No newline at end of file diff --git a/tests/testdata/account10/openorders5.json b/tests/testdata/account10/openorders5.json new file mode 100644 index 0000000..7fd94cf --- /dev/null +++ b/tests/testdata/account10/openorders5.json @@ -0,0 +1,11 @@ +{ + "address": "5moUDvrARjdW93xX4wpmScidTwxh4s6jj1mGqK8EY1zS", + "executable": false, + "lamports": "23357760", + "owner": "9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin", + "rent_epoch": "285", + "data": [ + "c2VydW0FAAAAAAAAAKMJo9d1IfcJBfsqiJ1KPGpbgXeU3snqQur1LmCg9z3veY2n/jg2NxkLC0/JNpf78hews8HNSfgTIeB68Ak/M5MAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP////////////////////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwYWRkaW5n", + "base64" + ] +} \ No newline at end of file diff --git a/tests/testdata/account10/openorders6.json b/tests/testdata/account10/openorders6.json new file mode 100644 index 0000000..6869c35 --- /dev/null +++ b/tests/testdata/account10/openorders6.json @@ -0,0 +1,11 @@ +{ + "address": "4RmBQyKRGKov16FnDnpJRzKwvcY7hHP3uZPtFUwcLpk1", + "executable": false, + "lamports": "23357760", + "owner": "9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin", + "rent_epoch": "285", + "data": [ + "c2VydW0FAAAAAAAAAB0iBqHmqsuQv/vlgbIYd468j5sECE+8lQ4cJgGH3wbVeY2n/jg2NxkLC0/JNpf78hews8HNSfgTIeB68Ak/M5MAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP////////////////////8AAAAAAAAAAAAAA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AAAAAAAAAAAAAAAAABwYWRkaW5n", + "base64" + ] +} \ No newline at end of file diff --git a/tests/testdata/account10/openorders8.json b/tests/testdata/account10/openorders8.json new file mode 100644 index 0000000..0babf23 --- /dev/null +++ b/tests/testdata/account10/openorders8.json @@ -0,0 +1,11 @@ +{ + "address": "6Dw9yBDBMQVsSvxh6XU5qWtT6W3Z2HjCpP9DsDzF33xQ", + "executable": false, + "lamports": "23357760", + "owner": "9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin", + "rent_epoch": "285", + "data": [ + "c2VydW0FAAAAAAAAABSlsEJnUeEOP3AMctEDQdga4lC8RWBkG2NRxNxcdBGdeY2n/jg2NxkLC0/JNpf78hews8HNSfgTIeB68Ak/M5MAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP////////////////////8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwYWRkaW5n", + "base64" + ] +} \ No newline at end of file diff --git a/tests/testdata/account10/regenerate b/tests/testdata/account10/regenerate new file mode 100755 index 0000000..8c1de1c --- /dev/null +++ b/tests/testdata/account10/regenerate @@ -0,0 +1,17 @@ +#! /usr/bin/env bash + +export CLUSTER_NAME=mainnet +show-account-info --address 98pjRuQjK3qA6gXts96PqZT4Ze5QmnCmt3QYjhbUSPue --filename group.json +show-account-info --address EBDRoayCDDUvDgCimta45ajQeXbexv7aKqJubruqpyvu --filename cache.json +show-account-info --address 6jyVEZe4xsZFgAjvkjrvBzjkcMPFnSrA3VKbse7ZYU8Y --filename openorders0.json +show-account-info --address 5nGhxbggg9j48TmckwbK1KjPJBSejb3cAdfGUfbSDowq --filename openorders1.json +show-account-info --address Bds3ekdYv9D3GPR7Gve1rTGBpA1zdqcaFdE2f1XBDAqx --filename openorders3.json +show-account-info --address 5moUDvrARjdW93xX4wpmScidTwxh4s6jj1mGqK8EY1zS --filename openorders5.json +show-account-info --address 4RmBQyKRGKov16FnDnpJRzKwvcY7hHP3uZPtFUwcLpk1 --filename openorders6.json +show-account-info --address 6Dw9yBDBMQVsSvxh6XU5qWtT6W3Z2HjCpP9DsDzF33xQ --filename openorders8.json +show-account-info --address 5DDwuvRvBR475fDcvH5hryFcf17AGhiUWDP1JEKjCfCA --filename openorders10.json +show-account-info --address 7s9xAvFtSPQCcfuaoJVtJwGMXAjCnGpoucLq3j8hvKrx --filename openorders11.json +show-account-info --address 4iJAGP8i5HfaukZrbLWpZKYiAihEwjde3pjNnYPknriD --filename openorders12.json +show-account-info --address 9tTRACa6BjNFbgxD8YZ7WZhoqyMWUBqnysb39xzVpB8n --filename openorders13.json + +show-account-info --address F3TTrgxjrkAHdS9zEidtwU5VXyvMgr5poii4HYatZheH --filename account.json