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
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 AddressAddress.create(long number)Creates an Address from a blob.static AddressCreates an Address from a blob.static AddressConstructs an Address object from a hex stringAccountStatus.getController()Get the controller for this AccountPeerStatus.getController()Gets the controller of this peerAddress.offset(long offset)Creates a new Address at an offset to this Addressstatic AddressConstructs an Address from an arbitrary String, attempting to parse different possible formatsstatic AddressAddress.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 PeerStatusstatic PeerStatusbooleanlongPeerStatus.getDelegatedStake(Address delegator)Gets the delegated stake on this peer for the given delegator.AccountStatus.getHolding(Address addr)AccountStatus.withController(Address newController)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 longPeerStatus.computeDelegatedStake(ABlobMap<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 AddressInit.CORE_ADDRESSstatic AddressInit.GENESIS_ADDRESSstatic AddressInit.INIT_ADDRESSstatic AddressInit.LIVEPOOL_ADDRESSstatic AddressInit.MAINBANK_ADDRESSstatic AddressInit.MAINPOOL_ADDRESSstatic Addressstatic AddressInit.NULL_ADDRESSstatic AddressInit.REGISTRY_ADDRESSstatic AddressInit.RESERVED_ADDRESSstatic AddressInit.ROOTFUND_ADDRESSstatic AddressInit.TRUST_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)AInitConfig.getPeerAddress(int index)Address[]AInitConfig.getPeerAddressList()AInitConfig.getUserAddress(int index)Methods in convex.core.init with parameters of type AddressModifier and TypeMethodDescriptionstatic StateInit.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 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.createAccount(AccountKey key)Create a new Account with a given AccountKey (may be null for actors etc.)Context.deployActor(ACell code)Deploys an Actor in this context.Context.getHoldings()Gets the holdings map for the current account.Methods in convex.core.lang with parameters of type AddressModifier and TypeMethodDescriptionExecutes a call to an Actor.Executes a call to an Actor.Context.createFake(State state, Address origin)Creates a "fake" execution context for the given address.Context.createInitial(State state, Address origin, long juice)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)booleanContext.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.setController(Address address)Sets the controller for the current AccountContext.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.Context.withAccountStatus(Address target, AccountStatus accountStatus) -
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 AddressATransaction.addressprotected AddressCall.targetprotected AddressTransfer.targetMethods in convex.core.transactions that return AddressModifier and TypeMethodDescriptionATransaction.getAddress()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 Transferabstract ATransactionATransaction.withAddress(Address newAddress)Updates this transaction with the specified addressCall.withAddress(Address newAddress)Invoke.withAddress(Address newAddress)Transfer.withAddress(Address newAddress)Constructors in convex.core.transactions with parameters of type Address -
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)