Skip to content
Merged
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
16 changes: 15 additions & 1 deletion Stellar-transaction.x
Original file line number Diff line number Diff line change
Expand Up @@ -540,9 +540,23 @@ struct AddressWithNonce
uint64 nonce;
};

enum AuthorizerType
{
AUTHORIZER_SOURCE_ACCOUNT = 0,
AUTHORIZER_ADDRESS = 1,
};

union Authorizer switch (AuthorizerType type)
{
case AUTHORIZER_SOURCE_ACCOUNT:
void;
case AUTHORIZER_ADDRESS:
AddressWithNonce address;
};

struct ContractAuth
{
AddressWithNonce* addressWithNonce; // not present for invoker
Authorizer authorizer;
AuthorizedInvocation rootInvocation;
SCVec signatureArgs;
};
Expand Down