Skip to content

Commit

Permalink
Merge pull request #2 from iclighthouse/dev-240108
Browse files Browse the repository at this point in the history
v1.4
  • Loading branch information
iclighthouse authored Jan 8, 2024
2 parents 1916038 + 7d1028e commit 3897581
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ICDexRouter.mo
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import DRC205 "DRC205";

module {
public type DexName = Text;
public type TokenStd = DRC205.TokenStd; // #cycles token principal = CF canister
public type TokenStd = DRC205.TokenStd;
public type TokenSymbol = Text;
public type TokenInfo = (Principal, TokenSymbol, TokenStd);
//public type Pair = (Principal, Principal);
Expand Down Expand Up @@ -59,6 +59,7 @@ module {
spreadRate: Nat; // e.g. 10000, ppm x/1000000
threshold: Nat; // e.g. 1000000000000 token1, After the total liquidity exceeds this threshold, the LP adds liquidity up to a limit of volFactor times his trading volume.
volFactor: Nat; // e.g. 2
creator: ?AccountId;
}) -> async (canister: Principal);
maker_update : shared (_pair: Principal, _maker: Principal, _name:?Text, _version: Text) -> async (canister: ?Principal);
maker_rollback : shared (_pair: Principal, _maker: Principal) -> async (canister: ?Principal);
Expand Down

0 comments on commit 3897581

Please sign in to comment.