public TokenContractInitializationData GetContractInitializationData()
 {
     return(new TokenContractInitializationData
     {
         NativeTokenInfoData = TokenInfoGeneratorHelper.GenerateTokenInfoByteStringBySymbol("ALICE"),
         ResourceTokenListData = TokenInfoGeneratorHelper.GenerateResourceTokenListByteString(),
         Creator = SampleAddress.AddressList[0],
         ResourceAmount = new Dictionary <string, int> {
             { "CPU", 100 }
         },
         RegisteredOtherTokenContractAddresses = new Dictionary <int, Address>()
     });
 }
        public TokenContractInitializationData GetContractInitializationData()
        {
            var tokenContractInitializationData = new TokenContractInitializationData
            {
                NativeTokenInfoData   = TokenInfoGeneratorHelper.GenerateTokenInfoByteStringBySymbol("ALICE"),
                ResourceTokenListData = TokenInfoGeneratorHelper.GenerateResourceTokenListByteString(),
                PrimaryTokenInfoData  = TokenInfoGeneratorHelper.GenerateTokenInfoByteStringBySymbol("ELF"),
                Creator = SampleAddress.AddressList[0],
                TokenInitialIssueList = new List <TokenInitialIssue>(),
                ResourceAmount        = new Dictionary <string, int> {
                    { "CPU", 100 }
                },
                RegisteredOtherTokenContractAddresses = new Dictionary <int, Address>()
            };

            tokenContractInitializationData.TokenInitialIssueList.AddRange(Enumerable.Range(0, _issueCount).Select(x => new TokenInitialIssue
            {
                Address = SampleAddress.AddressList[1],
                Amount  = 100
            }));
            return(tokenContractInitializationData);
        }