-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
piecrust: change
owner
to accept any contract ID
The `owner` import is changed to accept a pointer to a contract ID. If the pointer is null, it assumed that the calling contract is querying for its owner, whereas if the pointer is not null, a contract ID is presumed to exist at that address, and read from its memory. The relevant owner is then emplaced in the contract's argument buffer, if it exists, and 1 is returned. If the contract whose owner is asked for does not exist, 0 is returned instead.
- Loading branch information
Eduardo Leegwater Simões
committed
Jan 12, 2024
1 parent
e09b3ad
commit e53b291
Showing
5 changed files
with
129 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters