Package convex.core.lang
Class Context.ChainState
java.lang.Object
convex.core.lang.Context.ChainState
- Enclosing class:
Context
Inner class for less-frequently changing CVM state related to Actor execution
Should save some allocation / GC on average, since it will change less
frequently than the surrounding Context and can be cheaply copied by reference.
SECURITY: security critical, since it determines the current *address* and *caller*
which in turn controls access to most account resources and rights.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Context.ChainState
protected long
getOffer()
protected ACell
getScope()
withEnvironment
(AHashMap<Symbol, ACell> newEnvironment, AHashMap<Symbol, AHashMap<ACell, ACell>> newMeta) withStateOffer
(State newState, long newOffer)
-
Method Details
-
create
-
withStateOffer
-
getOffer
protected long getOffer() -
getScope
-
withEnvironment
-
getMetadata
-
withScope
-
getAccount
-
getOriginAccount
-