pub enum BuiltinCall {
Show 25 variants
RuntimeNotify,
RuntimeCheckWitness,
AbiEncode,
AbiEncodePacked,
AbiEncodeCall,
AbiEncodeWithSignature,
AbiDecode,
Keccak256,
Ecrecover,
StorageFind,
StoragePut,
StorageGet,
StorageDelete,
ContractCall,
ContractCallWithFlags,
NotifySerialized,
VerifySignature,
DeployContract,
GetContract,
GetContractScript,
GetNeoAccountState,
NativeCall {
contract: NativeContract,
method: String,
},
Syscall(String),
TypeOf,
BytesConcat,
}Variants§
RuntimeNotify
RuntimeCheckWitness
AbiEncode
AbiEncodePacked
AbiEncodeCall
AbiEncodeWithSignature
AbiDecode
Keccak256
Ecrecover
StorageFind
StoragePut
StorageGet
StorageDelete
ContractCall
ContractCallWithFlags
NotifySerialized
VerifySignature
DeployContract
Convenience wrapper for ContractManagement.deploy that returns only the deployed
contract hash (UInt160) rather than the full ContractState.
GetContract
Convenience wrapper for ContractManagement.getContract that reshapes the returned
ContractState into a devpack-friendly struct:
[hash, nef, serialize(manifest), updateCounter].
GetContractScript
Convenience wrapper for fetching the NEF file from a contract state.
This is exposed as Syscalls.getContractScript in the devpack.
GetNeoAccountState
Convenience wrapper for NeoToken.getAccountState that:
- Returns a default struct when the native contract returns
null. - Normalizes the
voteTofield to an empty byte string when it isnull.
NativeCall
Syscall(String)
TypeOf
BytesConcat
bytes.concat(a, b, ...) / string.concat(a, b, ...) — chains NeoVM CAT opcodes.
Trait Implementations§
Source§impl Clone for BuiltinCall
impl Clone for BuiltinCall
Source§fn clone(&self) -> BuiltinCall
fn clone(&self) -> BuiltinCall
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BuiltinCall
impl Debug for BuiltinCall
Source§impl PartialEq for BuiltinCall
impl PartialEq for BuiltinCall
impl Eq for BuiltinCall
impl StructuralPartialEq for BuiltinCall
Auto Trait Implementations§
impl Freeze for BuiltinCall
impl RefUnwindSafe for BuiltinCall
impl Send for BuiltinCall
impl Sync for BuiltinCall
impl Unpin for BuiltinCall
impl UnwindSafe for BuiltinCall
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more