Merge pull request #3029 from nspcc-dev/drop-legacy-addresses-from-examples

*: drop legacy addresses from examples
This commit is contained in:
Roman Khimov 2023-05-31 18:36:34 +03:00 committed by GitHub
commit 9a15d2d781
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -84,8 +84,8 @@ const (
* 'dead' is a byte array with a value of 'dead' * 'dead' is a byte array with a value of 'dead'
* 'string:dead' is a string with a value of 'dead' * 'string:dead' is a string with a value of 'dead'
* 'filebytes:my_data.txt' is bytes decoded from a content of my_data.txt * 'filebytes:my_data.txt' is bytes decoded from a content of my_data.txt
* 'AK2nJJpJr6o664CWJKi1QRXjqeic2zRp8y' is a hash160 with a value * 'NSiVJYZej4XsxG5CUpdwn7VRQk8iiiDMPM' is a hash160 with a value
of '23ba2703c53263e8d6e522dc32203339dcd8eee9' of '682cca3ebdc66210e5847d7f8115846586079d4a'
* '\4\2' is an integer with a value of 42 * '\4\2' is an integer with a value of 42
* '\\4\2' is a string with a value of '\42' * '\\4\2' is a string with a value of '\42'
* 'string:string' is a string with a value of 'string' * 'string:string' is a string with a value of 'string'

View file

@ -411,11 +411,11 @@ see `contract` command help for more details. They all work via RPC, so it's a
mandatory parameter. mandatory parameter.
Example call (contract `f84d6a337fbc3d3a201d41da99e86b479e7a2554` with method Example call (contract `f84d6a337fbc3d3a201d41da99e86b479e7a2554` with method
`balanceOf` and method's parameter `AK2nJJpJr6o664CWJKi1QRXjqeic2zRp8y` using `balanceOf` and method's parameter `NVTiAjNgagDkTr5HTzDmQP9kPwPHN5BgVq` using
given RPC server and wallet and paying 0.00001 extra GAS for this transaction): given RPC server and wallet and paying 0.00001 extra GAS for this transaction):
``` ```
$ ./bin/neo-go contract invokefunction -r http://localhost:20331 -w my_wallet.json -g 0.00001 f84d6a337fbc3d3a201d41da99e86b479e7a2554 balanceOf AK2nJJpJr6o664CWJKi1QRXjqeic2zRp8y $ ./bin/neo-go contract invokefunction -r http://localhost:20331 -w my_wallet.json -g 0.00001 f84d6a337fbc3d3a201d41da99e86b479e7a2554 balanceOf NVTiAjNgagDkTr5HTzDmQP9kPwPHN5BgVq
``` ```
### Generating contract bindings ### Generating contract bindings