You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@resilientdb.apache.org by ju...@apache.org on 2025/12/03 16:49:43 UTC
(incubator-resilientdb) 01/02: add license
This is an automated email from the ASF dual-hosted git repository.
junchao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-resilientdb.git
commit 181340e88891c758fad95c9bc9799136d3dd90f6
Author: cjcchen <ic...@gmail.com>
AuthorDate: Wed Dec 3 16:04:41 2025 +0000
add license
---
platform/config/expect_test.config | 17 +++++++++++++++++
service/tools/config/server.config | 16 ++++++++++++++++
service/tools/config/server/utxo_config.config | 16 ++++++++++++++++
.../contract/api_tools/example_contract/token.json | 13 -------------
.../contract/api_tools/example_contract/token.sol | 18 ++++++++++++++++++
service/utxo/config/utxo_config.config | 16 ++++++++++++++++
6 files changed, 83 insertions(+), 13 deletions(-)
diff --git a/platform/config/expect_test.config b/platform/config/expect_test.config
index 740bae3a..9aa3e6fd 100644
--- a/platform/config/expect_test.config
+++ b/platform/config/expect_test.config
@@ -1,3 +1,20 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
{
region : {
replica_info : {
diff --git a/service/tools/config/server.config b/service/tools/config/server.config
index 16ace299..756dc00f 100644
--- a/service/tools/config/server.config
+++ b/service/tools/config/server.config
@@ -1,3 +1,19 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
1 127.0.0.1 20001
2 127.0.0.1 20002
diff --git a/service/tools/config/server/utxo_config.config b/service/tools/config/server/utxo_config.config
index 237ad282..aca4cdfb 100644
--- a/service/tools/config/server/utxo_config.config
+++ b/service/tools/config/server/utxo_config.config
@@ -1,3 +1,19 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
{
genesis_transactions: {
diff --git a/service/tools/contract/api_tools/example_contract/token.json b/service/tools/contract/api_tools/example_contract/token.json
deleted file mode 100644
index eaeaa36f..00000000
--- a/service/tools/contract/api_tools/example_contract/token.json
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "contracts": {
- "token.sol:Token": {
- "bin": "6080604052348015600f57600080fd5b506040516103f83803806103f8833981016040819052602c916040565b336000908152602081905260409020556058565b600060208284031215605157600080fd5b5051919050565b610391806100676000396000f3fe608060405234801561001057600080fd5b506004361061005d577c0100000000000000000000000000000000000000000000000000000000600035046370a082318114610062578063a5f2a1521461009e578063a9059cbb146100c1575b600080fd5b61008b610070366004610284565b600160a060020a03166000908152602081905260409020 [...]
- "hashes": {
- "balanceOf(address)": "70a08231",
- "transfer(address,uint256)": "a9059cbb",
- "transferTo(address,address,uint256)": "a5f2a152"
- }
- }
- },
- "version": "0.8.28+commit.7893614a.Linux.g++"
-}
diff --git a/service/tools/contract/api_tools/example_contract/token.sol b/service/tools/contract/api_tools/example_contract/token.sol
index 498cacc1..c51fa493 100644
--- a/service/tools/contract/api_tools/example_contract/token.sol
+++ b/service/tools/contract/api_tools/example_contract/token.sol
@@ -1,3 +1,21 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
+
pragma solidity >= 0.5.0;
// Transfer tokens from the contract owner
diff --git a/service/utxo/config/utxo_config.config b/service/utxo/config/utxo_config.config
index 237ad282..aca4cdfb 100644
--- a/service/utxo/config/utxo_config.config
+++ b/service/utxo/config/utxo_config.config
@@ -1,3 +1,19 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
{
genesis_transactions: {