Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add abortOnFail to InvocationArguments
  • Loading branch information
erikzhang committed Dec 4, 2021
commit 5165ead3a83954e13072d7f54b6956684af10241
8 changes: 5 additions & 3 deletions nep-20.mediawiki
Original file line number Diff line number Diff line change
Expand Up @@ -306,10 +306,12 @@ export type Token = {
totalSupply: Integer;
}

// Provides the necessary arguments for a contract call.
export type InvocationArguments = {
hash: UInt160;
operation: string;
args: Argument[];
hash: UInt160; // The hash of the contract to be called.
operation: string; // The operation of the contract to be called.
args?: Argument[]; // The arguments for the call.
abortOnFail?: boolean; // Indicates whether the entire transaction should fail when the contract returns `false`.
}

export type InvocationResult = {
Expand Down