Example #1
0
        public ContractConverter(Contract contract)
        {
            Contract             = contract;
            mainSolidityContract = new SolidityContract(contract.Id);

            DataModelConverter = new DataModelConverter(this);
            CreateProcessConverters();
        }
        public ContractConverter(Contract contract)
        {
            Contract = contract;
            var contractName = contract.Name == null ? contract.Id : contract.Name;

            mainSolidityContract = new SolidityContract(contractName);

            DataModelConverter = new DataModelConverter(this);
            CreateProcessConverters();
        }
Example #3
0
        public ContractConverter(Contract contract)
        {
            Contract = contract;
            var contractName = $"contract{contract.Id.Replace("-", "")}";

            mainSolidityContract = new SolidityContract(contractName);

            DataModelConverter = new DataModelConverter(this);
            CreateProcessConverters();
        }
 public TokenConverter(Token token, DataModelConverter dataModelConverter)
 {
     this.token = token;
     this.dataModelConverter = dataModelConverter;
 }