Skip to content

Commit

Permalink
added method as default arg source
Browse files Browse the repository at this point in the history
  • Loading branch information
joe-p committed Oct 10, 2024
1 parent 35a19b3 commit 3476dad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ARCs/arc-0056.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,9 @@ interface Method {
* - global: The data key signifies the global state key to read the value from
* - local: The data key signifies the local state key to read the value from (for the sender)
* - literal: the value is a literal and should be passed directly as the argument
* - method: The utf8 signature of the method in this contract to call to get the default value. If the method has arguments, they all must have default values. The method **MUST** be readonly so simulate can be used to get the default value.

This comment has been minimized.

Copy link
@robdmoore

robdmoore Oct 11, 2024

Contributor

Suggestion: optionally allow abiArguments, which is a base64 encoded array of static argument values or undefined for any that should use default arg? Matches the ARC-32 functionality fully then.

*/
source: "box" | "global" | "local" | "literal";
source: "box" | "global" | "local" | "literal" | "method";
};
}>;
/** Information about the method's return value */
Expand Down

0 comments on commit 3476dad

Please sign in to comment.