RandomInner
type RandomInner
A typed view of the `0x2::random::RandomInner` state held in the dynamic field of the [`Random`] singleton.
type RandomInner struct {
// contains filtered or unexported fields
}
func LiftFromExternalRandomInner
func LiftFromExternalRandomInner(handle uint64) *RandomInner
func RandomInnerTryFromBcs
func RandomInnerTryFromBcs(bytes []byte) (*RandomInner, error)
Decode a `RandomInner` from raw BCS bytes.
There is no object-based constructor: the state is stored as a dynamic field of the `0x8` wrapper, not as a top-level object with its own type tag.
func (*RandomInner) DebugString
func (_self *RandomInner) DebugString() string
func (*RandomInner) Destroy
func (object *RandomInner) Destroy()
func (*RandomInner) Epoch
func (_self *RandomInner) Epoch() uint64
func (*RandomInner) RandomBytes
func (_self *RandomInner) RandomBytes() []byte
func (*RandomInner) RandomnessRound
func (_self *RandomInner) RandomnessRound() uint64
The randomness round the current `random_bytes` were produced for.
func (*RandomInner) Version
func (_self *RandomInner) Version() uint64