*: support customisable NotaryServiceFeePerKey value

* Add corresponding methods to Notary contract.
* Extend RPC Client API.
* Adjust tests.
This commit is contained in:
AnnaShaleva 2022-03-01 13:10:54 +03:00
parent 26b76ed858
commit 92282c70cb
14 changed files with 157 additions and 48 deletions

View file

@ -55,6 +55,7 @@ type Blockchainer interface {
GetTokenLastUpdated(acc util.Uint160) (map[int32]uint32, error)
GetNotaryContractScriptHash() util.Uint160
GetNotaryBalance(acc util.Uint160) *big.Int
GetNotaryServiceFeePerKey() int64
GetValidators() ([]*keys.PublicKey, error)
GetStateModule() StateRoot
GetStorageItem(id int32, key []byte) state.StorageItem