receive balance contract hash from NNS
Signed-off-by: anastasia prasolova <anastasia@nspcc.ru>
This commit is contained in:
parent
54835b5ee5
commit
92488f0bec
1 changed files with 5 additions and 2 deletions
|
@ -10,11 +10,14 @@ from neo3 import wallet
|
||||||
|
|
||||||
from common import *
|
from common import *
|
||||||
import rpc_client
|
import rpc_client
|
||||||
|
import contract
|
||||||
|
|
||||||
ROBOT_AUTO_KEYWORDS = False
|
ROBOT_AUTO_KEYWORDS = False
|
||||||
|
|
||||||
# path to neofs-cli executable
|
NNS_CONTRACT = contract.get_nns_contract_hash(NEOFS_NEO_API_ENDPOINT)
|
||||||
BALANCE_CONTRACT_HASH = os.getenv('NEOFS_CONTRACTS_BALANCE')
|
BALANCE_CONTRACT_HASH = contract.get_morph_contract_hash(
|
||||||
|
'balance.neofs', NNS_CONTRACT, NEOFS_NEO_API_ENDPOINT
|
||||||
|
)
|
||||||
MORPH_TOKEN_POWER = 12
|
MORPH_TOKEN_POWER = 12
|
||||||
|
|
||||||
morph_rpc_cli = rpc_client.RPCClient(NEOFS_NEO_API_ENDPOINT)
|
morph_rpc_cli = rpc_client.RPCClient(NEOFS_NEO_API_ENDPOINT)
|
||||||
|
|
Loading…
Reference in a new issue