public void Execute(int transactionId)
        {
            var paramsString = _pex.Params;

            if (_pex.ParamsInfo.Length == 1)
            {
                var    pInfo = _pex.ParamsInfo[0];
                object item;
                if (pInfo.Type.Contains("Compact"))
                {
                    item = Scale.DecodeCompactInteger(ref paramsString).Value;
                }
                else
                {
                    item = paramsString;
                }

                var tbl = new TableName
                {
                    ModuleName = _pex.ModuleName,
                    MethodName = _pex.MethodName
                };

                _dbAdapter.InsertIntoCall(tbl, new List <TableRow>
                {
                    new TableRow {
                        RowName = _pex.ParamsInfo[0].Name, Value = new List <string> {
                            item.ToString()
                        }
                    },
                    new TableRow {
                        RowName = "blocknumber", Value = new List <string> {
                            _pex.BlockNumber.ToString()
                        }
                    },
                    new TableRow {
                        RowName = "Block", Value = new List <string> {
                            _pex.BlockHash.ToString()
                        }
                    },
                    new TableRow {
                        RowName = "transactionindex", Value = new List <string> {
                            transactionId.ToString()
                        }
                    }
                });
            }
        }
Esempio n. 2
0
        public void Execute(int transactionId)
        {
            var fTransfer = new TableName {
                ModuleName = "Identity", MethodName = "set_identity"
            };

            var infoRow = new TableRow
            {
                RowIndex = 0,
                RowName  = "info",
                Value    = new List <string> {
                    info
                }
            };

            var blocknumber = new TableRow
            {
                RowIndex = 0,
                RowName  = "blocknumber",
                Value    = new List <string> {
                    pex.BlockNumber.ToString()
                }
            };

            var tid = new TableRow
            {
                RowIndex = 1,
                RowName  = "transactionindex",
                Value    = new List <string> {
                    transactionId.ToString()
                }
            };

            var nonce = new TableRow
            {
                RowIndex = 0,
                RowName  = "Nonce",
                Value    = new List <string> {
                    pex.Nonce.ToString()
                }
            };

            var signatureKey = new TableRow
            {
                RowIndex = 0,
                RowName  = "Signature",
                Value    = new List <string> {
                    pex.Signature
                }
            };

            var status = new TableRow
            {
                RowIndex = 0,
                RowName  = "Status",
                Value    = new List <string> {
                    pex.Status.ToString()
                }
            };

            var transactionSenderKey = new TableRow
            {
                RowIndex = 0,
                RowName  = "Sender",
                Value    = new List <string> {
                    sk
                }
            };

            var blockHash = new TableRow
            {
                RowIndex = 0,
                RowName  = "Block",
                Value    = new List <string> {
                    pex.BlockHash.ToString()
                }
            };

            _dbAdapter.InsertIntoCall(fTransfer, new List <TableRow> {
                blockHash, tid, transactionSenderKey, status, nonce, signatureKey, infoRow, blocknumber
            });
        }
Esempio n. 3
0
        public void Execute(int transactionId)
        {
            var transfer = new TableName
            {
                MethodName = "second",
                ModuleName = "democracy"
            };

            var tid = new TableRow
            {
                RowIndex = 1,
                RowName  = "transactionindex",
                Value    = new List <string> {
                    transactionId.ToString()
                }
            };

            var proposalHashRow = new TableRow
            {
                RowIndex = 0,
                RowName  = "proposal",
                Value    = new List <string> {
                    proposal
                }
            };

            var blocknumber = new TableRow
            {
                RowIndex = 0,
                RowName  = "blocknumber",
                Value    = new List <string> {
                    pex.BlockNumber.ToString()
                }
            };

            var transactionSenderKey = new TableRow
            {
                RowIndex = 0,
                RowName  = "Sender",
                Value    = new List <string> {
                    sk
                }
            };


            var nonce = new TableRow
            {
                RowIndex = 0,
                RowName  = "Nonce",
                Value    = new List <string> {
                    pex.Nonce.ToString()
                }
            };

            var signatureKey = new TableRow
            {
                RowIndex = 0,
                RowName  = "Signature",
                Value    = new List <string> {
                    pex.Signature
                }
            };

            var status = new TableRow
            {
                RowIndex = 0,
                RowName  = "Status",
                Value    = new List <string> {
                    pex.Status.ToString()
                }
            };

            var blockHash = new TableRow
            {
                RowIndex = 0,
                RowName  = "Block",
                Value    = new List <string> {
                    pex.BlockHash.ToString()
                }
            };

            _dbAdapter.InsertIntoCall(transfer, new List <TableRow> {
                blockHash, tid, signatureKey, status, nonce, transactionSenderKey, proposalHashRow, blocknumber
            });
        }
Esempio n. 4
0
        public void Execute(int transactionId)
        {
            var transfer = new TableName
            {
                MethodName = "validate",
                ModuleName = "Staking"
            };

            var prefs = new TableRow
            {
                RowIndex = 1,
                RowName  = "prefs",
                Value    = new List <string> {
                    amount.ToString()
                }
            };

            var blocknumber = new TableRow
            {
                RowIndex = 1,
                RowName  = "blocknumber",
                Value    = new List <string> {
                    _pex.BlockNumber.ToString()
                }
            };

            var tid = new TableRow
            {
                RowIndex = 1,
                RowName  = "transactionindex",
                Value    = new List <string> {
                    transactionId.ToString()
                }
            };

            var transactionSenderKey = new TableRow
            {
                RowIndex = 0,
                RowName  = "Sender",
                Value    = new List <string> {
                    sk
                }
            };

            var pref = new TableRow
            {
                RowIndex = 0,
                RowName  = "Pref",
                Value    = new List <string> {
                    amount.ToString()
                }
            };

            var nonce = new TableRow
            {
                RowIndex = 0,
                RowName  = "Nonce",
                Value    = new List <string> {
                    _pex.Nonce.ToString()
                }
            };

            var signatureKey = new TableRow
            {
                RowIndex = 0,
                RowName  = "Signature",
                Value    = new List <string> {
                    _pex.Signature
                }
            };

            var status = new TableRow
            {
                RowIndex = 0,
                RowName  = "Status",
                Value    = new List <string> {
                    _pex.Status.ToString()
                }
            };

            var blockHash = new TableRow
            {
                RowIndex = 0,
                RowName  = "Block",
                Value    = new List <string> {
                    _pex.BlockHash.ToString()
                }
            };

            _dbAdapter.InsertIntoCall(transfer, new List <TableRow> {
                blockHash, tid, nonce, signatureKey, status, transactionSenderKey, blocknumber, prefs
            });
        }
Esempio n. 5
0
        public void Execute(int transactionId)
        {
            var bonded = new TableName
            {
                MethodName = "bonded",
                ModuleName = "Staking"
            };

            var payee1 = new TableName
            {
                MethodName = "payee",
                ModuleName = "Staking"
            };

            var intAmount = BigInteger.Parse(amount);

            var tid = new TableRow
            {
                RowIndex = 1,
                RowName  = "transactionindex",
                Value    = new List <string> {
                    transactionId.ToString()
                }
            };

            var part1 = new TableRow
            {
                RowName     = "value",
                BlockNumber = _pex.BlockNumber,
                Value       = new List <string> {
                    (intAmount).ToString()
                }
            };

            var part2 = new TableRow
            {
                RowName     = "value",
                BlockNumber = _pex.BlockNumber,
                Value       = new List <string> {
                    (intAmount).ToString()
                }
            };

            _dbAdapter.InsertIntoStorage(bonded, part1);
            _dbAdapter.InsertIntoStorage(payee1, part2);

            var transactionSenderKey = new TableRow
            {
                RowIndex = 0,
                RowName  = "Sender",
                Value    = new List <string> {
                    sk
                }
            };

            var transfer = new TableName
            {
                MethodName = "bond",
                ModuleName = "Staking"
            };

            var controller = new TableRow
            {
                RowIndex = 0,
                RowName  = "controller",
                Value    = new List <string> {
                    rk
                }
            };

            var payeeDest = new TableRow
            {
                RowIndex = 0,
                RowName  = "payee",
                Value    = new List <string> {
                    payee
                }
            };

            var transactionValue = new TableRow
            {
                RowIndex = 1,
                RowName  = "value",
                Value    = new List <string> {
                    amount
                }
            };

            var blocknumber = new TableRow
            {
                RowIndex = 1,
                RowName  = "blocknumber",
                Value    = new List <string> {
                    _pex.BlockNumber.ToString()
                }
            };


            var nonce = new TableRow
            {
                RowIndex = 0,
                RowName  = "Nonce",
                Value    = new List <string> {
                    _pex.Nonce.ToString()
                }
            };

            var signatureKey = new TableRow
            {
                RowIndex = 0,
                RowName  = "Signature",
                Value    = new List <string> {
                    signature
                }
            };

            var status = new TableRow
            {
                RowIndex = 0,
                RowName  = "Status",
                Value    = new List <string> {
                    _pex.Status.ToString()
                }
            };

            var blockHash = new TableRow
            {
                RowIndex = 0,
                RowName  = "Block",
                Value    = new List <string> {
                    _pex.BlockHash.ToString()
                }
            };

            _dbAdapter.InsertIntoCall(transfer, new List <TableRow> {
                blockHash, tid, status, blocknumber, nonce, signatureKey, transactionSenderKey, controller, payeeDest, transactionValue
            });
        }
Esempio n. 6
0
        public void Execute(int transactionId)
        {
            var transfer = new TableName
            {
                MethodName = "set_keys",
                ModuleName = "Session"
            };

            var keysString = string.Empty;

            foreach (var i in keys)
            {
                keysString += $"{i} ,";
            }
            keysString = keysString.Substring(0, keysString.Length - 2);

            var tid = new TableRow
            {
                RowIndex = 1,
                RowName  = "transactionindex",
                Value    = new List <string> {
                    transactionId.ToString()
                }
            };

            var blocknumber = new TableRow
            {
                RowIndex = 1,
                RowName  = "blocknumber",
                Value    = new List <string> {
                    _pex.BlockNumber.ToString()
                }
            };

            var keysRow = new TableRow
            {
                RowIndex = 1,
                RowName  = "keys",
                Value    = new List <string> {
                    keysString
                }
            };

            var proofRow = new TableRow
            {
                RowIndex = 1,
                RowName  = "proof",
                Value    = new List <string> {
                    proof
                }
            };

            var transactionSenderKey = new TableRow
            {
                RowIndex = 0,
                RowName  = "Sender",
                Value    = new List <string> {
                    sk
                }
            };


            var nonce = new TableRow
            {
                RowIndex = 0,
                RowName  = "Nonce",
                Value    = new List <string> {
                    _pex.Nonce.ToString()
                }
            };

            var signatureKey = new TableRow
            {
                RowIndex = 0,
                RowName  = "Signature",
                Value    = new List <string> {
                    _pex.Signature
                }
            };

            var status = new TableRow
            {
                RowIndex = 0,
                RowName  = "Status",
                Value    = new List <string> {
                    _pex.Status.ToString()
                }
            };

            var blockHash = new TableRow
            {
                RowIndex = 0,
                RowName  = "Block",
                Value    = new List <string> {
                    _pex.BlockHash.ToString()
                }
            };

            _dbAdapter.InsertIntoCall(transfer, new List <TableRow> {
                blockHash, tid, signatureKey, status, nonce, transactionSenderKey, keysRow, proofRow, blocknumber
            });
        }
Esempio n. 7
0
        public void Execute(int transactionId)
        {
            var transfer = new TableName
            {
                MethodName = "cancel_deferred_slash",
                ModuleName = "Staking"
            };

            var blocknumber = new TableRow
            {
                RowIndex = 1,
                RowName  = "blocknumber",
                Value    = new List <string> {
                    _pex.BlockNumber.ToString()
                }
            };

            var tid = new TableRow
            {
                RowIndex = 1,
                RowName  = "transactionindex",
                Value    = new List <string> {
                    transactionId.ToString()
                }
            };

            var eraRow = new TableRow
            {
                RowIndex = 1,
                RowName  = "era",
                Value    = new List <string> {
                    eraP
                }
            };

            var slashIndicesRow = new TableRow
            {
                RowIndex = 1,
                RowName  = "slash_indices",
                Value    = new List <string> {
                    slash_indices
                }
            };

            var transactionSenderKey = new TableRow
            {
                RowIndex = 0,
                RowName  = "Sender",
                Value    = new List <string> {
                    sk
                }
            };

            var nonce = new TableRow
            {
                RowIndex = 0,
                RowName  = "Nonce",
                Value    = new List <string> {
                    _pex.Nonce.ToString()
                }
            };

            var signatureKey = new TableRow
            {
                RowIndex = 0,
                RowName  = "Signature",
                Value    = new List <string> {
                    _pex.Signature
                }
            };

            var status = new TableRow
            {
                RowIndex = 0,
                RowName  = "Status",
                Value    = new List <string> {
                    _pex.Status.ToString()
                }
            };

            var blockHash = new TableRow
            {
                RowIndex = 0,
                RowName  = "Block",
                Value    = new List <string> {
                    _pex.BlockHash.ToString()
                }
            };

            _dbAdapter.InsertIntoCall(transfer, new List <TableRow> {
                blockHash, tid, signatureKey, status, nonce, transactionSenderKey, slashIndicesRow, blocknumber
            });
        }
Esempio n. 8
0
        public void Execute(int transactionId)
        {
            var fb = new TableName {
                ModuleName = "Balances", MethodName = "FreeBalance"
            };
            var rb = new TableName {
                ModuleName = "Balances", MethodName = "ReservedBalance"
            };
            var ti = new TableName {
                ModuleName = "Balances", MethodName = "TotalIssuance"
            };

            _dbAdapter.InsertIntoStorage(fb, new TableRow
            {
                BlockNumber = pex.BlockNumber,
                RowName     = "value",
                Value       = new List <string> {
                    newFree
                }
            });

            _dbAdapter.InsertIntoStorage(rb, new TableRow
            {
                BlockNumber = pex.BlockNumber,
                RowName     = "value",
                Value       = new List <string> {
                    newReserved
                }
            });

            var bsb = new TableName {
                ModuleName = "Balances", MethodName = "set_balance"
            };

            var who = new TableRow
            {
                RowIndex = 0,
                RowName  = "who",
                Value    = new List <string> {
                    rk
                }
            };

            var nFree = new TableRow
            {
                RowIndex = 0,
                RowName  = "new_free",
                Value    = new List <string> {
                    newFree
                }
            };

            var nReserved = new TableRow
            {
                RowIndex = 0,
                RowName  = "new_reserved",
                Value    = new List <string> {
                    newReserved
                }
            };

            var tid = new TableRow
            {
                RowIndex = 1,
                RowName  = "transactionindex",
                Value    = new List <string> {
                    transactionId.ToString()
                }
            };

            var transactionSenderKey = new TableRow
            {
                RowIndex = 0,
                RowName  = "Sender",
                Value    = new List <string> {
                    sk
                }
            };

            var blocknumber = new TableRow
            {
                RowIndex = 0,
                RowName  = "blocknumber",
                Value    = new List <string> {
                    pex.BlockNumber.ToString()
                }
            };


            var nonce = new TableRow
            {
                RowIndex = 0,
                RowName  = "Nonce",
                Value    = new List <string> {
                    pex.Nonce.ToString()
                }
            };

            var signatureKey = new TableRow
            {
                RowIndex = 0,
                RowName  = "Signature",
                Value    = new List <string> {
                    pex.Signature
                }
            };

            var status = new TableRow
            {
                RowIndex = 0,
                RowName  = "Status",
                Value    = new List <string> {
                    pex.Status.ToString()
                }
            };

            var blockHash = new TableRow
            {
                RowIndex = 0,
                RowName  = "Block",
                Value    = new List <string> {
                    pex.BlockHash.ToString()
                }
            };

            _dbAdapter.InsertIntoCall(bsb, new List <TableRow> {
                blockHash, tid, status, nonce, signatureKey, who, nFree, nReserved, blocknumber, transactionSenderKey
            });
        }
        public void Execute(int transactionId)
        {
            var freebal = new TableName
            {
                MethodName = "FreeBalance",
                ModuleName = "Balances"
            };

            var curValueRow = new TableRow
            {
                RowName     = "value",
                BlockNumber = _pex.BlockNumber
            };

            BigInteger curValue = 0;
            var        sval     = _dbAdapter.GetLastStorageValue(freebal, curValueRow);

            if (!sval.Equals(""))
            {
                curValue = BigInteger.Parse(sval);
            }

            var part1 = new TableRow
            {
                RowName     = "value",
                BlockNumber = _pex.BlockNumber,
                Value       = new List <string> {
                    (amount + curValue).ToString()
                }
            };

            _dbAdapter.InsertIntoStorage(freebal, part1);

            var transactionSenderKey = new TableRow
            {
                RowIndex = 0,
                RowName  = "Sender",
                Value    = new List <string> {
                    sk
                }
            };

            var transfer = new TableName
            {
                MethodName = "bond_extra",
                ModuleName = "Staking"
            };

            var tid = new TableRow
            {
                RowIndex = 1,
                RowName  = "transactionindex",
                Value    = new List <string> {
                    transactionId.ToString()
                }
            };

            var maxAdditional = new TableRow
            {
                RowIndex = 1,
                RowName  = "max_additional",
                Value    = new List <string> {
                    amount.ToString()
                }
            };

            var blocknumber = new TableRow
            {
                RowIndex = 1,
                RowName  = "blocknumber",
                Value    = new List <string> {
                    _pex.BlockNumber.ToString()
                }
            };

            var nonce = new TableRow
            {
                RowIndex = 0,
                RowName  = "Nonce",
                Value    = new List <string> {
                    _pex.Nonce.ToString()
                }
            };

            var signatureKey = new TableRow
            {
                RowIndex = 0,
                RowName  = "Signature",
                Value    = new List <string> {
                    _pex.Signature
                }
            };

            var status = new TableRow
            {
                RowIndex = 0,
                RowName  = "Status",
                Value    = new List <string> {
                    _pex.Status.ToString()
                }
            };

            var blockHash = new TableRow
            {
                RowIndex = 0,
                RowName  = "Block",
                Value    = new List <string> {
                    _pex.BlockHash.ToString()
                }
            };

            _dbAdapter.InsertIntoCall(transfer, new List <TableRow> {
                blockHash, tid, signatureKey, status, nonce, transactionSenderKey, maxAdditional, blocknumber
            });
        }
        public void Execute(int transactionId)
        {
            var fTransfer = new TableName {
                ModuleName = "Identity", MethodName = "request_judgement"
            };

            var regInd = new TableRow
            {
                RowIndex = 0,
                RowName  = "reg_index",
                Value    = new List <string> {
                    regIndex
                }
            };

            var tid = new TableRow
            {
                RowIndex = 1,
                RowName  = "transactionindex",
                Value    = new List <string> {
                    transactionId.ToString()
                }
            };

            var maxF = new TableRow
            {
                RowIndex = 0,
                RowName  = "max_fee",
                Value    = new List <string> {
                    maxFee
                }
            };

            var blocknumber = new TableRow
            {
                RowIndex = 0,
                RowName  = "blocknumber",
                Value    = new List <string> {
                    pex.BlockNumber.ToString()
                }
            };

            var nonce = new TableRow
            {
                RowIndex = 0,
                RowName  = "Nonce",
                Value    = new List <string> {
                    pex.Nonce.ToString()
                }
            };

            var signatureKey = new TableRow
            {
                RowIndex = 0,
                RowName  = "Signature",
                Value    = new List <string> {
                    pex.Signature
                }
            };

            var status = new TableRow
            {
                RowIndex = 0,
                RowName  = "Status",
                Value    = new List <string> {
                    pex.Status.ToString()
                }
            };

            var transactionSenderKey = new TableRow
            {
                RowIndex = 0,
                RowName  = "Sender",
                Value    = new List <string> {
                    sk
                }
            };

            var blockHash = new TableRow
            {
                RowIndex = 0,
                RowName  = "Block",
                Value    = new List <string> {
                    pex.BlockHash.ToString()
                }
            };

            _dbAdapter.InsertIntoCall(fTransfer, new List <TableRow> {
                blockHash, tid, transactionSenderKey, status, nonce, signatureKey, maxF, regInd, blocknumber
            });
        }
Esempio n. 11
0
        public void Execute(int transactionId)
        {
            var transfer = new TableName
            {
                MethodName = "propose",
                ModuleName = "cancel_referendum"
            };

            var refIndexRow = new TableRow
            {
                RowIndex = 0,
                RowName  = "Ref_index",
                Value    = new List <string> {
                    refIndex
                }
            };

            var sk2 = new TableRow
            {
                RowIndex = 0,
                RowName  = "Sender",
                Value    = new List <string> {
                    sk
                }
            };

            var blocknumber = new TableRow
            {
                RowIndex = 0,
                RowName  = "blocknumber",
                Value    = new List <string> {
                    pex.BlockNumber.ToString()
                }
            };

            var nonce = new TableRow
            {
                RowIndex = 0,
                RowName  = "Nonce",
                Value    = new List <string> {
                    pex.Nonce.ToString()
                }
            };

            var signatureKey = new TableRow
            {
                RowIndex = 0,
                RowName  = "Signature",
                Value    = new List <string> {
                    pex.Signature
                }
            };

            var status = new TableRow
            {
                RowIndex = 0,
                RowName  = "Status",
                Value    = new List <string> {
                    pex.Status.ToString()
                }
            };

            var tid = new TableRow
            {
                RowIndex = 1,
                RowName  = "transactionindex",
                Value    = new List <string> {
                    transactionId.ToString()
                }
            };

            var blockHash = new TableRow
            {
                RowIndex = 0,
                RowName  = "Block",
                Value    = new List <string> {
                    pex.BlockHash.ToString()
                }
            };

            _dbAdapter.InsertIntoCall(transfer, new List <TableRow> {
                blockHash, tid, signatureKey, status, nonce, sk2, refIndexRow, blocknumber
            });
        }
        public void Execute(int transactionId)
        {
            var transfer = new TableName
            {
                MethodName = "nominate",
                ModuleName = "Staking"
            };

            var tid = new TableRow
            {
                RowIndex = 1,
                RowName  = "transactionindex",
                Value    = new List <string> {
                    transactionId.ToString()
                }
            };

            var blocknumber = new TableRow
            {
                RowIndex = 1,
                RowName  = "blocknumber",
                Value    = new List <string> {
                    _pex.BlockNumber.ToString()
                }
            };

            var targetsString = string.Empty;

            foreach (var i in targets)
            {
                targetsString += $"{i} ,";
            }
            targetsString = targetsString.Substring(0, targetsString.Length - 2);

            var targetsRow = new TableRow
            {
                RowIndex = 1,
                RowName  = "targets",
                Value    = new List <string> {
                    targetsString
                }
            };

            var transactionSenderKey = new TableRow
            {
                RowIndex = 0,
                RowName  = "Sender",
                Value    = new List <string> {
                    sk
                }
            };

            var nonce = new TableRow
            {
                RowIndex = 0,
                RowName  = "Nonce",
                Value    = new List <string> {
                    _pex.Nonce.ToString()
                }
            };

            var signatureKey = new TableRow
            {
                RowIndex = 0,
                RowName  = "Signature",
                Value    = new List <string> {
                    _pex.Signature
                }
            };

            var status = new TableRow
            {
                RowIndex = 0,
                RowName  = "Status",
                Value    = new List <string> {
                    _pex.Status.ToString()
                }
            };

            var blockHash = new TableRow
            {
                RowIndex = 0,
                RowName  = "Block",
                Value    = new List <string> {
                    _pex.BlockHash.ToString()
                }
            };

            _dbAdapter.InsertIntoCall(transfer, new List <TableRow> {
                blockHash, tid, status, nonce, transactionSenderKey, blocknumber, targetsRow
            });
        }
Esempio n. 13
0
        public void Execute(int transactionId)
        {
            // Set FREEBALANCE for participants
            // Add transfer value

            var freebal = new TableName
            {
                MethodName = "FreeBalance",
                ModuleName = "Balances"
            };

            var curValueRow = new TableRow
            {
                RowName     = "value",
                BlockNumber = _pex.BlockNumber
            };

            BigInteger curValue = 0;
            var        sval     = _dbAdapter.GetLastStorageValue(freebal, curValueRow);

            if (!sval.Equals(""))
            {
                curValue = BigInteger.Parse(sval);
            }

            var intAmount = BigInteger.Parse(amount);

            var part1 = new TableRow
            {
                RowName     = "value",
                BlockNumber = _pex.BlockNumber,
                Value       = new List <string> {
                    (curValue - intAmount).ToString()
                }
            };

            var part2 = new TableRow
            {
                RowName     = "value",
                BlockNumber = _pex.BlockNumber,
                Value       = new List <string> {
                    (curValue + intAmount).ToString()
                }
            };

            _dbAdapter.InsertIntoStorage(freebal, part1);
            _dbAdapter.InsertIntoStorage(freebal, part2);

            var transfer = new TableName
            {
                MethodName = "transfer",
                ModuleName = "Balances"
            };

            var nonce = new TableRow
            {
                RowIndex = 0,
                RowName  = "Nonce",
                Value    = new List <string> {
                    _pex.Nonce.ToString()
                }
            };

            var blockHash = new TableRow
            {
                RowIndex = 0,
                RowName  = "Block",
                Value    = new List <string> {
                    _pex.BlockHash.ToString()
                }
            };

            var signatureKey = new TableRow
            {
                RowIndex = 0,
                RowName  = "Signature",
                Value    = new List <string> {
                    _pex.Signature
                }
            };

            var status = new TableRow
            {
                RowIndex = 0,
                RowName  = "Status",
                Value    = new List <string> {
                    _pex.Status.ToString()
                }
            };

            var transactionSenderKey = new TableRow
            {
                RowIndex = 0,
                RowName  = "Sender",
                Value    = new List <string> {
                    sk
                }
            };

            var transactionDest = new TableRow
            {
                RowIndex = 0,
                RowName  = "dest",
                Value    = new List <string> {
                    rk
                }
            };

            var transactionValue = new TableRow
            {
                RowIndex = 1,
                RowName  = "value",
                Value    = new List <string> {
                    amount
                }
            };

            var blocknumber = new TableRow
            {
                RowIndex = 0,
                RowName  = "blocknumber",
                Value    = new List <string> {
                    _pex.BlockNumber.ToString()
                }
            };

            var tid = new TableRow
            {
                RowIndex = 1,
                RowName  = "transactionindex",
                Value    = new List <string> {
                    transactionId.ToString()
                }
            };

            _dbAdapter.InsertIntoCall(transfer, new List <TableRow> {
                blockHash, tid, status, blocknumber, nonce, signatureKey, transactionDest, transactionValue, transactionSenderKey
            });
        }