Uses of Class
convex.core.data.Address
Packages that use Address
Package
Description
Fundamental Convex classes used for the decentralised network
Crypto algorithms used within Convex, particularly for digital signatures and
cryptographic hashes
Data structures and algorithms, including a complete set of classes
required to implement immutable, decentralised data objects.
CVM type system implementation.
Package used to create genesis states for new Convex networks
Core CVM implementation
Internal CVM language implementation classes
CVM Operations, effectively the "machine code" of the CVM
Convex network transaction types.
Convex utility classes and miscellaneous functionality
-
Uses of Address in convex.core
Methods in convex.core that return AddressModifier and TypeMethodDescriptionPeer.getController()
Gets the controller Address for this PeerLook up an Address from CNSState.nextAddress()
Gets the next available address for allocation, i.e.Methods in convex.core with parameters of type AddressModifier and TypeMethodDescriptionPeer.executeQuery
(ACell form, Address address) Compiles and executes a query on the current consensus state of this Peer.State.getAccount
(Address target) Gets the AccountStatus for a given account, or null if not found.State.getBalance
(Address address) Gets the balance of a specific address, or null if the Address does not existState.getEnvironment
(Address addr) Gets the environment for a given account, or null if not found.State.putAccount
(Address address, AccountStatus accountStatus) Returns this state after updating the given accountState.scheduleOp
(long time, Address address, AOp<?> op) Schedules an operation with the given timestamp and Op in this stateState.withBalance
(Address address, long newBalance) -
Uses of Address in convex.core.crypto
Methods in convex.core.crypto that return AddressMethods in convex.core.crypto with parameters of type Address -
Uses of Address in convex.core.data
Fields in convex.core.data declared as AddressMethods in convex.core.data that return AddressModifier and TypeMethodDescriptionstatic Address
Address.create
(long number) Creates an Address from a blob.static Address
Creates an Address from a blob.static Address
Constructs an Address object from a hex stringPeerStatus.getController()
Gets the controller of this peerAddress.offset
(long offset) Creates a new Address at an offset to this Addressstatic Address
Attempts to parse an address from an arbitrary object.static Address
Constructs an Address from an arbitrary String, attempting to parse different possible formatsstatic Address
static Address
Address.readRaw
(ByteBuffer bb) Address.toCanonical()
Methods in convex.core.data that return types with arguments of type AddressModifier and TypeMethodDescriptionAccountStatus.getHoldings()
Gets the holdings for this account.Methods in convex.core.data with parameters of type AddressModifier and TypeMethodDescriptionstatic PeerStatus
static PeerStatus
final boolean
long
PeerStatus.getDelegatedStake
(Address delegator) Gets the delegated stake on this peer for the given delegator.AccountStatus.getHolding
(Address addr) PeerStatus.withDelegatedStake
(Address delegator, long newStake) Sets the delegated stake on this peer for the given delegator.AccountStatus.withHolding
(Address addr, ACell value) Method parameters in convex.core.data with type arguments of type AddressModifier and TypeMethodDescriptionprotected static long
PeerStatus.computeDelegatedStake
(BlobMap<Address, CVMLong> stakes) -
Uses of Address in convex.core.data.type
Methods in convex.core.data.type that return Address -
Uses of Address in convex.core.init
Fields in convex.core.init declared as AddressModifier and TypeFieldDescriptionstatic final Address
Init.CORE_ADDRESS
static final Address
Init.GENESIS_ADDRESS
static final Address
Init.INIT_ADDRESS
static final Address
Init.LIVEPOOL_ADDRESS
static final Address
Init.MAINBANK_ADDRESS
static final Address
Init.MAINPOOL_ADDRESS
static final Address
Init.NULL_ADDRESS
static final Address
Init.REGISTRY_ADDRESS
static final Address
Init.RESERVED_ADDRESS
static final Address
Init.ROOTFUND_ADDRESS
static final Address
Init.TEMP_ADDRESS
static final Address
Init.TRUST_ADDRESS
Methods in convex.core.init that return AddressModifier and TypeMethodDescriptionstatic Address
Init.calcPeerAddress
(int userCount, int index) static Address
Init.calcUserAddress
(int index) static Address
Init.getGenesisAddress()
static Address
Init.getGenesisPeerAddress
(int index) Methods in convex.core.init with parameters of type AddressModifier and TypeMethodDescriptionstatic State
Init.createStaticLibraries
(State s, Address trustAddress, Address registryAddress) -
Uses of Address in convex.core.lang
Fields in convex.core.lang with type parameters of type AddressMethods in convex.core.lang that return AddressModifier and TypeMethodDescriptionstatic Address
RT.callableAddress
(ACell a) Gets a callable Address from a cell value.static Address
RT.castAddress
(ACell a) Casts the argument to a valid Address.static Address
RT.ensureAddress
(ACell a) Ensures the argument is a valid Address.Context.getAddress()
Gets the address of the currently executing Account.Context.getCaller()
Gets the caller of the currently executing context.Context.getOrigin()
static Address
Casts an arbitrary value to an AddressMethods in convex.core.lang that return types with arguments of type AddressModifier and TypeMethodDescriptionContext.getHoldings()
Gets the holdings map for the current account.Methods in convex.core.lang with parameters of type AddressModifier and TypeMethodDescriptionstatic Context.ChainState
Context.ChainState.create
(State state, Address origin, Address caller, Address address, long offer, ACell scope) static Context
Context.createFake
(State state, Address origin) Creates a "fake" execution context for the given address.static Context
Context.createInitial
(State state, Address origin, long juiceLimit) Creates an initial execution context with the specified actor as origin, and reserving the appropriate amount of juice.Evaluates a form as another Address.Context.forkWithAddress
(Address newAddress) Switches the context to a new address, creating a new execution context.Context.getAccountStatus
(Address address) Gets the account status record, or null if not foundlong
Context.getBalance
(Address address) Gets the balance for the specified Addressboolean
Context.isValidAccount
(Address address) Tests if an Address is valid, i.e.Context.lookupDefiningAccount
(Address address, Symbol sym) Looks up the account the defines a given SymbolContext.lookupDynamic
(Address address, Symbol symbol) Looks up a value in the dynamic environment.Context.lookupDynamicEntry
(Address address, Symbol sym) Looks up an environment entry for a specific address without consuming juice.Context.lookupMeta
(Address address, Symbol sym) Looks up Metadata for the given symbol in this contextContext.lookupValue
(Address address, Symbol sym) Looks up value for the given symbol in this contextExecutes code as if run in the specified account, but always discarding state changes.Context.setHolding
(Address targetAddress, ACell value) Sets the holding for a specified target account.Transfers funds from the current address to the target.Context.transferMemoryAllowance
(Address target, CVMLong amountToSend) Transfers memory allowance from the current address to the target.protected Context
Context.withAccountStatus
(Address target, AccountStatus accountStatus) -
Uses of Address in convex.core.lang.impl
Methods in convex.core.lang.impl that return AddressModifier and TypeMethodDescriptionErrorValue.getAddress()
Gets the address which is the source of this errorMethods in convex.core.lang.impl with parameters of type AddressModifier and TypeMethodDescriptionvoid
ErrorValue.setAddress
(Address a) Sets the address which is the source of this error -
Uses of Address in convex.core.lang.ops
Methods in convex.core.lang.ops that return types with arguments of type AddressMethods in convex.core.lang.ops with parameters of type AddressModifier and TypeMethodDescriptionMethod parameters in convex.core.lang.ops with type arguments of type Address -
Uses of Address in convex.core.transactions
Fields in convex.core.transactions declared as AddressModifier and TypeFieldDescriptionprotected final Address
ATransaction.origin
protected final Address
Call.target
protected final Address
Transfer.target
Methods in convex.core.transactions that return AddressModifier and TypeMethodDescriptionATransaction.getOrigin()
Gets the *origin* Address for this transactionTransfer.getTarget()
Gets the target address for this transferMethods in convex.core.transactions with parameters of type AddressModifier and TypeMethodDescriptionstatic Call
Call.create
(Address address, long sequence, Address target, long offer, Symbol functionName, AVector<ACell> args) static Call
Call.create
(Address address, long sequence, Address target, Symbol functionName, AVector<ACell> args) static Invoke
static Invoke
Creates an Invoke transactionstatic Multi
Multi.create
(Address origin, long sequence, int mode, ATransaction... txs) static Transfer
abstract ATransaction
ATransaction.withOrigin
(Address newAddress) Updates this transaction with the specified origin addressCall.withOrigin
(Address newAddress) Invoke.withOrigin
(Address newAddress) Multi.withOrigin
(Address newAddress) Transfer.withOrigin
(Address newAddress) Constructors in convex.core.transactions with parameters of type AddressModifierConstructorDescriptionprotected
ATransaction
(long count, Address origin, long sequence) protected
Call
(Address address, long sequence, Address target, long offer, Symbol functionName, AVector<ACell> args) protected
protected
Multi
(Address origin, long sequence, int mode, Ref<AVector<ATransaction>> txs) protected
-
Uses of Address in convex.core.util
Methods in convex.core.util with parameters of type AddressModifier and TypeMethodDescriptionstatic String
Errors.insufficientFunds
(Address source, long amount)