All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBodyOrBuilder Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: contract_create.proto

package com.hedera.hashgraph.sdk.proto;

public interface ContractCreateTransactionBodyOrBuilder extends
    // @@protoc_insertion_point(interface_extends:proto.ContractCreateTransactionBody)
    com.google.protobuf.MessageLiteOrBuilder {

  /**
   * 
   **
   * The file containing the smart contract initcode. A copy will be made and held by the
   * contract instance, and have the same expiration time as the instance.
   * 
* * .proto.FileID fileID = 1; * @return Whether the fileID field is set. */ boolean hasFileID(); /** *
   **
   * The file containing the smart contract initcode. A copy will be made and held by the
   * contract instance, and have the same expiration time as the instance.
   * 
* * .proto.FileID fileID = 1; * @return The fileID. */ com.hedera.hashgraph.sdk.proto.FileID getFileID(); /** *
   **
   * The bytes of the smart contract initcode. This is only useful if the smart contract init
   * is less than the hedera transaction limit. In those cases fileID must be used.
   * 
* * bytes initcode = 16; * @return Whether the initcode field is set. */ boolean hasInitcode(); /** *
   **
   * The bytes of the smart contract initcode. This is only useful if the smart contract init
   * is less than the hedera transaction limit. In those cases fileID must be used.
   * 
* * bytes initcode = 16; * @return The initcode. */ com.google.protobuf.ByteString getInitcode(); /** *
   **
   * the state of the instance and its fields can be modified arbitrarily if this key signs a
   * transaction to modify it. If this is null, then such modifications are not possible, and
   * there is no administrator that can override the normal operation of this smart contract
   * instance. Note that if it is created with no admin keys, then there is no administrator to
   * authorize changing the admin keys, so there can never be any admin keys for that instance.
   * 
* * .proto.Key adminKey = 3; * @return Whether the adminKey field is set. */ boolean hasAdminKey(); /** *
   **
   * the state of the instance and its fields can be modified arbitrarily if this key signs a
   * transaction to modify it. If this is null, then such modifications are not possible, and
   * there is no administrator that can override the normal operation of this smart contract
   * instance. Note that if it is created with no admin keys, then there is no administrator to
   * authorize changing the admin keys, so there can never be any admin keys for that instance.
   * 
* * .proto.Key adminKey = 3; * @return The adminKey. */ com.hedera.hashgraph.sdk.proto.Key getAdminKey(); /** *
   **
   * gas to run the constructor
   * 
* * int64 gas = 4; * @return The gas. */ long getGas(); /** *
   **
   * initial number of tinybars to put into the cryptocurrency account associated with and owned
   * by the smart contract
   * 
* * int64 initialBalance = 5; * @return The initialBalance. */ long getInitialBalance(); /** *
   **
   * [Deprecated] ID of the account to which this account is proxy staked. If proxyAccountID is null, or is an
   * invalid account, or is an account that isn't a node, then this account is automatically proxy
   * staked to a node chosen by the network, but without earning payments. If the proxyAccountID
   * account refuses to accept proxy staking , or if it is not currently running a node, then it
   * will behave as if  proxyAccountID was null.
   * 
* * .proto.AccountID proxyAccountID = 6 [deprecated = true]; * @deprecated proto.ContractCreateTransactionBody.proxyAccountID is deprecated. * See contract_create.proto;l=136 * @return Whether the proxyAccountID field is set. */ @java.lang.Deprecated boolean hasProxyAccountID(); /** *
   **
   * [Deprecated] ID of the account to which this account is proxy staked. If proxyAccountID is null, or is an
   * invalid account, or is an account that isn't a node, then this account is automatically proxy
   * staked to a node chosen by the network, but without earning payments. If the proxyAccountID
   * account refuses to accept proxy staking , or if it is not currently running a node, then it
   * will behave as if  proxyAccountID was null.
   * 
* * .proto.AccountID proxyAccountID = 6 [deprecated = true]; * @deprecated proto.ContractCreateTransactionBody.proxyAccountID is deprecated. * See contract_create.proto;l=136 * @return The proxyAccountID. */ @java.lang.Deprecated com.hedera.hashgraph.sdk.proto.AccountID getProxyAccountID(); /** *
   **
   * the instance will charge its account every this many seconds to renew for this long
   * 
* * .proto.Duration autoRenewPeriod = 8; * @return Whether the autoRenewPeriod field is set. */ boolean hasAutoRenewPeriod(); /** *
   **
   * the instance will charge its account every this many seconds to renew for this long
   * 
* * .proto.Duration autoRenewPeriod = 8; * @return The autoRenewPeriod. */ com.hedera.hashgraph.sdk.proto.Duration getAutoRenewPeriod(); /** *
   **
   * parameters to pass to the constructor
   * 
* * bytes constructorParameters = 9; * @return The constructorParameters. */ com.google.protobuf.ByteString getConstructorParameters(); /** *
   **
   * shard in which to create this
   * 
* * .proto.ShardID shardID = 10; * @return Whether the shardID field is set. */ boolean hasShardID(); /** *
   **
   * shard in which to create this
   * 
* * .proto.ShardID shardID = 10; * @return The shardID. */ com.hedera.hashgraph.sdk.proto.ShardID getShardID(); /** *
   **
   * realm in which to create this (leave this null to create a new realm)
   * 
* * .proto.RealmID realmID = 11; * @return Whether the realmID field is set. */ boolean hasRealmID(); /** *
   **
   * realm in which to create this (leave this null to create a new realm)
   * 
* * .proto.RealmID realmID = 11; * @return The realmID. */ com.hedera.hashgraph.sdk.proto.RealmID getRealmID(); /** *
   **
   * if realmID is null, then this the admin key for the new realm that will be created
   * 
* * .proto.Key newRealmAdminKey = 12; * @return Whether the newRealmAdminKey field is set. */ boolean hasNewRealmAdminKey(); /** *
   **
   * if realmID is null, then this the admin key for the new realm that will be created
   * 
* * .proto.Key newRealmAdminKey = 12; * @return The newRealmAdminKey. */ com.hedera.hashgraph.sdk.proto.Key getNewRealmAdminKey(); /** *
   **
   * the memo that was submitted as part of the contract (max 100 bytes)
   * 
* * string memo = 13; * @return The memo. */ java.lang.String getMemo(); /** *
   **
   * the memo that was submitted as part of the contract (max 100 bytes)
   * 
* * string memo = 13; * @return The bytes for memo. */ com.google.protobuf.ByteString getMemoBytes(); /** *
   **
   * The maximum number of tokens that this contract can be automatically associated
   * with (i.e., receive air-drops from).
   * 
* * int32 max_automatic_token_associations = 14; * @return The maxAutomaticTokenAssociations. */ int getMaxAutomaticTokenAssociations(); /** *
   **
   * An account to charge for auto-renewal of this contract. If not set, or set to an
   * account with zero hbar balance, the contract's own hbar balance will be used to
   * cover auto-renewal fees.
   * 
* * .proto.AccountID auto_renew_account_id = 15; * @return Whether the autoRenewAccountId field is set. */ boolean hasAutoRenewAccountId(); /** *
   **
   * An account to charge for auto-renewal of this contract. If not set, or set to an
   * account with zero hbar balance, the contract's own hbar balance will be used to
   * cover auto-renewal fees.
   * 
* * .proto.AccountID auto_renew_account_id = 15; * @return The autoRenewAccountId. */ com.hedera.hashgraph.sdk.proto.AccountID getAutoRenewAccountId(); /** *
   **
   * ID of the account to which this contract is staking.
   * 
* * .proto.AccountID staked_account_id = 17; * @return Whether the stakedAccountId field is set. */ boolean hasStakedAccountId(); /** *
   **
   * ID of the account to which this contract is staking.
   * 
* * .proto.AccountID staked_account_id = 17; * @return The stakedAccountId. */ com.hedera.hashgraph.sdk.proto.AccountID getStakedAccountId(); /** *
   **
   * ID of the node this contract is staked to.
   * 
* * int64 staked_node_id = 18; * @return Whether the stakedNodeId field is set. */ boolean hasStakedNodeId(); /** *
   **
   * ID of the node this contract is staked to.
   * 
* * int64 staked_node_id = 18; * @return The stakedNodeId. */ long getStakedNodeId(); /** *
   **
   * If true, the contract declines receiving a staking reward. The default value is false.
   * 
* * bool decline_reward = 19; * @return The declineReward. */ boolean getDeclineReward(); public com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody.InitcodeSourceCase getInitcodeSourceCase(); public com.hedera.hashgraph.sdk.proto.ContractCreateTransactionBody.StakedIdCase getStakedIdCase(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy