Exemplo n.º 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();
        }
Exemplo n.º 3
0
        public ContractConverter(Contract contract)
        {
            Contract = contract;
            var contractName = $"contract{contract.Id.Replace("-", "")}";

            mainSolidityContract = new SolidityContract(contractName);

            DataModelConverter = new DataModelConverter(this);
            CreateProcessConverters();
        }
Exemplo n.º 4
0
 public TokenConverter(Token token, DataModelConverter dataModelConverter)
 {
     this.token = token;
     this.dataModelConverter = dataModelConverter;
 }