Skip to content

Commit

Permalink
Merge branch 'master' into rpc-error-nep
Browse files Browse the repository at this point in the history
  • Loading branch information
shargon authored Feb 8, 2024
2 parents 9b92c5b + 90686c5 commit c76926c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
2 changes: 1 addition & 1 deletion nep-17.mediawiki
Original file line number Diff line number Diff line change
Expand Up @@ -186,4 +186,4 @@ A token contract which burns tokens MUST trigger a <code>Transfer</code> event w

C#: https://github.com/neo-project/neo-devpack-dotnet/blob/master/src/Neo.SmartContract.Framework/Nep17Token.cs

Python: https://github.com/CityOfZion/neo3-boa/blob/development/boa3_test/examples/NEP17.py
Python: https://github.com/CityOfZion/neo3-boa/blob/development/boa3_test/examples/nep17.py
22 changes: 17 additions & 5 deletions nep-19.mediawiki
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ multiple pieces of information encoded as a string. Those encodings are indicate
interface DebugInformation {
hash: string; // hex-encoded UInt160
documents?: string[]; // file paths
documents?: string[]; // absolute or relative file paths
document-root?: string | null; // project root
events?: Event[];
methods?: Method[];
"static-variables"?: Variable[];
Expand Down Expand Up @@ -173,12 +174,23 @@ debug information. The hash value is stored as a hex encoded string with an opti

==== documents ====

This property stores an array of file paths, used in sequence point data. These paths should be full file
paths as they existed on the machine where the contract was compiled. Neo Smart Contract Debugger has
the ability to automatically discover differences in paths between compiling and debugging machine,
plus supports manual source file mapping for cases where the mapping cannot be determined automatically.
This property stores an array of file paths, used in sequence point data. These paths can be absolute or
relative, pointing to the file paths of source files as they existed on the machine where the contract was
compiled.

Neo Smart Contract Debugger has the ability to automatically discover differences in paths between compiling
and debugging machine, plus supports manual source file mapping for cases where the mapping cannot be determined
automatically.

If omitted, this property defaults to an empty array.

==== document-root ====

This property stores the root folder path for the contract source files. Releative paths in the documents
array are treated as relative to the document-root path.

If omitted or null, all elements of the documents array are treated as absolute paths.

==== static-variables ====

This property stores an array of Variable types, representing the static fields associated with this contract.
Expand Down

0 comments on commit c76926c

Please sign in to comment.