GMX v2 - Trading (#7)
* Move PrivateKeys.cs * Update gitignore * Update gitignore * updt * Extract GmxServiceTests.cs * Refact * update todo * Update code * Fix hashdata * Replace static token hashed datas * Set allowance * Add get orders * Add get orders tests * Add ignore * add close orders * revert * Add get gas limit * Start increasePosition. Todo: Finish GetExecutionFee and estimateGas * little refact * Update gitignore * Fix namespaces and clean repo * Add tests samples * Add execution fee * Add increase position * Handle backtest on the frontend * Add tests * Update increase * Test increase * fix increase * Fix size * Start get position * Update get positions * Fix get position * Update rpc and trade mappers * Finish close position * Fix leverage
This commit is contained in:
@@ -9,7 +9,7 @@ public class Arbitrum
|
||||
public const string LINK = "0xf97f4df75117a78c1a5a0dbb814af92458539fb4";
|
||||
public const string UNI = "0xfa7f8980b0f1e64a2062791cc3b0871572f1f7f0";
|
||||
|
||||
public const string USDC = "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8";
|
||||
public const string USDC = "0xaf88d065e77c8cc2239327c5edb3a432268e5831";
|
||||
public const string USDT = "0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9";
|
||||
public const string DAI = "0xda10009cbd5d07dd0cecc66161fc93d7c9000da1";
|
||||
public const string MIM = "0xFEa7a6a0B346362BF88A9e4A88416B77a57D6c2A";
|
||||
@@ -52,7 +52,7 @@ public class Arbitrum
|
||||
|
||||
public const string UniswapGmxEthPool = "0x80A9ae39310abf666A87C743d6ebBD0E8C42158E";
|
||||
|
||||
public static string Zero = "0x0000000000000000000000000000000000000000";
|
||||
public const string Zero = "0x0000000000000000000000000000000000000000";
|
||||
}
|
||||
|
||||
public class AddressV2
|
||||
@@ -60,12 +60,14 @@ public class Arbitrum
|
||||
public const string DataStore = "0xFD70de6b91282D8017aA4E741e9Ae325CAb992d8";
|
||||
public const string EventEmitter = "0xC8ee91A54287DB53897056e12D9819156D3822Fb";
|
||||
public const string SubaccountRouter = "0x9F48160eDc3Ad78F4cA0E3FDF54A75D8FB228452";
|
||||
public const string ExchangeRouter = "0x69C527fC77291722b52649E45c838e41be8Bf5d5";
|
||||
public const string ExchangeRouter = "0x900173A66dbD345006C51fA35fA3aB760FcD843b";
|
||||
public const string DepositVault = "0xF89e77e8Dc11691C9e8757e84aaFbCD8A67d7A55";
|
||||
public const string WithdrawalVault = "0x0628D46b5D145f183AdB6Ef1f2c97eD1C4701C55";
|
||||
public const string OrderVault = "0x31eF83a530Fde1B38EE9A18093A333D8Bbbc40D5";
|
||||
public const string Reader = "0x5Ca84c34a381434786738735265b9f3FD814b824";
|
||||
public const string Reader = "0x0537C767cDAC0726c76Bb89e92904fe28fd02fE1";
|
||||
public const string SyntheticsRouter = "0x7452c558d45f8afC8c83dAe62C3f8A5BE19c71f6";
|
||||
public const string Multicall = "0xcA11bde05977b3631167028862bE2a173976CA11";
|
||||
public const string SyntheticsReader = "0x0537C767cDAC0726c76Bb89e92904fe28fd02fE1";
|
||||
public const string Multicall = "0x842ec2c7d803033edf55e478f461fc547bc54eb2";
|
||||
public const string ReferralStorage = "0xe6fab3f0c7199b0d34d7fbe83394fc0e0d06e99d";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user