1+ export const IALPHA_ADDRESS = "0x0000000000000000000000000000000000000808" ;
2+
3+ export const IAlphaABI = [
4+ {
5+ "inputs" : [
6+ {
7+ "internalType" : "uint16" ,
8+ "name" : "netuid" ,
9+ "type" : "uint16"
10+ }
11+ ] ,
12+ "name" : "getAlphaPrice" ,
13+ "outputs" : [
14+ {
15+ "internalType" : "uint256" ,
16+ "name" : "" ,
17+ "type" : "uint256"
18+ }
19+ ] ,
20+ "stateMutability" : "view" ,
21+ "type" : "function"
22+ } ,
23+ {
24+ "inputs" : [
25+ {
26+ "internalType" : "uint16" ,
27+ "name" : "netuid" ,
28+ "type" : "uint16"
29+ }
30+ ] ,
31+ "name" : "getMovingAlphaPrice" ,
32+ "outputs" : [
33+ {
34+ "internalType" : "uint256" ,
35+ "name" : "" ,
36+ "type" : "uint256"
37+ }
38+ ] ,
39+ "stateMutability" : "view" ,
40+ "type" : "function"
41+ } ,
42+ {
43+ "inputs" : [
44+ {
45+ "internalType" : "uint16" ,
46+ "name" : "netuid" ,
47+ "type" : "uint16"
48+ }
49+ ] ,
50+ "name" : "getTaoInPool" ,
51+ "outputs" : [
52+ {
53+ "internalType" : "uint64" ,
54+ "name" : "" ,
55+ "type" : "uint64"
56+ }
57+ ] ,
58+ "stateMutability" : "view" ,
59+ "type" : "function"
60+ } ,
61+ {
62+ "inputs" : [
63+ {
64+ "internalType" : "uint16" ,
65+ "name" : "netuid" ,
66+ "type" : "uint16"
67+ }
68+ ] ,
69+ "name" : "getAlphaInPool" ,
70+ "outputs" : [
71+ {
72+ "internalType" : "uint64" ,
73+ "name" : "" ,
74+ "type" : "uint64"
75+ }
76+ ] ,
77+ "stateMutability" : "view" ,
78+ "type" : "function"
79+ } ,
80+ {
81+ "inputs" : [
82+ {
83+ "internalType" : "uint16" ,
84+ "name" : "netuid" ,
85+ "type" : "uint16"
86+ }
87+ ] ,
88+ "name" : "getAlphaOutPool" ,
89+ "outputs" : [
90+ {
91+ "internalType" : "uint64" ,
92+ "name" : "" ,
93+ "type" : "uint64"
94+ }
95+ ] ,
96+ "stateMutability" : "view" ,
97+ "type" : "function"
98+ } ,
99+ {
100+ "inputs" : [
101+ {
102+ "internalType" : "uint16" ,
103+ "name" : "netuid" ,
104+ "type" : "uint16"
105+ }
106+ ] ,
107+ "name" : "getAlphaIssuance" ,
108+ "outputs" : [
109+ {
110+ "internalType" : "uint64" ,
111+ "name" : "" ,
112+ "type" : "uint64"
113+ }
114+ ] ,
115+ "stateMutability" : "view" ,
116+ "type" : "function"
117+ } ,
118+ {
119+ "inputs" : [ ] ,
120+ "name" : "getTaoWeight" ,
121+ "outputs" : [
122+ {
123+ "internalType" : "uint256" ,
124+ "name" : "" ,
125+ "type" : "uint256"
126+ }
127+ ] ,
128+ "stateMutability" : "view" ,
129+ "type" : "function"
130+ } ,
131+ {
132+ "inputs" : [
133+ {
134+ "internalType" : "uint16" ,
135+ "name" : "netuid" ,
136+ "type" : "uint16"
137+ } ,
138+ {
139+ "internalType" : "uint64" ,
140+ "name" : "tao" ,
141+ "type" : "uint64"
142+ }
143+ ] ,
144+ "name" : "simSwapTaoForAlpha" ,
145+ "outputs" : [
146+ {
147+ "internalType" : "uint256" ,
148+ "name" : "" ,
149+ "type" : "uint256"
150+ }
151+ ] ,
152+ "stateMutability" : "view" ,
153+ "type" : "function"
154+ } ,
155+ {
156+ "inputs" : [
157+ {
158+ "internalType" : "uint16" ,
159+ "name" : "netuid" ,
160+ "type" : "uint16"
161+ } ,
162+ {
163+ "internalType" : "uint64" ,
164+ "name" : "alpha" ,
165+ "type" : "uint64"
166+ }
167+ ] ,
168+ "name" : "simSwapAlphaForTao" ,
169+ "outputs" : [
170+ {
171+ "internalType" : "uint256" ,
172+ "name" : "" ,
173+ "type" : "uint256"
174+ }
175+ ] ,
176+ "stateMutability" : "view" ,
177+ "type" : "function"
178+ } ,
179+ {
180+ "inputs" : [
181+ {
182+ "internalType" : "uint16" ,
183+ "name" : "netuid" ,
184+ "type" : "uint16"
185+ }
186+ ] ,
187+ "name" : "getSubnetMechanism" ,
188+ "outputs" : [
189+ {
190+ "internalType" : "uint16" ,
191+ "name" : "" ,
192+ "type" : "uint16"
193+ }
194+ ] ,
195+ "stateMutability" : "view" ,
196+ "type" : "function"
197+ } ,
198+ {
199+ "inputs" : [ ] ,
200+ "name" : "getRootNetuid" ,
201+ "outputs" : [
202+ {
203+ "internalType" : "uint16" ,
204+ "name" : "" ,
205+ "type" : "uint16"
206+ }
207+ ] ,
208+ "stateMutability" : "view" ,
209+ "type" : "function"
210+ } ,
211+ {
212+ "inputs" : [
213+ {
214+ "internalType" : "uint16" ,
215+ "name" : "netuid" ,
216+ "type" : "uint16"
217+ }
218+ ] ,
219+ "name" : "getEMAPriceHalvingBlocks" ,
220+ "outputs" : [
221+ {
222+ "internalType" : "uint64" ,
223+ "name" : "" ,
224+ "type" : "uint64"
225+ }
226+ ] ,
227+ "stateMutability" : "view" ,
228+ "type" : "function"
229+ } ,
230+ {
231+ "inputs" : [
232+ {
233+ "internalType" : "uint16" ,
234+ "name" : "netuid" ,
235+ "type" : "uint16"
236+ }
237+ ] ,
238+ "name" : "getSubnetVolume" ,
239+ "outputs" : [
240+ {
241+ "internalType" : "uint256" ,
242+ "name" : "" ,
243+ "type" : "uint256"
244+ }
245+ ] ,
246+ "stateMutability" : "view" ,
247+ "type" : "function"
248+ }
249+ ]
0 commit comments