Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EI versions 1.4 and 1.5 #1716

Merged
merged 2 commits into from
Jul 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 4 additions & 0 deletions framework/meta-lib/src/ei.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@ mod ei_1_0;
mod ei_1_1;
mod ei_1_2;
mod ei_1_3;
mod ei_1_4;
mod ei_1_5;
mod ei_version;

pub use ei_1_0::EI_1_0_NAMES;
pub use ei_1_1::EI_1_1_NAMES;
pub use ei_1_2::EI_1_2_NAMES;
pub use ei_1_3::EI_1_3_NAMES;
pub use ei_1_4::EI_1_4_NAMES;
pub use ei_1_5::EI_1_5_NAMES;
pub use ei_version::{parse_check_ei, EIVersion};
3 changes: 2 additions & 1 deletion framework/meta-lib/src/ei/ei_1_3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
// !!!!!!!!!!!!!!!!!!!!!! AUTO-GENERATED FILE !!!!!!!!!!!!!!!!!!!!!!
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

/// VM Hooks version planned to be released with VM 1.5 in Q2 2023.
/// VM Hooks version released in January 2024:
/// https://multiversx.com/release/release-sirius-v1-6-7
///
/// It adds the new async call functionality (promises).
///
Expand Down
270 changes: 270 additions & 0 deletions framework/meta-lib/src/ei/ei_1_4.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,270 @@
// Code generated by vmhooks generator. DO NOT EDIT.

// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
// !!!!!!!!!!!!!!!!!!!!!! AUTO-GENERATED FILE !!!!!!!!!!!!!!!!!!!!!!
// !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

pub const EI_1_4_NAMES: &[&str] = &[
"getGasLeft",
"getSCAddress",
"getOwnerAddress",
"getShardOfAddress",
"isSmartContract",
"signalError",
"getExternalBalance",
"getBlockHash",
"getESDTBalance",
"getESDTNFTNameLength",
"getESDTNFTAttributeLength",
"getESDTNFTURILength",
"getESDTTokenData",
"getESDTLocalRoles",
"validateTokenIdentifier",
"transferValue",
"transferValueExecute",
"transferESDTExecute",
"transferESDTNFTExecute",
"multiTransferESDTNFTExecute",
"createAsyncCall",
"setAsyncContextCallback",
"upgradeContract",
"upgradeFromSourceContract",
"deleteContract",
"asyncCall",
"getArgumentLength",
"getArgument",
"getFunction",
"getNumArguments",
"storageStore",
"storageLoadLength",
"storageLoadFromAddress",
"storageLoad",
"setStorageLock",
"getStorageLock",
"isStorageLocked",
"clearStorageLock",
"getCaller",
"checkNoPayment",
"getCallValue",
"getESDTValue",
"getESDTValueByIndex",
"getESDTTokenName",
"getESDTTokenNameByIndex",
"getESDTTokenNonce",
"getESDTTokenNonceByIndex",
"getCurrentESDTNFTNonce",
"getESDTTokenType",
"getESDTTokenTypeByIndex",
"getNumESDTTransfers",
"getCallValueTokenName",
"getCallValueTokenNameByIndex",
"isReservedFunctionName",
"writeLog",
"writeEventLog",
"getBlockTimestamp",
"getBlockNonce",
"getBlockRound",
"getBlockEpoch",
"getBlockRandomSeed",
"getStateRootHash",
"getPrevBlockTimestamp",
"getPrevBlockNonce",
"getPrevBlockRound",
"getPrevBlockEpoch",
"getPrevBlockRandomSeed",
"finish",
"executeOnSameContext",
"executeOnDestContext",
"executeReadOnly",
"createContract",
"deployFromSourceContract",
"getNumReturnData",
"getReturnDataSize",
"getReturnData",
"cleanReturnData",
"deleteFromReturnData",
"getOriginalTxHash",
"getCurrentTxHash",
"getPrevTxHash",
"managedSCAddress",
"managedOwnerAddress",
"managedCaller",
"managedGetOriginalCallerAddr",
"managedGetRelayerAddr",
"managedSignalError",
"managedWriteLog",
"managedGetOriginalTxHash",
"managedGetStateRootHash",
"managedGetBlockRandomSeed",
"managedGetPrevBlockRandomSeed",
"managedGetReturnData",
"managedGetMultiESDTCallValue",
"managedGetBackTransfers",
"managedGetESDTBalance",
"managedGetESDTTokenData",
"managedAsyncCall",
"managedCreateAsyncCall",
"managedGetCallbackClosure",
"managedUpgradeFromSourceContract",
"managedUpgradeContract",
"managedDeleteContract",
"managedDeployFromSourceContract",
"managedCreateContract",
"managedExecuteReadOnly",
"managedExecuteOnSameContext",
"managedExecuteOnDestContext",
"managedMultiTransferESDTNFTExecute",
"managedMultiTransferESDTNFTExecuteByUser",
"managedTransferValueExecute",
"managedIsESDTFrozen",
"managedIsESDTLimitedTransfer",
"managedIsESDTPaused",
"managedBufferToHex",
"managedGetCodeMetadata",
"managedIsBuiltinFunction",
"bigFloatNewFromParts",
"bigFloatNewFromFrac",
"bigFloatNewFromSci",
"bigFloatAdd",
"bigFloatSub",
"bigFloatMul",
"bigFloatDiv",
"bigFloatNeg",
"bigFloatClone",
"bigFloatCmp",
"bigFloatAbs",
"bigFloatSign",
"bigFloatSqrt",
"bigFloatPow",
"bigFloatFloor",
"bigFloatCeil",
"bigFloatTruncate",
"bigFloatSetInt64",
"bigFloatIsInt",
"bigFloatSetBigInt",
"bigFloatGetConstPi",
"bigFloatGetConstE",
"bigIntGetUnsignedArgument",
"bigIntGetSignedArgument",
"bigIntStorageStoreUnsigned",
"bigIntStorageLoadUnsigned",
"bigIntGetCallValue",
"bigIntGetESDTCallValue",
"bigIntGetESDTCallValueByIndex",
"bigIntGetExternalBalance",
"bigIntGetESDTExternalBalance",
"bigIntNew",
"bigIntUnsignedByteLength",
"bigIntSignedByteLength",
"bigIntGetUnsignedBytes",
"bigIntGetSignedBytes",
"bigIntSetUnsignedBytes",
"bigIntSetSignedBytes",
"bigIntIsInt64",
"bigIntGetInt64",
"bigIntSetInt64",
"bigIntAdd",
"bigIntSub",
"bigIntMul",
"bigIntTDiv",
"bigIntTMod",
"bigIntEDiv",
"bigIntEMod",
"bigIntSqrt",
"bigIntPow",
"bigIntLog2",
"bigIntAbs",
"bigIntNeg",
"bigIntSign",
"bigIntCmp",
"bigIntNot",
"bigIntAnd",
"bigIntOr",
"bigIntXor",
"bigIntShr",
"bigIntShl",
"bigIntFinishUnsigned",
"bigIntFinishSigned",
"bigIntToString",
"mBufferNew",
"mBufferNewFromBytes",
"mBufferGetLength",
"mBufferGetBytes",
"mBufferGetByteSlice",
"mBufferCopyByteSlice",
"mBufferEq",
"mBufferSetBytes",
"mBufferSetByteSlice",
"mBufferAppend",
"mBufferAppendBytes",
"mBufferToBigIntUnsigned",
"mBufferToBigIntSigned",
"mBufferFromBigIntUnsigned",
"mBufferFromBigIntSigned",
"mBufferToBigFloat",
"mBufferFromBigFloat",
"mBufferStorageStore",
"mBufferStorageLoad",
"mBufferStorageLoadFromAddress",
"mBufferGetArgument",
"mBufferFinish",
"mBufferSetRandom",
"managedMapNew",
"managedMapPut",
"managedMapGet",
"managedMapRemove",
"managedMapContains",
"smallIntGetUnsignedArgument",
"smallIntGetSignedArgument",
"smallIntFinishUnsigned",
"smallIntFinishSigned",
"smallIntStorageStoreUnsigned",
"smallIntStorageStoreSigned",
"smallIntStorageLoadUnsigned",
"smallIntStorageLoadSigned",
"int64getArgument",
"int64finish",
"int64storageStore",
"int64storageLoad",
"sha256",
"managedSha256",
"keccak256",
"managedKeccak256",
"ripemd160",
"managedRipemd160",
"verifyBLS",
"managedVerifyBLS",
"verifyEd25519",
"managedVerifyEd25519",
"verifyCustomSecp256k1",
"managedVerifyCustomSecp256k1",
"verifySecp256k1",
"managedVerifySecp256k1",
"encodeSecp256k1DerSignature",
"managedEncodeSecp256k1DerSignature",
"addEC",
"doubleEC",
"isOnCurveEC",
"scalarBaseMultEC",
"managedScalarBaseMultEC",
"scalarMultEC",
"managedScalarMultEC",
"marshalEC",
"managedMarshalEC",
"marshalCompressedEC",
"managedMarshalCompressedEC",
"unmarshalEC",
"managedUnmarshalEC",
"unmarshalCompressedEC",
"managedUnmarshalCompressedEC",
"generateKeyEC",
"managedGenerateKeyEC",
"createEC",
"managedCreateEC",
"getCurveLengthEC",
"getPrivKeyByteLengthEC",
"ellipticCurveGetValues",
"managedVerifySecp256r1",
"managedVerifyBLSSignatureShare",
"managedVerifyBLSAggregatedSignature",
];
Loading
Loading