Пример #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)
 {
 }
Пример #4
0
 protected AccountSecretKeyInfo(SecretKeyInfoTypes secretKeyInfoType, Unpacker unpacker) : base(secretKeyInfoType, unpacker)
 {
     unpacker.Unpack(out AccountId);
     unpacker.Unpack(out KeyIndex);
 }
Пример #5
0
 protected AccountSecretKeyInfo(SecretKeyInfoTypes secretKeyInfoType, int chainId, long accountId, short keyIndex) : base(secretKeyInfoType, chainId)
 {
     AccountId = accountId;
     KeyIndex  = keyIndex;
 }
Пример #6
0
 protected SecretKeyInfo(SecretKeyInfoTypes secretKeyInfoType, int chainId)
 {
     SecretKeyInfoType = secretKeyInfoType;
     ChainId           = chainId;
     Timestamp         = Time.Timestamp;
 }