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():
1818 # Step 1: Registering a Perp Dex and Assets
1919 #
2020 # 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.
2222 # Registering an asset can be done multiple times.
2323 perp_dex_schema_input = None
2424 if REGISTER_PERP_DEX :
@@ -30,7 +30,7 @@ def main():
3030 register_asset_result = exchange .perp_deploy_register_asset (
3131 dex = DUMMY_DEX ,
3232 max_gas = 1000000000000 ,
33- coin = " TEST0" ,
33+ coin = f" { DUMMY_DEX } : TEST0" ,
3434 sz_decimals = 2 ,
3535 oracle_px = "10.0" ,
3636 margin_table_id = 10 ,
@@ -47,12 +47,12 @@ def main():
4747 set_oracle_result = exchange .perp_deploy_set_oracle (
4848 DUMMY_DEX ,
4949 {
50- " TEST0" : "12.0" ,
51- " TEST1" : "1.0" ,
50+ f" { DUMMY_DEX } : TEST0" : "12.0" ,
51+ f" { DUMMY_DEX } : TEST1" : "1.0" ,
5252 },
5353 {
54- " TEST1" : "3.0" ,
55- " TEST0" : "14.0" ,
54+ f" { DUMMY_DEX } : TEST1" : "3.0" ,
55+ f" { DUMMY_DEX } : TEST0" : "14.0" ,
5656 },
5757 )
5858 print ("set oracle result:" , set_oracle_result )
You can’t perform that action at this time.
0 commit comments