* 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
18 lines
621 B
C#
18 lines
621 B
C#
using System.Numerics;
|
|
using Nethereum.ABI.FunctionEncoding.Attributes;
|
|
|
|
namespace Managing.ABI.GmxV2.SyntheticsReader.ContractDefinition
|
|
{
|
|
public partial class PositionProFees : PositionProFeesBase { }
|
|
|
|
public class PositionProFeesBase
|
|
{
|
|
[Parameter("uint256", "traderTier", 1)]
|
|
public virtual BigInteger TraderTier { get; set; }
|
|
[Parameter("uint256", "traderDiscountFactor", 2)]
|
|
public virtual BigInteger TraderDiscountFactor { get; set; }
|
|
[Parameter("uint256", "traderDiscountAmount", 3)]
|
|
public virtual BigInteger TraderDiscountAmount { get; set; }
|
|
}
|
|
}
|