private void AppendMultisig(Connectivity.Connection con, ImportanceTransferData data)
        {
            if (data.MultisigAccount == null)
            {
                return;
            }

            var multisig = new MultiSigTransaction(con, data.DelegatedAccount, data.Deadline, ImportanceBytes.Length);

            ImportanceBytes = ByteUtils.ConcatonatetBytes(multisig.GetBytes(), ImportanceBytes);
        }
Exemple #2
0
        private void AppendMultisig()
        {
            if (Data.MultisigAccount == null)
            {
                return;
            }

            var multisig = new MultiSigTransaction(Con, SenderPublicKey, Data.Deadline, TotalBytesLength);

            ProvisionNamespaceBytes = ByteUtils.ConcatonatetBytes(multisig.GetBytes(), ProvisionNamespaceBytes);
        }
Exemple #3
0
        private void AppendMultisig(Connectivity.Connection con)
        {
            if (Data.MultisigAccount == null)
            {
                return;
            }

            var multisig = new MultiSigTransaction(con, PublicKey, Data.Deadline, Length);

            SupplyChangeBytes = ByteUtils.ConcatonatetBytes(multisig.GetBytes(), SupplyChangeBytes);
        }
        private void AppendMultisig()
        {
            if (Data.MultisigAccountKey == null)
            {
                return;
            }

            // create multisig object and serialize
            var multisig = new MultiSigTransaction(Con, SenderPublicKey, Data.Deadline, TransferMessageMosaicBytes.Length);

            // store multisig bytes to be concatenated later (in verifiable account)
            TransferMessageMosaicBytes = ByteUtils.ConcatonatetBytes(multisig.GetBytes(), TransferMessageMosaicBytes);
        }
Exemple #5
0
        private void AppendMultisig()
        {
            // if transaction isnt from a multisig account, return.
            if (MosaicDefinition.Model.MultisigAccount == null)
            {
                return;
            }

            // create multisig transaction header
            var multisig = new MultiSigTransaction(Con, Signer, MosaicDefinition.Model.Deadline, Length);

            // concatenate multisig bytes
            MosaicCreationBytes = ByteUtils.ConcatonatetBytes(multisig.GetBytes(), MosaicCreationBytes);
        }