Skip to content

Commit

Permalink
Add new host functions to xdr (#47)
Browse files Browse the repository at this point in the history
* Add new host functions to xdr

* rename
  • Loading branch information
sisuresh authored Sep 28, 2022
1 parent 8a8bac2 commit 161e2e5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Stellar-transaction.x
Original file line number Diff line number Diff line change
Expand Up @@ -476,9 +476,11 @@ struct LiquidityPoolWithdrawOp

enum HostFunction
{
HOST_FN_CALL = 0,
HOST_FN_INVOKE_CONTRACT = 0,
HOST_FN_CREATE_CONTRACT_WITH_ED25519 = 1,
HOST_FN_CREATE_CONTRACT_WITH_SOURCE_ACCOUNT = 2
HOST_FN_CREATE_CONTRACT_WITH_SOURCE_ACCOUNT = 2,
HOST_FN_CREATE_TOKEN_CONTRACT_WITH_SOURCE_ACCOUNT = 3,
HOST_FN_CREATE_TOKEN_CONTRACT_WITH_ASSET = 4
};

struct InvokeHostFunctionOp
Expand Down

0 comments on commit 161e2e5

Please sign in to comment.