Uses of Class
convex.core.data.Address
Packages that use Address
Package
Description
Fundamental Convex classes used for the decentralised network
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.booleanState.hasAccount(Address address) 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.wallet
Methods in convex.core.crypto.wallet with parameters of type Address -
Uses of Address in convex.core.data
Fields in convex.core.data declared as AddressModifier and TypeFieldDescriptionstatic final AddressAddress.MAX_VALUEThe maximum possible Addressstatic final AddressAddress.ZEROThe Zero AddressMethods in convex.core.data that return AddressModifier and TypeMethodDescriptionstatic AddressAddress.create(long number) Obtains an Address.static AddressObtains an Address from a blob.Address.empty()static AddressObtains an Address from a hex stringPeerStatus.getController()Gets the controller of this peerAccountStatus.getParent()Gets the parent address for this accountAddress.offset(long offset) Creates a new Address at an offset to this Addressstatic AddressAttempts to parse an address from an arbitrary object.static AddressObtains an Address from an arbitrary String, attempting to parse possible formats '123' '0xc3' or '#123'static AddressAddress.toCanonical()static AddressAddress.unsafeCreate(long number) Creates an Address without checking.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 PeerStatusstatic PeerStatusfinal booleanlongPeerStatus.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) AccountStatus.withParent(Address newParent) Method parameters in convex.core.data with type arguments of type AddressModifier and TypeMethodDescriptionprotected static longPeerStatus.computeDelegatedStake(Index<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 AddressInit.ADMIN_ADDRESSstatic final AddressInit.CORE_ADDRESSstatic final AddressInit.DISTRIBUTION_ADDRESSstatic final AddressInit.FIRST_USER_ADDRESSstatic final AddressInit.FOUNDATION_ADDRESSstatic final AddressInit.GENESIS_ADDRESSstatic final AddressInit.GENESIS_PEER_ADDRESSstatic final AddressInit.GOVERNANCE_ADDRESSstatic final AddressInit.INIT_ADDRESSstatic final AddressInit.NULL_ADDRESSstatic final AddressInit.REGISTRY_ADDRESSstatic final AddressInit.RESERVE_ADDRESSstatic final AddressInit.TRUST_ADDRESSstatic final AddressInit.UNRELEASED_ADDRESSMethods in convex.core.init that return AddressModifier and TypeMethodDescriptionstatic AddressInit.calcPeerAddress(int userCount, int index) static AddressInit.calcUserAddress(int index) static AddressInit.getGenesisAddress()static AddressInit.getGenesisPeerAddress(int index) -
Uses of Address in convex.core.lang
Fields in convex.core.lang declared as AddressModifier and TypeFieldDescriptionstatic final AddressCore.CORE_ADDRESSThe constant core address for Convex V1Fields in convex.core.lang with type parameters of type AddressMethods in convex.core.lang that return AddressModifier and TypeMethodDescriptionstatic AddressRT.callableAddress(ACell a) Gets a callable Address from a cell value.static AddressRT.castAddress(ACell a) Casts the argument to a valid Address.static AddressRT.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 AddressCasts 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 TypeMethodDescriptionCreate code for a CNS update callstatic Context.ChainStateContext.ChainState.create(State state, Address origin, Address caller, Address address, long offer, ACell scope) static ContextContext.createFake(State state, Address origin) Creates a "fake" execution context for the given address.static ContextContext.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 foundlongContext.getBalance(Address address) Gets the balance for the specified AddressbooleanContext.isValidAccount(Address address) Tests if an Address is valid, i.e.Context.lookupDefiningAddress(Address address, Symbol sym) Looks up the address of the account that 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 rolling back state changes.Context.setHolding(Address targetAddress, ACell value) Sets the holding for a specified target account.Sets the parent for the current AccountTransfers 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 ContextContext.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 TypeMethodDescriptionvoidErrorValue.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 AddressATransaction.originprotected final AddressCall.targetprotected final AddressTransfer.targetMethods 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 CallCall.create(Address address, long sequence, Address target, long offer, Symbol functionName, AVector<ACell> args) static CallCall.create(Address address, long sequence, Address target, Symbol functionName, AVector<ACell> args) static Invokestatic InvokeCreates an Invoke transactionstatic MultiMulti.create(Address origin, long sequence, int mode, ATransaction... txs) static Transferabstract ATransactionATransaction.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 AddressModifierConstructorDescriptionprotectedATransaction(long count, Address origin, long sequence) protectedCall(Address address, long sequence, Address target, long offer, Symbol functionName, AVector<ACell> args) protectedprotectedMulti(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 StringErrors.insufficientFunds(Address source, long amount) static ErrorValue