diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/LICENSE b/LICENSE old mode 100644 new mode 100755 diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/block/block.go b/block/block.go old mode 100644 new mode 100755 diff --git a/client/client.go b/client/client.go old mode 100644 new mode 100755 diff --git a/contract/contract.go b/contract/contract.go old mode 100644 new mode 100755 diff --git a/credentials/credentials.go b/credentials/credentials.go old mode 100644 new mode 100755 diff --git a/dragonchain.go b/dragonchain.go old mode 100644 new mode 100755 diff --git a/go.mod b/go.mod old mode 100644 new mode 100755 diff --git a/go.sum b/go.sum old mode 100644 new mode 100755 diff --git a/models/models.go b/models/models.go old mode 100644 new mode 100755 index f0adee1..b14a26e --- a/models/models.go +++ b/models/models.go @@ -78,6 +78,7 @@ type SmartContractCreateRequest struct { ExecutionOrder string `json:"executionOrder"` EnvironmentVariables map[string]string `json:"environmentVariables,omitempty"` Secrets map[string]string `json:"secret,omitempty"` + Remote bool `json:"remote,omitempty"` } type SmartContractUpdateRequest struct { @@ -101,6 +102,13 @@ type SmartContract struct { EnvVars map[string]string `json:"envVars"` Secrets []string `json:"secrets"` + + GrpcConnectionInfo *GrpcConnectionInfo `json:"grpcConnectionInfo,omitempty"` +} + +type GrpcConnectionInfo struct { + Address string `json:"address"` + ApiKey string `json:"apiKey,omitempty"` } type SmartContractExecutionInfo struct { diff --git a/system/system.go b/system/system.go old mode 100644 new mode 100755 diff --git a/transaction/transaction.go b/transaction/transaction.go old mode 100644 new mode 100755 diff --git a/transactiontype/transactiontype.go b/transactiontype/transactiontype.go old mode 100644 new mode 100755