multiversx_sc

Module imports

Source
Expand description

Conveniently groups all framework imports required by a smart contract form the framework.

Re-exports§

Macros§

Structs§

Enums§

  • A smart contract argument or result that can be missing.

Traits§

  • The addition operator +.
  • The addition assignment operator +=.
  • The bitwise AND operator &.
  • The bitwise AND assignment operator &=.
  • The bitwise OR operator |.
  • The bitwise OR assignment operator |=.
  • The bitwise XOR operator ^.
  • The bitwise XOR assignment operator ^=.
  • The division operator /.
  • The division assignment operator /=.
  • Defines conversion of a type to its multi-value representation.
  • The multiplication operator *.
  • The multiplication assignment operator *=.
  • Trait that allows zero-copy read of value-references from slices in LE format.
  • Trait that allows zero-copy write of value-references to slices in LE format.
  • The remainder operator %.
  • The remainder assignment operator %=.
  • The left shift operator <<. Note that because this trait is implemented for all integer types with multiple right-hand-side types, Rust’s type checker has special handling for _ << _, setting the result type for integer operations to the type of the left-hand-side operand. This means that though a << b and a.shl(b) are one and the same from an evaluation standpoint, they are different when it comes to type inference.
  • The left shift assignment operator <<=.
  • The right shift operator >>. Note that because this trait is implemented for all integer types with multiple right-hand-side types, Rust’s type checker has special handling for _ >> _, setting the result type for integer operations to the type of the left-hand-side operand. This means that though a >> b and a.shr(b) are one and the same from an evaluation standpoint, they are different when it comes to type inference.
  • The right shift assignment operator >>=.
  • The subtraction operator -.
  • The subtraction assignment operator -=.
  • Trait that allows zero-copy read of values from an underlying API in big endian format.

Type Aliases§

  • The specific Tx type produces by the issue operations of the ESDTSystemSCProxy.