47
The swap price.
48
49
The estimated amountOut after swap.
50
51
The estimated amountOut after swapOut fee charged.
52
53
The punishment for tokenOut exceed RAS.
54
55
The estimated amountOut after swapOut punishment charged.
56
57
The new cov after fee and punishments charged.
58
59
Extra punishment.
60
61
Extra rewards.
62
63
RealOut
64
65
The following are the calculations of not considering tokenIn punishment.
66
67
68
69
70
71
72
73
74
75
The real price impact.
76
77
The impact of extra punishment(rewards).
78
79
The initial curve if no punishments.
80
81
The curve if extra punishment is not taken into consideration.
82
83
The impact of both swapIn and swapOut punishments.
84
85
The curve if swapOut punishment is not taken into consideration.
86
87
The impact of swapIn.
88
89
The curve if swapIn punishment is not taken into consideration.
90
91
The impact of swap out.
92
93
94
desenvolvida por
desenvolvida por
Novo gráfico em branco
Exemplos