Class FeeDelegatedSmartContractExecutionWithRatioWrapper
- java.lang.Object
-
- com.klaytn.caver.transaction.type.wrapper.FeeDelegatedSmartContractExecutionWithRatioWrapper
-
public class FeeDelegatedSmartContractExecutionWithRatioWrapper extends java.lang.Object
Represents a FeeDelegatedSmartContractExecutionWithRatioWrapper 1. This class wraps all of static methods of FeeDelegatedSmartContractExecutionWithRatio 2. This class should be accessed via `caver.transaction.feeDelegatedSmartContractExecutionWithRatio`
-
-
Constructor Summary
Constructors Constructor Description FeeDelegatedSmartContractExecutionWithRatioWrapper(Klay klaytnCall)
Creates a FeeDelegatedSmartContractExecutionWithRatioWrapper instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FeeDelegatedSmartContractExecutionWithRatio
create(byte[] rlpEncoded)
Creates a FeeDelegatedSmartContractExecutionWithRatio instance derived from a RLP-encoded FeeDelegatedSmartContractExecutionWithRatio byte array.FeeDelegatedSmartContractExecutionWithRatio
create(FeeDelegatedSmartContractExecutionWithRatio.Builder builder)
Creates a FeeDelegatedSmartContractExecutionWithRatio instance using FeeDelegatedSmartContractExecutionWithRatio.BuilderFeeDelegatedSmartContractExecutionWithRatio
create(java.lang.String rlpEncoded)
Creates a FeeDelegatedSmartContractExecutionWithRatio instance derived from a RLP-encoded FeeDelegatedSmartContractExecutionWithRatio string.FeeDelegatedSmartContractExecutionWithRatio
create(java.lang.String from, java.lang.String nonce, java.lang.String gas, java.lang.String gasPrice, java.lang.String chainId, java.util.List<SignatureData> signatures, java.lang.String feePayer, java.util.List<SignatureData> feePayerSignatures, java.lang.String feeRatio, java.lang.String to, java.lang.String value, java.lang.String input)
Creates a FeeDelegatedSmartContractExecutionWithRatio instance.FeeDelegatedSmartContractExecutionWithRatio
decode(byte[] rlpEncoded)
Decodes a RLP-encoded FeeDelegatedSmartContractExecutionWithRatio byte array.FeeDelegatedSmartContractExecutionWithRatio
decode(java.lang.String rlpEncoded)
Decodes a RLP-encoded FeeDelegatedSmartContractExecutionWithRatio string.
-
-
-
Constructor Detail
-
FeeDelegatedSmartContractExecutionWithRatioWrapper
public FeeDelegatedSmartContractExecutionWithRatioWrapper(Klay klaytnCall)
Creates a FeeDelegatedSmartContractExecutionWithRatioWrapper instance.- Parameters:
klaytnCall
- Klay RPC instance
-
-
Method Detail
-
create
public FeeDelegatedSmartContractExecutionWithRatio create(java.lang.String rlpEncoded)
Creates a FeeDelegatedSmartContractExecutionWithRatio instance derived from a RLP-encoded FeeDelegatedSmartContractExecutionWithRatio string.- Parameters:
rlpEncoded
- RLP-encoded FeeDelegatedSmartContractExecutionWithRatio string- Returns:
- FeeDelegatedSmartContractExecutionWithRatio
-
create
public FeeDelegatedSmartContractExecutionWithRatio create(byte[] rlpEncoded)
Creates a FeeDelegatedSmartContractExecutionWithRatio instance derived from a RLP-encoded FeeDelegatedSmartContractExecutionWithRatio byte array.- Parameters:
rlpEncoded
- RLP-encoded FeeDelegatedSmartContractExecutionWithRatio byte array.- Returns:
- FeeDelegatedSmartContractExecutionWithRatio
-
create
public FeeDelegatedSmartContractExecutionWithRatio create(FeeDelegatedSmartContractExecutionWithRatio.Builder builder)
Creates a FeeDelegatedSmartContractExecutionWithRatio instance using FeeDelegatedSmartContractExecutionWithRatio.Builder- Parameters:
builder
- FeeDelegatedSmartContractExecutionWithRatio.Builder- Returns:
- FeeDelegatedSmartContractExecutionWithRatio
-
create
public FeeDelegatedSmartContractExecutionWithRatio create(java.lang.String from, java.lang.String nonce, java.lang.String gas, java.lang.String gasPrice, java.lang.String chainId, java.util.List<SignatureData> signatures, java.lang.String feePayer, java.util.List<SignatureData> feePayerSignatures, java.lang.String feeRatio, java.lang.String to, java.lang.String value, java.lang.String input)
Creates a FeeDelegatedSmartContractExecutionWithRatio instance.- Parameters:
from
- The address of the sender.nonce
- A value used to uniquely identify a sender’s transaction.gas
- The maximum amount of gas the transaction is allowed to use.gasPrice
- A unit price of gas in peb the sender will pay for a transaction fee.chainId
- Network ID.signatures
- A sender signature list.feePayer
- A fee payer address.feePayerSignatures
- A fee payer signature list.feeRatio
- A fee ratio of the fee payer.to
- The account address that will receive the transferred value.value
- The amount of KLAY in peb to be transferred.input
- The data attached to the transaction, used for transaction execution.- Returns:
- FeeDelegatedSmartContractExecutionWithRatio
-
decode
public FeeDelegatedSmartContractExecutionWithRatio decode(java.lang.String rlpEncoded)
Decodes a RLP-encoded FeeDelegatedSmartContractExecutionWithRatio string.- Parameters:
rlpEncoded
- RLP-encoded FeeDelegatedSmartContractExecutionWithRatio string.- Returns:
- FeeDelegatedSmartContractExecutionWithRatio
-
decode
public FeeDelegatedSmartContractExecutionWithRatio decode(byte[] rlpEncoded)
Decodes a RLP-encoded FeeDelegatedSmartContractExecutionWithRatio byte array.- Parameters:
rlpEncoded
- RLP-encoded FeeDelegatedSmartContractExecutionWithRatio byte array.- Returns:
- FeeDelegatedSmartContractExecutionWithRatio
-
-