C# Class Neo.SmartContract.Contract

Mostrar archivo Open project: NewEconoLab/NEL.LightDB Class Usage Examples

Public Properties

Property Type Description
ParameterList ContractParameterType[]
Script byte[]

Public Methods

Method Description
Create ( Array parameterList, Array redeemScript ) : Contract
CreateMultiSigContract ( int m ) : Contract
CreateMultiSigRedeemScript ( int m ) : byte[]
CreateSignatureContract ( ECPoint publicKey ) : Contract
CreateSignatureRedeemScript ( ECPoint publicKey ) : byte[]

Method Details

Create() public static method

public static Create ( Array parameterList, Array redeemScript ) : Contract
parameterList Array
redeemScript Array
return Contract

CreateMultiSigContract() public static method

public static CreateMultiSigContract ( int m ) : Contract
m int
return Contract

CreateMultiSigRedeemScript() public static method

public static CreateMultiSigRedeemScript ( int m ) : byte[]
m int
return byte[]

CreateSignatureContract() public static method

public static CreateSignatureContract ( ECPoint publicKey ) : Contract
publicKey ECPoint
return Contract

CreateSignatureRedeemScript() public static method

public static CreateSignatureRedeemScript ( ECPoint publicKey ) : byte[]
publicKey ECPoint
return byte[]

Property Details

ParameterList public_oe property

public ContractParameterType[] ParameterList
return ContractParameterType[]

Script public_oe property

public byte[] Script
return byte[]