Exemplo n.º 1
0
 protected SecretKeyInfo(SecretKeyInfoTypes secretKeyInfoType, Unpacker unpacker)
 {
     SecretKeyInfoType = secretKeyInfoType;
     unpacker.Unpack(out ChainId);
     SecretId = unpacker.UnpackULong();
     unpacker.Unpack(out Timestamp);
 }
 protected PublicServiceAccountKeySecretKeyInfo(SecretKeyInfoTypes secretKeyInfoType, Unpacker unpacker) : base(secretKeyInfoType, unpacker)
 {
 }
 protected PublicServiceAccountKeySecretKeyInfo(SecretKeyInfoTypes secretKeyInfoType, PublicServiceAccountKey signedPublicKey) : base(secretKeyInfoType, signedPublicKey.ChainId, signedPublicKey.AccountId, signedPublicKey.KeyIndex)
 {
 }
Exemplo n.º 4
0
 protected AccountSecretKeyInfo(SecretKeyInfoTypes secretKeyInfoType, Unpacker unpacker) : base(secretKeyInfoType, unpacker)
 {
     unpacker.Unpack(out AccountId);
     unpacker.Unpack(out KeyIndex);
 }
Exemplo n.º 5
0
 protected AccountSecretKeyInfo(SecretKeyInfoTypes secretKeyInfoType, int chainId, long accountId, short keyIndex) : base(secretKeyInfoType, chainId)
 {
     AccountId = accountId;
     KeyIndex  = keyIndex;
 }
Exemplo n.º 6
0
 protected SecretKeyInfo(SecretKeyInfoTypes secretKeyInfoType, int chainId)
 {
     SecretKeyInfoType = secretKeyInfoType;
     ChainId           = chainId;
     Timestamp         = Time.Timestamp;
 }