Example #1
0
        public Erc20TransferEvent(BigInteger block, string hash, Erc20TransferEventMapping map)
        {
            BlockNumber = block;
            Transaction = hash;

            From   = map.From;
            To     = map.To;
            Amount = map.Value;
        }
Example #2
0
        // ---

        public MigrationContractTransferEvent(string token, BigInteger block, string hash, Erc20TransferEventMapping map) : base(block, hash, map)
        {
            TokenContractAddress = token;
        }