File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ def main():
18
18
# Step 1: Registering a Perp Dex and Assets
19
19
#
20
20
# Takes part in the perp deploy auction and if successful, registers asset "TEST0".
21
- # The max gas is $1M USDC and represents the max amount to be paid for the perp deploy auction.
21
+ # The max gas is 10k HYPE and represents the max amount to be paid for the perp deploy auction.
22
22
# Registering an asset can be done multiple times.
23
23
perp_dex_schema_input = None
24
24
if REGISTER_PERP_DEX :
@@ -30,7 +30,7 @@ def main():
30
30
register_asset_result = exchange .perp_deploy_register_asset (
31
31
dex = DUMMY_DEX ,
32
32
max_gas = 1000000000000 ,
33
- coin = " TEST0" ,
33
+ coin = f" { DUMMY_DEX } : TEST0" ,
34
34
sz_decimals = 2 ,
35
35
oracle_px = "10.0" ,
36
36
margin_table_id = 10 ,
@@ -47,12 +47,12 @@ def main():
47
47
set_oracle_result = exchange .perp_deploy_set_oracle (
48
48
DUMMY_DEX ,
49
49
{
50
- " TEST0" : "12.0" ,
51
- " TEST1" : "1.0" ,
50
+ f" { DUMMY_DEX } : TEST0" : "12.0" ,
51
+ f" { DUMMY_DEX } : TEST1" : "1.0" ,
52
52
},
53
53
{
54
- " TEST1" : "3.0" ,
55
- " TEST0" : "14.0" ,
54
+ f" { DUMMY_DEX } : TEST1" : "3.0" ,
55
+ f" { DUMMY_DEX } : TEST0" : "14.0" ,
56
56
},
57
57
)
58
58
print ("set oracle result:" , set_oracle_result )
You can’t perform that action at this time.
0 commit comments