4
4
# Test Accounts
5
5
# gnokey add -recover=true -index 10 gsa
6
6
# gnokey add -recover=true -index 11 lp01
7
- # gnokey add -recover=true -index 12 lp02
8
- # gnokey add -recover=true -index 13 tr01
9
-
10
7
ADDR_GSA := g12l9splsyngcgefrwa52x5a7scc29e9v086m6p4
11
8
ADDR_LP01 := g1jqpr8r5akez83kp7ers0sfjyv2kgx45qa9qygd
12
- ADDR_LP02 := g126yz2f34qdxaqxelmky40dym379q0vw3yzhyrq
13
- ADDR_TR01 := g1wgdjecn5lylgvujzyspfzvhjm6qn4z8xqyyxdn
14
9
15
10
ADDR_POOL := g1ee305k8yk0pjz443xpwtqdyep522f9g5r7d63w
16
11
ADDR_POS := g1htpxzv2dkplvzg50nd8fswrneaxmdpwn459thx
@@ -20,10 +15,6 @@ ADDR_GOV := g1wj5lwwmkru3ky6dh2zztanrcj2ups8g0pfe8cu
20
15
21
16
TX_EXPIRE := 9999999999
22
17
23
- NOW := $(shell date +% s)
24
- INCENTIVE_START := $(shell expr $(NOW ) + 120)
25
- INCENTIVE_END := $(shell expr $(NOW ) + 7776000) # 90 DAY
26
-
27
18
MAKEFILE := $(shell realpath $(firstword $(MAKEFILE_LIST ) ) )
28
19
GNOLAND_RPC_URL ?= localhost:26657
29
20
CHAINID ?= dev
@@ -41,10 +32,10 @@ all: deploy faucet approve pool-setup position-mint done
41
32
deploy : deploy-foo deploy-bar deploy-baz deploy-qux deploy-wugnot deploy-gns deploy-obl deploy-gnft deploy-gov deploy-pool deploy-position deploy-staker deploy-router deploy-grc20_wrapper
42
33
43
34
.PHONY : faucet
44
- faucet : faucet-lp01 faucet-lp02 faucet-tr01 faucet- gsa
35
+ faucet : faucet-lp01 faucet-gsa
45
36
46
37
.PHONY : approve
47
- approve : approve-lp01 approve-lp02 approve-tr01 approve- gsa
38
+ approve : approve-lp01 approve-gsa
48
39
49
40
.PHONY : pool-setup
50
41
pool-setup : pool-init pool-create
@@ -138,23 +129,9 @@ faucet-lp01:
138
129
@echo " " | gnokey maketx call -pkgpath gno.land/r/bar -func FaucetL -insecure-password-stdin=true -remote $(GNOLAND_RPC_URL ) -broadcast=true -chainid $(CHAINID ) -gas-fee 1ugnot -gas-wanted 9000000 -memo " " lp01 > /dev/null
139
130
@echo " " | gnokey maketx call -pkgpath gno.land/r/baz -func FaucetL -insecure-password-stdin=true -remote $(GNOLAND_RPC_URL ) -broadcast=true -chainid $(CHAINID ) -gas-fee 1ugnot -gas-wanted 9000000 -memo " " lp01 > /dev/null
140
131
@echo " " | gnokey maketx call -pkgpath gno.land/r/qux -func FaucetL -insecure-password-stdin=true -remote $(GNOLAND_RPC_URL ) -broadcast=true -chainid $(CHAINID ) -gas-fee 1ugnot -gas-wanted 9000000 -memo " " lp01 > /dev/null
132
+ @echo " " | gnokey maketx call -pkgpath gno.land/r/gns -func FaucetL -insecure-password-stdin=true -remote $(GNOLAND_RPC_URL ) -broadcast=true -chainid $(CHAINID ) -gas-fee 1ugnot -gas-wanted 9000000 -memo " " lp01 > /dev/null
141
133
@echo
142
134
143
- faucet-lp02 :
144
- $(info ************ [FAUCET] foo & bar & baz & qux & wugnot to lp02 ************ )
145
- @echo " " | gnokey maketx call -pkgpath gno.land/r/foo -func FaucetL -insecure-password-stdin=true -remote $(GNOLAND_RPC_URL ) -broadcast=true -chainid $(CHAINID ) -gas-fee 1ugnot -gas-wanted 9000000 -memo " " lp02 > /dev/null
146
- @echo " " | gnokey maketx call -pkgpath gno.land/r/bar -func FaucetL -insecure-password-stdin=true -remote $(GNOLAND_RPC_URL ) -broadcast=true -chainid $(CHAINID ) -gas-fee 1ugnot -gas-wanted 9000000 -memo " " lp02 > /dev/null
147
- @echo " " | gnokey maketx call -pkgpath gno.land/r/baz -func FaucetL -insecure-password-stdin=true -remote $(GNOLAND_RPC_URL ) -broadcast=true -chainid $(CHAINID ) -gas-fee 1ugnot -gas-wanted 9000000 -memo " " lp02 > /dev/null
148
- @echo " " | gnokey maketx call -pkgpath gno.land/r/qux -func FaucetL -insecure-password-stdin=true -remote $(GNOLAND_RPC_URL ) -broadcast=true -chainid $(CHAINID ) -gas-fee 1ugnot -gas-wanted 9000000 -memo " " lp02 > /dev/null
149
- @echo
150
-
151
- faucet-tr01 :
152
- $(info ************ [FAUCET] foo & bar & baz & qux & wugnot to tr01 ************ )
153
- @echo " " | gnokey maketx call -pkgpath gno.land/r/foo -func FaucetL -insecure-password-stdin=true -remote $(GNOLAND_RPC_URL ) -broadcast=true -chainid $(CHAINID ) -gas-fee 1ugnot -gas-wanted 9000000 -memo " " tr01 > /dev/null
154
- @echo " " | gnokey maketx call -pkgpath gno.land/r/bar -func FaucetL -insecure-password-stdin=true -remote $(GNOLAND_RPC_URL ) -broadcast=true -chainid $(CHAINID ) -gas-fee 1ugnot -gas-wanted 9000000 -memo " " tr01 > /dev/null
155
- @echo " " | gnokey maketx call -pkgpath gno.land/r/baz -func FaucetL -insecure-password-stdin=true -remote $(GNOLAND_RPC_URL ) -broadcast=true -chainid $(CHAINID ) -gas-fee 1ugnot -gas-wanted 9000000 -memo " " tr01 > /dev/null
156
- @echo " " | gnokey maketx call -pkgpath gno.land/r/qux -func FaucetL -insecure-password-stdin=true -remote $(GNOLAND_RPC_URL ) -broadcast=true -chainid $(CHAINID ) -gas-fee 1ugnot -gas-wanted 9000000 -memo " " tr01 > /dev/null
157
- @echo
158
135
159
136
faucet-gsa :
160
137
$(info ************ [FAUCET] foo & bar & baz & qux & wugnot & gns to gsa ************ )
@@ -173,26 +150,10 @@ approve-lp01:
173
150
@echo " " | gnokey maketx call -pkgpath gno.land/r/bar -func Approve -args $(ADDR_POOL ) -args 50000000000 -insecure-password-stdin=true -remote $(GNOLAND_RPC_URL ) -broadcast=true -chainid $(CHAINID ) -gas-fee 1ugnot -gas-wanted 9000000 -memo " " lp01 > /dev/null
174
151
@echo " " | gnokey maketx call -pkgpath gno.land/r/baz -func Approve -args $(ADDR_POOL ) -args 50000000000 -insecure-password-stdin=true -remote $(GNOLAND_RPC_URL ) -broadcast=true -chainid $(CHAINID ) -gas-fee 1ugnot -gas-wanted 9000000 -memo " " lp01 > /dev/null
175
152
@echo " " | gnokey maketx call -pkgpath gno.land/r/qux -func Approve -args $(ADDR_POOL ) -args 50000000000 -insecure-password-stdin=true -remote $(GNOLAND_RPC_URL ) -broadcast=true -chainid $(CHAINID ) -gas-fee 1ugnot -gas-wanted 9000000 -memo " " lp01 > /dev/null
153
+ @echo " " | gnokey maketx call -pkgpath gno.land/r/gns -func Approve -args $(ADDR_POOL ) -args 50000000000 -insecure-password-stdin=true -remote $(GNOLAND_RPC_URL ) -broadcast=true -chainid $(CHAINID ) -gas-fee 1ugnot -gas-wanted 9000000 -memo " " lp01 > /dev/null
176
154
@echo " " | gnokey maketx call -pkgpath gno.land/r/wugnot -func Approve -args $(ADDR_POOL ) -args 50000000000 -insecure-password-stdin=true -remote $(GNOLAND_RPC_URL ) -broadcast=true -chainid $(CHAINID ) -gas-fee 1ugnot -gas-wanted 9000000 -memo " " lp01 > /dev/null
177
155
@echo
178
156
179
- approve-lp02 :
180
- $(info ************ [APPROVE] foo & bar & baz & qux & wugnot from lp02 to pool ************ )
181
- @echo " " | gnokey maketx call -pkgpath gno.land/r/foo -func Approve -args $(ADDR_POOL ) -args 50000000000 -insecure-password-stdin=true -remote $(GNOLAND_RPC_URL ) -broadcast=true -chainid $(CHAINID ) -gas-fee 1ugnot -gas-wanted 9000000 -memo " " lp02 > /dev/null
182
- @echo " " | gnokey maketx call -pkgpath gno.land/r/bar -func Approve -args $(ADDR_POOL ) -args 50000000000 -insecure-password-stdin=true -remote $(GNOLAND_RPC_URL ) -broadcast=true -chainid $(CHAINID ) -gas-fee 1ugnot -gas-wanted 9000000 -memo " " lp02 > /dev/null
183
- @echo " " | gnokey maketx call -pkgpath gno.land/r/baz -func Approve -args $(ADDR_POOL ) -args 50000000000 -insecure-password-stdin=true -remote $(GNOLAND_RPC_URL ) -broadcast=true -chainid $(CHAINID ) -gas-fee 1ugnot -gas-wanted 9000000 -memo " " lp02 > /dev/null
184
- @echo " " | gnokey maketx call -pkgpath gno.land/r/qux -func Approve -args $(ADDR_POOL ) -args 50000000000 -insecure-password-stdin=true -remote $(GNOLAND_RPC_URL ) -broadcast=true -chainid $(CHAINID ) -gas-fee 1ugnot -gas-wanted 9000000 -memo " " lp02 > /dev/null
185
- @echo " " | gnokey maketx call -pkgpath gno.land/r/wugnot -func Approve -args $(ADDR_POOL ) -args 50000000000 -insecure-password-stdin=true -remote $(GNOLAND_RPC_URL ) -broadcast=true -chainid $(CHAINID ) -gas-fee 1ugnot -gas-wanted 9000000 -memo " " lp02 > /dev/null
186
- @echo
187
-
188
- approve-tr01 :
189
- $(info ************ [APPROVE] foo & bar & baz & qux & wugnot from tr01 to pool ************ )
190
- @echo " " | gnokey maketx call -pkgpath gno.land/r/foo -func Approve -args $(ADDR_POOL ) -args 50000000000 -insecure-password-stdin=true -remote $(GNOLAND_RPC_URL ) -broadcast=true -chainid $(CHAINID ) -gas-fee 1ugnot -gas-wanted 9000000 -memo " " tr01 > /dev/null
191
- @echo " " | gnokey maketx call -pkgpath gno.land/r/bar -func Approve -args $(ADDR_POOL ) -args 50000000000 -insecure-password-stdin=true -remote $(GNOLAND_RPC_URL ) -broadcast=true -chainid $(CHAINID ) -gas-fee 1ugnot -gas-wanted 9000000 -memo " " tr01 > /dev/null
192
- @echo " " | gnokey maketx call -pkgpath gno.land/r/baz -func Approve -args $(ADDR_POOL ) -args 50000000000 -insecure-password-stdin=true -remote $(GNOLAND_RPC_URL ) -broadcast=true -chainid $(CHAINID ) -gas-fee 1ugnot -gas-wanted 9000000 -memo " " tr01 > /dev/null
193
- @echo " " | gnokey maketx call -pkgpath gno.land/r/qux -func Approve -args $(ADDR_POOL ) -args 50000000000 -insecure-password-stdin=true -remote $(GNOLAND_RPC_URL ) -broadcast=true -chainid $(CHAINID ) -gas-fee 1ugnot -gas-wanted 9000000 -memo " " tr01 > /dev/null
194
- @echo " " | gnokey maketx call -pkgpath gno.land/r/wugnot -func Approve -args $(ADDR_POOL ) -args 50000000000 -insecure-password-stdin=true -remote $(GNOLAND_RPC_URL ) -broadcast=true -chainid $(CHAINID ) -gas-fee 1ugnot -gas-wanted 9000000 -memo " " tr01 > /dev/null
195
- @echo
196
157
197
158
approve-gsa :
198
159
$(info ************ [APPROVE] from gsa (gns to pool, wugnot to staker) ************ )
@@ -212,8 +173,8 @@ pool-create:
212
173
@echo " " | gnokey maketx call -pkgpath gno.land/r/pool -func CreatePool -args " gnot" -args " gno.land/r/bar" -args 100 -args 112040957517951813098925484553 -insecure-password-stdin=true -remote $(GNOLAND_RPC_URL ) -broadcast=true -chainid $(CHAINID ) -gas-fee 1ugnot -gas-wanted 9000000 -memo " " gsa > /dev/null
213
174
@echo " " | gnokey maketx call -pkgpath gno.land/r/pool -func CreatePool -args " gno.land/r/bar" -args " gno.land/r/baz" -args 100 -args 112040957517951813098925484553 -insecure-password-stdin=true -remote $(GNOLAND_RPC_URL ) -broadcast=true -chainid $(CHAINID ) -gas-fee 1ugnot -gas-wanted 9000000 -memo " " gsa > /dev/null
214
175
@echo " " | gnokey maketx call -pkgpath gno.land/r/pool -func CreatePool -args " gno.land/r/baz" -args " gno.land/r/foo" -args 100 -args 177157928842132501967358423881 -insecure-password-stdin=true -remote $(GNOLAND_RPC_URL ) -broadcast=true -chainid $(CHAINID ) -gas-fee 1ugnot -gas-wanted 9000000 -memo " " gsa > /dev/null
215
- @echo " " | gnokey maketx call -pkgpath gno.land/r/pool -func CreatePool -args " gno.land/r/gns" -args " gnot" -args 500 -args 79228162514264337593543950337 -insecure-password-stdin=true -remote $(GNOLAND_RPC_URL ) -broadcast=true -chainid $(CHAINID ) -gas-fee 1ugnot -gas-wanted 9000000 -memo " " gsa > /dev/null
216
- @echo " " | gnokey maketx call -pkgpath gno.land/r/pool -func CreatePool -args " gno.land/r/gns" -args " gno.land/r/qux" -args 500 -args 250541420775534450580036817218 -insecure-password-stdin=true -remote $(GNOLAND_RPC_URL ) -broadcast=true -chainid $(CHAINID ) -gas-fee 1ugnot -gas-wanted 9000000 -memo " " gsa > /dev/null
176
+ @echo " " | gnokey maketx call -pkgpath gno.land/r/pool -func CreatePool -args " gno.land/r/gns" -args " gnot" -args 100 -args 79228162514264337593543950337 -insecure-password-stdin=true -remote $(GNOLAND_RPC_URL ) -broadcast=true -chainid $(CHAINID ) -gas-fee 1ugnot -gas-wanted 9000000 -memo " " gsa > /dev/null
177
+ @echo " " | gnokey maketx call -pkgpath gno.land/r/pool -func CreatePool -args " gno.land/r/gns" -args " gno.land/r/qux" -args 100 -args 250541420775534450580036817218 -insecure-password-stdin=true -remote $(GNOLAND_RPC_URL ) -broadcast=true -chainid $(CHAINID ) -gas-fee 1ugnot -gas-wanted 9000000 -memo " " gsa > /dev/null
217
178
@echo
218
179
219
180
@@ -244,5 +205,5 @@ mint-05:
244
205
@echo
245
206
246
207
done :
247
- 1 @echo "" | gnokey maketx send -send 1ugnot -to $(ADDR_GOV) -insecure-password-stdin=true -remote $(GNOLAND_RPC_URL) -broadcast=true -chainid $(CHAINID) -gas-fee 1ugnot -gas-wanted 9000000 -memo "" test1 > /dev/null
208
+ @echo " " | gnokey maketx send -send 1ugnot -to $(ADDR_GOV ) -insecure-password-stdin=true -remote $(GNOLAND_RPC_URL ) -broadcast=true -chainid $(CHAINID ) -gas-fee 1ugnot -gas-wanted 9000000 -memo " " test1 > /dev/null
248
209
0 commit comments