|
1 | 1 | package grc20wrapper
|
2 | 2 |
|
3 | 3 | import (
|
4 |
| - pRegistry "gno.land/r/pool" |
5 |
| - rRegistry "gno.land/r/router" |
6 |
| - sRegistry "gno.land/r/staker" |
| 4 | + pRegistry "gno.land/r/demo/pool" |
| 5 | + rRegistry "gno.land/r/demo/router" |
| 6 | + sRegistry "gno.land/r/demo/staker" |
7 | 7 | )
|
8 | 8 |
|
9 | 9 | func init() {
|
10 |
| - pRegistry.RegisterGRC20Interface("gno.land/r/wugnot", WugnotTokenInterface{}) |
11 |
| - rRegistry.RegisterGRC20Interface("gno.land/r/wugnot", WugnotTokenInterface{}) |
12 |
| - sRegistry.RegisterGRC20Interface("gno.land/r/wugnot", WugnotTokenInterface{}) |
13 |
| - |
14 |
| - pRegistry.RegisterGRC20Interface("gno.land/r/bar", BarTokenInterface{}) |
15 |
| - rRegistry.RegisterGRC20Interface("gno.land/r/bar", BarTokenInterface{}) |
16 |
| - sRegistry.RegisterGRC20Interface("gno.land/r/bar", BarTokenInterface{}) |
17 |
| - |
18 |
| - pRegistry.RegisterGRC20Interface("gno.land/r/baz", BazTokenInterface{}) |
19 |
| - rRegistry.RegisterGRC20Interface("gno.land/r/baz", BazTokenInterface{}) |
20 |
| - sRegistry.RegisterGRC20Interface("gno.land/r/baz", BazTokenInterface{}) |
21 |
| - |
22 |
| - pRegistry.RegisterGRC20Interface("gno.land/r/foo", FooTokenInterface{}) |
23 |
| - rRegistry.RegisterGRC20Interface("gno.land/r/foo", FooTokenInterface{}) |
24 |
| - sRegistry.RegisterGRC20Interface("gno.land/r/foo", FooTokenInterface{}) |
25 |
| - |
26 |
| - pRegistry.RegisterGRC20Interface("gno.land/r/gns", GnsTokenInterface{}) |
27 |
| - rRegistry.RegisterGRC20Interface("gno.land/r/gns", GnsTokenInterface{}) |
28 |
| - sRegistry.RegisterGRC20Interface("gno.land/r/gns", GnsTokenInterface{}) |
29 |
| - |
30 |
| - pRegistry.RegisterGRC20Interface("gno.land/r/qux", QuxTokenInterface{}) |
31 |
| - rRegistry.RegisterGRC20Interface("gno.land/r/qux", QuxTokenInterface{}) |
32 |
| - sRegistry.RegisterGRC20Interface("gno.land/r/qux", QuxTokenInterface{}) |
33 |
| - |
34 |
| - pRegistry.RegisterGRC20Interface("gno.land/r/st1", SwapTest1TokenCTokenInterface{}) |
35 |
| - rRegistry.RegisterGRC20Interface("gno.land/r/st1", SwapTest1TokenCTokenInterface{}) |
36 |
| - sRegistry.RegisterGRC20Interface("gno.land/r/st1", SwapTest1TokenCTokenInterface{}) |
37 |
| - |
38 |
| - pRegistry.RegisterGRC20Interface("gno.land/r/st2", SwapTest2TokenCTokenInterface{}) |
39 |
| - rRegistry.RegisterGRC20Interface("gno.land/r/st2", SwapTest2TokenCTokenInterface{}) |
40 |
| - sRegistry.RegisterGRC20Interface("gno.land/r/st2", SwapTest2TokenCTokenInterface{}) |
41 |
| - |
42 |
| - pRegistry.RegisterGRC20Interface("gno.land/r/st3", SwapTest3TokenCTokenInterface{}) |
43 |
| - rRegistry.RegisterGRC20Interface("gno.land/r/st3", SwapTest3TokenCTokenInterface{}) |
44 |
| - sRegistry.RegisterGRC20Interface("gno.land/r/st3", SwapTest3TokenCTokenInterface{}) |
45 |
| - |
46 |
| - pRegistry.RegisterGRC20Interface("gno.land/r/st4", SwapTest4TokenCTokenInterface{}) |
47 |
| - rRegistry.RegisterGRC20Interface("gno.land/r/st4", SwapTest4TokenCTokenInterface{}) |
48 |
| - sRegistry.RegisterGRC20Interface("gno.land/r/st4", SwapTest4TokenCTokenInterface{}) |
49 |
| - |
50 |
| - pRegistry.RegisterGRC20Interface("gno.land/r/st5", SwapTest5TokenCTokenInterface{}) |
51 |
| - rRegistry.RegisterGRC20Interface("gno.land/r/st5", SwapTest5TokenCTokenInterface{}) |
52 |
| - sRegistry.RegisterGRC20Interface("gno.land/r/st5", SwapTest5TokenCTokenInterface{}) |
53 |
| - |
54 |
| - // TO BE USED |
55 |
| - // pRegistry.RegisterGRC20Interface("gno.land/r/testtokena", TestTokenATokenInterface{}) |
56 |
| - // rRegistry.RegisterGRC20Interface("gno.land/r/testtokena", TestTokenATokenInterface{}) |
57 |
| - // sRegistry.RegisterGRC20Interface("gno.land/r/testtokena", TestTokenATokenInterface{}) |
58 |
| - |
59 |
| - // pRegistry.RegisterGRC20Interface("gno.land/r/testtokenb", TestTokenBTokenInterface{}) |
60 |
| - // rRegistry.RegisterGRC20Interface("gno.land/r/testtokenb", TestTokenBTokenInterface{}) |
61 |
| - // sRegistry.RegisterGRC20Interface("gno.land/r/testtokenb", TestTokenBTokenInterface{}) |
62 |
| - |
63 |
| - // pRegistry.RegisterGRC20Interface("gno.land/r/testtokenc", TestTokenCTokenInterface{}) |
64 |
| - // rRegistry.RegisterGRC20Interface("gno.land/r/testtokenc", TestTokenCTokenInterface{}) |
65 |
| - // sRegistry.RegisterGRC20Interface("gno.land/r/testtokenc", TestTokenCTokenInterface{}) |
| 10 | + pRegistry.RegisterGRC20Interface("gno.land/r/demo/wugnot", WugnotTokenInterface{}) |
| 11 | + rRegistry.RegisterGRC20Interface("gno.land/r/demo/wugnot", WugnotTokenInterface{}) |
| 12 | + sRegistry.RegisterGRC20Interface("gno.land/r/demo/wugnot", WugnotTokenInterface{}) |
| 13 | + |
| 14 | + pRegistry.RegisterGRC20Interface("gno.land/r/demo/bar", BarTokenInterface{}) |
| 15 | + rRegistry.RegisterGRC20Interface("gno.land/r/demo/bar", BarTokenInterface{}) |
| 16 | + sRegistry.RegisterGRC20Interface("gno.land/r/demo/bar", BarTokenInterface{}) |
| 17 | + |
| 18 | + pRegistry.RegisterGRC20Interface("gno.land/r/demo/baz", BazTokenInterface{}) |
| 19 | + rRegistry.RegisterGRC20Interface("gno.land/r/demo/baz", BazTokenInterface{}) |
| 20 | + sRegistry.RegisterGRC20Interface("gno.land/r/demo/baz", BazTokenInterface{}) |
| 21 | + |
| 22 | + pRegistry.RegisterGRC20Interface("gno.land/r/demo/foo", FooTokenInterface{}) |
| 23 | + rRegistry.RegisterGRC20Interface("gno.land/r/demo/foo", FooTokenInterface{}) |
| 24 | + sRegistry.RegisterGRC20Interface("gno.land/r/demo/foo", FooTokenInterface{}) |
| 25 | + |
| 26 | + pRegistry.RegisterGRC20Interface("gno.land/r/demo/gns", GnsTokenInterface{}) |
| 27 | + rRegistry.RegisterGRC20Interface("gno.land/r/demo/gns", GnsTokenInterface{}) |
| 28 | + sRegistry.RegisterGRC20Interface("gno.land/r/demo/gns", GnsTokenInterface{}) |
| 29 | + |
| 30 | + pRegistry.RegisterGRC20Interface("gno.land/r/demo/qux", QuxTokenInterface{}) |
| 31 | + rRegistry.RegisterGRC20Interface("gno.land/r/demo/qux", QuxTokenInterface{}) |
| 32 | + sRegistry.RegisterGRC20Interface("gno.land/r/demo/qux", QuxTokenInterface{}) |
| 33 | + |
| 34 | + pRegistry.RegisterGRC20Interface("gno.land/r/demo/st1", SwapTest1TokenCTokenInterface{}) |
| 35 | + rRegistry.RegisterGRC20Interface("gno.land/r/demo/st1", SwapTest1TokenCTokenInterface{}) |
| 36 | + sRegistry.RegisterGRC20Interface("gno.land/r/demo/st1", SwapTest1TokenCTokenInterface{}) |
| 37 | + |
| 38 | + pRegistry.RegisterGRC20Interface("gno.land/r/demo/st2", SwapTest2TokenCTokenInterface{}) |
| 39 | + rRegistry.RegisterGRC20Interface("gno.land/r/demo/st2", SwapTest2TokenCTokenInterface{}) |
| 40 | + sRegistry.RegisterGRC20Interface("gno.land/r/demo/st2", SwapTest2TokenCTokenInterface{}) |
| 41 | + |
| 42 | + pRegistry.RegisterGRC20Interface("gno.land/r/demo/st3", SwapTest3TokenCTokenInterface{}) |
| 43 | + rRegistry.RegisterGRC20Interface("gno.land/r/demo/st3", SwapTest3TokenCTokenInterface{}) |
| 44 | + sRegistry.RegisterGRC20Interface("gno.land/r/demo/st3", SwapTest3TokenCTokenInterface{}) |
| 45 | + |
| 46 | + pRegistry.RegisterGRC20Interface("gno.land/r/demo/st4", SwapTest4TokenCTokenInterface{}) |
| 47 | + rRegistry.RegisterGRC20Interface("gno.land/r/demo/st4", SwapTest4TokenCTokenInterface{}) |
| 48 | + sRegistry.RegisterGRC20Interface("gno.land/r/demo/st4", SwapTest4TokenCTokenInterface{}) |
| 49 | + |
| 50 | + pRegistry.RegisterGRC20Interface("gno.land/r/demo/st5", SwapTest5TokenCTokenInterface{}) |
| 51 | + rRegistry.RegisterGRC20Interface("gno.land/r/demo/st5", SwapTest5TokenCTokenInterface{}) |
| 52 | + sRegistry.RegisterGRC20Interface("gno.land/r/demo/st5", SwapTest5TokenCTokenInterface{}) |
| 53 | + |
| 54 | + pRegistry.RegisterGRC20Interface("gno.land/r/st11", SwapTest11TokenCTokenInterface{}) |
| 55 | + rRegistry.RegisterGRC20Interface("gno.land/r/st11", SwapTest11TokenCTokenInterface{}) |
| 56 | + sRegistry.RegisterGRC20Interface("gno.land/r/st11", SwapTest11TokenCTokenInterface{}) |
| 57 | + |
| 58 | + pRegistry.RegisterGRC20Interface("gno.land/r/st22", SwapTest22TokenCTokenInterface{}) |
| 59 | + rRegistry.RegisterGRC20Interface("gno.land/r/st22", SwapTest22TokenCTokenInterface{}) |
| 60 | + sRegistry.RegisterGRC20Interface("gno.land/r/st22", SwapTest22TokenCTokenInterface{}) |
| 61 | + |
| 62 | + pRegistry.RegisterGRC20Interface("gno.land/r/st33", SwapTest33TokenCTokenInterface{}) |
| 63 | + rRegistry.RegisterGRC20Interface("gno.land/r/st33", SwapTest33TokenCTokenInterface{}) |
| 64 | + sRegistry.RegisterGRC20Interface("gno.land/r/st33", SwapTest33TokenCTokenInterface{}) |
| 65 | + |
| 66 | + pRegistry.RegisterGRC20Interface("gno.land/r/st44", SwapTest44TokenCTokenInterface{}) |
| 67 | + rRegistry.RegisterGRC20Interface("gno.land/r/st44", SwapTest44TokenCTokenInterface{}) |
| 68 | + sRegistry.RegisterGRC20Interface("gno.land/r/st44", SwapTest44TokenCTokenInterface{}) |
| 69 | + |
| 70 | + pRegistry.RegisterGRC20Interface("gno.land/r/st55", SwapTest55TokenCTokenInterface{}) |
| 71 | + rRegistry.RegisterGRC20Interface("gno.land/r/st55", SwapTest55TokenCTokenInterface{}) |
| 72 | + sRegistry.RegisterGRC20Interface("gno.land/r/st55", SwapTest55TokenCTokenInterface{}) |
| 73 | + |
| 74 | + pRegistry.RegisterGRC20Interface("gno.land/r/testtokena", TestTokenATokenInterface{}) |
| 75 | + rRegistry.RegisterGRC20Interface("gno.land/r/testtokena", TestTokenATokenInterface{}) |
| 76 | + sRegistry.RegisterGRC20Interface("gno.land/r/testtokena", TestTokenATokenInterface{}) |
| 77 | + |
| 78 | + pRegistry.RegisterGRC20Interface("gno.land/r/testtokenb", TestTokenBTokenInterface{}) |
| 79 | + rRegistry.RegisterGRC20Interface("gno.land/r/testtokenb", TestTokenBTokenInterface{}) |
| 80 | + sRegistry.RegisterGRC20Interface("gno.land/r/testtokenb", TestTokenBTokenInterface{}) |
| 81 | + |
| 82 | + pRegistry.RegisterGRC20Interface("gno.land/r/testtokenc", TestTokenCTokenInterface{}) |
| 83 | + rRegistry.RegisterGRC20Interface("gno.land/r/testtokenc", TestTokenCTokenInterface{}) |
| 84 | + sRegistry.RegisterGRC20Interface("gno.land/r/testtokenc", TestTokenCTokenInterface{}) |
66 | 85 | }
|
0 commit comments