Skip to content

Commit

Permalink
Update license
Browse files Browse the repository at this point in the history
  • Loading branch information
ita-sammann committed Sep 20, 2023
1 parent 670c0f3 commit e320c17
Show file tree
Hide file tree
Showing 79 changed files with 52 additions and 469 deletions.
108 changes: 21 additions & 87 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,87 +1,21 @@
## Insolar License version 1.0

https://github.com/insolar/mainnet/blob/master/LICENSE.md

### Acceptance

In order to get any license under these terms, you must agree to them as both strict obligations and conditions
to all your licenses.

### Copyright License

The licensor grants you a copyright license for the software to do everything you might do with the software
that would otherwise infringe the licensor’s copyright in it for any permitted purpose. However, you may only
make changes or new works based on the software according to Changes and New Works License, and you may only
use the software as described in Limitations.

### Changes and New Works License

The licensor grants you an additional copyright license to make changes and new works based on the software
for any permitted purpose.

### Patent License

The licensor grants you a patent license for the software that covers patent claims the licensor can license,
or becomes able to license, that you would infringe by using the software as allowed in this license.

### Limitations

You may only use the software for your internal business purposes, and you must not use the software
to provide any service, including any software-as-a-service, to anyone outside your company.

This license is also intended to enable you to build applications for Insolar Mainnet, a public blockchain
network developed by licensor based on the software. If you build an application that interfaces with the
Insolar Mainnet, and adds substantial value to the software or Insolar Mainnet, you may provide
that application as a service to others outside your company.

### Notices

You must ensure that any copy you make of any part of the software includes a copy of these terms or the URL
for them above, as well as copies of any plain-text lines beginning with Required Notice: that the licensor
provided with the software. For example:

Required Notice: Copyright 2020 Insolar Network Ltd. (https://github.com/insolar/mainnet/blob/master/network/LICENSE.md)

### No Other Rights

These terms do not allow you to sublicense or transfer any of your licenses to anyone else, or prevent
the licensor from granting licenses to anyone else. These terms do not imply any other licenses.

### Patent Challenge and Assertion

Your license for the software ends immediately if your company does any of the following, or assists
anyone else to do so: you make any written claim that the software infringes or contributes to infringement
of any patent, or you challenge the validity of any patent licensed above, or you market or sell a product
or a service that competes, directly or indirectly, with the software or any product or service of licensor
based on the software.

### Violations

The first time you are notified in writing that you have violated any of these terms, or done anything
with the software not covered by your licenses, your licenses can nonetheless continue if you come into
full compliance with these terms, and take practical steps to correct past violations, within 30 days
of receiving notice. Otherwise, all your licenses end immediately.

### No Liability

_**As far as the law allows, the software comes as is, without any warranty or condition, and the licensor
will not be liable to you for any damages arising out of these terms or the use or nature of the software,
under any kind of legal claim.**_

### Definitions

The **licensor** is Insolar Network Ltd.

The **software** is the software the licensor makes available under these terms.

**You** refers to the individual or entity agreeing to these terms.

**Your company** is any legal entity, sole proprietorship, or other kind of organization that you work for,
plus all organizations that have control over, are under the control of, or are under common control
with that organization. **Control** means ownership of substantially all the assets of an entity,
or the power to direct its management and policies by vote, contract, or otherwise.
Control can be direct or indirect.

**Your licenses** are all the licenses granted to you for the software under these terms.

**Use** means anything you do with the software requiring one of your licenses.
MIT License

Copyright (c) 2020 Insolar Network Ltd.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,4 +125,4 @@ Our social media:

## License

This project is licensed under the terms of the [Insolar License 1.0](LICENSE.md).
This project is licensed under the terms of the [MIT License](LICENSE.md).
5 changes: 0 additions & 5 deletions application/appfoundation/helpers.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
// Copyright 2020 Insolar Network Ltd.
// All rights reserved.
// This material is licensed under the Insolar License version 1.0,
// available at https://github.com/insolar/mainnet/blob/master/LICENSE.md.

package appfoundation

import (
Expand Down
5 changes: 0 additions & 5 deletions application/appfoundation/helpers_test.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
// Copyright 2020 Insolar Network Ltd.
// All rights reserved.
// This material is licensed under the Insolar License version 1.0,
// available at https://github.com/insolar/mainnet/blob/master/LICENSE.md.

package appfoundation

import (
Expand Down
5 changes: 0 additions & 5 deletions application/appfoundation/saga.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
// Copyright 2020 Insolar Network Ltd.
// All rights reserved.
// This material is licensed under the Insolar License version 1.0,
// available at https://github.com/insolar/mainnet/blob/master/LICENSE.md.

package appfoundation

import "github.com/insolar/insolar/insolar"
Expand Down
5 changes: 0 additions & 5 deletions application/appfoundation/transfer_type.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
// Copyright 2020 Insolar Network Ltd.
// All rights reserved.
// This material is licensed under the Insolar License version 1.0,
// available at https://github.com/insolar/mainnet/blob/master/LICENSE.md.

package appfoundation

type TransactionType string
Expand Down
5 changes: 0 additions & 5 deletions application/appfoundation/vesting_type.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
// Copyright 2020 Insolar Network Ltd.
// All rights reserved.
// This material is licensed under the Insolar License version 1.0,
// available at https://github.com/insolar/mainnet/blob/master/LICENSE.md.

package appfoundation

// VestingType type of vesting process
Expand Down
5 changes: 0 additions & 5 deletions application/builtin/contract/account/account.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
// Copyright 2020 Insolar Network Ltd.
// All rights reserved.
// This material is licensed under the Insolar License version 1.0,
// available at https://github.com/insolar/mainnet/blob/master/LICENSE.md.

package account

import (
Expand Down
5 changes: 0 additions & 5 deletions application/builtin/contract/burnedaccount/burnedaccount.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
// Copyright 2020 Insolar Network Ltd.
// All rights reserved.
// This material is licensed under the Insolar License version 1.0,
// available at https://github.com/insolar/mainnet/blob/master/LICENSE.md.

package burnedaccount

import (
Expand Down
5 changes: 0 additions & 5 deletions application/builtin/contract/costcenter/costcenter.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
// Copyright 2020 Insolar Network Ltd.
// All rights reserved.
// This material is licensed under the Insolar License version 1.0,
// available at https://github.com/insolar/mainnet/blob/master/LICENSE.md.

package costcenter

import (
Expand Down
5 changes: 0 additions & 5 deletions application/builtin/contract/deposit/deposit.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
// Copyright 2020 Insolar Network Ltd.
// All rights reserved.
// This material is licensed under the Insolar License version 1.0,
// available at https://github.com/insolar/mainnet/blob/master/LICENSE.md.

package deposit

import (
Expand Down
5 changes: 0 additions & 5 deletions application/builtin/contract/deposit/deposit_test.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
// Copyright 2020 Insolar Network Ltd.
// All rights reserved.
// This material is licensed under the Insolar License version 1.0,
// available at https://github.com/insolar/mainnet/blob/master/LICENSE.md.

package deposit

import (
Expand Down
7 changes: 2 additions & 5 deletions application/builtin/contract/member/member.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
// Copyright 2020 Insolar Network Ltd.
// All rights reserved.
// This material is licensed under the Insolar License version 1.0,
// available at https://github.com/insolar/mainnet/blob/master/LICENSE.md.

package member

import (
Expand Down Expand Up @@ -612,6 +607,7 @@ func (m *Member) memberGet(publicKey string) (interface{}, error) {

// Accept accepts transfer to balance.
// FromMember and Request not used, but needed by observer, do not remove
//
//ins:saga(INS_FLAG_NO_ROLLBACK_METHOD)
func (m *Member) Accept(arg appfoundation.SagaAcceptInfo) error {
accountRef, err := m.GetAccount(walletContract.XNS)
Expand Down Expand Up @@ -651,6 +647,7 @@ func (m *Member) getDepositReferenceByName(depositName string, memberRef insolar

// AcceptBurn accepts coins to burn.
// FromMember and Request not used, but needed by observer, do not remove
//
//ins:saga(INS_FLAG_NO_ROLLBACK_METHOD)
func (m *Member) AcceptBurn(arg appfoundation.SagaAcceptInfo) error {
accountRef, err := m.GetAccount(walletContract.Burned)
Expand Down
5 changes: 0 additions & 5 deletions application/builtin/contract/migrationadmin/migrationadmin.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
// Copyright 2020 Insolar Network Ltd.
// All rights reserved.
// This material is licensed under the Insolar License version 1.0,
// available at https://github.com/insolar/mainnet/blob/master/LICENSE.md.

package migrationadmin

import (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
// Copyright 2020 Insolar Network Ltd.
// All rights reserved.
// This material is licensed under the Insolar License version 1.0,
// available at https://github.com/insolar/mainnet/blob/master/LICENSE.md.

package migrationdaemon

import (
Expand Down
5 changes: 0 additions & 5 deletions application/builtin/contract/migrationshard/migrationshard.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
// Copyright 2020 Insolar Network Ltd.
// All rights reserved.
// This material is licensed under the Insolar License version 1.0,
// available at https://github.com/insolar/mainnet/blob/master/LICENSE.md.

package migrationshard

import (
Expand Down
5 changes: 0 additions & 5 deletions application/builtin/contract/pkshard/pkshard.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
// Copyright 2020 Insolar Network Ltd.
// All rights reserved.
// This material is licensed under the Insolar License version 1.0,
// available at https://github.com/insolar/mainnet/blob/master/LICENSE.md.

package pkshard

import (
Expand Down
5 changes: 0 additions & 5 deletions application/builtin/contract/rootdomain/rootdomain.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
// Copyright 2020 Insolar Network Ltd.
// All rights reserved.
// This material is licensed under the Insolar License version 1.0,
// available at https://github.com/insolar/mainnet/blob/master/LICENSE.md.

package rootdomain

import (
Expand Down
5 changes: 0 additions & 5 deletions application/builtin/contract/wallet/wallet.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
// Copyright 2020 Insolar Network Ltd.
// All rights reserved.
// This material is licensed under the Insolar License version 1.0,
// available at https://github.com/insolar/mainnet/blob/master/LICENSE.md.

package wallet

import (
Expand Down
5 changes: 0 additions & 5 deletions application/cmd/airdrop/main.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
// Copyright 2020 Insolar Network Ltd.
// All rights reserved.
// This material is licensed under the Insolar License version 1.0,
// available at https://github.com/insolar/mainnet/blob/master/LICENSE.md.

package main

import (
Expand Down
5 changes: 0 additions & 5 deletions application/cmd/benchmark/create_member_scenario.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
// Copyright 2020 Insolar Network Ltd.
// All rights reserved.
// This material is licensed under the Insolar License version 1.0,
// available at https://github.com/insolar/mainnet/blob/master/LICENSE.md.

package main

import (
Expand Down
5 changes: 0 additions & 5 deletions application/cmd/benchmark/deposit_transfer_scenario.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
// Copyright 2020 Insolar Network Ltd.
// All rights reserved.
// This material is licensed under the Insolar License version 1.0,
// available at https://github.com/insolar/mainnet/blob/master/LICENSE.md.

package main

import (
Expand Down
5 changes: 0 additions & 5 deletions application/cmd/benchmark/main.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
// Copyright 2020 Insolar Network Ltd.
// All rights reserved.
// This material is licensed under the Insolar License version 1.0,
// available at https://github.com/insolar/mainnet/blob/master/LICENSE.md.

package main

import (
Expand Down
5 changes: 0 additions & 5 deletions application/cmd/benchmark/migration_scenario.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
// Copyright 2020 Insolar Network Ltd.
// All rights reserved.
// This material is licensed under the Insolar License version 1.0,
// available at https://github.com/insolar/mainnet/blob/master/LICENSE.md.

package main

import (
Expand Down
5 changes: 0 additions & 5 deletions application/cmd/benchmark/scenario.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
// Copyright 2020 Insolar Network Ltd.
// All rights reserved.
// This material is licensed under the Insolar License version 1.0,
// available at https://github.com/insolar/mainnet/blob/master/LICENSE.md.

package main

import (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
// Copyright 2020 Insolar Network Ltd.
// All rights reserved.
// This material is licensed under the Insolar License version 1.0,
// available at https://github.com/insolar/mainnet/blob/master/LICENSE.md.

package main

import (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
// Copyright 2020 Insolar Network Ltd.
// All rights reserved.
// This material is licensed under the Insolar License version 1.0,
// available at https://github.com/insolar/mainnet/blob/master/LICENSE.md.

package main

import (
Expand Down
5 changes: 0 additions & 5 deletions application/cmd/insolar/bootstrap.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
// Copyright 2020 Insolar Network Ltd.
// All rights reserved.
// This material is licensed under the Insolar License version 1.0,
// available at https://github.com/insolar/mainnet/blob/master/LICENSE.md.

package main

import (
Expand Down
5 changes: 0 additions & 5 deletions application/cmd/insolar/certgen.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
// Copyright 2020 Insolar Network Ltd.
// All rights reserved.
// This material is licensed under the Insolar License version 1.0,
// available at https://github.com/insolar/mainnet/blob/master/LICENSE.md.

package main

import (
Expand Down
5 changes: 0 additions & 5 deletions application/cmd/insolar/create_default_configs.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
// Copyright 2020 Insolar Network Ltd.
// All rights reserved.
// This material is licensed under the Insolar License version 1.0,
// available at https://github.com/insolar/mainnet/blob/master/LICENSE.md.

package main

import (
Expand Down
5 changes: 0 additions & 5 deletions application/cmd/insolar/free_migration_addresses.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
// Copyright 2020 Insolar Network Ltd.
// All rights reserved.
// This material is licensed under the Insolar License version 1.0,
// available at https://github.com/insolar/mainnet/blob/master/LICENSE.md.

package main

import (
Expand Down
Loading

0 comments on commit e320c17

Please sign in to comment.